PageSourceSearch

https://public.skyworthxr.com/officialWebsite/production/inland/assets/js/style.js

js skyworthxr.com collected 2026-10-07 06:55:20 UTC 2,259 bytes, 69 lines download raw bytes

1let hovetTimeout = null
2$('body').on('mouseenter', '.hover-dom', function () {
3    clearTimeout(hovetTimeout)
4    hovetTimeout = null
5    $(this).removeClass('hover-hoverDwindle')
6    $(this).addClass('hover-slice')
7})
8$('body').on('mouseleave', '.hover-dom', function () {
9    clearTimeout(hovetTimeout)
10    hovetTimeout = null
11    $(this).removeClass('hover-slice')
12    $(this).addClass('hover-hoverDwindle')
13
14})
15$('body').on('mouseleave', '.product-dropdown-toggle', function () {
16    $(".product-dropdown-toggle .hover-dom").removeClass('hover-hoverDwindle').removeClass('hover-slice')
17})
18
19
20function facebookShare(nid, title, image) {
21    var metaURL = document.querySelector('meta[property="og:url"]');
22    var metaTitle = document.querySelector('meta[property="og:title"]');
23    var metaDescription = document.querySelector('meta[property="og:description"]');
24    var metaImage = document.querySelector('meta[property="og:image"]');
25    metaTitle.setAttribute('content', title);
26    metaDescription.setAttribute('content', title);
27    metaImage.setAttribute('content', image);
28    let url = `http://pancakexr/views/aboutUs/share/${nid}.html`
29    metaURL.setAttribute('content', url);
30}
31function twitterShare(title, dom) {
32    let text = encodeURIComponent(title)
33    let url = encodeURIComponent(window.location.href)
34    $(dom).attr('href',
35        `https://twitter.com/intent/tweet?text=${title}&url=${url}`
36    )
37}
38function linkedinShare(title, dom) {
39    $(dom).attr('href',
40        `https://www.linkedin.com/shareArticle?mini=true&url=http://pancakexr/views/aboutUs/share/${nid}.html&title=${title}`
41    )
42}
43
44$('.GoTop').hide()
45// 监控滚动  使导航条改变
46$(document).scroll(function () {
47    var scroH = $(document).scrollTop();  //滚动高度
48    if (scroH < 400) {
49        $('.GoTop').hide()
50    } else {
51        $('.GoTop').show()
52    }
53    if (scroH < 1100) {
54    } else {
55    }
56});
57
58let htmls = `
59    <div class="GoTop">
60        <img src="https://public.skyworthxr.com/officialWebsite/inland/assets/image/top.png" alt="">
61    </div>
62`
63$('body').append(htmls)
64$('.GoTop').click(function () {
65    window.scrollTo({
66        top: 0,
67        behavior: 'smooth'
68    })
69})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.