Commit 85b8a735 by zhangzhen

细节优化

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