202 :'kefu' 4

206:’kefuPhone‘ 链接
This commit is contained in:
wwz 2025-01-14 13:26:46 +08:00
parent 08a4983e92
commit 93bf0f35ff
3 changed files with 32 additions and 4 deletions

View File

@ -111,6 +111,13 @@
// #endif
}
},
{
"path": "pages/me/webview",
"style": {
"navigationBarTitleText": "",
"navigationStyle": "custom"
}
},
{
"path": "pages/me/userinfo",
"style": {

View File

@ -315,8 +315,7 @@
isAndroid: false,
}
},
onLoad() {
},
onLoad() {},
onPullDownRefresh() {
$cache_user.clear()
this.getMyMoney()
@ -454,7 +453,7 @@
}
},
/**
* 获取我喜欢的数量/追剧数量
*/
@ -472,7 +471,7 @@
}
})
},
/**
* 获取积分
*/
@ -552,6 +551,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 //

18
pages/me/webview.vue Normal file
View File

@ -0,0 +1,18 @@
<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>