|
@@ -100,6 +100,7 @@
|
|
|
<p class="weui-toast_content">数据加载中</p>
|
|
|
</div>
|
|
|
<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>
|
|
|
<!-- ffm软解 -->
|
|
|
<script type="text/javascript" src="helper.js"></script>
|
|
@@ -594,9 +595,15 @@
|
|
|
})
|
|
|
|
|
|
$("#upload").on("click", function () {
|
|
|
- wx.miniProgram.switchTab({
|
|
|
- url: '/pages/home/home'
|
|
|
- })
|
|
|
+ if(navigator.userAgent.toLowerCase().includes('toutiaomicroapp')){
|
|
|
+ tt.miniProgram.switchTab({
|
|
|
+ url: '/pages/home/home'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ wx.miniProgram.switchTab({
|
|
|
+ url: '/pages/home/home'
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
|
|
|
function selectText(x) {
|
|
@@ -740,9 +747,15 @@
|
|
|
}
|
|
|
}
|
|
|
if (event.data === 'close') {
|
|
|
- wx.miniProgram.switchTab({
|
|
|
- url: '/pages/home/home'
|
|
|
- })
|
|
|
+ if(navigator.userAgent.toLowerCase().includes('toutiaomicroapp')){
|
|
|
+ tt.miniProgram.switchTab({
|
|
|
+ url: '/pages/home/home'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ wx.miniProgram.switchTab({
|
|
|
+ url: '/pages/home/home'
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|