Bladeren bron

Merge branch 'master' of http://git.shengws.com/xmg123/micro_vue

xiaoming_global 5 jaren geleden
bovenliggende
commit
5ae3f4ed6c
2 gewijzigde bestanden met toevoegingen van 7 en 9 verwijderingen
  1. 5 4
      src/scrm_pages/contact/contact.vue
  2. 2 5
      src/scrm_pages/doctorIntroduction/doctorIntroduction.vue

+ 5 - 4
src/scrm_pages/contact/contact.vue Bestand weergeven

@@ -55,10 +55,9 @@ export default {
55 55
         pagination: {
56 56
           el: ".swiper-pagination"
57 57
         },
58
-        // autoplay: {
59
-        //   disableOnInteraction: false
60
-        // }
61
-        autoplay: true
58
+        autoplay: {
59
+          disableOnInteraction: false
60
+        }
62 61
       });
63 62
     },
64 63
     getOrderModel(orgid) {
@@ -87,6 +86,8 @@ export default {
87 86
     console.log("联系我们orgid是多少", orgid);
88 87
     this.getOrderModel(orgid);
89 88
     this.getAllConnecWay(orgid);
89
+  },
90
+  mounted() {
90 91
     this.initSwiper();
91 92
   },
92 93
   updated() {

+ 2 - 5
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue Bestand weergeven

@@ -6,11 +6,8 @@
6 6
           <img :src="doctors.dochead" style="width:100%;height:100%" alt />
7 7
         </div>
8 8
         <div class="detail">
9
-          <p class="detailTitle">
10
-            {{doctors.doc_name}}
11
-            <span>{{doctors.doc_postion}}</span>
12
-          </p>
13
-          <p class="detailMessage" v-html="doctors.docintroduction"></p>
9
+          <p class="detailTitle">{{doctors.doc_name}}</p>
10
+          <p class="detailMessage">{{doctors.doc_postion}}</p>
14 11
         </div>
15 12
       </div>
16 13
       <!-- <div class="good">