From 1f22c478d531fef56df08f30389a6518a724e8d6 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 10 四月 2024 22:08:10 +0800 Subject: [PATCH] # --- pages/phyz/order/pakinOrderSelect.vue | 26 +++++++++++++++++++------- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/pages/phyz/order/pakinOrderSelect.vue b/pages/phyz/order/pakinOrderSelect.vue index 23888a2..374ab69 100644 --- a/pages/phyz/order/pakinOrderSelect.vue +++ b/pages/phyz/order/pakinOrderSelect.vue @@ -35,7 +35,9 @@ </view> </view> <!-- 鍨珮 --> - <view style="height: 50rpx;"></view> + <view style="height: 340rpx;text-align: center;color: #b9b9b9;"> + - 宸茬粡鍒板簳浜� - + </view> <!-- 寮圭獥 --> <view> <uni-popup ref="addItem" type="dialog"> @@ -56,6 +58,11 @@ <view class="mask" v-if="mask"> 鍔犺浇涓�傘�傘�� </view> + <!-- <view class="buttom"> + <uni-search-bar :focus="searchValueFocus" v-model="searchValue" style="width: 100%;" + maxlength="500" ancel="cancel" @confirm="searchValueInput2()" @clear="clear" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�"> + </uni-search-bar> + </view> --> </view> </template> @@ -149,10 +156,10 @@ this.count = 0 }, addConfirm() { - if (this.count == 0) { - uni.showToast({ title: '鍏ュ簱鏁伴噺涓嶅悎娉曪紒', icon: "none", position: 'top' }) - return - } + // if (this.count == 0) { + // uni.showToast({ title: '鍏ュ簱鏁伴噺涓嶅悎娉曪紒', icon: "none", position: 'top' }) + // return + // } this.dataList[this.index]['used'] = true this.dataList[this.index]['pakinQty'] = this.count this.orderCarList.push(this.dataList[this.index]) @@ -163,6 +170,10 @@ // 鐐瑰嚮鍓嶅線 寰呯粍鎵樺垪琛� orderCar() { let _this = this + if (_this.orderCarList.length === 0) { + uni.showToast({ title: '璇锋坊鍔犲叆搴撳晢鍝侊紒', icon: "none", position: 'top' }) + return + } uni.navigateTo({ url: './orderCar', success(res) { @@ -175,6 +186,7 @@ console.log(data); if (data.data == 1) { _this.orderCarList = [] + _this.getOrderDetlList(uni.getStorageSync('threeCode'),999999) } } } @@ -209,8 +221,8 @@ } .shop-car { position: fixed; - left: 60rpx; - bottom: 80rpx; + left: 22rpx; + bottom: 150rpx; background-color: #2299ff; width: 260rpx; height: 90rpx; -- Gitblit v1.9.1