init: import production code mss.nahaichuan.com (exclude Runtime/Uploads/backups/logs)
这个提交包含在:
30
Public/vip/js/index.js
可执行文件
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');
|
||||
})
|
||||
在新工单中引用
屏蔽一个用户