#
LSH
2022-11-29 bc26dcc5f4464164f8dc9ce4a4ee5eee32920e7f
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: {