添加注释

This commit is contained in:
wangxiaowei 2024-09-28 22:53:48 +08:00
parent 6dd4a75b5e
commit 8411b695fb

@ -171,7 +171,8 @@
</scroll-view>
<view v-if="showNum" class="good-num flex row-between m-l-20 m-r-20">
<view class="label">数量</view>
<u-number-box v-if="show" v-model="goodsNum" :min="1" :max="checkedGoods.stock"></u-number-box>
<!-- 为0不限制 -->
<u-number-box v-if="show" v-model="goodsNum" :min="1" :max="isPanic && checkedGoods.limited_num == 1 ? 1 : checkedGoods.stock"></u-number-box>
</view>
</view>
<view v-if="shop.is_pay" class="btns flex row-between bg-white"
@ -255,6 +256,10 @@
type: Boolean,
default: false
},
isPanic: {
type: Boolean,
default: false
},
type: {
type: Boolean,
default: false