Browse Source

调整登录以后的跳转情况

master
453530270@qq.com 2 years ago
parent
commit
f052d3b1c5
  1. 8
      pages.json
  2. 6
      pages/home.vue
  3. 25
      pages/webview/wv.vue

8
pages.json

@ -160,6 +160,14 @@
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/webview/wv",
"style" :
{
"navigationBarTitleText" : "",
"enablePullDownRefresh" : false
}
}
],
"globalStyle": {

6
pages/home.vue

@ -39,7 +39,7 @@
</view>
<!-- 期待 -->
<view class="fwnr" v-else="hasverify" >
<view style="text-align: center;font-size: 46rpx;margin-top: 46rpx;">敬请期待</view>
<view style="text-align: center;font-size: 46rpx;margin-top: 86rpx;">更多功能敬请期待</view>
</view>
<!-- 服务内容 -->
<view class="fwnr" v-else="hasverify" style="display: none;">
@ -248,7 +248,9 @@
// go to zw
gotozw(){
//this.$navTo("http://10.24.4.14")
window.location.href="http://10.24.4.14"
const zwurl ="http://10.24.4.14"
this.$navTo("pages/webview/wv?url="+ zwurl)
//window.location.href="http://10.24.4.14"
},
// goto verfiy

25
pages/webview/wv.vue

@ -0,0 +1,25 @@
<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
url:"",
}
},
onLoad(item) {
this.url = item.url
},
methods: {
}
}
</script>
<style>
</style>
Loading…
Cancel
Save