From a22a5a77e4b71f76bb13884038893f31e9a5ee15 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 29 七月 2022 17:04:19 +0800 Subject: [PATCH] # --- pages/basics/order.vue | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pages/basics/order.vue b/pages/basics/order.vue index 752f385..54ea69d 100644 --- a/pages/basics/order.vue +++ b/pages/basics/order.vue @@ -9,7 +9,7 @@ <view class="square-content"> <view class="content-input"> <input v-model="barcode" type="text" placeholder="鎵爜 / 杈撳叆" maxlength="10" - :focus="barcodeFocus" @input="barcodeInput"> + :focus="barcodeFocus" @input="barcodeInput" placeholder-style="line-height: 85rpx;"> <uni-icons type="closeempty" size="20" color="#dadada" @click="removeBarcode()"></uni-icons> </view> </view> @@ -23,7 +23,7 @@ <view class="square-content"> <view class="content-input"> <input v-model="order" type="text" placeholder="鎵爜 / 杈撳叆" @input="findOrder()" - :focus="focus"> + :focus="focus" placeholder-style="line-height: 85rpx;"> <uni-icons type="closeempty" size="20" color="#dadada" @click="removeOrder()"></uni-icons> </view> </view> @@ -299,13 +299,10 @@ if (res.code === 200) { uni.showToast({ title: res.msg, - position: 'bottom', + position: 'top', duration: 1000 }); - that.barcode = '' - that.orderNo = '' - that.order = '' - that.matList = [] + that.resst() } else if (res.code == 403) { uni.showToast({title: res.msg, icon: "none", position: 'top'}) setTimeout(() => { -- Gitblit v1.9.1