Commit 5d5ca03a authored by wildfirecode13's avatar wildfirecode13

u

parent cf514893
......@@ -20,16 +20,14 @@ export class getTimesPanel extends Panel {
this.hidePanel();
showShareMask();
await sendWebNet(WebNetName.getFreeCount,{},null,true);
sendWebNet(WebNetName.index).then(res => {
layers.stage.dispatchEvent('updateIndexData')
});
sendLog("click",7);
setTimeout(() => {
sendWebNet(WebNetName.index).then(res => {
layers.stage.dispatchEvent('updateIndexData')
});
hideShareMask();
showPanel(SharePanel);
},4000)
......
......@@ -17,11 +17,8 @@ import { ScrollItem } from "./ScrollItem";
watchPageVisibility((visible) => {
console.log('页面visible', visible);
if (visible) {
sendWebNet(WebNetName.index).then(res => {
layers.stage.dispatchEvent('updateIndexData')
})
location.href='https://85337.activity-1.m.duiba.com.cn/projectx/pf80f49cf/index.html?appID=85337&iscustom=1'
}
});
......
......@@ -3,17 +3,7 @@
export const startShare=()=>{
console.log('wx.miniProgram.postMessage')
// start([WeixinMini], (way, success, payload) => {
// console.log('分享' + success ? '成功' : '失败');
// updateShare({
// title: '我正在参加d\'zzit拆盲盒', //分享标题
// content: '一起来吧~惊喜好物等着你', //分享内容
// url: 'https://85337.activity-1.m.duiba.com.cn/projectx/pf80f49cf/index.html?appID=85337&iscustom=1&issharepage=1', //分享链接
// thumbnail: 'https://yun.duiba.com.cn/db_games/disulogo.jpg', //分享缩略图
// });
// });
//@ts-ignore
wx.miniProgram.postMessage(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment