朱桂飞
2023-04-03 458962a2e4a4f6af0caa5fcb3867f2e42125fd40
pages/tabBar/monitor.vue
@@ -1,8 +1,5 @@
<template>
   <view class="container">
      <!-- <view class="text-xxl" style="position: fixed; left: 40rpx;top: 100rpx;color: black;z-index: 99;">
         <text @click="goBack" class="cuIcon-back" ></text>
      </view> -->
      <cu-custom bgColor="bg-gradual-blue" :isBack="false">
         <block slot="content">机台监控</block>
@@ -16,7 +13,7 @@
                  interval="3500" duration="600">
                  <swiper-item class="swiper-list" v-for="(item, index) in bannerList" :key="index">
                     <view class="swiper-item uni-bg-red">
                        <image class="swiper-img" :src="item.imageUrl" mode="aspectFill"></image>
                        <image class="swiper-img" :src="item.imageUrl" mode="aspectFit"></image>
                     </view>
                  </swiper-item>
               </swiper>
@@ -31,9 +28,9 @@
            <view class='bg-orange cu-tag radius light sm margin-right-xs' v-else>停止</view>
            <!-- <view class='bg-cyan cu-tag radius light sm'>正常</view> -->
         </view>
         <view class="text-black text-df flex">
            <text class="margin-right-xs">配方名称:</text>
            <text>{{ formulaName   }} </text>
         <view class="text-black text-df flex align-center">
            <text class="margin-right-xs">批次:</text>
            <text>{{ this.$lget(this.model,'code') }} </text>
         </view>
         <view class="text-gray  margin-top-xs">
@@ -43,25 +40,28 @@
         <view class="text-gray  margin-top-xs">
            <text class="margin-right-xs">投料:</text>
            <text>{{$lget(model,'feed')}}筐</text>
            <text class="text-cyan">{{$lget(model,'feed')}} <text class="text-gray margin-left-xs">筐</text></text>
         </view>
         <view class="text-gray  margin-top-xs">
            <text class="margin-right-xs">重量:</text>
            <text class="text-cyan margin-right-xs">{{$lget(model,'trendVo.weight')}}<text class="text-gray margin-left-xs">/</text></text>
            <text>  <text class="text-line-through">{{$lget(model,'originWeight')}}</text>  <text class="text-gray margin-left-xs">kg</text></text>
         </view>
         <view class="text-gray  margin-top-xs">
            <text class="margin-right-xs">用时:</text>
            <text class="text-cyan">{{$lget(model,'trendVo.totalTime')}}<text class="text-gray margin-left-xs">min</text></text>
         </view>
         <!-- <view class="margin-tb-sm" style="position: relative;">
            <text class="text-gray text-df margin-right-xs">重量:</text>
            <text class="text-cyan text-bold text-xxl margin-right-xs">100kg</text>
            <text class="text-gray text-df margin-right-xs">时间:</text>
            <text class="text-cyan text-bold text-xxl margin-right-xs">0min </text>
         </view>
          -->
         <view class="margin-tb-sm" style="position: relative;">
            <text class="text-gray text-df margin-right-xs">含水率:</text>
            <text class="text-cyan text-bold text-xxl margin-right-xs">{{ $lget(this.model, 'trendVo.moisture') }}%
            <text class="text-cyan text-bold text-xl margin-right-xs">{{ $lget(this.model, 'trendVo.moisture') }}%
            </text>
            <text class="text-gray text-df margin-right-xs">热风:</text>
            <text class="text-cyan text-bold text-xxl margin-right-xs">{{$lget(this.model, 'trendVo.bellowsTemp') }} ℃
            <text class="text-cyan text-bold text-xl margin-right-xs">{{$lget(this.model, 'trendVo.bellowsTemp') }} ℃
            </text>
@@ -383,10 +383,10 @@
               tenantid: 1000
            },
            bannerList: [{
                  imageUrl: '/static/image/equ1.png'
                  imageUrl: 'https://dev.shlanbao.cn:9999/fileTransfer/preview?userFileId=1640616151832784896&isMin=false&shareBatchNum=&extractionCode='
               },
               {
                  imageUrl: '/static/image/equ1.png'
                  imageUrl: 'https://dev.shlanbao.cn:9999/fileTransfer/preview?userFileId=1640617395255177216&isMin=false&shareBatchNum=&extractionCode='
               }
            ]