+
+
+ 预约信息
+
+ {{ appointmentCheckoutView.time }}
+
+ {{ appointmentCheckoutView.dateText }} {{ appointmentCheckoutView.week }}
+ {{ appointmentCheckoutView.mode }}
+
+
+
+
+ {{ row.label }}
+
+ {{ row.label }}
+ {{ row.value }}
+
+
+
+
+
@@ -336,34 +356,24 @@
-
-
- 礼品卡
-
- -¥{{ unitPrice(giftCardDeductAmount) }}
- {{ giftCardList.length }} 张可用
-
-
-
-
- {{ item.giftCardName || '礼品卡' }}
-
- 余额 ¥{{ unitPrice(item.balance) }}
- {{ item.cardNo }}
-
+
+ 使用礼品卡
+
+
+ -¥{{ unitPrice(giftCardDeductAmount) }}
+
-
-
+
+ {{ giftCardList.length }} 张可用
+
+
+
+
@@ -416,11 +426,11 @@
import { ref, computed, watch, getCurrentInstance } from 'vue'
import { onLoad, onShow, onBackPress } from '@dcloudio/uni-app'
import { useStore } from '@/store'
+import { getThemeStyle } from '@/utils/theme'
import * as API_Address from '@/api/address'
import * as API_Order from '@/api/order'
import * as API_Trade from '@/api/trade'
import configs from '@/config/config'
-import LiLiWXPay from '@/js_sdk/lili-pay/wx-pay.js'
import invoices from '@/pages/order/invoice/setInvoice'
import {
unitPrice,
@@ -428,9 +438,12 @@ import {
secrecyMobile,
isLogin,
} from '@/utils/filters.js'
-import { hasECouponInCheckout } from '@/utils/goodsType.js'
+import { hasECouponInCheckout, hasAppointmentInCheckout } from '@/utils/goodsType.js'
+import { SERVICE_MODE_LABEL, formatDate } from '@/utils/appointmentGoods.js'
+import { bindCheckout } from '@/api/appointment.js'
const store = useStore()
+const themeStyle = computed(() => getThemeStyle(store.state.theme))
const { proxy } = getCurrentInstance()!
const lightColor = computed(() => store.getters.lightColor)
const mainColor = computed(() => store.getters.mainColor)
@@ -474,10 +487,71 @@ const originOrderData = ref