hlzyWeb/obj/Debug/Package/PackageTmp/Templates/common/script/main.js
(开头部分) 21KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
//隐藏右上角菜单
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.call('showOptionMenu');
});
var selectProdcut = ($.cookie("SelectProcutId") == null || $.cookie("SelectProcutId")=="") ? {} : JSON.parse($.cookie("SelectProcutId"));
$(document).ready(function () {
$("footer .glyphicon-refresh").click(function () {
location.reload();
})
$("footer .glyphicon-arrow-left").click(function () {
history.go(-1);
})
/*friends-circle*/
var Width = $('.firends-circle .content div').width();
$('.firends-circle .content div').height(Width);
/*index*/
var ImgWidth = $('.index-content img').width();
$('.index-content img').height(ImgWidth);
/*fill-information*/
var Width1 = $('.distributor .content div').width();
$('.distributor .content div').height(0.5 * Width1);
$('.distributor .content div.disactive').height((0.5 * Width1)-4);
$('.distributor .content div').click(function () {
if ($(this).hasClass("disactive")) {
$(this).removeClass("disactive");
} else {
$(this).addClass("disactive");
$(this).find('span').show();
$(this).siblings().removeClass('disactive');
}
});
/*my-goods*/
//先注释这了代码,这样写只要引用了这js文件的页面,你都加了这样式,很坑人的
//$("input[type='checkbox']").iCheck({
// checkboxClass: 'icheckbox_flat-red',
// radioClass: 'iradio_flat-red'
//});
$('.search_img').click(function () {
$(this).toggleClass('color');
})
$("input[type='checkbox'][name='CheckAll']:eq(0)").on('ifChecked', function (a) {
$("input[name='CheckGroup']").iCheck('check');
});
$("input[type='checkbox'][name='CheckAll']:eq(0)").on('ifUnchecked', function (a) {
$("input[name='CheckGroup']").iCheck('uncheck');
$("input[type='checkbox'][name='CheckAll']:eq(0)").attr("checked", false);
$("input[type='checkbox'][name='CheckAll']:eq(0)").parent("div").removeClass("checked");
});
$("input[name='CheckGroup']").on('ifChecked', function (event) {
selectProdcut["CheckGroup" + $(this).val()] = $(this).val();
UpdateCookieProductId();
后面还有 491 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
