Pārlūkot izejas kodu

Merge pull request #58 from John-Hong/John/release-2.5.0/SCRM-3478

fix(SCRM-3490): 【DE】【C端】临时停车微服务。输入邮箱之后出现滑动bug
John-Hong 2 gadi atpakaļ
vecāks
revīzija
9bb1115728

+ 2 - 3
src/pages/parkingFee/components/base/parkingReceipt/parkingApplication.vue

@@ -2,7 +2,7 @@
   <div class="scroll-Y" scroll-y>
     <!--    <wx-points-commit ref='wxPointsCommit'></wx-points-commit>-->
 
-    <scroll-view class="push-box" ref="scrollView">
+    <div class="push-box" ref="scrollView">
       <div>
         <div style="height: 20px"></div>
         <div class="choose-invoice-header lines" @click="changeHeader">
@@ -133,7 +133,6 @@
               class="van-field__control"
               style="white-space: nowrap"
               type="text"
-              @blur="scrollReset"
               placeholder="请输入电子邮箱"
               v-model="condition.email"
             />
@@ -157,7 +156,7 @@
       </div>
       <div style="height:160px"></div>
       </div>
-    </scroll-view>
+    </div>
     <div class="push-btn">
       <div
         v-if="headerInfo.titleName"

+ 0 - 10
src/pages/parkingFee/mixins/parkingReceipt/parkingApplication.js

@@ -312,16 +312,6 @@ export default {
       //   },
       // });
     },
-    scrollReset() {
-      setTimeout(() => {
-        // this.$refs.scrollView.scroll.refresh(); //当滚动区域的dom结构有变化时,需要执行这个操作
-        this.$refs.scrollView.scroll.scrollTo(0,0); //当滚动区域的dom结构有变化时,需要执行这个操作
-        // console.log(318, '执行');
-      }, 300)
-      /*this.$nextTick(() => {
-        this.$refs.scrollView.scroll.refresh(); //当滚动区域的dom结构有变化时,需要执行这个操作
-      })*/
-    },
     // 获取用户邮箱信息
     getInvoiceEmailInfo() {
       const self = this;