fix:核销文字描述
This commit is contained in:
1 parent
cced54aaa4
commit
84b1768652
2 files changed
+7
-6
No files matched your search
@@ -77,8 +77,7 @@ const doGetCoupon = async () => {
|
||||
// 券核销
|
||||
const CouponVerification = async () => {
|
||||
showQrCodeDialog.value = true
|
||||
// const words = CryptoJS.enc.Utf8.parse(JSON.stringify({ actId: couponInfo.value.id, totalPrice: 1 }))
|
||||
const words = CryptoJS.enc.Utf8.parse(JSON.stringify({ actId: "1969324063059877890", totalPrice: 1 }))
|
||||
const words = CryptoJS.enc.Utf8.parse(JSON.stringify({ actId: couponInfo.value.id, totalPrice: 1 }))
|
||||
uqrcode.make({
|
||||
canvasId: "qrcodeId",
|
||||
text: CryptoJS.enc.Base64.stringify(words),
|
||||
|
||||
@@ -50,12 +50,13 @@
|
||||
</view>
|
||||
</crud-layout>
|
||||
|
||||
<tm-modal :show="state.actModalShow" :showCancel="false" title="兑换券核销" zIndex="999" @confirm="" @cancel="" @close="">
|
||||
<view class="text-center"></view>
|
||||
<tm-modal :show="state.actModalShow" :showCancel="false" title="核销活动兑换券" zIndex="999" @confirm="" @cancel="" @close="">
|
||||
<view class="text-center second-text-28">是否确认核销该活动兑换券?</view>
|
||||
<view class="text-center second-text-28">确认核销将会对用户的消费钱包扣除 1元 钱</view>
|
||||
<template #footer>
|
||||
<view class="w-full flex justify-center gap-6">
|
||||
<tm-button skin="thin" @tap="actModalCancel">取消</tm-button>
|
||||
<tm-button color="primary" @tap="actModalConfirm">确定</tm-button>
|
||||
<tm-button color="primary" @tap="actModalConfirm">确认</tm-button>
|
||||
</view>
|
||||
</template>
|
||||
</tm-modal>
|
||||
@@ -371,7 +372,8 @@ const isMallMchUser = async () => {
|
||||
const isMchUser = async () => {
|
||||
const { data } = await userApi.isMerchant()
|
||||
// 商家查看优惠券列表
|
||||
if (data) state.menuList.unshift({ text: "优惠券列表", icon: "/static/icon/service_1.png", path: "/pages/merchant/coupon-list" })
|
||||
if (data)
|
||||
state.menuList.unshift({ text: "查看用户领取的优惠券列表", icon: "/static/icon/service_1.png", path: "/pages/merchant/coupon-list" })
|
||||
}
|
||||
|
||||
onShow(() => {
|
||||
|
||||
Reference in new issue
Block a user