Fix:3982 【商城小程序】送礼页面优惠券改为选填模式
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
class="coupons__cover"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<view @click="selectCoupon" class="check-radio" :class="{'v12-primary': data.checked}">
|
||||
<view @click="selectCoupon" class="check-radio" :class="{'v12-primary': data.checked}" v-if="showRadio">
|
||||
<radio
|
||||
v-if="radioModel && data.status === 0"
|
||||
:value="data.id"
|
||||
@@ -50,6 +50,10 @@
|
||||
export default {
|
||||
name: "Coupons",
|
||||
props: {
|
||||
showRadio: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
data: {
|
||||
type: Object,
|
||||
default: () => {
|
||||
|
||||
Reference in New Issue
Block a user