Commit bf462c4a by wangjian

1

parent 0d16903a
......@@ -145,6 +145,15 @@
}
}
,{
"path" : "webView/webView",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}],
"preloadRule":{
......
......@@ -170,7 +170,7 @@
} else if (index === 2) {
this.$router.push('IntegralDetail')
} else if (index === 3) {
this.$router.push('WebView')
}
},
setting() {
......
......@@ -168,7 +168,7 @@
return newContent;
},
clickCustomer () {
this.$wxCustomer()
this.$router.push('WebView')
},
goSubmit (e) {
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 = {
'OrderDetail': '/pagesA/orderDetail/orderDetail',
'Coupon': '/pagesA/coupon/coupon',
'AlertToLogin': '/pagesA/AlertToLogin/AlertToLogin',
'Agreement': '/pagesA/agreement/agreement'
'Agreement': '/pagesA/agreement/agreement',
'WebView': '/pagesA/webView/webView'
}
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