wx-program
sunmeng 2024-08-29 15:11:34 +08:00
parent f54d1bc480
commit 2f449424f2
1 changed files with 31 additions and 6 deletions

View File

@ -58,6 +58,15 @@
</view> </view>
</view> </view>
<view class="bottom"> <view class="bottom">
<view class="shunshi">
<!-- // {
// image: '../../static/icon_2.png',
// title: '',
// timer: '0L/h'
// }, -->
<image src="../../static/icon_2.png" mode=""></image>
<text>灌溉瞬时流量{{inputData['3010']}}L/h</text>
</view>
<view class="btn-1" :class="inputData['3012'] ? 'in' : 'out'"> <view class="btn-1" :class="inputData['3012'] ? 'in' : 'out'">
<image v-if="inputData['3012']" src="../../static/in-sel.png" <image v-if="inputData['3012']" src="../../static/in-sel.png"
mode=""></image> mode=""></image>
@ -77,9 +86,9 @@
<view class=""> <view class="">
<view :class="right2Index.indexOf(index) != -1?'item_act':'item'" v-for="(item,index) in rightList2.slice(0, 4)" :key="index">{{item}}</view> <view :class="right2Index.indexOf(index) != -1?'item_act':'item'" v-for="(item,index) in rightList2.slice(0, 4)" :key="index">{{item}}</view>
</view> </view>
<view class=""> <!-- <view class="">
<view :class="right2Index.indexOf(index + 4) != -1?'item_act':'item'" v-for="(item,index) in rightList2.slice(4, 8)" :key="index">{{item}}</view> <view :class="right2Index.indexOf(index + 4) != -1?'item_act':'item'" v-for="(item,index) in rightList2.slice(4, 8)" :key="index">{{item}}</view>
</view> </view> -->
</view> </view>
<view class="set"> <view class="set">
<view class="item" @click="openSoilshow"> <view class="item" @click="openSoilshow">
@ -1122,7 +1131,23 @@
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.shunshi{
width: 50%;
height: 80rpx;
display: flex;
align-items: center;
justify-content: center;
>image {
width: 60rpx;
height: 60rpx;
}
text{
font-size: 24rpx;
font-family: PingFang SC;
font-weight: bold;
color: #333333;
}
}
.btn-1 { .btn-1 {
>image { >image {
width: 39rpx; width: 39rpx;
@ -1141,7 +1166,7 @@
} }
.in { .in {
width: 100%; width: 50%;
height: 80rpx; height: 80rpx;
background: linear-gradient(0deg, #54CDA4, #27B584); background: linear-gradient(0deg, #54CDA4, #27B584);
border-radius: 10rpx; border-radius: 10rpx;
@ -1160,7 +1185,7 @@
} }
.out { .out {
width: 100%; width: 50%;
height: 80rpx; height: 80rpx;
background: #EFFCF7; background: #EFFCF7;
border: 2px solid rgba(58, 187, 144, 0.25); border: 2px solid rgba(58, 187, 144, 0.25);
@ -1181,7 +1206,7 @@
.signal { .signal {
width: 690rpx; width: 690rpx;
height: 180rpx; // height: 180rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1); box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(153, 153, 153, 0.1);
border-radius: 20rpx; border-radius: 20rpx;