Commit dcb77cf6 authored by wildfirecode13's avatar wildfirecode13

11

parent 620d8dce
......@@ -33,6 +33,10 @@
if (!getUrlParam("appID")) {
alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
window.shareUrl = 'https://duiba'+CFG.appID + CFG.projectId + Math.floor(Math.random () * 90000) +'.activity-1.m.duiba.com.cn/customShare/share?id=4609'
// window.shareUrl = 'https://activity.m-1.duiba.com.cn/customShare/share?id=4609';
</script>
</head>
......
......@@ -2,7 +2,7 @@
import { appID } from 'duiba-utils';
import React, { Component } from 'react';
import { Timer } from 'teddi';
// import { Timer } from 'teddi';
import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
......@@ -24,11 +24,12 @@ class Loading extends Component {
getCountdown() {
return new Promise((r) => {
const delta = 30;
const timer = new Timer(1 * 30, 1000 / 30);
timer.on('timer', this.onupdate, this);
timer.on('complete', r, this);
timer.start();
// const delta = 30;
// const timer = new Timer(1 * 30, 1000 / 30);
// timer.on('timer', this.onupdate, this);
// timer.on('complete', r, this);
// timer.start();
r();
});
}
......
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