From 8cc072a8a3bffcb8e9292cd39d1062493a1a0282 Mon Sep 17 00:00:00 2001
From: 朱桂飞 <18597012158>
Date: 星期二, 19 十二月 2023 13:03:09 +0800
Subject: [PATCH] 添加实时监控页面
---
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..7600ad3 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