From 76f5ad404069bbecca98d441b4f7cbc2aba51c75 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期五, 05 七月 2024 17:55:07 +0800
Subject: [PATCH] feat:呼叫客服增加语音电话

---
 pages/tabbar-page/index-tabbar/index-tabbar.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue
index e882dd7..7ec3877 100644
--- a/pages/tabbar-page/index-tabbar/index-tabbar.vue
+++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -7,8 +7,9 @@
 					<u-badge :isDot="true"
 						type="error"
 						v-if="dotShow"></u-badge>
-					<u-icon name="chat"
-						color="#fff"
+					<u-icon
+            name="chat"
+						:color="[roleType == 4 ? '#3b56eb' : '#fff']"
 						size="50"></u-icon>
 				</view>
 			</view>
@@ -38,7 +39,8 @@
 
 <script>
 	import customerIndex from '@/pages/customer-page/customer-index/customer-index.vue';
-	import driverIndex from '@/pages/driver-page/driver-index/driver-index.vue';
+	// import driverIndex from '@/pages/driver-page/driver-index/driver-index.vue';
+	 import driverIndex from '@/pages/driver-page/driver-index/test-index.vue'
 	import inspectionIndex from '@/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan.vue'
 	import freightForwarderIndex from '@/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue';
 	import { mapState, mapMutations, mapGetters } from 'vuex';
@@ -152,7 +154,11 @@
           if(v) {
             if (v.startsWith('weigh')) {
               let nowWeighObj = JSON.parse(v.slice(7));
+              console.log(nowWeighObj,'nowWeighObj-----')
+              console.log(this.globalweighHouseCode,'this.globalweighHouseCode-----')
+              console.log('鎴戣繘鏉ヤ簡--------------1111111')
               if (this.globalweighHouseCode && nowWeighObj.eqCode == this.globalweighHouseCode) {
+                console.log('鎴戣繘鏉ヤ簡--------------22')
                 if (nowWeighObj.eqInfraredStatus) {
                   this.changeinfraredStatus(true);
                   this.changeWeigh(nowWeighObj.weigh);
@@ -316,7 +322,7 @@
 		position: absolute;
 		top: vww(96);
 		right: vww(32);
-		z-index: 1;
+		z-index: 999999;
 
 		.icon-body {
 			position: relative;

--
Gitblit v1.9.1