朱桂飞
2023-04-11 e86013cd8d4b88ca916067b01eeb452401b38c7b
pages/tabBar/general.vue
@@ -14,7 +14,7 @@
      <cu-custom bgColor="bg-gradual-blue" :isBack="false">
         <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> -->
@@ -364,6 +364,13 @@
      },
      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)));