From bc26dcc5f4464164f8dc9ce4a4ee5eee32920e7f Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 29 十一月 2022 17:05:26 +0800 Subject: [PATCH] # --- pages/basics/test.vue | 33 +++++++++++++++++---------------- 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/pages/basics/test.vue b/pages/basics/test.vue index c6afbdf..cf78e45 100644 --- a/pages/basics/test.vue +++ b/pages/basics/test.vue @@ -1,17 +1,17 @@ <template> <view > <scroll-view scroll-y catch:touchmove="touchmove"> - <view class="square-2"> + <!-- <view class="square-2"> <view class="square-title"> <view class="title-sign"><view class="sign"></view></view> - <view class="title-text"><text>鐢ㄦ埛鐮�</text></view> + <view class="title-text"><text>閫氶亾</text></view> </view> <view> <view style="width: 96%;margin-left: 2%;"> - <uni-combox emptyTips="鏆傛棤鏁版嵁" :candidates="staNoList" v-model="staNo" placeholder="鐢ㄦ埛缂栧彿"></uni-combox> + <uni-combox emptyTips="鏆傛棤鏁版嵁" :candidates="staNoList" v-model="staNo" placeholder="閫氶亾"></uni-combox> </view> </view> - </view> + </view> --> <view class="square-2"> <view class="square-title"> <view class="title-sign"><view class="sign"></view></view> @@ -25,7 +25,7 @@ </view> </view> </view> - <!-- <view class="square-2"> + <view class="square-2"> <view class="square-title"> <view class="title-sign"><view class="sign"></view></view> <view class="title-text"><text>鐢ㄦ埛鐮�</text></view> @@ -37,7 +37,7 @@ <uni-icons type="closeempty" size="20" color="#dadada" @click="remove('userId')"></uni-icons> </view> </view> - </view> --> + </view> <view class="square-2"> <view class="square-title"> <view class="title-sign"><view class="sign"></view></view> @@ -83,7 +83,7 @@ type: 'center', msgType: 'success', messageText: '杩欐槸涓�鏉℃垚鍔熸彁绀�', - staNoList:[1,2,3,4,5,6,7,8,9,10], + staNoList:[1,2,3,4,5,6,7,8], staNo:'', locNoFocus:true, userIdFocus:false, @@ -124,13 +124,13 @@ that.locNoFocus = true; }, 100); }, - // userIdFocuss() { - // let that = this; - // that.userIdFocus = false; - // setTimeout(()=>{ - // that.userIdFocus = true; - // }, 100); - // }, + userIdFocuss() { + let that = this; + that.userIdFocus = false; + setTimeout(()=>{ + that.userIdFocus = true; + }, 100); + }, barcodeFocuss() { let that = this; that.barcodeFocus = false; @@ -157,7 +157,7 @@ resst() { this.staNo = '' this.locNo = '' - // this.userId = '' + this.userId = '' this.barcode = '' this.locNoFocuss() }, @@ -167,8 +167,9 @@ uni.request({ url: that.commonUrl + '/mobile/test/startUp/auth', data: { - channel:that.staNo, + // channel:that.staNo, locNo:that.locNo, + userId:that.userId, barcode:that.barcode }, header: { -- Gitblit v1.9.1