xiaoming_global 5 anos atrás
pai
commit
f9f339441c

+ 1 - 1
src/api/micro/micro.js Ver arquivo

@@ -181,4 +181,4 @@ export function GetRotationLinkAddress(linkid,orgid){
181 181
          Get:"Get",
182 182
          params:params,
183 183
      })
184
-}
184
+}

+ 5 - 1
src/router/index.js Ver arquivo

@@ -114,9 +114,13 @@ var _constant_router_map = [
114 114
     path: "/newsDetail",
115 115
     component: () => import("@/scrm_pages/newsDetail/newsDetail")
116 116
   },
117
+  {
118
+    path: "/contact",
119
+    component: () => import("@/scrm_pages/contact/contact")
120
+  },
117 121
   {
118 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 Ver arquivo

@@ -1,7 +1,12 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_activity">
3 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 10
         <div class="img">
6 11
           <img :src="it.poster_photo" style="width:100%;height:100%" alt />
7 12
         </div>
@@ -10,157 +15,66 @@
10 15
           <div class="detailBox">
11 16
             <div class="activityTime">
12 17
               <p>
13
-               {{staffCreateTime(it.start_time)}}开始<br>
18
+                {{staffCreateTime(it.start_time)}}开始
19
+                <br />
14 20
                 <!-- {{it.address}} -->
15 21
               </p>
16 22
             </div>
17 23
             <div class="people">
18
-              <p>100人已报名</p>
24
+              <p>{{it.join_num}}已报名</p>
19 25
             </div>
20 26
           </div>
21 27
         </div>
22 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 29
     </div>
120 30
   </div>
121 31
 </template>
122 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 74
 <style lang="scss" scoped>
75
+.page_activity {
76
+  overflow: hidden;
77
+}
164 78
 .contentOne {
165 79
   margin: auto;
166 80
   margin-top: 1.125rem;

+ 64 - 0
src/scrm_pages/contact/contact.vue Ver arquivo

@@ -0,0 +1,64 @@
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 Ver arquivo

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_doctorIntroduction">
3 3
     <div>
4 4
       <div class="contentOne">
5 5
         <div class="img">
@@ -7,7 +7,7 @@
7 7
         </div>
8 8
         <div class="detail">
9 9
           <p class="detailTitle">
10
-              {{doctors.doc_name}}
10
+            {{doctors.doc_name}}
11 11
             <span>{{doctors.doc_postion}}</span>
12 12
           </p>
13 13
           <p class="detailMessage" v-html="doctors.docintroduction"></p>
@@ -19,96 +19,96 @@
19 19
           <div class="dynamicTxt">医生擅长</div>
20 20
         </div>
21 21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
22
-      </div> -->
22
+      </div>-->
23 23
       <div class="good">
24 24
         <div class="common_title">
25 25
           <div class="one"></div>
26 26
           <div class="dynamicTxt">医生简介</div>
27 27
         </div>
28
-        <div class="goodtxt" v-html="doctors.docintroduction">
29
-           
30
-        </div>
28
+        <div class="goodtxt" v-html="doctors.docintroduction"></div>
31 29
       </div>
32 30
     </div>
33 31
   </div>
34 32
 </template>
35 33
   
36 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 108
 <style lang="scss" scoped>
109
+.page_doctorIntroduction {
110
+  overflow: hidden;
111
+}
112 112
 .contentOne {
113 113
   margin: auto;
114 114
   margin-top: 1.125rem;
@@ -154,7 +154,7 @@
154 154
       height: 30px;
155 155
       overflow: hidden;
156 156
       text-overflow: ellipsis;
157
-       display: -webkit-box;
157
+      display: -webkit-box;
158 158
       -webkit-line-clamp: 1;
159 159
       -webkit-box-orient: vertical;
160 160
       // border: solid 1px red;

+ 53 - 49
src/scrm_pages/medicalTeam/medicalTeam.vue Ver arquivo

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_medicalTeam">
3 3
     <div class="header">
4 4
       <div class="line"></div>
5 5
       <div class="headerTitle">
@@ -9,8 +9,12 @@
9 9
     </div>
10 10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
11 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 18
         <div class="img">
15 19
           <img :src="item.dochead" style="width:100%;height:100%" alt />
16 20
         </div>
@@ -19,57 +23,57 @@
19 23
           <p class="detailMessage" v-html="item.docintroduction"></p>
20 24
         </div>
21 25
       </div>
22
-
23 26
     </div>
24 27
   </div>
25 28
 </template>
26 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 73
 <style lang="scss" scoped>
74
+.page_medicalTeam {
75
+  overflow: hidden;
76
+}
73 77
 .header {
74 78
   height: 1.25rem;
75 79
   width: 9.375rem;
@@ -143,9 +147,9 @@
143 147
       font-weight: 400;
144 148
       color: rgba(155, 155, 155, 1);
145 149
       line-height: 1.125rem;
146
-       overflow: hidden;
150
+      overflow: hidden;
147 151
       text-overflow: ellipsis;
148
-       display: -webkit-box;
152
+      display: -webkit-box;
149 153
       -webkit-line-clamp: 2;
150 154
       -webkit-box-orient: vertical;
151 155
     }

+ 23 - 11
src/scrm_pages/microHome/microHome.vue Ver arquivo

@@ -17,7 +17,7 @@
17 17
 
18 18
         <!-- 魔方导航 -->
19 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 21
             <div>
22 22
               <img :src="it.margimage" alt />
23 23
             </div>
@@ -39,7 +39,7 @@
39 39
               </p>
40 40
             </div>
41 41
           </div>
42
-          <div class="content">
42
+          <div class="content" @click="articlemore(item.id,item.user_org_id)">
43 43
             <div class="contentOne" v-for="it in Articlelist" :key="it.id">
44 44
               <div class="img">
45 45
                 <img :src="it.imgs" style="width:100%;height:100%" alt />
@@ -102,7 +102,7 @@
102 102
               </p>
103 103
             </div>
104 104
           </div>
105
-          <div class="content">
105
+          <div class="content" @click="docmore(item.id,item.user_org_id)" >
106 106
             <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
107 107
               <div class="img">
108 108
                 <img :src="doc.dochead" style="width:100%;height:100%" alt />
@@ -159,7 +159,7 @@
159 159
               </p>
160 160
             </div>
161 161
           </div>
162
-          <div class="content">
162
+          <div class="content"  @click="Activitiesmore(item.id,item.user_org_id)">
163 163
             <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
164 164
               <div class="img">
165 165
                 <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
@@ -186,7 +186,7 @@
186 186
     <!-- tab切换 -->
187 187
     <div class="tabs">
188 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 190
           <img :src="item.navimages" alt />
191 191
           <span>{{item.navtitle}}</span>
192 192
         </li>
@@ -202,8 +202,9 @@ import {
202 202
   getHospitaldata,
203 203
   getArticlelist,
204 204
   getActivities,
205
-  getDefalutNavigationData
205
+  getDefalutNavigationData,
206 206
 } from "@/api/micro/micro";
207
+import { link } from 'fs';
207 208
 export default {
208 209
   data() {
209 210
     return {
@@ -315,6 +316,22 @@ export default {
315 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 337
   created() {
@@ -607,11 +624,6 @@ export default {
607 624
       margin-top: 0.5rem;
608 625
       width: 1.25rem;
609 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 628
     span {
617 629
       font-size: 0.75rem;

+ 67 - 8
src/scrm_pages/news/news.vue Ver arquivo

@@ -1,8 +1,7 @@
1 1
 <template>
2
-  <div>
2
+  <div class="page_news">
3 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 5
         <div class="img">
7 6
           <img :src="it.imgs" style="width:100%;height:100%" alt />
8 7
         </div>
@@ -15,6 +14,7 @@
15 14
   </div>
16 15
 </template>
17 16
   <script>
17
+<<<<<<< .mine
18 18
      import { articlemore } from "@/api/micro/micro"
19 19
       export default{
20 20
         data(){
@@ -48,11 +48,70 @@
48 48
            console.log("id是多少",id)
49 49
            console.log("orgid是多少",orgid)
50 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 108
 <style lang="scss" scoped>
109
+.page_news {
110
+  overflow: hidden;
111
+}
112
+.content {
113
+  padding: 1;
114
+}
56 115
 .contentOne {
57 116
   margin: auto;
58 117
   margin-top: 1.125rem;
@@ -77,13 +136,13 @@
77 136
     .detailTitle {
78 137
       margin-top: 0.5rem;
79 138
       width: 12.6875rem;
80
-      height: 1.0rem;
139
+      height: 1rem;
81 140
       font-size: 0.9375rem;
82 141
       font-weight: 600;
83 142
       color: rgba(7, 18, 40, 1);
84 143
       overflow: hidden;
85 144
       text-overflow: ellipsis;
86
-       display: -webkit-box;
145
+      display: -webkit-box;
87 146
       -webkit-line-clamp: 1;
88 147
       -webkit-box-orient: vertical;
89 148
     }

+ 1 - 1
src/scrm_pages/newsDetail/newsDetail.vue Ver arquivo

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