init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)

这个提交包含在:
Developer
2026-10-30 10:18:50 +08:00
当前提交 1f3e0ce2f6
共有 9291 个文件被更改,包括 1776674 次插入 和 0 次删除

30
Public/vip/js/index.js 可执行文件
查看文件

@@ -0,0 +1,30 @@
$('.bottom_click').on('touchstart', function () {
$('.bottom_click').css('backgroundColor', "white");
$(this).css('backgroundColor', "#ececec");
$('.bottom_click').on('touchend', function () {
$('.bottom_click').css('backgroundColor', "white");
})
})
localStorage.viprefrash = 0;//防止之后的页面重复pushstate
var discounts = localStorage.discounts || 0;//储值卡买单
var onlinepay = localStorage.onlinepay || 0;//在线充值
var exchange = localStorage.exchange || 0;//积分变动
var signin = localStorage.signin || 0;//签到
var changepersonl = localStorage.changepersonl || 0;//修改个人信息
if (discounts == 1 || onlinepay == 1 || exchange == 1 || signin == 1 || changepersonl == 1) {
localStorage.clear();
window.location.reload();
}
//拦截返回事件
var state = {
title: "会员卡——互支付智慧平台",
url: location.href
}
window.history.pushState(state, state.title, state.url);
ToUrlSelfFn(state.title, state.url, function () {
localStorage.clear();
WeixinJSBridge.call('closeWindow');
})