See999 5 年之前
父節點
當前提交
7c976a9b72

+ 5 - 5
src/router/index.js 查看文件

@@ -118,10 +118,10 @@ var _constant_router_map = [
118 118
     path: "/contact",
119 119
     component: () => import("@/scrm_pages/contact/contact")
120 120
   },
121
-  
121
+
122 122
   {
123 123
     path: "/",
124
-    component: () => import("@/scrm_pages/microHome/microHome")
124
+    component: () => import("@/scrm_pages/newsDetail/newsDetail")
125 125
   },
126 126
 
127 127
   // 医院介绍详情路由
@@ -187,11 +187,11 @@ var _constant_router_map = [
187 187
   },
188 188
 
189 189
   {
190
-    path:"/custom",
191
-    component: () =>import("@/scrm_pages/custom/custom")
190
+    path: "/custom",
191
+    component: () => import("@/scrm_pages/custom/custom")
192 192
   },
193 193
   {
194
-    path:"/contactus",
194
+    path: "/contactus",
195 195
     component: () => import("@/scrm_pages/contact/contactus")
196 196
   },
197 197
 

+ 46 - 29
src/scrm_pages/hospitalIntroduction/hospitalIntroduction.vue 查看文件

@@ -2,40 +2,43 @@
2 2
   <div class="main">
3 3
     <!-- <div class="bannerImg">
4 4
       <img src="static\images\banner.jpg" alt />
5
-    </div> -->
6
-      <div class="detail" v-html="hospitalform.introduction">
5
+    </div>-->
6
+    <!-- <div class="detail" v-html="hospitalform.introduction">
7
+    </div>-->
8
+    <div class="noImg">
9
+      <img src="../../../static/images/none2.png" alt />
7 10
     </div>
8 11
   </div>
9 12
 </template>
10 13
  <script>
11
-    import { hispitalmore } from "@/api/micro/micro"
12
-     export default{
13
-        name:"hospitalIntroduction",
14
-        data(){
15
-            return{
16
-              hospitalform:[],
17
-            }
18
-        },
19
-        methods:{
20
-           hispitalmore(id,orgid){
21
-             hispitalmore(id,orgid).then(response=>{
22
-                 if(response.data.state ==1){
23
-                   var hospital =  response.data.data.hospital;
24
-                   console.log("hospital",hospital)
25
-                   this.hospitalform =  response.data.data.hospital;
26
-                }
27
-               })
28
-            }
29
-        },
30
-        created(){
31
-           const id = this.$route.query.id;
32
-           const orgid = this.$route.query.orgid;
33
-           console.log("id是多少",id)
34
-           console.log("orgid是多少",orgid)
35
-           this.hispitalmore(id,orgid)
14
+import { hispitalmore } from "@/api/micro/micro";
15
+export default {
16
+  name: "hospitalIntroduction",
17
+  data() {
18
+    return {
19
+      hospitalform: []
20
+    };
21
+  },
22
+  methods: {
23
+    hispitalmore(id, orgid) {
24
+      hispitalmore(id, orgid).then(response => {
25
+        if (response.data.state == 1) {
26
+          var hospital = response.data.data.hospital;
27
+          console.log("hospital", hospital);
28
+          this.hospitalform = response.data.data.hospital;
36 29
         }
37
-     }
38
- </script>
30
+      });
31
+    }
32
+  },
33
+  created() {
34
+    const id = this.$route.query.id;
35
+    const orgid = this.$route.query.orgid;
36
+    console.log("id是多少", id);
37
+    console.log("orgid是多少", orgid);
38
+    this.hispitalmore(id, orgid);
39
+  }
40
+};
41
+</script>
39 42
 
40 43
 
41 44
 <style lang="scss" scoped>
@@ -55,4 +58,18 @@
55 58
   color: rgba(7, 18, 40, 1);
56 59
   line-height: 1.5rem;
57 60
 }
61
+.noImg {
62
+  width: 6.25rem;
63
+  height: 6.25rem;
64
+  position: fixed;
65
+  left: 0;
66
+  right: 0;
67
+  bottom: 0;
68
+  top: 0;
69
+  margin: auto;
70
+  img {
71
+    width: 6.25rem;
72
+    height: 6.25rem;
73
+  }
74
+}
58 75
 </style>

+ 20 - 4
src/scrm_pages/medicalTeam/medicalTeam.vue 查看文件

@@ -18,9 +18,14 @@
18 18
         <div class="img">
19 19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
20 20
         </div>
21
-        <div class="detail">
21
+        <!-- <div class="detail">
22 22
           <p class="detailTitle">{{item.doc_name}}</p>
23 23
           <p class="detailMessage" v-html="item.docintroduction"></p>
24
+        </div>-->
25
+        <div class="detail">
26
+          <div class="noImg">
27
+            <img src="../../../static/images/none2.png" alt />
28
+          </div>
24 29
         </div>
25 30
       </div>
26 31
     </div>
@@ -98,8 +103,8 @@ export default {
98 103
     height: 0.1875rem;
99 104
     background: linear-gradient(
100 105
       -45deg,
101
-      rgba(50, 210, 139, 1),
102
-      rgba(60, 226, 151, 1)
106
+      rgba(75, 102, 234, 1),
107
+      rgba(81, 119, 238, 1)
103 108
     );
104 109
   }
105 110
 }
@@ -107,7 +112,6 @@ export default {
107 112
   width: 14rem;
108 113
   height: 0.9375rem;
109 114
   font-size: 0.9375rem;
110
-  font-weight: 100;
111 115
   color: rgba(7, 18, 40, 1);
112 116
   margin: 0 auto;
113 117
   text-align: center;
@@ -160,4 +164,16 @@ export default {
160 164
     }
161 165
   }
162 166
 }
167
+.detail {
168
+  height: 100%;
169
+  .noImg {
170
+    width: 3.125rem;
171
+    height: 3.125rem;
172
+    margin: 1.25rem auto 0;
173
+    img {
174
+      width: 3.125rem;
175
+      height: 3.125rem;
176
+    }
177
+  }
178
+}
163 179
 </style>

+ 60 - 27
src/scrm_pages/microHome/microHome.vue 查看文件

@@ -70,7 +70,10 @@
70 70
             </div>
71 71
           </div>
72 72
           <div class="commonBox">
73
-            <div class="commonMessage" v-html="item.Hospitals.introduction"></div>
73
+            <!-- <div class="commonMessage" v-html="item.Hospitals.introduction"></div> -->
74
+            <div class="noImg">
75
+              <img src="../../../static/images/none2.png" alt />
76
+            </div>
74 77
           </div>
75 78
         </div>
76 79
 
@@ -90,7 +93,10 @@
90 93
             <!-- <div class="commonImg">
91 94
             <img src="static\images\img2.png" alt />
92 95
             </div>-->
93
-            <div class="commonMessage" v-html="item.Offices.introduction"></div>
96
+            <!-- <div class="commonMessage" v-html="item.Offices.introduction"></div> -->
97
+            <div class="noImg">
98
+              <img src="../../../static/images/none2.png" alt />
99
+            </div>
94 100
           </div>
95 101
         </div>
96 102
 
@@ -111,9 +117,15 @@
111 117
               <div class="img">
112 118
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
113 119
               </div>
114
-              <div class="detail">
120
+              <!-- <div class="detail">
115 121
                 <p class="detailTitle">{{doc.doc_name}}</p>
116 122
                 <p class="detailMessage" v-html="doc.docintroduction"></p>
123
+                
124
+              </div>-->
125
+              <div class="detail">
126
+                <div class="noImg">
127
+                  <img src="../../../static/images/none2.png" alt />
128
+                </div>
117 129
               </div>
118 130
             </div>
119 131
             <!-- <div class="contentOne">
@@ -319,8 +331,8 @@ export default {
319 331
         if (response.data.state == 1) {
320 332
           var navigation = response.data.data.navigation;
321 333
           for (let index = 0; index < navigation.length; index++) {
322
-            navigation[0].nonavimages = "https://images.shengws.com/2089_o_1571990714383.png";
323
-            
334
+            navigation[0].nonavimages =
335
+              "https://images.shengws.com/2089_o_1571990714383.png";
324 336
           }
325 337
           console.log("navigation是什么", navigation);
326 338
           this.navigationdata = navigation;
@@ -334,39 +346,39 @@ export default {
334 346
         // window.location.href =
335 347
         //   "http://wx.kuyicloud.com/weixin/membershipagree/" + orgid;
336 348
         this.$router.push({
337
-          path:"/card",
349
+          path: "/card",
338 350
           query: {
339
-            orgid: orgid,
351
+            orgid: orgid
340 352
           }
341
-        })
353
+        });
342 354
       } else if (title == "联系我们") {
343 355
         this.$router.push({
344 356
           path: "/contact",
345 357
           query: {
346 358
             orgid: orgid
347 359
           }
348
-         });
349
-      }else if(title =="咨询客服"){
360
+        });
361
+      } else if (title == "咨询客服") {
350 362
         //  window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
351 363
         this.$router.push({
352
-          path:"/custom",
364
+          path: "/custom",
353 365
           query: {
354
-            orgid:orgid
366
+            orgid: orgid
355 367
           }
356
-        })
357
-      }else {
368
+        });
369
+      } else {
358 370
         window.location.href = address;
359 371
       }
360 372
     },
361 373
 
362
-    CallPhone(linktype, address,orgid) {
374
+    CallPhone(linktype, address, orgid) {
363 375
       if (linktype == "2") {
364 376
         this.$router.push({
365
-          path:"/contactus",
366
-          query:{
367
-            orgid:orgid,
377
+          path: "/contactus",
378
+          query: {
379
+            orgid: orgid
368 380
           }
369
-        })
381
+        });
370 382
       }
371 383
       if (linktype == "3") {
372 384
         window.location.href = "tel://" + address + "";
@@ -374,11 +386,11 @@ export default {
374 386
       if (linktype == "4") {
375 387
         // window.location.href = address;
376 388
         this.$router.push({
377
-          path:"custom",
378
-          query:{
379
-            orgid:orgid,
389
+          path: "custom",
390
+          query: {
391
+            orgid: orgid
380 392
           }
381
-        })
393
+        });
382 394
       }
383 395
     },
384 396
     getData(orgid) {
@@ -393,11 +405,11 @@ export default {
393 405
   created() {
394 406
     const orgid = this.$route.query.orgid;
395 407
     console.log("机构id是什么", orgid);
396
-    this.getHospitaldata(orgid);
408
+    // this.getHospitaldata(orgid);
397 409
     this.getArticlelist(orgid);
398 410
     this.getActivities(orgid);
399 411
     this.getDefalutNavigationData(orgid);
400
-    // this.getData(orgid);
412
+    this.getData(orgid);
401 413
   },
402 414
   mounted() {
403 415
     this.initSwiper();
@@ -493,7 +505,7 @@ export default {
493 505
   }
494 506
 }
495 507
 .dynamic {
496
-  margin-top: 1.875rem;
508
+  margin-top: 2.1875rem;
497 509
   // border: solid 1px red;
498 510
 }
499 511
 .common_title {
@@ -590,7 +602,7 @@ export default {
590 602
   // border: solid 1px red;
591 603
 }
592 604
 .common {
593
-  margin-top: 1.875rem;
605
+  margin-top: 2.1875rem;
594 606
   .commonBox {
595 607
     margin: auto;
596 608
     margin-top: 1.25rem;
@@ -603,6 +615,15 @@ export default {
603 615
     overflow: hidden;
604 616
     text-overflow: ellipsis;
605 617
     // border: 1px solid #000;
618
+    .noImg {
619
+      width: 6.25rem;
620
+      height: 6.25rem;
621
+      margin: 0 auto;
622
+      img {
623
+        width: 6.25rem;
624
+        height: 6.25rem;
625
+      }
626
+    }
606 627
   }
607 628
   .commonImg {
608 629
     width: 18.4375rem;
@@ -644,6 +665,18 @@ export default {
644 665
     padding-right: 1rem;
645 666
   }
646 667
 }
668
+.detail {
669
+  height: 100%;
670
+  .noImg {
671
+    width: 3.125rem;
672
+    height: 3.125rem;
673
+    margin: 1.25rem auto 0;
674
+    img {
675
+      width: 3.125rem;
676
+      height: 3.125rem;
677
+    }
678
+  }
679
+}
647 680
 .detailBox {
648 681
   margin-top: 0.625rem;
649 682
   .activityTime {

+ 45 - 29
src/scrm_pages/officeIntroduction/officeIntroduction.vue 查看文件

@@ -1,38 +1,40 @@
1 1
 <template>
2
-     <div class="main">
3
-         <div class="detail" v-html="officeform.introduction"></div>
4
-     </div>
2
+  <div class="main">
3
+    <!-- <div class="detail" v-html="officeform.introduction"></div> -->
4
+    <div class="noImg">
5
+      <img src="../../../static/images/none2.png" alt />
6
+    </div>
7
+  </div>
5 8
 </template>
6 9
 
7 10
 <script>
8
-    import { officemore } from "@/api/micro/micro"
9
-    export default {
10
-        name: "officeIntroduction",
11
-        data(){
12
-            return{
13
-                officeform:[],
14
-            }
15
-        },
16
-        methods:{
17
-            officemore(id,orgid){
18
-               officemore(id,orgid).then(response=>{
19
-                   if(response.data.state ==1){
20
-                     var offices = response.data.data.offices;
21
-                     this.officeform = response.data.data.offices;
22
-                     console.log("科室详情数据",offices)
23
-
24
-                   }
25
-               })
26
-           }
27
-        },
28
-        created(){
29
-           const id = this.$route.query.id;
30
-           const orgid = this.$route.query.orgid;
31
-           console.log("id是多少",id)
32
-           console.log("orgid是多少",orgid)
33
-           this.officemore(id,orgid)
11
+import { officemore } from "@/api/micro/micro";
12
+export default {
13
+  name: "officeIntroduction",
14
+  data() {
15
+    return {
16
+      officeform: []
17
+    };
18
+  },
19
+  methods: {
20
+    officemore(id, orgid) {
21
+      officemore(id, orgid).then(response => {
22
+        if (response.data.state == 1) {
23
+          var offices = response.data.data.offices;
24
+          this.officeform = response.data.data.offices;
25
+          console.log("科室详情数据", offices);
34 26
         }
27
+      });
35 28
     }
29
+  },
30
+  created() {
31
+    const id = this.$route.query.id;
32
+    const orgid = this.$route.query.orgid;
33
+    console.log("id是多少", id);
34
+    console.log("orgid是多少", orgid);
35
+    this.officemore(id, orgid);
36
+  }
37
+};
36 38
 </script>
37 39
 
38 40
 <style lang="scss" scoped>
@@ -52,4 +54,18 @@
52 54
   color: rgba(7, 18, 40, 1);
53 55
   line-height: 24px;
54 56
 }
57
+.noImg {
58
+  width: 6.25rem;
59
+  height: 6.25rem;
60
+  position: fixed;
61
+  left: 0;
62
+  right: 0;
63
+  bottom: 0;
64
+  top: 0;
65
+  margin: auto;
66
+  img {
67
+    width: 6.25rem;
68
+    height: 6.25rem;
69
+  }
70
+}
55 71
 </style>