Commit bf462c4a by wangjian

1

parent 0d16903a
...@@ -145,6 +145,15 @@ ...@@ -145,6 +145,15 @@
} }
} }
,{
"path" : "webView/webView",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
] ]
}], }],
"preloadRule":{ "preloadRule":{
......
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
} else if (index === 2) { } else if (index === 2) {
this.$router.push('IntegralDetail') this.$router.push('IntegralDetail')
} else if (index === 3) { } else if (index === 3) {
this.$router.push('WebView')
} }
}, },
setting() { setting() {
......
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
return newContent; return newContent;
}, },
clickCustomer () { clickCustomer () {
this.$wxCustomer() this.$router.push('WebView')
}, },
goSubmit (e) { goSubmit (e) {
if (!this.$store.state.isLogin) { if (!this.$store.state.isLogin) {
......
<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
url: 'https://qyflpt.sobot.com/chat/h5/v2/index.html?sysnum=dabbf814ab064e4ba9fe1f7e729db6ab&channelid=196'
};
},
onLoad(options) {
let openUrl = options.url;
if (openUrl) {
this.url = decodeURIComponent(openUrl)
}
}
}
</script>
<style lang="scss">
</style>
...@@ -16,7 +16,8 @@ const routers = { ...@@ -16,7 +16,8 @@ const routers = {
'OrderDetail': '/pagesA/orderDetail/orderDetail', 'OrderDetail': '/pagesA/orderDetail/orderDetail',
'Coupon': '/pagesA/coupon/coupon', 'Coupon': '/pagesA/coupon/coupon',
'AlertToLogin': '/pagesA/AlertToLogin/AlertToLogin', 'AlertToLogin': '/pagesA/AlertToLogin/AlertToLogin',
'Agreement': '/pagesA/agreement/agreement' 'Agreement': '/pagesA/agreement/agreement',
'WebView': '/pagesA/webView/webView'
} }
export function push(routerName, params, events) { export function push(routerName, params, events) {
......
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