客服
This commit is contained in:
15
pages.json
15
pages.json
@@ -11,7 +11,7 @@
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},{
|
||||
}, {
|
||||
"path": "pages/task/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "任务",
|
||||
@@ -103,6 +103,12 @@
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/me/webview",
|
||||
"style": {
|
||||
"navigationBarTitleText": "客服"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/me/userinfo",
|
||||
"style": {
|
||||
@@ -827,10 +833,9 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path" : "yaoqing/realName",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText" : ""
|
||||
"path": "yaoqing/realName",
|
||||
"style": {
|
||||
"navigationBarTitleText": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -303,6 +303,7 @@
|
||||
import ttMsg from '../../components/ttMsg/ttMsg.vue'
|
||||
import httpsRequest from '../../common/httpRequest.js'
|
||||
import otherXuanfu from '@/components/other-xuafu.vue'
|
||||
import {init} from '@/common/init.js'
|
||||
import {
|
||||
returnIsSafari
|
||||
} from '@/utils/app.js'
|
||||
@@ -359,6 +360,7 @@
|
||||
this.wwrqx(1212, 5)
|
||||
},
|
||||
onShow() {
|
||||
init()
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
const isIOS = /iOS/.test(systemInfo.platform);
|
||||
if (!isIOS) {
|
||||
@@ -748,6 +750,10 @@
|
||||
uni.navigateTo({
|
||||
url: '/me/setting/kefu'
|
||||
})
|
||||
} else if (kefu == 4) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/me/webview'
|
||||
})
|
||||
} else if (kefu === 3) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: kefuPhone //仅为示例
|
||||
|
||||
17
pages/me/webview.vue
Normal file
17
pages/me/webview.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<web-view :src="url"></web-view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
url: 'https://chatbot.aliyuncs.com/intl/index.htm?from=pfW5XoA9gt&locale=zh-CN',
|
||||
};
|
||||
},
|
||||
async onLoad(options) {
|
||||
this.url = uni.getStorageSync('kefuPhone');
|
||||
console.log(options)
|
||||
// this.url = options.url
|
||||
}
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user