From d053e049522e973391be1dbf51b4aea688b45c20 Mon Sep 17 00:00:00 2001
From: 朱桂飞 <18597012158>
Date: 星期四, 07 九月 2023 08:52:46 +0800
Subject: [PATCH] 1.添加远程监控页面

---
 pages/tabBar/general.vue |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/pages/tabBar/general.vue b/pages/tabBar/general.vue
index 650a424..6d46b9a 100644
--- a/pages/tabBar/general.vue
+++ b/pages/tabBar/general.vue
@@ -12,9 +12,9 @@
 		 
 		 -->
 		<cu-custom bgColor="bg-gradual-blue" :isBack="false">
-			<block slot="content">骞茬嚗璁惧鐩戞帶绯荤粺</block>
+			<block slot="content">鏅鸿兘涓崏鑽共鐕ュ皬绋嬪簭绯荤粺</block>
 		</cu-custom>
-
+		<u-toast ref="uToast"></u-toast>
 		<!-- 		<view class="card-box dynamic shadow cu-list menu">
 			<view class="title-box">
 				<view class="left">
@@ -177,7 +177,7 @@
 					<view class="flex">
 						<text>涓崏鑽�</text>
 						<text>涓�</text>
-						<text>{{showValue(item.herbName)}}</text>
+						<text @click="showLongName(showValue(item.herbName))" class="text-cut flex-twice">{{showValue(item.herbName)}}</text>
 						<!-- <view class="margin-lr-sm">
 							<u-tag text="鎶ヨ涓�娆�" plain size="mini" type="warning"></u-tag>
 						</view> -->
@@ -363,7 +363,14 @@
 			this.getOrderList(day, day)
 
 		},
-		methods: {
+		methods: {
+			showLongName(longName){
+					this.$refs.uToast.show({
+						type: 'default',
+						message: longName
+					})
+				
+			},
 			dayChange(dayInfo) { // 鐐瑰嚮鏃ユ湡
 				this.model.date = dayInfo.date
 				console.log("鐐瑰嚮鏃ユ湡", JSON.parse(JSON.stringify(dayInfo)));

--
Gitblit v1.9.3