See999 5 years ago
parent
commit
7c976a9b72

+ 5 - 5
src/router/index.js View File

118
     path: "/contact",
118
     path: "/contact",
119
     component: () => import("@/scrm_pages/contact/contact")
119
     component: () => import("@/scrm_pages/contact/contact")
120
   },
120
   },
121
-  
121
+
122
   {
122
   {
123
     path: "/",
123
     path: "/",
124
-    component: () => import("@/scrm_pages/microHome/microHome")
124
+    component: () => import("@/scrm_pages/newsDetail/newsDetail")
125
   },
125
   },
126
 
126
 
127
   // 医院介绍详情路由
127
   // 医院介绍详情路由
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
     component: () => import("@/scrm_pages/contact/contactus")
195
     component: () => import("@/scrm_pages/contact/contactus")
196
   },
196
   },
197
 
197
 

+ 46 - 29
src/scrm_pages/hospitalIntroduction/hospitalIntroduction.vue View File

2
   <div class="main">
2
   <div class="main">
3
     <!-- <div class="bannerImg">
3
     <!-- <div class="bannerImg">
4
       <img src="static\images\banner.jpg" alt />
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
     </div>
10
     </div>
8
   </div>
11
   </div>
9
 </template>
12
 </template>
10
  <script>
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
 <style lang="scss" scoped>
44
 <style lang="scss" scoped>
55
   color: rgba(7, 18, 40, 1);
58
   color: rgba(7, 18, 40, 1);
56
   line-height: 1.5rem;
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
 </style>
75
 </style>

+ 20 - 4
src/scrm_pages/medicalTeam/medicalTeam.vue View File

18
         <div class="img">
18
         <div class="img">
19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
20
         </div>
20
         </div>
21
-        <div class="detail">
21
+        <!-- <div class="detail">
22
           <p class="detailTitle">{{item.doc_name}}</p>
22
           <p class="detailTitle">{{item.doc_name}}</p>
23
           <p class="detailMessage" v-html="item.docintroduction"></p>
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
         </div>
29
         </div>
25
       </div>
30
       </div>
26
     </div>
31
     </div>
98
     height: 0.1875rem;
103
     height: 0.1875rem;
99
     background: linear-gradient(
104
     background: linear-gradient(
100
       -45deg,
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
   width: 14rem;
112
   width: 14rem;
108
   height: 0.9375rem;
113
   height: 0.9375rem;
109
   font-size: 0.9375rem;
114
   font-size: 0.9375rem;
110
-  font-weight: 100;
111
   color: rgba(7, 18, 40, 1);
115
   color: rgba(7, 18, 40, 1);
112
   margin: 0 auto;
116
   margin: 0 auto;
113
   text-align: center;
117
   text-align: center;
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
 </style>
179
 </style>

+ 60 - 27
src/scrm_pages/microHome/microHome.vue View File

70
             </div>
70
             </div>
71
           </div>
71
           </div>
72
           <div class="commonBox">
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
           </div>
77
           </div>
75
         </div>
78
         </div>
76
 
79
 
90
             <!-- <div class="commonImg">
93
             <!-- <div class="commonImg">
91
             <img src="static\images\img2.png" alt />
94
             <img src="static\images\img2.png" alt />
92
             </div>-->
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
           </div>
100
           </div>
95
         </div>
101
         </div>
96
 
102
 
111
               <div class="img">
117
               <div class="img">
112
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
118
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
113
               </div>
119
               </div>
114
-              <div class="detail">
120
+              <!-- <div class="detail">
115
                 <p class="detailTitle">{{doc.doc_name}}</p>
121
                 <p class="detailTitle">{{doc.doc_name}}</p>
116
                 <p class="detailMessage" v-html="doc.docintroduction"></p>
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
               </div>
129
               </div>
118
             </div>
130
             </div>
119
             <!-- <div class="contentOne">
131
             <!-- <div class="contentOne">
319
         if (response.data.state == 1) {
331
         if (response.data.state == 1) {
320
           var navigation = response.data.data.navigation;
332
           var navigation = response.data.data.navigation;
321
           for (let index = 0; index < navigation.length; index++) {
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
           console.log("navigation是什么", navigation);
337
           console.log("navigation是什么", navigation);
326
           this.navigationdata = navigation;
338
           this.navigationdata = navigation;
334
         // window.location.href =
346
         // window.location.href =
335
         //   "http://wx.kuyicloud.com/weixin/membershipagree/" + orgid;
347
         //   "http://wx.kuyicloud.com/weixin/membershipagree/" + orgid;
336
         this.$router.push({
348
         this.$router.push({
337
-          path:"/card",
349
+          path: "/card",
338
           query: {
350
           query: {
339
-            orgid: orgid,
351
+            orgid: orgid
340
           }
352
           }
341
-        })
353
+        });
342
       } else if (title == "联系我们") {
354
       } else if (title == "联系我们") {
343
         this.$router.push({
355
         this.$router.push({
344
           path: "/contact",
356
           path: "/contact",
345
           query: {
357
           query: {
346
             orgid: orgid
358
             orgid: orgid
347
           }
359
           }
348
-         });
349
-      }else if(title =="咨询客服"){
360
+        });
361
+      } else if (title == "咨询客服") {
350
         //  window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
362
         //  window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
351
         this.$router.push({
363
         this.$router.push({
352
-          path:"/custom",
364
+          path: "/custom",
353
           query: {
365
           query: {
354
-            orgid:orgid
366
+            orgid: orgid
355
           }
367
           }
356
-        })
357
-      }else {
368
+        });
369
+      } else {
358
         window.location.href = address;
370
         window.location.href = address;
359
       }
371
       }
360
     },
372
     },
361
 
373
 
362
-    CallPhone(linktype, address,orgid) {
374
+    CallPhone(linktype, address, orgid) {
363
       if (linktype == "2") {
375
       if (linktype == "2") {
364
         this.$router.push({
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
       if (linktype == "3") {
383
       if (linktype == "3") {
372
         window.location.href = "tel://" + address + "";
384
         window.location.href = "tel://" + address + "";
374
       if (linktype == "4") {
386
       if (linktype == "4") {
375
         // window.location.href = address;
387
         // window.location.href = address;
376
         this.$router.push({
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
     getData(orgid) {
396
     getData(orgid) {
393
   created() {
405
   created() {
394
     const orgid = this.$route.query.orgid;
406
     const orgid = this.$route.query.orgid;
395
     console.log("机构id是什么", orgid);
407
     console.log("机构id是什么", orgid);
396
-    this.getHospitaldata(orgid);
408
+    // this.getHospitaldata(orgid);
397
     this.getArticlelist(orgid);
409
     this.getArticlelist(orgid);
398
     this.getActivities(orgid);
410
     this.getActivities(orgid);
399
     this.getDefalutNavigationData(orgid);
411
     this.getDefalutNavigationData(orgid);
400
-    // this.getData(orgid);
412
+    this.getData(orgid);
401
   },
413
   },
402
   mounted() {
414
   mounted() {
403
     this.initSwiper();
415
     this.initSwiper();
493
   }
505
   }
494
 }
506
 }
495
 .dynamic {
507
 .dynamic {
496
-  margin-top: 1.875rem;
508
+  margin-top: 2.1875rem;
497
   // border: solid 1px red;
509
   // border: solid 1px red;
498
 }
510
 }
499
 .common_title {
511
 .common_title {
590
   // border: solid 1px red;
602
   // border: solid 1px red;
591
 }
603
 }
592
 .common {
604
 .common {
593
-  margin-top: 1.875rem;
605
+  margin-top: 2.1875rem;
594
   .commonBox {
606
   .commonBox {
595
     margin: auto;
607
     margin: auto;
596
     margin-top: 1.25rem;
608
     margin-top: 1.25rem;
603
     overflow: hidden;
615
     overflow: hidden;
604
     text-overflow: ellipsis;
616
     text-overflow: ellipsis;
605
     // border: 1px solid #000;
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
   .commonImg {
628
   .commonImg {
608
     width: 18.4375rem;
629
     width: 18.4375rem;
644
     padding-right: 1rem;
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
 .detailBox {
680
 .detailBox {
648
   margin-top: 0.625rem;
681
   margin-top: 0.625rem;
649
   .activityTime {
682
   .activityTime {

+ 45 - 29
src/scrm_pages/officeIntroduction/officeIntroduction.vue View File

1
 <template>
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
 </template>
8
 </template>
6
 
9
 
7
 <script>
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
 </script>
38
 </script>
37
 
39
 
38
 <style lang="scss" scoped>
40
 <style lang="scss" scoped>
52
   color: rgba(7, 18, 40, 1);
54
   color: rgba(7, 18, 40, 1);
53
   line-height: 24px;
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
 </style>
71
 </style>