Browse Source

微网站

xiaoming_global 5 years ago
parent
commit
f9f339441c

+ 1 - 1
src/api/micro/micro.js View File

181
          Get:"Get",
181
          Get:"Get",
182
          params:params,
182
          params:params,
183
      })
183
      })
184
-}
184
+}

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

114
     path: "/newsDetail",
114
     path: "/newsDetail",
115
     component: () => import("@/scrm_pages/newsDetail/newsDetail")
115
     component: () => import("@/scrm_pages/newsDetail/newsDetail")
116
   },
116
   },
117
+  {
118
+    path: "/contact",
119
+    component: () => import("@/scrm_pages/contact/contact")
120
+  },
117
   {
121
   {
118
     path: "/",
122
     path: "/",
119
-    component: () => import("@/scrm_pages/newsDetail/newsDetail")
123
+    component: () => import("@/scrm_pages/contact/contact")
120
   },
124
   },
121
 
125
 
122
   // 医院介绍详情路由
126
   // 医院介绍详情路由

+ 53 - 139
src/scrm_pages/activity/activity.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div class="page_activity">
3
     <div class="content">
3
     <div class="content">
4
-      <div class="contentOne" v-for="it in Activitieslist" :key="it.id"  @click="singleActivitInfo(it.id,it.user_org_id)">
4
+      <div
5
+        class="contentOne"
6
+        v-for="it in Activitieslist"
7
+        :key="it.id"
8
+        @click="singleActivitInfo(it.id,it.user_org_id)"
9
+      >
5
         <div class="img">
10
         <div class="img">
6
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
11
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
7
         </div>
12
         </div>
10
           <div class="detailBox">
15
           <div class="detailBox">
11
             <div class="activityTime">
16
             <div class="activityTime">
12
               <p>
17
               <p>
13
-               {{staffCreateTime(it.start_time)}}开始<br>
18
+                {{staffCreateTime(it.start_time)}}开始
19
+                <br />
14
                 <!-- {{it.address}} -->
20
                 <!-- {{it.address}} -->
15
               </p>
21
               </p>
16
             </div>
22
             </div>
17
             <div class="people">
23
             <div class="people">
18
-              <p>100人已报名</p>
24
+              <p>{{it.join_num}}已报名</p>
19
             </div>
25
             </div>
20
           </div>
26
           </div>
21
         </div>
27
         </div>
22
       </div>
28
       </div>
23
-      <div class="contentOne">
24
-        <div class="img">
25
-          <img src="static\images\img1.jpg" alt />
26
-        </div>
27
-        <div class="detail">
28
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
29
-          <div class="detailBox">
30
-            <div class="activityTime">
31
-              <p>
32
-                7月28日 08:30开始
33
-                深圳市南山区
34
-              </p>
35
-            </div>
36
-            <div class="people">
37
-              <p>100人已报名</p>
38
-            </div>
39
-          </div>
40
-        </div>
41
-      </div>
42
-      <!-- <div class="contentOne">
43
-        <div class="img">
44
-          <img src="static\images\img1.jpg" alt />
45
-        </div>
46
-        <div class="detail">
47
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
48
-          <div class="detailBox">
49
-            <div class="activityTime">
50
-              <p>
51
-                7月28日 08:30开始
52
-                深圳市南山区
53
-              </p>
54
-            </div>
55
-            <div class="people">
56
-              <p>100人已报名</p>
57
-            </div>
58
-          </div>
59
-        </div>
60
-      </div>
61
-      <div class="contentOne">
62
-        <div class="img">
63
-          <img src="static\images\img1.jpg" alt />
64
-        </div>
65
-        <div class="detail">
66
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
67
-          <div class="detailBox">
68
-            <div class="activityTime">
69
-              <p>
70
-                7月28日 08:30开始
71
-                深圳市南山区
72
-              </p>
73
-            </div>
74
-            <div class="people">
75
-              <p>100人已报名</p>
76
-            </div>
77
-          </div>
78
-        </div>
79
-      </div>
80
-      <div class="contentOne">
81
-        <div class="img">
82
-          <img src="static\images\img1.jpg" alt />
83
-        </div>
84
-        <div class="detail">
85
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
86
-          <div class="detailBox">
87
-            <div class="activityTime">
88
-              <p>
89
-                7月28日 08:30开始
90
-                深圳市南山区
91
-              </p>
92
-            </div>
93
-            <div class="people">
94
-              <p>100人已报名</p>
95
-            </div>
96
-          </div>
97
-        </div>
98
-      </div>
99
-      <div class="contentOne">
100
-        <div class="img">
101
-          <img src="static\images\img1.jpg" alt />
102
-        </div>
103
-        <div class="detail">
104
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
105
-          <div class="detailBox">
106
-            <div class="activityTime">
107
-              <p>
108
-                7月28日 08:30开始
109
-                深圳市南山区
110
-              </p>
111
-            </div>
112
-            <div class="people">
113
-              <p>100人已报名</p>
114
-              <p>{{it.join_num}}</p>
115
-            </div>
116
-          </div>
117
-        </div>
118
-      </div>-->
119
     </div>
29
     </div>
120
   </div>
30
   </div>
121
 </template>
31
 </template>
122
   <script>
32
   <script>
123
-      import {getFileExtension,uParseTime} from '@/utils/tools'
124
-      import { Activitiesmore } from "@/api/micro/micro"
125
-      export default{
126
-        data(){
127
-            return{
128
-               Activitieslist:[],
129
-            }
130
-        },
131
-        methods:{
132
-           Activitiesmore(id,orgid){
133
-                Activitiesmore(id,orgid).then(response=>{
134
-                     if(response.data.state == 1){
135
-                       var activity =  response.data.data.activity;
136
-                       this.Activitieslist =  response.data.data.activity;                 
137
-                       console.log("获取活动列表",activity)
138
-                    }
139
-                })
140
-            },
141
-           staffCreateTime(time) {
142
-               return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
143
-           },
144
-           singleActivitInfo(id,orgid){
145
-                this.$router.push({
146
-                    path:'/activityDetail',
147
-                    query:{
148
-                     id:id,
149
-                     orgid,orgid,
150
-                   }
151
-                })
152
-            }
153
-        },
154
-        created(){
155
-           const id = this.$route.query.id;
156
-            const orgid = this.$route.query.orgid;
157
-            console.log("id是多少",id)
158
-            console.log("orgid是多少",orgid)
159
-            this.Activitiesmore(id,orgid)
33
+import { getFileExtension, uParseTime } from "@/utils/tools";
34
+import { Activitiesmore } from "@/api/micro/micro";
35
+export default {
36
+  data() {
37
+    return {
38
+      Activitieslist: []
39
+    };
40
+  },
41
+  methods: {
42
+    Activitiesmore(id, orgid) {
43
+      Activitiesmore(id, orgid).then(response => {
44
+        if (response.data.state == 1) {
45
+          var activity = response.data.data.activity;
46
+          this.Activitieslist = response.data.data.activity;
47
+          console.log("获取活动列表", activity);
160
         }
48
         }
161
-      }
162
-  </script>
49
+      });
50
+    },
51
+    staffCreateTime(time) {
52
+      return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
53
+    },
54
+    singleActivitInfo(id, orgid) {
55
+      this.$router.push({
56
+        path: "/activityDetail",
57
+        query: {
58
+          id: id,
59
+          orgid,
60
+          orgid
61
+        }
62
+      });
63
+    }
64
+  },
65
+  created() {
66
+    const id = this.$route.query.id;
67
+    const orgid = this.$route.query.orgid;
68
+    console.log("id是多少", id);
69
+    console.log("orgid是多少", orgid);
70
+    this.Activitiesmore(id, orgid);
71
+  }
72
+};
73
+</script>
163
 <style lang="scss" scoped>
74
 <style lang="scss" scoped>
75
+.page_activity {
76
+  overflow: hidden;
77
+}
164
 .contentOne {
78
 .contentOne {
165
   margin: auto;
79
   margin: auto;
166
   margin-top: 1.125rem;
80
   margin-top: 1.125rem;

+ 64 - 0
src/scrm_pages/contact/contact.vue View File

1
+<template>
2
+  <div>
3
+    <div class="focusImg">
4
+      <img src="static/images/img2.png" alt />
5
+    </div>
6
+    <div class="detail">
7
+      <div class="row one">
8
+        <p class="title">医院地址:</p>
9
+        <p class="msg">深圳市南山区学苑大道1001号南山智园A4栋9楼918</p>
10
+      </div>
11
+      <div class="row">
12
+        <p class="title">电&ensp;&ensp;&ensp;&ensp;话:</p>
13
+        <p class="msg">0755-8548683</p>
14
+      </div>
15
+      <div class="row">
16
+        <p class="title">手机号码:</p>
17
+        <p class="msg">13612805443</p>
18
+      </div>
19
+      <div class="row">
20
+        <p class="title">工作时间:</p>
21
+        <p class="msg">15:00-18:00</p>
22
+      </div>
23
+      <div class="row one">
24
+        <p class="title">乘车方式:</p>
25
+        <p class="msg">乘1路或859路车至千峰路口站下车向南500米</p>
26
+      </div>
27
+    </div>
28
+  </div>
29
+</template>
30
+
31
+
32
+<style lang="scss" scoped>
33
+.focusImg {
34
+  width: 23.4375rem;
35
+  height: 11.5625rem;
36
+  img {
37
+    width: 100%;
38
+    height: 100%;
39
+  }
40
+}
41
+.detail {
42
+  width: 21.125rem;
43
+  margin: 1.1875rem 1.25rem 0 1.25rem;
44
+
45
+  .row {
46
+    font-size: 1rem;
47
+    font-weight: 600;
48
+    color: rgba(7, 18, 40, 1);
49
+    line-height: 2.375rem;
50
+    height: 2.375rem;
51
+    .title {
52
+      float: left;
53
+    }
54
+    .msg {
55
+      float: left;
56
+      width: 16rem;
57
+    }
58
+  }
59
+  .one {
60
+    height: 3rem;
61
+    line-height: 1.5rem;
62
+  }
63
+}
64
+</style>

+ 78 - 78
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div class="page_doctorIntroduction">
3
     <div>
3
     <div>
4
       <div class="contentOne">
4
       <div class="contentOne">
5
         <div class="img">
5
         <div class="img">
7
         </div>
7
         </div>
8
         <div class="detail">
8
         <div class="detail">
9
           <p class="detailTitle">
9
           <p class="detailTitle">
10
-              {{doctors.doc_name}}
10
+            {{doctors.doc_name}}
11
             <span>{{doctors.doc_postion}}</span>
11
             <span>{{doctors.doc_postion}}</span>
12
           </p>
12
           </p>
13
           <p class="detailMessage" v-html="doctors.docintroduction"></p>
13
           <p class="detailMessage" v-html="doctors.docintroduction"></p>
19
           <div class="dynamicTxt">医生擅长</div>
19
           <div class="dynamicTxt">医生擅长</div>
20
         </div>
20
         </div>
21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
22
-      </div> -->
22
+      </div>-->
23
       <div class="good">
23
       <div class="good">
24
         <div class="common_title">
24
         <div class="common_title">
25
           <div class="one"></div>
25
           <div class="one"></div>
26
           <div class="dynamicTxt">医生简介</div>
26
           <div class="dynamicTxt">医生简介</div>
27
         </div>
27
         </div>
28
-        <div class="goodtxt" v-html="doctors.docintroduction">
29
-           
30
-        </div>
28
+        <div class="goodtxt" v-html="doctors.docintroduction"></div>
31
       </div>
29
       </div>
32
     </div>
30
     </div>
33
   </div>
31
   </div>
34
 </template>
32
 </template>
35
   
33
   
36
   <script>
34
   <script>
37
-     import { singleDoctorInfo } from "@/api/micro/micro"
38
-     export default{
39
-       data(){
40
-          return{
41
-            doctors:[],
35
+import { singleDoctorInfo } from "@/api/micro/micro";
36
+export default {
37
+  data() {
38
+    return {
39
+      doctors: []
40
+    };
41
+  },
42
+  methods: {
43
+    singleDoctorInfo(id, orgid) {
44
+      singleDoctorInfo(id, orgid).then(response => {
45
+        if (response.data.state == 1) {
46
+          var editdoctor = response.data.data.editdoctor;
47
+          if (editdoctor.doc_postion == 1) {
48
+            editdoctor.doc_postion = "医士";
49
+          }
50
+          if (editdoctor.doc_postion == 2) {
51
+            editdoctor.doc_postion = "医师";
52
+          }
53
+          if (editdoctor.doc_postion == 3) {
54
+            editdoctor.doc_postion = "住院医师";
55
+          }
56
+          if (editdoctor.doc_postion == 4) {
57
+            editdoctor.doc_postion = "主治医师";
58
+          }
59
+          if (editdoctor.doc_postion == 5) {
60
+            editdoctor.doc_postion = "副主任医师";
61
+          }
62
+          if (editdoctor.doc_postion == 6) {
63
+            editdoctor.doc_postion = "主任医师";
64
+          }
65
+          if (editdoctor.doc_postion == 7) {
66
+            editdoctor.doc_postion = "护士";
67
+          }
68
+          if (editdoctor.doc_postion == 8) {
69
+            editdoctor.doc_postion = "护师";
70
+          }
71
+          if (editdoctor.doc_postion == 9) {
72
+            editdoctor.doc_postion = "主管护师";
73
+          }
74
+          if (editdoctor.doc_postion == 10) {
75
+            editdoctor.doc_postion = "副主任护师";
76
+          }
77
+          if (editdoctor.doc_postion == 11) {
78
+            editdoctor.doc_postion = "主任护师";
42
           }
79
           }
43
-       },
44
-       methods:{
45
-         singleDoctorInfo(id,orgid){
46
-                singleDoctorInfo(id,orgid).then(response=>{
47
-                    if(response.data.state ==1){
48
-                     var editdoctor = response.data.data.editdoctor;
49
-                     if(editdoctor.doc_postion == 1){
50
-                        editdoctor.doc_postion = "医士"
51
-                     }
52
-                     if(editdoctor.doc_postion == 2){
53
-                        editdoctor.doc_postion = "医师"
54
-                     }
55
-                       if(editdoctor.doc_postion == 3){
56
-                        editdoctor.doc_postion = "住院医师"
57
-                     }                    
58
-                       if(editdoctor.doc_postion == 4){
59
-                        editdoctor.doc_postion = "主治医师"
60
-                     }
61
-                       if(editdoctor.doc_postion == 5){
62
-                        editdoctor.doc_postion = "副主任医师"
63
-                     }
64
-                       if(editdoctor.doc_postion == 6){
65
-                        editdoctor.doc_postion = "主任医师"
66
-                     }
67
-                       if(editdoctor.doc_postion == 7){
68
-                        editdoctor.doc_postion = "护士"
69
-                     }
70
-                       if(editdoctor.doc_postion == 8){
71
-                        editdoctor.doc_postion = "护师"
72
-                     }
73
-                       if(editdoctor.doc_postion == 9){
74
-                        editdoctor.doc_postion = "主管护师"
75
-                     }
76
-                      if(editdoctor.doc_postion == 10){
77
-                        editdoctor.doc_postion = "副主任护师"
78
-                     }
79
-                      if(editdoctor.doc_postion == 11){
80
-                        editdoctor.doc_postion = "主任护师"
81
-                     }
82
-                   
83
-                     console.log("editdoctor",editdoctor)
84
-                     this.doctors = editdoctor;
85
-                    }
86
-                })
87
 
80
 
88
-            //      { index: 1, name: '医士' },
89
-            // { index: 2, name: '医师' },
90
-            // { index: 3, name: '住院医师' },
91
-            // { index: 4, name: '主治医师' },
92
-            // { index: 5, name: '副主任医师' },
93
-            // { index: 6, name: '主任医师' },
94
-            // { index: 7, name: '护士' },
95
-            // { index: 8, name: '护师' },
96
-            // { index: 9, name: '主管护师' },
97
-            // { index: 10, name: '副主任护师' },
98
-            // { index: 11, name: '主任护师' },
99
-            }  
100
-       },
101
-       created(){
102
-          const id = this.$route.query.id;
103
-           const orgid = this.$route.query.orgid;
104
-           console.log("id是多少",id)
105
-           console.log("orgid是多少",orgid)
106
-           this.singleDoctorInfo(id,orgid)
107
-       }
108
-     }
81
+          console.log("editdoctor", editdoctor);
82
+          this.doctors = editdoctor;
83
+        }
84
+      });
109
 
85
 
110
-  </script>
86
+      //      { index: 1, name: '医士' },
87
+      // { index: 2, name: '医师' },
88
+      // { index: 3, name: '住院医师' },
89
+      // { index: 4, name: '主治医师' },
90
+      // { index: 5, name: '副主任医师' },
91
+      // { index: 6, name: '主任医师' },
92
+      // { index: 7, name: '护士' },
93
+      // { index: 8, name: '护师' },
94
+      // { index: 9, name: '主管护师' },
95
+      // { index: 10, name: '副主任护师' },
96
+      // { index: 11, name: '主任护师' },
97
+    }
98
+  },
99
+  created() {
100
+    const id = this.$route.query.id;
101
+    const orgid = this.$route.query.orgid;
102
+    console.log("id是多少", id);
103
+    console.log("orgid是多少", orgid);
104
+    this.singleDoctorInfo(id, orgid);
105
+  }
106
+};
107
+</script>
111
 <style lang="scss" scoped>
108
 <style lang="scss" scoped>
109
+.page_doctorIntroduction {
110
+  overflow: hidden;
111
+}
112
 .contentOne {
112
 .contentOne {
113
   margin: auto;
113
   margin: auto;
114
   margin-top: 1.125rem;
114
   margin-top: 1.125rem;
154
       height: 30px;
154
       height: 30px;
155
       overflow: hidden;
155
       overflow: hidden;
156
       text-overflow: ellipsis;
156
       text-overflow: ellipsis;
157
-       display: -webkit-box;
157
+      display: -webkit-box;
158
       -webkit-line-clamp: 1;
158
       -webkit-line-clamp: 1;
159
       -webkit-box-orient: vertical;
159
       -webkit-box-orient: vertical;
160
       // border: solid 1px red;
160
       // border: solid 1px red;

+ 53 - 49
src/scrm_pages/medicalTeam/medicalTeam.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div class="page_medicalTeam">
3
     <div class="header">
3
     <div class="header">
4
       <div class="line"></div>
4
       <div class="line"></div>
5
       <div class="headerTitle">
5
       <div class="headerTitle">
9
     </div>
9
     </div>
10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
11
     <div class="content">
11
     <div class="content">
12
-
13
-      <div class="contentOne" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
12
+      <div
13
+        class="contentOne"
14
+        v-for="item in this.editdocfrom"
15
+        :key="item.id"
16
+        @click="singleDoctorInfo(item.id,item.user_org_id)"
17
+      >
14
         <div class="img">
18
         <div class="img">
15
           <img :src="item.dochead" style="width:100%;height:100%" alt />
19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
16
         </div>
20
         </div>
19
           <p class="detailMessage" v-html="item.docintroduction"></p>
23
           <p class="detailMessage" v-html="item.docintroduction"></p>
20
         </div>
24
         </div>
21
       </div>
25
       </div>
22
-
23
     </div>
26
     </div>
24
   </div>
27
   </div>
25
 </template>
28
 </template>
26
   <script>
29
   <script>
27
-     import { docmore } from "@/api/micro/micro"
28
-    export default{
29
-         data(){
30
-           return{
31
-              editdocfrom:[],
32
-           }   
33
-         },
34
-         methods:{
35
-             docmore(id,orgid){
36
-                docmore(id,orgid).then(response=>{
37
-                     if(response.data.state == 1){
38
-                       var editdoctor =  response.data.data.editdoctor;
39
-                       if(this.editdocfrom.doc_postion == 1){
40
-                          this.editdocfrom.doc_postion = ""
41
-                       }
42
-                        console.log("编辑医生返回数据",editdoctor)
43
-                        this.editdocfrom  =  editdoctor;
44
-                       if(this.editdocfrom.doc_postion == 1){
45
-                           return "医生"
46
-                       }
47
-                      
48
-                    }
49
-                 })
50
-            },
30
+import { docmore } from "@/api/micro/micro";
31
+export default {
32
+  data() {
33
+    return {
34
+      editdocfrom: []
35
+    };
36
+  },
37
+  methods: {
38
+    docmore(id, orgid) {
39
+      docmore(id, orgid).then(response => {
40
+        if (response.data.state == 1) {
41
+          var editdoctor = response.data.data.editdoctor;
42
+          if (this.editdocfrom.doc_postion == 1) {
43
+            this.editdocfrom.doc_postion = "";
44
+          }
45
+          console.log("编辑医生返回数据", editdoctor);
46
+          this.editdocfrom = editdoctor;
47
+          if (this.editdocfrom.doc_postion == 1) {
48
+            return "医生";
49
+          }
50
+        }
51
+      });
52
+    },
51
 
53
 
52
-          singleDoctorInfo(id,orgid){
53
-              this.$router.push({
54
-                       path:'/doctorIntroduction',
55
-                       query:{
56
-                           id:id,
57
-                           orgid:orgid,
58
-                       }
59
-                    }
60
-                )
61
-            }
62
-         },
63
-         created(){
64
-           const id = this.$route.query.id;
65
-          const orgid = this.$route.query.orgid;
66
-          console.log("id是多少",id)
67
-          console.log("orgid是多少",orgid)
68
-          this.docmore(id,orgid)
69
-         }
54
+    singleDoctorInfo(id, orgid) {
55
+      this.$router.push({
56
+        path: "/doctorIntroduction",
57
+        query: {
58
+          id: id,
59
+          orgid: orgid
60
+        }
61
+      });
70
     }
62
     }
71
-  </script>
63
+  },
64
+  created() {
65
+    const id = this.$route.query.id;
66
+    const orgid = this.$route.query.orgid;
67
+    console.log("id是多少", id);
68
+    console.log("orgid是多少", orgid);
69
+    this.docmore(id, orgid);
70
+  }
71
+};
72
+</script>
72
 <style lang="scss" scoped>
73
 <style lang="scss" scoped>
74
+.page_medicalTeam {
75
+  overflow: hidden;
76
+}
73
 .header {
77
 .header {
74
   height: 1.25rem;
78
   height: 1.25rem;
75
   width: 9.375rem;
79
   width: 9.375rem;
143
       font-weight: 400;
147
       font-weight: 400;
144
       color: rgba(155, 155, 155, 1);
148
       color: rgba(155, 155, 155, 1);
145
       line-height: 1.125rem;
149
       line-height: 1.125rem;
146
-       overflow: hidden;
150
+      overflow: hidden;
147
       text-overflow: ellipsis;
151
       text-overflow: ellipsis;
148
-       display: -webkit-box;
152
+      display: -webkit-box;
149
       -webkit-line-clamp: 2;
153
       -webkit-line-clamp: 2;
150
       -webkit-box-orient: vertical;
154
       -webkit-box-orient: vertical;
151
     }
155
     }

+ 23 - 11
src/scrm_pages/microHome/microHome.vue View File

17
 
17
 
18
         <!-- 魔方导航 -->
18
         <!-- 魔方导航 -->
19
         <div class="btnList" v-if="item.mode_type== 8">
19
         <div class="btnList" v-if="item.mode_type== 8">
20
-          <div class="btnOne" v-for="it in item.Editmargin" :key="it.id">
20
+          <div class="btnOne" v-for="it in item.Editmargin" :key="it.id"  @click="NavigationClick(it.marginaddress)">
21
             <div>
21
             <div>
22
               <img :src="it.margimage" alt />
22
               <img :src="it.margimage" alt />
23
             </div>
23
             </div>
39
               </p>
39
               </p>
40
             </div>
40
             </div>
41
           </div>
41
           </div>
42
-          <div class="content">
42
+          <div class="content" @click="articlemore(item.id,item.user_org_id)">
43
             <div class="contentOne" v-for="it in Articlelist" :key="it.id">
43
             <div class="contentOne" v-for="it in Articlelist" :key="it.id">
44
               <div class="img">
44
               <div class="img">
45
                 <img :src="it.imgs" style="width:100%;height:100%" alt />
45
                 <img :src="it.imgs" style="width:100%;height:100%" alt />
102
               </p>
102
               </p>
103
             </div>
103
             </div>
104
           </div>
104
           </div>
105
-          <div class="content">
105
+          <div class="content" @click="docmore(item.id,item.user_org_id)" >
106
             <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
106
             <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
107
               <div class="img">
107
               <div class="img">
108
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
108
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
159
               </p>
159
               </p>
160
             </div>
160
             </div>
161
           </div>
161
           </div>
162
-          <div class="content">
162
+          <div class="content"  @click="Activitiesmore(item.id,item.user_org_id)">
163
             <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
163
             <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
164
               <div class="img">
164
               <div class="img">
165
                 <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
165
                 <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
186
     <!-- tab切换 -->
186
     <!-- tab切换 -->
187
     <div class="tabs">
187
     <div class="tabs">
188
       <ul class="tabList">
188
       <ul class="tabList">
189
-        <li class="tabOne" v-for="item in this.navigationdata" :key="item.id">
189
+        <li class="tabOne" v-for="item in this.navigationdata" :key="item.id" @click="CallPhone(item.linktype,item.navaddress)">
190
           <img :src="item.navimages" alt />
190
           <img :src="item.navimages" alt />
191
           <span>{{item.navtitle}}</span>
191
           <span>{{item.navtitle}}</span>
192
         </li>
192
         </li>
202
   getHospitaldata,
202
   getHospitaldata,
203
   getArticlelist,
203
   getArticlelist,
204
   getActivities,
204
   getActivities,
205
-  getDefalutNavigationData
205
+  getDefalutNavigationData,
206
 } from "@/api/micro/micro";
206
 } from "@/api/micro/micro";
207
+import { link } from 'fs';
207
 export default {
208
 export default {
208
   data() {
209
   data() {
209
     return {
210
     return {
315
           this.navigationdata = navigation;
316
           this.navigationdata = navigation;
316
         }
317
         }
317
       });
318
       });
319
+    },
320
+    NavigationClick(address){
321
+        window.location.href = address;
322
+        
323
+    }, 
324
+
325
+    CallPhone(linktype,address){
326
+       if(linktype == "2"){
327
+         window.location.href = address;
328
+       }
329
+       if(linktype == "3"){
330
+          window.location.href = 'tel://'+address+''
331
+       }
332
+       if(linktype == "4"){
333
+          window.location.href = address;
334
+       }
318
     }
335
     }
319
   },
336
   },
320
   created() {
337
   created() {
607
       margin-top: 0.5rem;
624
       margin-top: 0.5rem;
608
       width: 1.25rem;
625
       width: 1.25rem;
609
       height: 1.25rem;
626
       height: 1.25rem;
610
-      background: linear-gradient(
611
-        0deg,
612
-        rgba(114, 182, 253, 1),
613
-        rgba(52, 119, 254, 1)
614
-      );
615
     }
627
     }
616
     span {
628
     span {
617
       font-size: 0.75rem;
629
       font-size: 0.75rem;

+ 67 - 8
src/scrm_pages/news/news.vue View File

1
 <template>
1
 <template>
2
-  <div>
2
+  <div class="page_news">
3
     <div class="content">
3
     <div class="content">
4
-
5
-      <div class="contentOne"  v-for="it in articlelist" :key="it.id">
4
+      <div class="contentOne" v-for="it in articlelist" :key="it.id">
6
         <div class="img">
5
         <div class="img">
7
           <img :src="it.imgs" style="width:100%;height:100%" alt />
6
           <img :src="it.imgs" style="width:100%;height:100%" alt />
8
         </div>
7
         </div>
15
   </div>
14
   </div>
16
 </template>
15
 </template>
17
   <script>
16
   <script>
17
+<<<<<<< .mine
18
      import { articlemore } from "@/api/micro/micro"
18
      import { articlemore } from "@/api/micro/micro"
19
       export default{
19
       export default{
20
         data(){
20
         data(){
48
            console.log("id是多少",id)
48
            console.log("id是多少",id)
49
            console.log("orgid是多少",orgid)
49
            console.log("orgid是多少",orgid)
50
            this.articlemore(id,orgid)
50
            this.articlemore(id,orgid)
51
-        }
52
-      }
51
+=======
52
+import { articlemore } from "@/api/micro/micro";
53
+export default {
54
+  data() {
55
+    return {
56
+      articlelist: []
57
+    };
58
+  },
59
+  methods: {
60
+    articlemore(id, orgid) {
61
+      articlemore(id, orgid).then(response => {
62
+        if (response.data.state == 1) {
63
+          var articlelist = response.data.data.articlelists;
64
+          console.log("文章列表数据", articlelist);
65
+          this.articlelist = response.data.data.articlelists;
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
53
 
77
 
54
-  </script>
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+>>>>>>> .theirs
86
+        }
87
+      });
88
+    },
89
+    singleArticleInfo(id, orgid) {
90
+      this.$router.push({
91
+        path: "",
92
+        query: {
93
+          id: id,
94
+          orgid: orgid
95
+        }
96
+      });
97
+    }
98
+  },
99
+  created() {
100
+    const id = this.$route.query.id;
101
+    const orgid = this.$route.query.orgid;
102
+    console.log("id是多少", id);
103
+    console.log("orgid是多少", orgid);
104
+    this.articlemore(id, orgid);
105
+  }
106
+};
107
+</script>
55
 <style lang="scss" scoped>
108
 <style lang="scss" scoped>
109
+.page_news {
110
+  overflow: hidden;
111
+}
112
+.content {
113
+  padding: 1;
114
+}
56
 .contentOne {
115
 .contentOne {
57
   margin: auto;
116
   margin: auto;
58
   margin-top: 1.125rem;
117
   margin-top: 1.125rem;
77
     .detailTitle {
136
     .detailTitle {
78
       margin-top: 0.5rem;
137
       margin-top: 0.5rem;
79
       width: 12.6875rem;
138
       width: 12.6875rem;
80
-      height: 1.0rem;
139
+      height: 1rem;
81
       font-size: 0.9375rem;
140
       font-size: 0.9375rem;
82
       font-weight: 600;
141
       font-weight: 600;
83
       color: rgba(7, 18, 40, 1);
142
       color: rgba(7, 18, 40, 1);
84
       overflow: hidden;
143
       overflow: hidden;
85
       text-overflow: ellipsis;
144
       text-overflow: ellipsis;
86
-       display: -webkit-box;
145
+      display: -webkit-box;
87
       -webkit-line-clamp: 1;
146
       -webkit-line-clamp: 1;
88
       -webkit-box-orient: vertical;
147
       -webkit-box-orient: vertical;
89
     }
148
     }

+ 1 - 1
src/scrm_pages/newsDetail/newsDetail.vue View File

67
 }
67
 }
68
 .msg {
68
 .msg {
69
   width: 21rem;
69
   width: 21rem;
70
-  height: 12.0625rem;
70
+  min-height: 12.0625rem;
71
   font-size: 1rem;
71
   font-size: 1rem;
72
   font-weight: 600;
72
   font-weight: 600;
73
   color: rgba(7, 18, 40, 1);
73
   color: rgba(7, 18, 40, 1);