|
@@ -27,12 +27,15 @@ import CouponCard from '@/pages/common/components/coupon-card.vue'
|
|
|
import { select, sort } from 'radash'
|
|
|
import CouponsSelector from '@/pages/common/components/coupons-selector.vue'
|
|
|
import { right } from '../../../../core/libs/svgs'
|
|
|
+import ButtonEvo from '@/components/button-evo.vue'
|
|
|
+import { handleClickInstruction } from '../../../../core/libs/actions'
|
|
|
+import { useMessage } from 'wot-design-uni'
|
|
|
|
|
|
const router = useRouter()
|
|
|
const userStore = useUserStore()
|
|
|
const { userInfo } = storeToRefs(userStore)
|
|
|
const show = ref(false)
|
|
|
-const a = ref(1)
|
|
|
+const { alert } = useMessage()
|
|
|
const data = ref()
|
|
|
const selectedCoupons = ref<Coupon[]>()
|
|
|
const { data: coupons, run: setCoupons } = useRequest(() =>
|
|
@@ -174,26 +177,15 @@ onLoad(async (query: { data: string }) => {
|
|
|
</div>
|
|
|
</Card>
|
|
|
<BottomAppBar fixed placeholder>
|
|
|
- <div class="h-[63px] bg-white backdrop-blur-[20px] flex px-3.5 items-center justify-between">
|
|
|
- <div class="flex">
|
|
|
- <div class="text-[#ef4343] text-2xl font-normal font-['D-DIN Exp'] leading-normal">
|
|
|
+ <div class="h-[63px] bg-white backdrop-blur-[20px] flex items-center justify-between">
|
|
|
+ <div class="flex items-end gap-1.25">
|
|
|
+ <div class="text-[#ef4343] text-2xl font-normal font-['D-DIN_Exp'] leading-7">
|
|
|
{{ paidPoints }}
|
|
|
</div>
|
|
|
- <div class="text-black/40 text-base font-normal font-['PingFang_SC'] leading-[34px]">
|
|
|
- 积分
|
|
|
- </div>
|
|
|
+ <div class="text-black/40 text-base font-normal font-['PingFang_SC']">积分</div>
|
|
|
</div>
|
|
|
<div class="">
|
|
|
- <TrapeziumButton size="large">
|
|
|
- <div class="text-white text-base font-normal font-['PingFang_SC'] leading-tight">
|
|
|
- <div
|
|
|
- class="text-white text-base font-normal font-['PingFang_SC'] leading-tight"
|
|
|
- @click="handlePay"
|
|
|
- >
|
|
|
- 确认兑换
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </TrapeziumButton>
|
|
|
+ <ButtonEvo @click="handlePay">确认兑换</ButtonEvo>
|
|
|
</div>
|
|
|
</div>
|
|
|
</BottomAppBar>
|
|
@@ -203,6 +195,7 @@ onLoad(async (query: { data: string }) => {
|
|
|
:show="show"
|
|
|
:products="data?.list"
|
|
|
@close="show = false"
|
|
|
+ @click-instruction="(e) => handleClickInstruction(alert, e)"
|
|
|
></CouponsSelector>
|
|
|
<!-- <CouponsSelector></CouponsSelector> -->
|
|
|
<!-- <wd-action-sheet title="优惠券" v-model="show">
|