|
|
@@ -67,12 +67,12 @@
|
|
|
</view>
|
|
|
<text class="arrow">></text>
|
|
|
</view>
|
|
|
- <view class="function-item" @click="navigateToSettings">
|
|
|
+<!-- <view class="function-item" @click="navigateToSettings">
|
|
|
<view class="left">
|
|
|
<text>系统设置</text>
|
|
|
</view>
|
|
|
<text class="arrow">></text>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view v-if="isLogin" class="function-item" @click="handleLogout">
|
|
|
<view class="left">
|
|
|
<!-- <text class="function-icon">退</text> -->
|
|
|
@@ -191,7 +191,7 @@ const navigateToService = (item) => {
|
|
|
|
|
|
const handleContact = () => {
|
|
|
uni.makePhoneCall({
|
|
|
- phoneNumber: '400-888-8888' // 替换为实际的客服电话
|
|
|
+ phoneNumber: '13379508760' // 替换为实际的客服电话
|
|
|
})
|
|
|
}
|
|
|
|
|
|
@@ -214,7 +214,7 @@ const handleLogout = () => {
|
|
|
content: '确认退出登录?',
|
|
|
success: (res) => {
|
|
|
if (res.confirm) {
|
|
|
- // #ifdef H5
|
|
|
+
|
|
|
webLogout().then(res => {
|
|
|
console.log("tuichu", res)
|
|
|
storage.setAccessToken("")
|
|
|
@@ -230,16 +230,7 @@ const handleLogout = () => {
|
|
|
plotInfo.active = 0
|
|
|
plotInfo.idle = 0
|
|
|
})
|
|
|
- // #endif
|
|
|
|
|
|
- // #ifdef APP-PLUS || MP-HARMONY
|
|
|
- logout().then(() => {
|
|
|
- isLogin.value = false
|
|
|
- userInfo.nickname = '游客'
|
|
|
- userInfo.id = ''
|
|
|
- userInfo.avatar = '/static/icons/user_icon'
|
|
|
- })
|
|
|
- // #endif
|
|
|
}
|
|
|
}
|
|
|
})
|