|
@@ -17,8 +17,10 @@
|
|
|
{{item.stationNo}}<span class="y">|</span>{{item.name}}
|
|
|
</view>
|
|
|
|
|
|
- <view class="v2" v-if="item.stationAddress">
|
|
|
- {{item.stationAddress}}
|
|
|
+ <view class="v2" :class="{
|
|
|
+ v3:item.inspectionCycle
|
|
|
+ }">
|
|
|
+ {{item.inspectionCycle?'巡检周期:'+item.inspectionCycle+'天':'未设置'}}
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
@@ -160,9 +162,10 @@
|
|
|
.item {
|
|
|
padding: 24rpx 32rpx;
|
|
|
background: #fff;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: space-between;
|
|
|
+align-items: center;
|
|
|
.vquery {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -204,8 +207,13 @@
|
|
|
}
|
|
|
|
|
|
.v2 {
|
|
|
- color: rgba(119, 119, 119, 1);
|
|
|
- font-size: 24rpx;
|
|
|
+ color: red;
|
|
|
+ font-size: 24rpx;
|
|
|
+ white-space: pre;
|
|
|
+ }
|
|
|
+ .v3 {
|
|
|
+ color: rgba(119, 119, 119, 1);
|
|
|
+ font-size: 24rpx;
|
|
|
}
|
|
|
|
|
|
}
|