liucf %!s(int64=5) %!d(string=hai) anos
pai
achega
0920b68226

+ 3 - 0
src/common/Label.vue

@@ -76,6 +76,9 @@ import {moduleCP} from '@utils/tools';
           return
         }
         this.showToast = true;
+        // 底部body不可滑动
+        // const prehandler = function(e){e.preventDefault();}
+        // document.body.addEventListener("touchmove",prehandler,false)
       },
       comfirnDel(){
         const temp = this.tempItem;

+ 4 - 10
src/common/Toast.vue

@@ -35,21 +35,15 @@ import $ from 'jquery';
     methods:{
       comfirn(){
         this.$emit("comfirn")
+        // const prehandler = function(e){e.preventDefault();}
+        // document.removeEventListener("touchmove",prehandler,false);
       },
       cancel(){
         this.$emit("cancel")
+        // const prehandler = function(e){e.preventDefault();}
+        // document.removeEventListener("touchmove",prehandler,false);
       }
     },
-    /*watch:{
-      labShow(newVal,oldVal){
-        if(newVal){
-          const height = document.documentElement.clientHeight;
-          $('body').css({'height':height+'px','overflow-y':'hidden'})
-        }else{
-          $('body').css({'height':'100%','overflow-y':'auto'})
-        }
-      }
-    }*/
   }
 </script>
 <style lang="less" scoped>

+ 1 - 0
src/components/DetailBox.vue

@@ -153,6 +153,7 @@
       height: 100%;
       width:100%;
       overflow-y: auto;
+      // -webkit-overflow-scrolling : touch;//解决滑动卡顿问题
     }
     .foot{
       .footer;

+ 0 - 3
src/components/PathInfo.vue

@@ -189,9 +189,6 @@
         }, 2000);
       }, 
     },
-    components:{
-      Submit
-    },
     components:{
       Submit
     }

+ 5 - 2
src/components/Symptom.vue

@@ -17,7 +17,7 @@
       </p>
     </div>
     <div class="label">
-      <p class="quest">请问您有哪些不适?<img
+      <p class="quest">{{quesText}}<img
           @click="search(true)"
           class="searchImg"
           src="../images/search.png"
@@ -102,11 +102,13 @@ export default {
       showToast: false,
       searchShow: false,//显示搜索界面
       tmpItem:{},//检索的症状
-      isSearch:false
+      isSearch:false,
+      quesText:"请问您有哪些不适?",
     }
   },
   created() {
     if (this.chooseSymp.length > 0) {
+      this.quesText = "请问您还有其他不适吗?";
       // 推送
       const sympText = this.getSympText();
       this.getPush(sympText);
@@ -154,6 +156,7 @@ export default {
       const id = item.questionId || item.id; //常见症状questionId,推送id,两者均有可能没有
       //将选中的name存到store中的text
       this.$store.commit('setText', { type: moduleCP['symp'], text: item.name,textP: item.name, pId: this.questId });
+      this.quesText = "请问您还有其他不适吗?";
       if (id) {
         const param = {
           "age": this.age,