diff --git a/components/CustomTabBar/CustomTabBar.vue b/components/CustomTabBar/CustomTabBar.vue
index a393352..87f988e 100644
--- a/components/CustomTabBar/CustomTabBar.vue
+++ b/components/CustomTabBar/CustomTabBar.vue
@@ -4,14 +4,17 @@
class="tabbar-item"
v-for="(item, index) in tabbarList"
:key="index"
+ :class="{ 'center-item': item.centerItem }"
@click.stop="switchTab(item, index)"
@tap.stop="switchTab(item, index)"
>
-
+
+
+
{{ item.badge }}
@@ -59,22 +62,13 @@ const generateTabbarList = () => {
},
{
id: 2,
- text: '智能客服',
+ text: '',
path: '/pages/chat/chat',
- iconPath: '/static/tabbar/logo3.png',
- selectedIconPath: '/static/tabbar/logo3.png',
+ iconPath: '/static/tabbar/robot2.png',
+ selectedIconPath: '/static/tabbar/robot2.png',
centerItem: true,
badge: readMsg.badges[2]?.count || 0,
},
- {
- id: 3,
- text: '消息',
- path: '/pages/msglog/msglog',
- iconPath: '/static/tabbar/chat4.png',
- selectedIconPath: '/static/tabbar/chat4ed.png',
- centerItem: false,
- badge: readMsg.badges[3]?.count || 0,
- },
{
id: 4,
text: '我的',
@@ -275,6 +269,34 @@ onMounted(() => {
diff --git a/pages/mine/company-mine.vue b/pages/mine/company-mine.vue
index dc075ec..5794734 100644
--- a/pages/mine/company-mine.vue
+++ b/pages/mine/company-mine.vue
@@ -34,6 +34,15 @@
{{ companyInfo.isVerified ? '已通过' : '未认证' }}
+
+
+
+ 消息
+
+
+
+
+
@@ -83,6 +92,11 @@ function goToCompanyInfo() {
navTo('/pages/mine/company-info');
}
+// 跳转到消息页面
+function goToMessage() {
+ navTo('/pages/msglog/msglog');
+}
+
function logOut() {
popup.value.open();
}
diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue
index 041a4ad..ee7bcba 100644
--- a/pages/mine/mine.vue
+++ b/pages/mine/mine.vue
@@ -96,6 +96,15 @@
+
+
+
+ 消息
+
+
+
+
+
@@ -218,6 +227,11 @@ function goCaAI(){
navTo(`/packageCa/search/AIAudition?name=${userInfo.name}&userId=${userInfo.idCard}`);
}
+// 跳转到消息页面
+function goToMessage(){
+ navTo('/pages/msglog/msglog');
+}
+