1.修改领券按钮颜色

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

1
.gitignore vendored

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

@ -16,7 +16,12 @@
<view class="line1 mart15"></view> <view class="line1 mart15"></view>
<button class="coupne-btn width60w mart20 marb20" v-if="userInfo == 1" lang="zh_CN" <button class="coupne-btn width60w mart20 marb20" v-if="userInfo == 1" lang="zh_CN"
@click="jumpres">点击领取</button> @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 class="width90 mart10 fcor666">去使用</view>
<view v-if="minecoupones == '' " class="mart60 fotct font14 fcor666"> <view v-if="minecoupones == '' " class="mart60 fotct font14 fcor666">
<image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image> <image mode="widthFix" style="width: 70vw;" :src="imagewxUrl+imgadres"></image>
@ -334,7 +339,6 @@
} }
.coupne-btn { .coupne-btn {
background-color: red;
color: #FFFFFF; color: #FFFFFF;
} }
</style> </style>

Loading…
Cancel
Save