添加注释
This commit is contained in:
parent
6dd4a75b5e
commit
8411b695fb
@ -171,7 +171,8 @@
|
|||||||
</scroll-view>
|
</scroll-view>
|
||||||
<view v-if="showNum" class="good-num flex row-between m-l-20 m-r-20">
|
<view v-if="showNum" class="good-num flex row-between m-l-20 m-r-20">
|
||||||
<view class="label">数量</view>
|
<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>
|
</view>
|
||||||
<view v-if="shop.is_pay" class="btns flex row-between bg-white"
|
<view v-if="shop.is_pay" class="btns flex row-between bg-white"
|
||||||
@ -255,6 +256,10 @@
|
|||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
isPanic: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
type: {
|
type: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false
|
default: false
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user