优化我的工单页面布局

This commit is contained in:
赵毅 2025-12-31 10:36:23 +08:00
parent ec7f284035
commit 51874e8dab
2 changed files with 8 additions and 3 deletions

View File

@ -136,6 +136,9 @@ page {
.orderItem_row_label { .orderItem_row_label {
width: 200rpx; width: 200rpx;
} }
.orderItem_row_status{
min-width: 90rpx;
}
.orderItem_row_state { .orderItem_row_state {
font-size: 28rpx; font-size: 28rpx;

View File

@ -37,7 +37,7 @@
<view class="orderItem_row_con">{{ item.room.name }}</view> <view class="orderItem_row_con">{{ item.room.name }}</view>
</view> </view>
<view :class="['orderItem_row_state', statusType[item.status].color]"> <view class="orderItem_row_status" :class="['orderItem_row_state', statusType[item.status].color]">
{{ statusType[item.status].desc }} {{ statusType[item.status].desc }}
</view> </view>
</view> </view>
@ -183,7 +183,9 @@ export default {
const meun = menuButtonInfo(); const meun = menuButtonInfo();
this.top = meun.top; this.top = meun.top;
this.localHeight = meun.height; this.localHeight = meun.height;
this.communityId = JSON.parse(options.communityId); if (options.communityId) {
this.communityId = JSON.parse(options.communityId);
}
}, },
onShow() { onShow() {
this.page_num = 1; this.page_num = 1;
@ -193,7 +195,7 @@ export default {
}, },
onReachBottom() { onReachBottom() {
if (this.flag) { if (this.flag) {
this.init(); this.getTabsList();
} }
}, },
} }