This commit is contained in:
2026-03-20 16:40:16 +08:00
parent deb949600b
commit 230bb76f63
23 changed files with 9306 additions and 637 deletions

View File

@ -160,24 +160,24 @@
</view>
<image class="navArrow" :src="`${imgPrefix}right-arrow.png`"></image>
</view>
<view class="navItem" @click="jumpTo(`/pages/client/mine/help`)">
<!-- <view class="navItem" @click="jumpTo(`/pages/client/mine/help`)">
<view class="navTitle">
使用帮助
</view>
<image class="navArrow" :src="`${imgPrefix}right-arrow.png`"></image>
</view>
</view> -->
<view class="navItem" @click="jumpTo('/pages/client/news/index')">
<view class="navTitle">
系统消息
</view>
<image class="navArrow" :src="`${imgPrefix}right-arrow.png`"></image>
</view>
<view class="navItem" @click="jumpTo(`/pages/client/mine/aboutus`)">
<!-- <view class="navItem" @click="jumpTo(`/pages/client/mine/aboutus`)">
<view class="navTitle">
关于平台
</view>
<image class="navArrow" :src="`${imgPrefix}right-arrow.png`"></image>
</view>
</view> -->
<view class="navItem" style="border: none;" v-if="userInfo.phone" @click="showLogoutModal = true">
<view class="navTitle">
退出登录
@ -186,16 +186,23 @@
</view>
</view>
<pop-up-modal v-if="showLogoutModal" content="确定要退出登录吗?" @cancel="showLogoutModal = false" @confirm="logout" />
<pop-up-modal v-if="showLogoutModal" content="确定要退出登录吗?" @cancel="showLogoutModal = false" @confirm="logout" />
<contact-modal v-if="showContactModal" :data="configInfo" @close="showContactModal = false" />
<!-- 可拖动联系客服组件 -->
<DraggableContact ref="draggableContact" :onClick="handleContactClick" />
<WeChatCopyModal ref="wechatCopyModal" />
</view>
</template>
<script>
import CommonCell from "@/components/CommonCell.vue";
import PopUpModal from "../../../components/PopUpModal.vue";
import ContactModal from "@/components/ContactModal.vue";
import CommonCell from "@/components/CommonCell.vue";
import PopUpModal from "../../../components/PopUpModal.vue";
import ContactModal from "@/components/ContactModal.vue";
import WeChatCopyModal from "@/components/WeChatCopyModal.vue";
import DraggableContact from "@/components/DraggableContact.vue";
import {
loginOut,
getUserInfo,
@ -207,10 +214,12 @@
} from "@/utils/common";
export default {
components: {
components: {
CommonCell,
PopUpModal,
ContactModal,
WeChatCopyModal,
DraggableContact,
},
data() {
return {
@ -303,11 +312,20 @@
url: "/pages/client/auth/index",
});
},
showContact() {
showContact() {
jumpToWeChat();
// this.getConfig();
// this.showContactModal = true;
},
// 跳转微信客服 - 使用自定义弹窗(与商城页面一致)
handleContactClick() {
if (this.$refs.wechatCopyModal) {
this.$refs.wechatCopyModal.show({
title: '请添加客服号',
weChatCode: 'Wagoo2025'
});
}
},
},
};
</script>
@ -452,7 +470,7 @@
border-radius: 16rpx;
margin-bottom: 26rpx;
.navItem {
.navItem {
display: flex;
align-items: center;
justify-content: space-between;
@ -472,6 +490,8 @@
}
}
/* 可拖动联系客服组件无需额外样式 */
.arrowImg {
width: 11rpx;
height: 18rpx;