1.修改领券按钮颜色

yj-dev
杨杰 2 years ago
parent 452125bab6
commit a9adb4f5f4
  1. 3
      .gitignore
  2. 14
      pages/goods/externalCoupon/externalCoupon.vue

3
.gitignore vendored

@ -1,2 +1,3 @@
unpackage/
.hbuilderx/launch.json
.hbuilderx/launch.json
node_modules

@ -16,7 +16,12 @@
<view class="line1 mart15"></view>
<button class="coupne-btn width60w mart20 marb20" v-if="userInfo == 1" lang="zh_CN"
@click="jumpres">点击领取</button>
<button class="coupne-btn width60w mart20 marb20" v-else @click="receiveDiscount">点击领取</button>
<button class="coupne-btn width60w mart20 marb20" style="background-color: red;"
v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status == 2"
@click="receiveDiscount">点击领取</button>
<button class="coupne-btn width60w mart20 marb20" style="background-color: #f6f6f6;"
v-if="userInfo != 1 && couponsDetails.highDiscountAgentCode.status == 1"
@click="receiveDiscount">点击领取</button>
<view class="width90 mart10 fcor666">去使用</view>
<view v-if="minecoupones == '' " class="mart60 fotct font14 fcor666">
<image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image>
@ -109,9 +114,9 @@
} else {
this.userInfo = 1;
}
},
fail() {
this.userInfo = 1;
},
fail() {
this.userInfo = 1;
}
});
@ -334,7 +339,6 @@
}
.coupne-btn {
background-color: red;
color: #FFFFFF;
}
</style>

Loading…
Cancel
Save