From a163c7a770b2dba17c8829fc7ede49a17a9176db Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 26 四月 2024 11:06:44 +0800 Subject: [PATCH] # --- pages/phyz/order/pakinOrderSelect.vue | 32 ++++++++++++++++++++++++++++---- 1 files changed, 28 insertions(+), 4 deletions(-) diff --git a/pages/phyz/order/pakinOrderSelect.vue b/pages/phyz/order/pakinOrderSelect.vue index fd9bb87..c3bba06 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> @@ -86,6 +93,18 @@ this.token = uni.getStorageSync('token'); this.searchValue = uni.getStorageSync('threeCode'); this.getOrderDetlList(this.searchValue,30) + console.log("onLoad"); + }, + onShow() { + console.log(uni.getStorageSync('pakinOrderCar')); + // if (uni.getStorageSync('pakinOrderCar')) { + // this.orderCarList = uni.getStorageSync('pakinOrderCar'); + // } else { + // this.orderCarList = [] + // } + }, + onHide() { + uni.setStorageSync('pakinOrderCar', this.orderCarList); }, methods: { getOrderDetlList(threeCode,limit) { @@ -113,7 +132,12 @@ _this.dataList = res.data.records _this.total = res.data.total _this.mask = false - } + } else if (res.code == 403) { + uni.showToast({ title: res.msg, icon: "error", position: 'top' }) + setTimeout(() => { uni.reLaunch({ url: '../../login/login' }); }, 1000); + } else { + uni.showToast({ title: res.msg, icon: "error", position: 'top' }) + } } }) }, @@ -214,8 +238,8 @@ } .shop-car { position: fixed; - left: 60rpx; - bottom: 80rpx; + left: 22rpx; + bottom: 150rpx; background-color: #2299ff; width: 260rpx; height: 90rpx; -- Gitblit v1.9.1