|
|
@@ -432,7 +432,7 @@
|
|
|
</view>
|
|
|
<view class="detail_describe_text2">{{ checkString }}</view>
|
|
|
</view>
|
|
|
- <u-number-box v-model="value" disabledInput :min="1" @change="valChange"></u-number-box>
|
|
|
+ <u-number-box v-model="value" :min="1" @change="valChange"></u-number-box>
|
|
|
</view>
|
|
|
<view class="detail_account_bottom padding">
|
|
|
<view class="detail_account_bottom_le" @click="payment()">立即购买</view>
|
|
|
@@ -1093,6 +1093,13 @@ export default {
|
|
|
},
|
|
|
// 加入购物车
|
|
|
orderSel(e) {
|
|
|
+ if (this.value < 1) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '数量不能小于1',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
if (!this.userId) {
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/public/login'
|