Browse Source

修复无固定场提交数据展示错误

学习?学个屁 4 days ago
parent
commit
8261b0681a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/index/gymPay/index.vue

+ 1 - 1
src/pages/index/gymPay/index.vue

@@ -137,7 +137,7 @@
 				}}</text>不可用
 				</view>
 				<view class="use-title" style="font-size: 24rpx;margin-top: 14rpx;">预约信息</view>
-				<view class="use-text">请你提前{{ previewCourseInfo?.advanceTime }}天预约</view>
+				<view class="use-text">{{previewCourseInfo?.advanceTime==0?'免预约': '请你提前'+previewCourseInfo?.advanceTime+'小时预约' }}</view>
 				<view class="use-title" style="font-size: 24rpx;margin-top: 14rpx;">适用人数</view>
 				<view class="use-text">每张券最多{{ previewCourseInfo?.usableCount }}人使用</view>
 				<view class="use-title" style="font-size: 24rpx;margin-top: 14rpx;">温馨提示</view>