开启篮球预定

This commit is contained in:
wangxiaowei
2025-12-25 00:07:22 +08:00
parent ff99f9e189
commit 7a58939b65
9 changed files with 458 additions and 199 deletions

View File

@ -59,7 +59,7 @@
<image :src="item.image" mode="aspectFill" style="width: 200rpx; height: 200rpx; border-radius: 10rpx;"></image>
<view class="flex-1">
<view class="pro-info cg-info2">订单号:{{ item.order_sn }}</view>
<view class="pro-info cg-info3">预约时间:{{ item.trade[0].day_title }}</view>
<view class="pro-info cg-info3">预约时间:{{ ballType == 1 ? item.trade[0].day_title : item.times }}</view>
</view>
<!-- <view class="total-count">

View File

@ -15,7 +15,7 @@
<!-- 已预约 -->
<view class="" style="width: 100%;" v-if="detail.order_status == 1">
<view class="status-text" style="width: 100%;text-align: center;">
使用过程中有任何问题,请联系商家
使用过程中有任何问题,请联系客服
</view>
<!-- <view class="face d-f a-i-c">
<view class="d-f a-i-c">
@ -80,8 +80,8 @@
</view>
</view>
<view class="d-b-c" style="margin-top:18rpx;" v-if="ballType == 2">
<view class="cg-hour">¥100/小时</view>
<view class="cg-num">x{{ item.hours }}</view>
<view class="cg-hour">¥{{ detail.order_amount }}/人</view>
<view class="cg-num">x1</view>
</view>
<view class="d-f a-i-c" style="text-align: right;justify-content: end;margin-top:18rpx;">
@ -97,7 +97,7 @@
<view class="cg-title">预约信息</view>
<!-- todo 这里的状态如果是交易完成、订单取消、退款成功则将下面的预约改为使用 -->
<view class="cg-desc1">预约时间:{{ detail.day_time }}</view>
<view class="cg-desc2">预约时长:{{ detail.hours }}小时</view>
<view class="cg-desc2" v-if="ballType == 1">预约时长:{{ detail.hours }}小时</view>
<template v-if="ballType == 1">
<view class="cg-desc2">场地信息:</view>
<view class="desc" v-for="(item, index) in detail.trade" :key="index">
@ -196,13 +196,13 @@
<templte class="ww100" v-if="detail.order_status == 1">
<view class="d-b-c ww100">
<view class="cancle-reserve-btn" @click="showCancleReservePopup">取消预约</view>
<view class="contact-btn" @click="contactStore">联系商家</view>
<view class="contact-btn" @click="contactStore">联系客服</view>
</view>
</templte>
<!-- 进行中 -->
<templte class="ww100" v-if="detail.order_status == 2">
<view class="ww100 again-btn" @click="contactStore">联系商家</view>
<view class="ww100 again-btn" @click="contactStore">联系客服</view>
</templte>
<!-- 订单取消退款成功 -->