🦀️ fix: 修复bug

This commit is contained in:
wangsongsole 2024-04-22 17:30:11 +08:00
parent 8be3fd19c8
commit 1c74d9a897
2 changed files with 7 additions and 1 deletions

View File

@ -62,6 +62,9 @@
<p class='type'> <p class='type'>
<span>{{goodsInfo.entity.cash_amount_type==='1'?'固额红包':'随机红包'}}</span> <span>{{goodsInfo.entity.cash_amount_type==='1'?'固额红包':'随机红包'}}</span>
</p> </p>
<div class="bt" v-if="goodsInfo.available==9">
{{buttonTextFun(goodsInfo.type,'received')}}
</div>
<p class="bt" @click="receive"> <p class="bt" @click="receive">
{{buttonTextFun(goodsInfo.type,'receive')}} {{buttonTextFun(goodsInfo.type,'receive')}}
</p> </p>

View File

@ -61,7 +61,10 @@
<p class='type'> <p class='type'>
<span>{{goodsInfo.entity.cash_amount_type==='1'?'固额红包':'随机红包'}}</span> <span>{{goodsInfo.entity.cash_amount_type==='1'?'固额红包':'随机红包'}}</span>
</p> </p>
<div class="bt" @click="receive"> <div class="bt" v-if="goodsInfo.available==9">
{{buttonTextFun(goodsInfo.type,'received')}}
</div>
<div class="bt" @click="receive" v-else>
{{buttonTextFun(goodsInfo.type,'receive')}} {{buttonTextFun(goodsInfo.type,'receive')}}
</div> </div>
</div> </div>