Commit a8dfa1e0 by 杨北旺

修改样式

1 parent 8a9144fc
......@@ -37,6 +37,7 @@ Page({
wx.p.api.couponsApi.getEquityCoupons({ couponId: this.couponId, merchantId: detailInfo.merchantId }).then(res => {
wx.hideLoading();
if (res) {
wx.p.wxApi.showToast('优惠券领取成功!')
this.setData({
handleStatus: 1
})
......
.container {
width: 100%;
height: 100vh;
}
.container{
padding-top: 482rpx;
padding-bottom: 140rpx;
}
.main_box {
width: 100%;
height: 660rpx;
position: absolute;
left: 50%;
bottom: 306rpx;
transform: translateX(-50%);
height: 664rpx;
position: relative;
.title {
position: absolute;
......@@ -81,10 +78,7 @@
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
left: 50%;
bottom: 140rpx;
transform: translateX(-50%);
margin-top: 30rpx;
.title::before {
......
<view style="background: url({{IMGURL}}equity/{{handleStatus==1?'lq_get_bg':'lq__wait_bg'}}.png);background-size: 100% 100%;" class="container">
<!-- <glsx-image webp src="equity/wait_lq_bg.png" class="banner"></glsx-image> -->
<view class="main_box">
<view style="background: url({{IMGURL}}equity/coupons/lq_bg_max.png);background-size: 100% 100%;" class="container">
<view style="background: url({{IMGURL}}equity/coupons/{{handleStatus==1?'lq_g_bg':'lq_w_bag'}}.png);background-size: 100% 100%;" class="main_box">
<view wx:if="{{detailInfo.denomination}}" class="title">
<text class="price">{{detailInfo.denomination || ''}}</text>
<text class="unit">元</text>
......
......@@ -106,7 +106,6 @@ Page({
})
} else if (env == 'test' || env == 'beta') {
equityList.forEach(el => {
if (el.goodsCategory == '智能出行') {
if (el.equityGoodsGroupDescDtos) {
el.equityGoodsGroupDescDtos.forEach(item => {
tripMenu.push({
......@@ -116,7 +115,6 @@ Page({
})
})
}
}
})
}
this.setData({
......
......@@ -23,7 +23,6 @@ Page({
},
async toJump(e) {
const flag = await this.checkLogin()
console.log(flag);
if (flag) return
const { id } = e.currentTarget.dataset
let url = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!