Browse Source

科室环境

xiaoming_global 5 years ago
parent
commit
134d12cb81

+ 1 - 1
index.html View File

8
     <meta name=”referrer” content=”never”>
8
     <meta name=”referrer” content=”never”>
9
     <meta name="referrer" content="no-referrer"/>
9
     <meta name="referrer" content="no-referrer"/>
10
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
10
     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
11
-    <title>血透管理-酷医云</title>
11
+    <title>微网站</title>
12
   </head>
12
   </head>
13
   <body>
13
   <body>
14
     <script src="<%= htmlWebpackPlugin.options.path %>/tinymce4.7.5/tinymce.min.js"></script>
14
     <script src="<%= htmlWebpackPlugin.options.path %>/tinymce4.7.5/tinymce.min.js"></script>

+ 49 - 0
package-lock.json View File

36
         "@babel/types": "7.0.0-beta.31"
36
         "@babel/types": "7.0.0-beta.31"
37
       }
37
       }
38
     },
38
     },
39
+    "@babel/runtime": {
40
+      "version": "7.6.3",
41
+      "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.6.3.tgz",
42
+      "integrity": "sha512-kq6anf9JGjW8Nt5rYfEuGRaEAaH1mkv3Bbu6rYvLOpPh/RusSJXuKPEAoZ7L7gybZkchE8+NV5g9vKF4AGAtsA==",
43
+      "requires": {
44
+        "regenerator-runtime": "^0.13.2"
45
+      },
46
+      "dependencies": {
47
+        "regenerator-runtime": {
48
+          "version": "0.13.3",
49
+          "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz",
50
+          "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw=="
51
+        }
52
+      }
53
+    },
39
     "@babel/template": {
54
     "@babel/template": {
40
       "version": "7.0.0-beta.31",
55
       "version": "7.0.0-beta.31",
41
       "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.31.tgz",
56
       "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.31.tgz",
152
       "resolved": "https://registry.npmjs.org/@types/swiper/-/swiper-4.4.3.tgz",
167
       "resolved": "https://registry.npmjs.org/@types/swiper/-/swiper-4.4.3.tgz",
153
       "integrity": "sha512-z4RRt3/4ERHizeU8qIKmUsUpmoXFeEAJu0WLBZtjoVczaCnNL0KYQX0aBFZNhEu3bSNlMfWbZSHrg5gqAIucNA=="
168
       "integrity": "sha512-z4RRt3/4ERHizeU8qIKmUsUpmoXFeEAJu0WLBZtjoVczaCnNL0KYQX0aBFZNhEu3bSNlMfWbZSHrg5gqAIucNA=="
154
     },
169
     },
170
+    "@vant/icons": {
171
+      "version": "1.1.15",
172
+      "resolved": "https://registry.npmjs.org/@vant/icons/-/icons-1.1.15.tgz",
173
+      "integrity": "sha512-96tbJotfofrKpOrUGWKkiGLJsCFc0OX5pikWLW5yarD+EMhi0zCrQSDb95xGrp/HETAFm+nSTQu2e1zGsWN/7A=="
174
+    },
175
+    "@vue/babel-helper-vue-jsx-merge-props": {
176
+      "version": "1.0.0",
177
+      "resolved": "https://registry.npmjs.org/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz",
178
+      "integrity": "sha512-6tyf5Cqm4m6v7buITuwS+jHzPlIPxbFzEhXR5JGZpbrvOcp1hiQKckd305/3C7C36wFekNTQSxAtgeM0j0yoUw=="
179
+    },
155
     "JSV": {
180
     "JSV": {
156
       "version": "4.0.2",
181
       "version": "4.0.2",
157
       "resolved": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz",
182
       "resolved": "https://registry.npmjs.org/JSV/-/JSV-4.0.2.tgz",
6473
       "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
6498
       "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",
6474
       "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
6499
       "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA=="
6475
     },
6500
     },
6501
+    "koa2-cors": {
6502
+      "version": "2.0.6",
6503
+      "resolved": "https://registry.npm.taobao.org/koa2-cors/download/koa2-cors-2.0.6.tgz",
6504
+      "integrity": "sha1-mtI986C5u4RTC0b1lE8/tXYIZVQ=",
6505
+      "dev": true
6506
+    },
6476
     "last-call-webpack-plugin": {
6507
     "last-call-webpack-plugin": {
6477
       "version": "2.1.2",
6508
       "version": "2.1.2",
6478
       "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-2.1.2.tgz",
6509
       "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-2.1.2.tgz",
13801
         "spdx-expression-parse": "^3.0.0"
13832
         "spdx-expression-parse": "^3.0.0"
13802
       }
13833
       }
13803
     },
13834
     },
13835
+    "vant": {
13836
+      "version": "2.2.10",
13837
+      "resolved": "https://registry.npmjs.org/vant/-/vant-2.2.10.tgz",
13838
+      "integrity": "sha512-O8HhrwMkqwA3fYFDwHLxFNh7ckAafao+4gF0hIdwSjypvEdbd6jgtPep0k3Z+CzPXkvPNUV5XCwR3fSH0AIgKw==",
13839
+      "requires": {
13840
+        "@babel/runtime": "7.x",
13841
+        "@vant/icons": "1.1.15",
13842
+        "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
13843
+        "vue-lazyload": "1.2.3"
13844
+      },
13845
+      "dependencies": {
13846
+        "vue-lazyload": {
13847
+          "version": "1.2.3",
13848
+          "resolved": "https://registry.npmjs.org/vue-lazyload/-/vue-lazyload-1.2.3.tgz",
13849
+          "integrity": "sha512-DC0ZwxanbRhx79tlA3zY5OYJkH8FYp3WBAnAJbrcuoS8eye1P73rcgAZhyxFSPUluJUTelMB+i/+VkNU/qVm7g=="
13850
+        }
13851
+      }
13852
+    },
13804
     "vary": {
13853
     "vary": {
13805
       "version": "1.1.2",
13854
       "version": "1.1.2",
13806
       "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
13855
       "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",

+ 2 - 0
package.json View File

70
     "style-loader": "^1.0.0",
70
     "style-loader": "^1.0.0",
71
     "swiper": "^4.5.1",
71
     "swiper": "^4.5.1",
72
     "v-viewer": "^1.4.2",
72
     "v-viewer": "^1.4.2",
73
+    "vant": "^2.2.10",
73
     "vue": "2.5.16",
74
     "vue": "2.5.16",
74
     "vue-baidu-map": "^0.21.22",
75
     "vue-baidu-map": "^0.21.22",
75
     "vue-count-to": "1.0.13",
76
     "vue-count-to": "1.0.13",
111
     "friendly-errors-webpack-plugin": "1.6.1",
112
     "friendly-errors-webpack-plugin": "1.6.1",
112
     "html-webpack-plugin": "2.30.1",
113
     "html-webpack-plugin": "2.30.1",
113
     "jquery": "^3.4.1",
114
     "jquery": "^3.4.1",
115
+    "koa2-cors": "^2.0.6",
114
     "lint-staged": "7.2.0",
116
     "lint-staged": "7.2.0",
115
     "node-notifier": "5.1.2",
117
     "node-notifier": "5.1.2",
116
     "node-sass": "^4.7.2",
118
     "node-sass": "^4.7.2",

+ 2 - 1
src/main.js View File

42
 import preview from "vue-photo-preview";
42
 import preview from "vue-photo-preview";
43
 import "vue-photo-preview/dist/skin.css";
43
 import "vue-photo-preview/dist/skin.css";
44
 Vue.use(preview);
44
 Vue.use(preview);
45
-
45
+import { Grid, GridItem } from 'vant';
46
+Vue.use(Grid).use(GridItem);
46
 import "./libs/rem.js";
47
 import "./libs/rem.js";
47
 
48
 
48
 //Vue.use(Viewer) 默认配置写法
49
 //Vue.use(Viewer) 默认配置写法

+ 10 - 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
+  {
198
+    path:"/departmentEnvironment",
199
+    component: () => import("@/scrm_pages/enviroments/enviromentsdetail")
200
+  },
201
+  
197
 
202
 
198
   {
203
   {
199
     path: "/activity/preview",
204
     path: "/activity/preview",

+ 25 - 0
src/scrm_pages/Enviroments/enviromentsdetail.vue View File

1
+<template>
2
+    <div>
3
+        <van-grid :border="true" :column-num="3">
4
+          <van-grid-item>
5
+             <img src="https://img.yzcdn.cn/vant/apple-1.jpg" />
6
+         </van-grid-item>
7
+         <van-grid-item>
8
+            <img src="https://img.yzcdn.cn/vant/apple-2.jpg" />
9
+        </van-grid-item>
10
+         <van-grid-item>
11
+             <img src="https://img.yzcdn.cn/vant/apple-3.jpg" />
12
+          </van-grid-item>
13
+        </van-grid>
14
+    </div>
15
+</template>
16
+
17
+<script>
18
+    export default {
19
+        name: "enviromentsdetail"
20
+    }
21
+</script>
22
+
23
+<style scoped>
24
+
25
+</style>

+ 26 - 12
src/scrm_pages/activity/activity.vue View File

10
         <div class="img">
10
         <div class="img">
11
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
11
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
12
         </div>
12
         </div>
13
-        <div class="detail">
13
+        <div class="detail" v-if="it.title !=''">
14
           <p class="detailTitle">{{it.title}}</p>
14
           <p class="detailTitle">{{it.title}}</p>
15
           <div class="detailBox">
15
           <div class="detailBox">
16
             <div class="activityTime">
16
             <div class="activityTime">
25
             </div>
25
             </div>
26
           </div>
26
           </div>
27
         </div>
27
         </div>
28
+        <div class="detail" v-else-if="it.title == ''">
29
+            <div class="noImg">
30
+                  <img src="../../../static/images/none2.png" alt />
31
+            </div>
32
+        </div>
28
       </div>
33
       </div>
29
     </div>
34
     </div>
30
   </div>
35
   </div>
51
     staffCreateTime(time) {
56
     staffCreateTime(time) {
52
       return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
57
       return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
53
     },
58
     },
54
-    singleActivitInfo(id, orgid) {
55
-      this.$router.push({
56
-        path: "/activityDetail",
57
-        query: {
58
-          id: id,
59
-          orgid: orgid
60
-        }
61
-      });
62
-    }
63
-    // singleActivitInfo(id){
64
-    //   window.location.href = "http://wx.kuyicloud.com/weixin/activity/"+id;
59
+    // singleActivitInfo(id, orgid) {
60
+    //   this.$router.push({
61
+    //     path: "/activityDetail",
62
+    //     query: {
63
+    //       id: id,
64
+    //       orgid: orgid
65
+    //     }
66
+    //   });
65
     // }
67
     // }
68
+    singleActivitInfo(id){
69
+      window.location.href = "http://wx.kuyicloud.com/weixin/activity/"+id;
70
+    }
66
   },
71
   },
67
   created() {
72
   created() {
68
     const id = this.$route.query.id;
73
     const id = this.$route.query.id;
119
       color: rgba(155, 155, 155, 1);
124
       color: rgba(155, 155, 155, 1);
120
       line-height: 1.125rem;
125
       line-height: 1.125rem;
121
     }
126
     }
127
+     .noImg {
128
+    width: 3.125rem;
129
+    height: 3.125rem;
130
+    margin: 1.25rem auto 0;
131
+    img {
132
+      width: 3.125rem;
133
+      height: 3.125rem;
134
+    }
135
+  }
122
   }
136
   }
123
 }
137
 }
124
 .detailBox {
138
 .detailBox {

+ 11 - 11
src/scrm_pages/contact/contactus.vue View File

72
         if (response.data.state == 1) {
72
         if (response.data.state == 1) {
73
           var navigation = response.data.data.navigation;
73
           var navigation = response.data.data.navigation;
74
           for (let index = 0; index < navigation.length; index++) {
74
           for (let index = 0; index < navigation.length; index++) {
75
-              navigation[1].nonavimages = "https://images.shengws.com/2124_o_1571990749565.png";
75
+              navigation[3].nonavimages = "https://images.shengws.com/2124_o_1571990749565.png";
76
 
76
 
77
           }
77
           }
78
           console.log("navigation是什么", navigation);
78
           console.log("navigation是什么", navigation);
123
       if (linktype == "2") {
123
       if (linktype == "2") {
124
         // window.location.href = address;
124
         // window.location.href = address;
125
         this.$router.push({
125
         this.$router.push({
126
-          path: "/contactus",
126
+          path: "/custom",
127
           query: {
127
           query: {
128
             orgid: orgid
128
             orgid: orgid
129
           }
129
           }
132
       if (linktype == "3") {
132
       if (linktype == "3") {
133
         window.location.href = "tel://" + address + "";
133
         window.location.href = "tel://" + address + "";
134
       }
134
       }
135
-      if (linktype == "4") {
136
-        // window.location.href = address;
137
-        this.$router.push({
138
-          path:"/custom",
139
-          query:{
140
-            orgid:orgid
141
-          }
142
-        })
143
-      }
135
+      // if (linktype == "4") {
136
+      //   // window.location.href = address;
137
+      //   this.$router.push({
138
+      //     path:"/custom",
139
+      //     query:{
140
+      //       orgid:orgid
141
+      //     }
142
+      //   })
143
+      // }
144
     },
144
     },
145
   },
145
   },
146
    created(){
146
    created(){

+ 11 - 11
src/scrm_pages/custom/custom.vue View File

37
         if (response.data.state == 1) {
37
         if (response.data.state == 1) {
38
           var navigation = response.data.data.navigation;
38
           var navigation = response.data.data.navigation;
39
           for (let index = 0; index < navigation.length; index++) {
39
           for (let index = 0; index < navigation.length; index++) {
40
-              navigation[3].nonavimages = "https://images.shengws.com/2101_o_1571990903053.png";
40
+              navigation[1].nonavimages = "https://images.shengws.com/2101_o_1571990903053.png";
41
               
41
               
42
           }
42
           }
43
           console.log("navigation是什么", navigation);
43
           console.log("navigation是什么", navigation);
57
               }
57
               }
58
           })
58
           })
59
      }
59
      }
60
-      if (linktype == "2") {
61
-        // window.location.href = address;
62
-        this.$router.push({
63
-          path: "/contactus",
64
-          query: {
65
-            orgid: orgid
66
-          }
67
-         });
68
-      }
60
+      // if (linktype == "2") {
61
+      //   // window.location.href = address;
62
+      //   this.$router.push({
63
+      //     path: "/contactus",
64
+      //     query: {
65
+      //       orgid: orgid
66
+      //     }
67
+      //    });
68
+      // }
69
       if (linktype == "3") {
69
       if (linktype == "3") {
70
         window.location.href = "tel://" + address + "";
70
         window.location.href = "tel://" + address + "";
71
       }
71
       }
72
       if (linktype == "4") {
72
       if (linktype == "4") {
73
         // window.location.href = address;
73
         // window.location.href = address;
74
         this.$router.push({
74
         this.$router.push({
75
-          path:"/custom",
75
+          path:"/contactus",
76
           query:{
76
           query:{
77
             orgid:orgid
77
             orgid:orgid
78
           }
78
           }

+ 4 - 2
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue View File

173
 }
173
 }
174
 .dynamicTxt {
174
 .dynamicTxt {
175
   float: left;
175
   float: left;
176
-  width: 4.5rem;
176
+  width: 6.25rem;
177
   height: 1.125rem;
177
   height: 1.125rem;
178
   line-height: 1.125rem;
178
   line-height: 1.125rem;
179
   font-size: 1.125rem;
179
   font-size: 1.125rem;
195
   border-radius: 3px;
195
   border-radius: 3px;
196
 }
196
 }
197
 .goodtxt {
197
 .goodtxt {
198
-  margin: 1rem 0 2.25rem 0.875rem;
198
+  margin: 1rem 2rem 2.25rem 0.875rem;
199
   font-size: 1rem;
199
   font-size: 1rem;
200
   font-weight: 400;
200
   font-weight: 400;
201
   color: rgba(68, 75, 92, 1);
201
   color: rgba(68, 75, 92, 1);
202
   line-height: 1.5rem;
202
   line-height: 1.5rem;
203
+  // padding-right: 1.25rem;
204
+  box-sizing: border-box;
203
 }
205
 }
204
 </style>
206
 </style>

+ 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" v-if="hospitalform.introduction != ''">
7
+    </div>
8
+    <div class="noImg" v-else-if="hospitalform.introduction == ''">
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" v-if="item.docintroduction !=''">
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>
24
         </div>
25
+        <div class="detail" v-else-if="item.docintroduction == ''">
26
+          <div class="noImg">
27
+            <img src="../../../static/images/none2.png" alt />
28
+          </div>
29
+        </div>
25
       </div>
30
       </div>
26
     </div>
31
     </div>
27
   </div>
32
   </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>

+ 64 - 24
src/scrm_pages/microHome/microHome.vue View File

72
             </div>
72
             </div>
73
           </div>
73
           </div>
74
           <div class="commonBox">
74
           <div class="commonBox">
75
-            <div class="commonMessage" v-html="item.Hospitals.introduction"></div>
75
+            <!-- <div class="commonMessage" v-html="item.Hospitals.introduction"></div> -->
76
+            <div class="noImg">
77
+              <img src="../../../static/images/none2.png" alt />
78
+            </div>
76
           </div>
79
           </div>
77
         </div>
80
         </div>
78
 
81
 
92
             <!-- <div class="commonImg">
95
             <!-- <div class="commonImg">
93
             <img src="static\images\img2.png" alt />
96
             <img src="static\images\img2.png" alt />
94
             </div>-->
97
             </div>-->
95
-            <div class="commonMessage" v-html="item.Offices.introduction"></div>
98
+            <!-- <div class="commonMessage" v-html="item.Offices.introduction"></div> -->
99
+            <div class="noImg">
100
+              <img src="../../../static/images/none2.png" alt />
101
+            </div>
96
           </div>
102
           </div>
97
         </div>
103
         </div>
98
 
104
 
113
               <div class="img">
119
               <div class="img">
114
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
120
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
115
               </div>
121
               </div>
116
-              <div class="detail">
122
+              <!-- <div class="detail">
117
                 <p class="detailTitle">{{doc.doc_name}}</p>
123
                 <p class="detailTitle">{{doc.doc_name}}</p>
118
                 <p class="detailMessage" v-html="doc.docintroduction"></p>
124
                 <p class="detailMessage" v-html="doc.docintroduction"></p>
125
+                
126
+              </div>-->
127
+              <div class="detail">
128
+                <div class="noImg">
129
+                  <img src="../../../static/images/none2.png" alt />
130
+                </div>
119
               </div>
131
               </div>
120
             </div>
132
             </div>
121
             <!-- <div class="contentOne">
133
             <!-- <div class="contentOne">
218
   getData
230
   getData
219
 } from "@/api/micro/micro";
231
 } from "@/api/micro/micro";
220
 import { link } from "fs";
232
 import { link } from "fs";
233
+
221
 export default {
234
 export default {
222
   data() {
235
   data() {
223
     return {
236
     return {
320
         if (response.data.state == 1) {
333
         if (response.data.state == 1) {
321
           var navigation = response.data.data.navigation;
334
           var navigation = response.data.data.navigation;
322
           for (let index = 0; index < navigation.length; index++) {
335
           for (let index = 0; index < navigation.length; index++) {
323
-            navigation[0].nonavimages = "https://images.shengws.com/2089_o_1571990714383.png";
324
-            
336
+            navigation[0].nonavimages =
337
+              "https://images.shengws.com/2089_o_1571990714383.png";
325
           }
338
           }
326
           console.log("navigation是什么", navigation);
339
           console.log("navigation是什么", navigation);
327
           this.navigationdata = navigation;
340
           this.navigationdata = navigation;
335
         // window.location.href =
348
         // window.location.href =
336
         //   "http://wx.kuyicloud.com/weixin/membershipagree/" + orgid;
349
         //   "http://wx.kuyicloud.com/weixin/membershipagree/" + orgid;
337
         this.$router.push({
350
         this.$router.push({
338
-          path:"/card",
351
+          path: "/card",
339
           query: {
352
           query: {
340
-            orgid: orgid,
353
+            orgid: orgid
341
           }
354
           }
342
-        })
355
+        });
343
       } else if (title == "联系我们") {
356
       } else if (title == "联系我们") {
344
         this.$router.push({
357
         this.$router.push({
345
           path: "/contact",
358
           path: "/contact",
346
           query: {
359
           query: {
347
             orgid: orgid
360
             orgid: orgid
348
           }
361
           }
349
-         });
350
-      }else if(title =="咨询客服"){
362
+        });
363
+      } else if (title == "咨询客服") {
351
         //  window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
364
         //  window.location.href = "http://wx.kuyicloud.com/weixin/im/"+orgid;
352
         this.$router.push({
365
         this.$router.push({
353
-          path:"/custom",
366
+          path: "/custom",
354
           query: {
367
           query: {
355
-            orgid:orgid
368
+            orgid: orgid
356
           }
369
           }
357
-        })
358
-      }else {
370
+        });
371
+      } else {
359
         window.location.href = address;
372
         window.location.href = address;
360
       }
373
       }
361
     },
374
     },
362
 
375
 
363
-    CallPhone(linktype, address,orgid) {
376
+    CallPhone(linktype, address, orgid) {
364
 
377
 
365
       if (linktype == "2") {
378
       if (linktype == "2") {
366
         this.$router.push({
379
         this.$router.push({
367
-          path:"/contactus",
368
-          query:{
369
-            orgid:orgid,
380
+          path: "/contactus",
381
+          query: {
382
+            orgid: orgid
370
           }
383
           }
371
-        })
384
+        });
372
       }
385
       }
373
       if (linktype == "3") {
386
       if (linktype == "3") {
374
         window.location.href = "tel://" + address + "";
387
         window.location.href = "tel://" + address + "";
376
       if (linktype == "4") {
389
       if (linktype == "4") {
377
         // window.location.href = address;
390
         // window.location.href = address;
378
         this.$router.push({
391
         this.$router.push({
392
+<<<<<<< .mine
379
           path:"/custom",
393
           path:"/custom",
380
           query:{
394
           query:{
381
             orgid:orgid,
395
             orgid:orgid,
396
+=======
397
+          path: "custom",
398
+          query: {
399
+            orgid: orgid
400
+>>>>>>> .theirs
382
           }
401
           }
383
-        })
402
+        });
384
       }
403
       }
385
     },
404
     },
386
     getData(orgid) {
405
     getData(orgid) {
395
   created() {
414
   created() {
396
     const orgid = this.$route.query.orgid;
415
     const orgid = this.$route.query.orgid;
397
     console.log("机构id是什么", orgid);
416
     console.log("机构id是什么", orgid);
398
-    this.getHospitaldata(orgid);
417
+    // this.getHospitaldata(orgid);
399
     this.getArticlelist(orgid);
418
     this.getArticlelist(orgid);
400
     this.getActivities(orgid);
419
     this.getActivities(orgid);
401
     this.getDefalutNavigationData(orgid);
420
     this.getDefalutNavigationData(orgid);
402
-    // this.getData(orgid);
421
+    this.getData(orgid);
403
   },
422
   },
404
   mounted() {
423
   mounted() {
405
     this.initSwiper();
424
     this.initSwiper();
495
   }
514
   }
496
 }
515
 }
497
 .dynamic {
516
 .dynamic {
498
-  margin-top: 1.875rem;
517
+  margin-top: 2.1875rem;
499
   // border: solid 1px red;
518
   // border: solid 1px red;
500
 }
519
 }
501
 .common_title {
520
 .common_title {
592
   // border: solid 1px red;
611
   // border: solid 1px red;
593
 }
612
 }
594
 .common {
613
 .common {
595
-  margin-top: 1.875rem;
614
+  margin-top: 2.1875rem;
596
   .commonBox {
615
   .commonBox {
597
     margin: auto;
616
     margin: auto;
598
     margin-top: 1.25rem;
617
     margin-top: 1.25rem;
605
     overflow: hidden;
624
     overflow: hidden;
606
     text-overflow: ellipsis;
625
     text-overflow: ellipsis;
607
     // border: 1px solid #000;
626
     // border: 1px solid #000;
627
+    .noImg {
628
+      width: 6.25rem;
629
+      height: 6.25rem;
630
+      margin: 0 auto;
631
+      img {
632
+        width: 6.25rem;
633
+        height: 6.25rem;
634
+      }
635
+    }
608
   }
636
   }
609
   .commonImg {
637
   .commonImg {
610
     width: 18.4375rem;
638
     width: 18.4375rem;
646
     padding-right: 1rem;
674
     padding-right: 1rem;
647
   }
675
   }
648
 }
676
 }
677
+.detail {
678
+  height: 100%;
679
+  .noImg {
680
+    width: 3.125rem;
681
+    height: 3.125rem;
682
+    margin: 1.25rem auto 0;
683
+    img {
684
+      width: 3.125rem;
685
+      height: 3.125rem;
686
+    }
687
+  }
688
+}
649
 .detailBox {
689
 .detailBox {
650
   margin-top: 0.625rem;
690
   margin-top: 0.625rem;
651
   .activityTime {
691
   .activityTime {

+ 15 - 1
src/scrm_pages/news/news.vue View File

5
         <div class="img">
5
         <div class="img">
6
           <img :src="it.imgs" style="width:100%;height:100%" alt />
6
           <img :src="it.imgs" style="width:100%;height:100%" alt />
7
         </div>
7
         </div>
8
-        <div class="detail" @click="singleArticleInfo(it.id,it.user_org_id)">
8
+        <div class="detail" @click="singleArticleInfo(it.id,it.user_org_id)" v-if="it.title !=''">
9
           <p class="detailTitle">{{it.title}}</p>
9
           <p class="detailTitle">{{it.title}}</p>
10
           <p class="detailMessage"></p>
10
           <p class="detailMessage"></p>
11
         </div>
11
         </div>
12
+        <div class="detail" v-else-if="it.title ==''">
13
+             <div class="noImg">
14
+               <img src="../../../static/images/none2.png" alt />
15
+            </div>
16
+       </div>
12
       </div>
17
       </div>
13
     </div>
18
     </div>
14
   </div>
19
   </div>
104
       color: rgba(155, 155, 155, 1);
109
       color: rgba(155, 155, 155, 1);
105
       line-height: 1.125rem;
110
       line-height: 1.125rem;
106
     }
111
     }
112
+  .noImg {
113
+    width: 3.125rem;
114
+    height: 3.125rem;
115
+    margin: 1.25rem auto 0;
116
+    img {
117
+      width: 3.125rem;
118
+      height: 3.125rem;
119
+    }
120
+  }
107
   }
121
   }
108
 }
122
 }
109
 </style>
123
 </style>

+ 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" v-if="officeform.introduction !=''"></div>
4
+    <div class="noImg" v-else-if="officeform.introduction == ''">
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>

BIN
static/images/non.png.lnk View File


BIN
static/images/none2.png View File