🚑️ hotfix: 修复线上bug

This commit is contained in:
wangsongsole 2023-08-18 15:38:43 +08:00
parent b4f4346272
commit 821d11ce94
2 changed files with 6 additions and 6 deletions

View File

@ -119,7 +119,7 @@
<!-- 成功 --> <!-- 成功 -->
<div class="popboxshow successbox" v-if="popboxshow&&popboxtype=='成功'" :class="popboxshow?'active':''"> <div class="popboxshow successbox" v-if="popboxshow&&popboxtype=='成功'" :class="popboxshow?'active':''">
<div> <div>
<p>{{this.successTip}}</p> <p :style="{fontSize:goodInfo.card_show===2?'0.13rem':''}">{{this.successTip}}</p>
<span @click="successchangeBtnFn">我知道啦</span> <span @click="successchangeBtnFn">我知道啦</span>
</div> </div>
</div> </div>
@ -324,7 +324,7 @@
// 查询订单接口 // 查询订单接口
if (this.goodInfo.product_type === 2) { if (this.goodInfo.product_type === 2) {
if (this.goodInfo.card_show == 2) { if (this.goodInfo.card_show == 2) {
this.successTip = '兑换成功,请到页面左下角“订单”(订单列表处)查看卡密信息!'; this.successTip = '兑换成功,请到页面左下角"订单"(订单列表处)查看卡密信息!';
} else { } else {
this.successTip = '兑换成功,请到注意查收手机短信!'; this.successTip = '兑换成功,请到注意查收手机短信!';
} }

View File

@ -155,10 +155,10 @@
goodsDetail = JSON.parse(sessionStorage.getItem("goodsInfo")); goodsDetail = JSON.parse(sessionStorage.getItem("goodsInfo"));
this.goodInfo = goodsDetail; this.goodInfo = goodsDetail;
/*默认显示*/ /*默认显示*/
if (goodsDetail.available != 1) { // if (goodsDetail.available != 1) {
this.openErrorDialog(product_status(goodsDetail.available, goodsDetail)); // this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
this.bindClick = true; // this.bindClick = true;
} // }
goodsCount = sessionStorage.getItem('goodsCount'); goodsCount = sessionStorage.getItem('goodsCount');
this.backAble = goodsCount > 1;//多个商品才有返回 this.backAble = goodsCount > 1;//多个商品才有返回
this.reduceInfo = goodsDetail.entity; this.reduceInfo = goodsDetail.entity;