|
@@ -463,7 +463,6 @@
|
|
|
if(obj.money){ // 小程序
|
|
|
window.location.href = `${baseUrl}/h5/microserviceUserH5/vcloud/downApp.html`
|
|
|
}else{
|
|
|
- alert(1111,isAndroid)
|
|
|
// if (isAndroid) {
|
|
|
window.native.startPurchase();
|
|
|
operate('dt_双11_h5_快来参加双11');
|
|
@@ -482,9 +481,9 @@
|
|
|
}else if(state == 1){
|
|
|
if(e.target.className === 'receive'){
|
|
|
e.stopPropagation();
|
|
|
- if (isAndroid) {
|
|
|
+ // if (isAndroid) {
|
|
|
window.native.activatePhone(id, type);
|
|
|
- }
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
});
|
|
@@ -535,7 +534,7 @@
|
|
|
shareHandle('shareToWechatMin');
|
|
|
});
|
|
|
function shareHandle(type) {
|
|
|
- if (isAndroid) {
|
|
|
+ // if (isAndroid) {
|
|
|
if(window.native){
|
|
|
operate('dt_双11_h5_分享红包');
|
|
|
if(type === 'shareToWechatMin'){
|
|
@@ -559,11 +558,11 @@
|
|
|
toastr.error('不支持当前环境!');
|
|
|
})
|
|
|
}
|
|
|
- }else{
|
|
|
- stopManyClick(() => {
|
|
|
- toastr.error('不支持当前环境!');
|
|
|
- })
|
|
|
- }
|
|
|
+ // }else{
|
|
|
+ // stopManyClick(() => {
|
|
|
+ // toastr.error('不支持当前环境!');
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
//点击关闭弹窗
|
|
|
$('.del')[0].addEventListener('click',(e)=>{
|