Commit a59e099a authored by 卜宏亮's avatar 卜宏亮

微信动态域名

parent 0415215a
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
<script src="https://www.icbc.com.cn/ICBC/html/card/elife/js/2017/0703/icbc_client_core.js"></script> <script src="https://www.icbc.com.cn/ICBC/html/card/elife/js/2017/0703/icbc_client_core.js"></script>
<script src="https://assets.geilicdn.com/v-components/jsbridge/1.0.1/index.min.js"></script> <script src="https://assets.geilicdn.com/v-components/jsbridge/1.0.1/index.min.js"></script>
<script src="https://yun.duiba.com.cn/db_games/hybrid_app2.js"></script> <script src="https://yun.duiba.com.cn/db_games/hybrid_app2.js"></script>
<script src="//yun.duiba.com.cn/js-libs/dbdomain/1.0.14/dbdomain.js"></script>
<script> <script>
window.fucklog = function(str){console.log(str)} window.fucklog = function (str) { console.log(str) }
// new VConsole(); // new VConsole();
function getApp() { function getApp() {
...@@ -47,8 +47,7 @@ ...@@ -47,8 +47,7 @@
} }
window.shareUrl = 'https://duiba' + CFG.appID + CFG.projectId + Math.floor(Math.random() * 90000) + window.shareUrl = location.origin + '/customShare/share?id=4609'
'.activity-1.m.duiba.com.cn/customShare/share?id=4609'
window.shareimg = 'https://yun.duiba.com.cn/spark/assets/e7bec756134eaca143ea54e9f6856b6a6e10d33f.png'; window.shareimg = 'https://yun.duiba.com.cn/spark/assets/e7bec756134eaca143ea54e9f6856b6a6e10d33f.png';
window.sharetitle = '欢趣专区全新升级,快来看看吧'; window.sharetitle = '欢趣专区全新升级,快来看看吧';
......
...@@ -12,6 +12,14 @@ MD(); ...@@ -12,6 +12,14 @@ MD();
import "./monitor.js"; //前端错误监控 import "./monitor.js"; //前端错误监控
var ensureDomain = dbdomain.ensureDomain
var getDomain = dbdomain.getDomain
ensureDomain().then(
() => {
window.shareUrl = `${dbdomain.domain}/customShare/share?id=4609'`;
}
)
class App extends Component { class App extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
...@@ -23,7 +31,7 @@ class App extends Component { ...@@ -23,7 +31,7 @@ class App extends Component {
componentDidMount() { componentDidMount() {
} }
eventHandler=()=>{ eventHandler = () => {
console.log('eventHandler') console.log('eventHandler')
} }
......
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