|
@@ -99,7 +99,7 @@
|
|
|
<div class="weui_loading"><i class="weui-loading weui-icon_toast"></i></div>
|
|
|
<p class="weui-toast_content">数据加载中</p>
|
|
|
</div>
|
|
|
- <script type="text/javascript" src="https://unpkg.com/@dcloudio/uni-webview-js@0.0.2/index.js"></script>
|
|
|
+ <script type="text/javascript" src="https://js.cdn.aliyun.dcloud.net.cn/dev/uni-app/uni.webview.1.5.2.js"></script>
|
|
|
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
|
|
|
<script src="https://lf1-cdn-tos.bytegoofy.com/goofy/developer/jssdk/jssdk-1.0.3.js"></script>
|
|
|
<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
|
|
@@ -578,11 +578,14 @@
|
|
|
url: '/pages/home/home'
|
|
|
})
|
|
|
} else {
|
|
|
- document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/index/index'
|
|
|
- });
|
|
|
- })
|
|
|
+ location.href = 'http://test_zt_ip62.phone.androidscloud.com/cloud/phone/web/#/pages/index/index'
|
|
|
+ // 动态设置有问题 https://ask.dcloud.net.cn/question/96060
|
|
|
+ // document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
+ // console.log(222)
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages/index/index'
|
|
|
+ // });
|
|
|
+ // })
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -722,11 +725,12 @@
|
|
|
url: '/pages/home/home'
|
|
|
})
|
|
|
} else {
|
|
|
- document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/index/index'
|
|
|
- });
|
|
|
- })
|
|
|
+ location.href = 'http://test_zt_ip62.phone.androidscloud.com/cloud/phone/web/#/pages/index/index'
|
|
|
+ // document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages/index/index'
|
|
|
+ // });
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -761,11 +765,12 @@
|
|
|
url: '/pages/home/home'
|
|
|
})
|
|
|
} else {
|
|
|
- document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/index/index'
|
|
|
- });
|
|
|
- })
|
|
|
+ location.href = 'http://test_zt_ip62.phone.androidscloud.com/cloud/phone/web/#/pages/index/index'
|
|
|
+ // document.addEventListener('UniAppJSBridgeReady', function() {
|
|
|
+ // uni.navigateTo({
|
|
|
+ // url: '/pages/index/index'
|
|
|
+ // });
|
|
|
+ // })
|
|
|
}
|
|
|
}
|
|
|
}
|