Commit 85b8a735 by zhangzhen

细节优化

parent cce231c8
...@@ -66,8 +66,7 @@ ...@@ -66,8 +66,7 @@
<text :style="{color: colorEnum[val.colorStatus]}">{{statusEnum[val.colorStatus]}}</text> <text :style="{color: colorEnum[val.colorStatus]}">{{statusEnum[val.colorStatus]}}</text>
<text v-if="val.facilities.length" class="text-yellow2 text-sm">({{val.facilities[0]}})</text> <text v-if="val.facilities.length" class="text-yellow2 text-sm">({{val.facilities[0]}})</text>
</view> </view>
<view class="order-info-box" style="width: 100%;"> <view class="order-info-box">
<image class="img" :src="assetsPath+'/avatar_no.png'" mode="widthFix"></image>
<view v-if="val.orderList&&val.orderList.length" class="list"> <view v-if="val.orderList&&val.orderList.length" class="list">
<view class="flex-row text-red text-bold text-sm" v-for="(orderItem,oIndex) in val.orderList" v-if="oIndex<=2" :key="oIndex"> <view class="flex-row text-red text-bold text-sm" v-for="(orderItem,oIndex) in val.orderList" v-if="oIndex<=2" :key="oIndex">
<text>{{orderItem.preStartDate}}</text> <text>{{orderItem.preStartDate}}</text>
...@@ -75,6 +74,7 @@ ...@@ -75,6 +74,7 @@
<text>{{orderItem.preEndDate}}</text> <text>{{orderItem.preEndDate}}</text>
</view> </view>
</view> </view>
<image v-else class="img" :src="assetsPath+'/avatar_no.png'" mode="widthFix"></image>
</view> </view>
...@@ -144,17 +144,12 @@ import moment from "@/common/moment"; ...@@ -144,17 +144,12 @@ import moment from "@/common/moment";
{ {
label:"待保洁", label:"待保洁",
status:3, status:3,
color:"#ff494e" color:"#ff49ef"
}, },
{ {
label:"保洁中", label:"保洁中",
status:4, status:4,
color:"#ff49ef" color:"#ff49ef"
},
{
label:"未保洁",
status:5,
color:"#ff0000"
} }
], ],
cleanStatusEnum:{}, cleanStatusEnum:{},
...@@ -427,14 +422,11 @@ import moment from "@/common/moment"; ...@@ -427,14 +422,11 @@ import moment from "@/common/moment";
} }
} }
.room-box .order-info-box{ .room-box .order-info-box{
position: relative;
display: flex; display: flex;
width: 100%; width: 100%;
height: 100upx;
justify-content: center; justify-content: center;
.list{ .list{
position: absolute;
top: 0;
left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;
......
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