🎨 style: 优化样式

This commit is contained in:
wangsongsole 2024-03-15 23:13:38 +08:00
parent 74f089b386
commit 0584d624dc
2 changed files with 19 additions and 21 deletions

View File

@ -50,13 +50,11 @@
{{item.voucher.reduce_amount}}
</p>
<p class="reduce">满{{item.voucher.denomination}}可用</p>
<p class="g-b-but" v-if='goods.receive_status==1'
:style="{marginTop:goods.group_info.channel==3&&'0.23rem'}">
<p class="g-b-but" v-if='goods.receive_status==1'>
待领取({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
<p class="g-b-but" :style="{marginTop:goods.group_info.channel==3&&'0.23rem'}"
v-else-if='item.voucher.used_num'>
<p class="g-b-but" v-else-if='item.voucher.used_num'>
已使用({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
<p class="g-b-but" :style="{marginTop:goods.group_info.channel==3&&'0.23rem'}" v-else>
<p class="g-b-but" v-else>
待使用({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
</li>
</ul>

View File

@ -54,7 +54,8 @@
待领取({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
<p class="g-b-but" v-else-if='item.voucher.used_num'>
已使用({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
<p class="g-b-but" v-else>待使用({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
<p class="g-b-but" v-else>
待使用({{item.voucher.used_num}}/{{item.voucher.send_num}})</p>
</li>
</ul>
<p class="notis" :style="{color:dynamicStyle.notis_color}" v-show="goods.product.length>3">
@ -110,7 +111,6 @@
</div>
</div>
</body>
<script>
const bm_obj_data = sessionStorage.getItem("bm_auth") ? JSON.parse(sessionStorage.getItem("bm_auth")) : null;
const phoneReg = /^[1][3,4,5,6,7,8,9][0-9]{9}$/;
@ -251,7 +251,7 @@
window.location.replace(res.data.redirect_url);
}
this.getProductDetail();
}, 300)
}, 300);
} else {
@ -327,7 +327,7 @@
this.message = '领取成功';
this.getProductDetail();
}, 300)
}, 300);
} else {
this.axiosErrorFun(code, message);