PageSourceSearch

https://xingkongmt.com/js/cart.js?v=1.03

js xingkongmt.com collected 2026-10-08 12:27:15 UTC 1,483 bytes, 46 lines download raw bytes

1$(function () {
2  // 购物车
3  $('.cartFlag').click(function (e) {
4    e.stopPropagation()
5      $('.cart').toggleClass('active')
6  })
7  $('.cart').click(function (e) {
8    e.stopPropagation()
9  })
10  $('.source').click(function () {
11    $(this).siblings('.source-media').slideToggle()
12})
13  $('body').click(function (e) {
14       $('.cart').removeClass('active')
15  })
16  $('.cart-title .iconchahao').click(function(){
17    $('.cart').removeClass('active')
18  })
19  // 加入购物车
20  // var offset = $(".end-menu-a").eq(1).offset(); //结束的地方的元素
21  // var scrollTop = document.documentElement.scrollTop;
22  // $(".addcart").click(function (event) { //是$(".addcar")这个元素点击促发的 开始动画的位置就是这个元素的位置为起点
23  //   var addcar = $(this);
24  //   var img = addcar.parents('li').find('.avator').attr('src');
25  //   var flyer = $('<img width=60 height=60 class="u-flyer" src="' + img + '">');
26  //   flyer.fly({
27  //     start: {
28  //       left: event.clientX,
29  //       top: event.clientY
30  //     },
31  //     end: {
32  //       left: offset.left + 10,
33  //       top: offset.top + 30 - scrollTop,
34  //       width: 0,
35  //       height: 0
36  //     },
37  //     onEnd: function () {
38  //       $("#cart-msg").show().animate({
39  //         width: '200px'
40  //       }, 200).fadeOut(800);
41  //       // addcar.css("cursor", "default").removeClass('orange').unbind('click');
42  //       this.destory();
43  //     }
44  //   });
45  // });
46});

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.