feat:订餐预约播报

This commit is contained in:
dzc committed 2025-04-28 17:33:05 +08:00
1 parent 4d4f9fd0d7
commit 795ab0eb13
1 file changed
+5 -3
+5 -3
View File
@@ -57,7 +57,6 @@ const pageHook = hooks.usePage(
)
const query = (page: number, pagesize: number) => {
const isLogin = hooks.useStaticCheckLogin()
console.log(isLogin, "isLogin")
if (!isLogin) return
pageHook.startPage(page, pagesize, false, state.pa)
@@ -129,7 +128,7 @@ const doRefund = (v: any) => {
</view>
</view>
<view class="flex items-center ml-[120rpx]">
<scroll-view v-if="v.orderStatus == 5 && v.orderType == 2" scroll-x class="flex-row-center whitespace-nowrap">
<scroll-view v-if="['5', '20'].includes(v.orderStatus) && v.orderType == 2" scroll-x class="flex-row-center whitespace-nowrap">
<view class="flex-row items-center">
<view class="inline-flex! flex-col items-center m-r-20rpx" v-for="(pV, pI) in v.carList" :key="pI">
<image class="w-60rpx h-60rpx rounded-8rpx" :src="filePath(pV.productPic)" mode="aspectFill" />
@@ -137,7 +136,10 @@ const doRefund = (v: any) => {
</view>
</view>
</scroll-view>
<view v-if="v.carList?.length && v.orderStatus == 5 && v.orderType == 2" class="w-200rpx m-x-10rpx second-text-26">
<view
v-if="v.carList?.length && ['5', '20'].includes(v.orderStatus) && v.orderType == 2"
class="w-200rpx m-x-10rpx second-text-26"
>
共 {{ v.carList.length }} 件
</view>
<view v-if="['5', '10'].includes(v.orderStatus)" class="w-500rpx flex-row items-center justify-end">