Commit ead25fbb by zhangzhen

细节优化

parent e41d68c1
...@@ -69,6 +69,11 @@ ...@@ -69,6 +69,11 @@
<view class='cu-tag radius line-red' v-else-if="item.isDirtyRoom >= 1"> <view class='cu-tag radius line-red' v-else-if="item.isDirtyRoom >= 1">
未保洁 未保洁
</view> </view>
<view v-else-if="item.recordsStatus>=0" class="cu-tag radius line-red">
{{recordsStatusEnum[item.recordsStatus]}}
</view>
<view v-else class='cu-tag radius' <view v-else class='cu-tag radius'
:class="item.status==0?'line-green':item.status==1?'line-orange':'line-blue'"> :class="item.status==0?'line-green':item.status==1?'line-orange':'line-blue'">
{{roomStatusEnum[item.status]}}</view> {{roomStatusEnum[item.status]}}</view>
...@@ -204,6 +209,10 @@ ...@@ -204,6 +209,10 @@
url: this.assetsPath + "/power.png" url: this.assetsPath + "/power.png"
}, },
], ],
recordsStatusEnum:{
0:"待保洁",
1:"保洁中"
},
options: [{ options: [{
value: '4', value: '4',
label: "4小时" label: "4小时"
...@@ -1122,7 +1131,13 @@ ...@@ -1122,7 +1131,13 @@
.list-point-box { .list-point-box {
width: 100%; width: 100%;
margin-bottom: 20upx; margin-bottom: 20upx;
.bg-pink{
background-color: rgba(0, 0, 0, 0.2);
box-shadow: 0 0 3px rgba(0, 0, 0, 0.26) inset;
}
// .bg-gray{
// background-color: rgba(255, 255, 255, 0.9);
// }
.flex-col { .flex-col {
align-items: center; align-items: center;
} }
......
...@@ -23,6 +23,12 @@ ...@@ -23,6 +23,12 @@
<image class="img" :src="assetsPath+'/fa_icon_1.png'" mode="widthFix"></image> <image class="img" :src="assetsPath+'/fa_icon_1.png'" mode="widthFix"></image>
</view> </view>
<view v-else-if="roomInfo.recordsStatus>=0" class="status-icon-box">
<view class="status-box" :class="'status-box-1'">
<text>{{recordsStatusEnum[roomInfo.recordsStatus]}}</text>
</view>
<image class="img" :src="assetsPath+'/fa_icon_1.png'" mode="widthFix"></image>
</view>
<view v-else class="status-icon-box"> <view v-else class="status-icon-box">
<view class="status-box" :class="'status-box-'+roomInfo.status"> <view class="status-box" :class="'status-box-'+roomInfo.status">
<text>{{roomStatusEnum[roomInfo.status]}}</text> <text>{{roomStatusEnum[roomInfo.status]}}</text>
...@@ -487,7 +493,10 @@ ...@@ -487,7 +493,10 @@
endHours: 48, endHours: 48,
content: '', content: '',
toDayDate: '', // 今天日期 toDayDate: '', // 今天日期
recordsStatusEnum:{
0:"待保洁",
1:"保洁中"
}
}; };
}, },
filters: { filters: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment