Fix:4112 【商城小程序】礼包结算页面点击【默认封面】无反应(点击后应该弹出选择封面弹窗)

This commit is contained in:
linxi
2025-08-04 11:52:42 +08:00
parent d7cf3b5a07
commit 227e5297e2
+5 -2
View File
@@ -1,5 +1,5 @@
<template> <template>
<view class="gift-page" v-if="goodsInfo.productInfo.storeName"> <view class="gift-page" v-if="goodsInfo.productInfo && goodsInfo.productInfo.storeName">
<view class="top-card" v-if="!isPayOk "> <view class="top-card" v-if="!isPayOk ">
<view class="v12-justify-between v12-pa-2"> <view class="v12-justify-between v12-pa-2">
<view> <view>
@@ -13,7 +13,7 @@
<image class="custom-cover" :src="webUrl + '/icon/custom.png'" mode="heightFix" lazy-load="false"> <image class="custom-cover" :src="webUrl + '/icon/custom.png'" mode="heightFix" lazy-load="false">
</image> </image>
<view @click="showCoverPicker = true">{{ cover }}封面</view> <view @click="handleShowCover">{{ cover }}封面</view>
<view> <view>
<u-icon name="arrow-right" color="#c52733"></u-icon> <u-icon name="arrow-right" color="#c52733"></u-icon>
</view> </view>
@@ -297,6 +297,9 @@ export default {
// }) // })
// }, // },
methods: { methods: {
handleShowCover() {
this.showCoverPicker = true
},
showCouponsPopup() { showCouponsPopup() {
if (this.couponList.usable && this.couponList.usable.length === 0) return if (this.couponList.usable && this.couponList.usable.length === 0) return
if(this.isPayOk) return if(this.isPayOk) return