调整样式边距
This commit is contained in:
@ -44,7 +44,7 @@
|
|||||||
<view class="mr-8rpx h-12rpx w-12rpx flex-shrink-0 rounded-full"
|
<view class="mr-8rpx h-12rpx w-12rpx flex-shrink-0 rounded-full"
|
||||||
:style="{ backgroundColor: RoomManage.handleGetStatusConfig(room.status).color }" />
|
:style="{ backgroundColor: RoomManage.handleGetStatusConfig(room.status).color }" />
|
||||||
<!-- 状态文字 -->
|
<!-- 状态文字 -->
|
||||||
<view class="text-32rpx text-[#303133] leading-34rpx"
|
<view class="text-32rpx text-[#303133] leading-34rpx mt-10rpx"
|
||||||
:style="{ color: RoomManage.handleGetStatusConfig(room.status).color }">
|
:style="{ color: RoomManage.handleGetStatusConfig(room.status).color }">
|
||||||
{{ RoomManage.handleGetStatusConfig(room.status).text }}
|
{{ RoomManage.handleGetStatusConfig(room.status).text }}
|
||||||
</view>
|
</view>
|
||||||
@ -150,6 +150,15 @@
|
|||||||
}
|
}
|
||||||
const orderStatus = ref<string>('')
|
const orderStatus = ref<string>('')
|
||||||
const list = ref<Array<any>>([]) // 茶室列表
|
const list = ref<Array<any>>([]) // 茶室列表
|
||||||
|
const canReset = ref<boolean>(false) // 避免onShow重复加载
|
||||||
|
|
||||||
|
onShow(() => {
|
||||||
|
if (canReset.value) {
|
||||||
|
list.value = []
|
||||||
|
getMescroll().resetUpScroll();
|
||||||
|
}
|
||||||
|
canReset.value = true
|
||||||
|
})
|
||||||
|
|
||||||
const RoomManage = {
|
const RoomManage = {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user