nan3
PRODUCTS
Product Category
PRODUCT INQUIRY
DS02
Quantity:
Product Description
Related Products
+86-13318286840
+86-13318286840
okaylock@hotmail.com okaylock8@hotmail.com
$('.eul .es').click(function (e) { e.stopPropagation(); }) $('.sul a').click(function (e) { e.stopPropagation(); }) $('.reul .item').click(function () { $('.reul .item').removeClass('active').eq($(this).index()).addClass('active'); $('.maul .sacem').removeClass('active').eq($(this).index('.item')).addClass('active'); console.log($(this).index('.item')) }) $('.active').each(function () { $(this).parents('.has-navs').addClass('show'); $(this).parents('.has-navs').find('.eul').slideDown(300); $(this).parents('.has-navss').addClass('show'); $(this).parents('.has-navss').find('.sul').slideDown(300); $('.maul .sacem').removeClass('active').eq($(this).index('.item')).addClass('active'); console.log($(this).index('.item')) }) $('#code').qrcode({ width: 100, height: 100, render: "canvas", correctLevel: 0, text: window.location.href }); }) function add(id) { var num = $('input[name=num]').val() hn.load();// loading层 $.ajax({ url:"/home/ProductAjax/consultingAdd.html", type: "POST", data: {'id':id,'num':num}, dataType:"json", success:function(res){ // console.log(datresa);return false; hn.hideLoad();// 关闭loading层 hn.msg('操作成功', 1, function (){ // location.reload(); // window.location.href = res.data.url; }); } }) }