|
@@ -1,180 +1,115 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="page_home">
|
|
3
|
+
|
3
|
4
|
<div class="swiper-slide">
|
4
|
|
- <div v-for="item in this.patientModels" :key="item.id">
|
5
|
|
- <!-- 轮播图 -->
|
6
|
|
- <div class="banner" v-if="item.mode_type == 1">
|
7
|
|
- <div class="swiper-container bannerSwiper">
|
8
|
|
- <div class="swiper-wrapper">
|
9
|
|
- <div class="swiper-slide" v-for="it in item.PatientEditpiclink" :key="it.id">
|
10
|
|
- <img class="imgtwo" :src="it.images" />
|
11
|
|
- </div>
|
|
5
|
+ <div v-for="item in this.patientModels" :key="item.id">
|
|
6
|
+ <!-- 轮播图 -->
|
|
7
|
+ <div class="banner" v-if="item.mode_type == 1">
|
|
8
|
+ <div class="swiper-container bannerSwiper" >
|
|
9
|
+ <div class="swiper-wrapper">
|
|
10
|
+ <div class="swiper-slide" v-for="it in item.PatientEditpiclink" :key="it.id">
|
|
11
|
+ <img class="imgtwo" :src="it.images" />
|
12
|
12
|
</div>
|
13
|
|
- <!-- 如果需要分页器 -->
|
14
|
|
- <div class="swiper-pagination"></div>
|
15
|
13
|
</div>
|
|
14
|
+ <!-- 如果需要分页器 -->
|
|
15
|
+ <div class="swiper-pagination"></div>
|
16
|
16
|
</div>
|
|
17
|
+ </div>
|
17
|
18
|
|
18
|
|
- <!-- 魔方导航 -->
|
19
|
|
- <div class="btnList" v-if="item.mode_type== 8">
|
20
|
|
- <div class="btnOne" v-for="it in item.Editmargin" :key="it.id">
|
21
|
|
- <div>
|
22
|
|
- <img :src="it.margimage" alt />
|
23
|
|
- </div>
|
24
|
|
- <div>
|
25
|
|
- <p class="title">{{it.margtitle}}</p>
|
26
|
|
- </div>
|
|
19
|
+ <!-- 魔方导航 -->
|
|
20
|
+ <div class="btnList" v-if="item.mode_type== 8" >
|
|
21
|
+ <div class="btnOne" v-for="it in item.Editmargin" :key="it.id">
|
|
22
|
+ <div>
|
|
23
|
+ <img :src="it.margimage" alt />
|
|
24
|
+ </div>
|
|
25
|
+ <div>
|
|
26
|
+ <p class="title">{{it.margtitle}}</p>
|
27
|
27
|
</div>
|
28
|
28
|
</div>
|
|
29
|
+ </div>
|
29
|
30
|
|
30
|
|
- <!-- 文章列表 -->
|
31
|
|
- <div class="dynamic" v-if="item.mode_type == 6">
|
32
|
|
- <div class="common_title">
|
33
|
|
- <div class="one"></div>
|
34
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
35
|
|
- <div class="more" @click="articlemore(item.id,item.user_org_id)">
|
36
|
|
- <p>
|
37
|
|
- 查看更多
|
38
|
|
- <i class="iconfont"></i>
|
39
|
|
- </p>
|
40
|
|
- </div>
|
|
31
|
+
|
|
32
|
+ <!-- 文章列表 -->
|
|
33
|
+ <div class="dynamic" v-if="item.mode_type == 6">
|
|
34
|
+ <div class="common_title">
|
|
35
|
+ <div class="one"></div>
|
|
36
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
37
|
+ <div class="more" @click="articlemore(item.id,item.user_org_id)">
|
|
38
|
+ <p>查看更多 <i class="iconfont"></i></p>
|
41
|
39
|
</div>
|
42
|
|
-<<<<<<< .mine
|
43
|
40
|
</div>
|
44
|
|
- <div class="content" @click="articlemore(item.id,item.user_org_id)">
|
|
41
|
+ <div class="content">
|
45
|
42
|
<div class="contentOne" v-for="it in Articlelist" :key="it.id">
|
46
|
43
|
<div class="img">
|
47
|
44
|
<img :src="it.imgs" style="width:100%;height:100%" alt/>
|
48
|
|
-
|
49
|
|
-
|
50
|
|
-
|
51
|
|
-
|
52
|
|
-=======
|
53
|
|
- <div class="content">
|
54
|
|
- <div class="contentOne" v-for="it in Articlelist" :key="it.id">
|
55
|
|
- <div class="img">
|
56
|
|
- <img :src="it.imgs" style="width:100%;height:100%" alt />
|
57
|
|
- </div>
|
58
|
|
- <div class="detail">
|
59
|
|
- <p class="detailTitle">{{it.title}}</p>
|
60
|
|
- <!-- <p class="detailMessage"></p> -->
|
61
|
|
- </div>
|
62
|
|
->>>>>>> .theirs
|
|
45
|
+ </div>
|
|
46
|
+ <div class="detail">
|
|
47
|
+ <p class="detailTitle">{{it.title}}</p>
|
|
48
|
+ <!-- <p class="detailMessage"></p> -->
|
63
|
49
|
</div>
|
64
|
50
|
</div>
|
65
|
51
|
</div>
|
|
52
|
+ </div>
|
66
|
53
|
|
67
|
|
- <!-- 医院介绍 -->
|
68
|
|
- <div class="common" v-if="item.mode_type == 2">
|
69
|
|
- <div class="common_title">
|
70
|
|
- <div class="one"></div>
|
71
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
72
|
|
- <div class="more" @click="hispitalmore(item.id,item.user_org_id)">
|
73
|
|
- <p>
|
74
|
|
- 查看更多
|
75
|
|
- <i class="iconfont"></i>
|
76
|
|
- </p>
|
77
|
|
- </div>
|
|
54
|
+
|
|
55
|
+ <!-- 医院介绍 -->
|
|
56
|
+ <div class="common" v-if="item.mode_type == 2">
|
|
57
|
+ <div class="common_title">
|
|
58
|
+ <div class="one"></div>
|
|
59
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
60
|
+ <div class="more" @click="hispitalmore(item.id,item.user_org_id)">
|
|
61
|
+ <p> 查看更多 <i class="iconfont"></i></p>
|
78
|
62
|
</div>
|
79
|
|
-<<<<<<< .mine
|
80
|
63
|
</div>
|
81
|
64
|
<div class="commonBox" v-html="item.Hospitals.introduction">
|
82
|
65
|
<!-- <div class="commonImg">
|
83
|
|
-=======
|
84
|
|
- <div class="commonBox">
|
85
|
|
- <!-- <div class="commonImg">
|
86
|
|
-
|
87
|
|
->>>>>>> .theirs
|
88
|
66
|
<img src="static\images\img2.png" alt />
|
89
|
|
-<<<<<<< .mine
|
90
|
67
|
</div> -->
|
91
|
68
|
<!-- <div class="commonMessage" ></div> -->
|
92
|
|
-
|
93
|
|
-
|
94
|
|
-
|
95
|
|
-
|
96
|
|
-
|
97
|
|
-
|
98
|
|
-=======
|
99
|
|
- </div>
|
100
|
|
- <div class="commonMessage">
|
101
|
|
- 深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院
|
102
|
|
- 深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院...
|
103
|
|
- </div>
|
104
|
|
- </div>-->
|
105
|
|
- <div class="commonMessage" v-html="item.Hospitals.introduction"></div>
|
106
|
|
- </div>
|
107
|
|
->>>>>>> .theirs
|
108
|
69
|
</div>
|
|
70
|
+ </div>
|
109
|
71
|
|
110
|
|
- <!-- 科室介绍 -->
|
111
|
|
- <div class="common" v-if="item.mode_type == 3">
|
112
|
|
- <div class="common_title">
|
113
|
|
- <div class="one"></div>
|
114
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
115
|
|
- <div class="more" @click="officemore(item.id,item.user_org_id)">
|
116
|
|
- <p>
|
117
|
|
- 查看更多
|
118
|
|
- <i class="iconfont"></i>
|
119
|
|
- </p>
|
120
|
|
- </div>
|
|
72
|
+
|
|
73
|
+ <!-- 科室介绍 -->
|
|
74
|
+ <div class="common" v-if="item.mode_type == 3">
|
|
75
|
+ <div class="common_title">
|
|
76
|
+ <div class="one"></div>
|
|
77
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
78
|
+ <div class="more" @click="officemore(item.id,item.user_org_id)">
|
|
79
|
+ <p>查看更多<i class="iconfont"></i> </p>
|
121
|
80
|
</div>
|
122
|
|
-<<<<<<< .mine
|
123
|
81
|
</div>
|
124
|
82
|
<div class="commonBox" v-html="item.Offices.introduction">
|
125
|
83
|
<!-- <div class="commonImg">
|
126
|
|
-=======
|
127
|
|
- <div class="commonBox">
|
128
|
|
- <!-- <div class="commonImg">
|
129
|
|
-
|
130
|
|
->>>>>>> .theirs
|
131
|
84
|
<img src="static\images\img2.png" alt />
|
132
|
|
-<<<<<<< .mine
|
133
|
85
|
</div> -->
|
134
|
86
|
<!-- <div class="commonMessage" ></div> -->
|
135
|
|
-
|
136
|
|
-=======
|
137
|
|
- </div>-->
|
138
|
|
- <div class="commonMessage" v-html="item.Offices.introduction"></div>
|
139
|
|
- </div>
|
140
|
|
->>>>>>> .theirs
|
141
|
87
|
</div>
|
|
88
|
+ </div>
|
142
|
89
|
|
143
|
|
- <!-- 医护团队 -->
|
144
|
|
- <div class="dynamic" v-if="item.mode_type == 4">
|
145
|
|
- <div class="common_title">
|
146
|
|
- <div class="one"></div>
|
147
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
148
|
|
- <div class="more" @click="docmore(item.id,item.user_org_id)">
|
149
|
|
- <p>
|
150
|
|
- 查看更多
|
151
|
|
- <i class="iconfont"></i>
|
152
|
|
- </p>
|
153
|
|
- </div>
|
|
90
|
+ <!-- 医护团队 -->
|
|
91
|
+ <div class="dynamic" v-if="item.mode_type == 4">
|
|
92
|
+ <div class="common_title">
|
|
93
|
+ <div class="one"></div>
|
|
94
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
95
|
+ <div class="more" @click="docmore(item.id,item.user_org_id)">
|
|
96
|
+ <p>
|
|
97
|
+ 查看更多
|
|
98
|
+ <i class="iconfont"></i>
|
|
99
|
+ </p>
|
154
|
100
|
</div>
|
155
|
|
-<<<<<<< .mine
|
156
|
101
|
</div>
|
157
|
102
|
<div class="content" @click="docmore(item.id,item.user_org_id)" >
|
158
|
103
|
<div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
|
159
|
104
|
<div class="img">
|
160
|
105
|
<img :src="doc.dochead" style="width:100%;height:100%" alt />
|
161
|
|
-
|
162
|
|
-
|
163
|
|
-
|
164
|
|
-
|
165
|
|
-=======
|
166
|
|
- <div class="content">
|
167
|
|
- <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
|
168
|
|
- <div class="img">
|
169
|
|
- <img :src="doc.dochead" style="width:100%;height:100%" alt />
|
170
|
|
- </div>
|
171
|
|
- <div class="detail">
|
172
|
|
- <p class="detailTitle">{{doc.doc_name}}</p>
|
173
|
|
- <p class="detailMessage" v-html="doc.docintroduction"></p>
|
174
|
|
- </div>
|
175
|
|
->>>>>>> .theirs
|
176
|
106
|
</div>
|
177
|
|
- <!-- <div class="contentOne">
|
|
107
|
+ <div class="detail">
|
|
108
|
+ <p class="detailTitle">{{doc.doc_name}}</p>
|
|
109
|
+ <p class="detailMessage" v-html="doc.docintroduction"></p>
|
|
110
|
+ </div>
|
|
111
|
+ </div>
|
|
112
|
+ <!-- <div class="contentOne">
|
178
|
113
|
<div class="img">
|
179
|
114
|
<img src="static\images\img1.jpg" alt />
|
180
|
115
|
</div>
|
|
@@ -182,46 +117,47 @@
|
182
|
117
|
<p class="detailTitle">欧巧漫</p>
|
183
|
118
|
<p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
|
184
|
119
|
</div>
|
185
|
|
- </div>-->
|
186
|
|
- </div>
|
|
120
|
+ </div> -->
|
187
|
121
|
</div>
|
|
122
|
+ </div>
|
|
123
|
+
|
188
|
124
|
|
189
|
|
- <!-- 科室环境 -->
|
190
|
|
- <div class="dynamic" v-if="item.mode_type == 5">
|
191
|
|
- <div class="common_title">
|
192
|
|
- <div class="one"></div>
|
193
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
194
|
|
- <!-- <div class="more">
|
|
125
|
+ <!-- 科室环境 -->
|
|
126
|
+ <div class="dynamic" v-if="item.mode_type == 5">
|
|
127
|
+ <div class="common_title">
|
|
128
|
+ <div class="one"></div>
|
|
129
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
130
|
+ <!-- <div class="more">
|
195
|
131
|
<p>
|
196
|
132
|
查看更多
|
197
|
133
|
<i class="iconfont"></i>
|
198
|
134
|
</p>
|
199
|
|
- </div>-->
|
200
|
|
- </div>
|
201
|
|
- <div class="imgs">
|
202
|
|
- <div class="swiper-container imgSwiper">
|
203
|
|
- <div class="swiper-wrapper">
|
204
|
|
- <div class="swiper-slide carousel" v-for="itms in item.Enviroimages" :key="itms.id">
|
205
|
|
- <img class="img" :src="itms.enviroimages" :preview="itms.modeid" />
|
206
|
|
- </div>
|
|
135
|
+ </div> -->
|
|
136
|
+ </div>
|
|
137
|
+ <div class="imgs">
|
|
138
|
+ <div class="swiper-container imgSwiper">
|
|
139
|
+ <div class="swiper-wrapper">
|
|
140
|
+ <div class="swiper-slide carousel" v-for="itms in item.Enviroimages" :key="itms.id">
|
|
141
|
+ <img class="img" :src="itms.enviroimages" preview="1" />
|
207
|
142
|
</div>
|
|
143
|
+
|
208
|
144
|
</div>
|
209
|
145
|
</div>
|
210
|
146
|
</div>
|
|
147
|
+ </div>
|
211
|
148
|
|
212
|
|
- <!-- 医院活动 -->
|
213
|
|
- <div class="dynamic bottom" v-if="item.mode_type == 7">
|
214
|
|
- <div class="common_title">
|
215
|
|
- <div class="one"></div>
|
216
|
|
- <div class="dynamicTxt">{{item.title}}</div>
|
217
|
|
- <div class="more" @click="Activitiesmore(item.id,item.user_org_id)">
|
218
|
|
- <p>
|
219
|
|
- 查看更多
|
220
|
|
- <i class="iconfont"></i>
|
221
|
|
- </p>
|
222
|
|
- </div>
|
|
149
|
+
|
|
150
|
+ <!-- 医院活动 -->
|
|
151
|
+ <div class="dynamic bottom" v-if="item.mode_type == 7">
|
|
152
|
+ <div class="common_title">
|
|
153
|
+ <div class="one"></div>
|
|
154
|
+ <div class="dynamicTxt">{{item.title}}</div>
|
|
155
|
+ <div class="more" @click="Activitiesmore(item.id,item.user_org_id)">
|
|
156
|
+ <p>
|
|
157
|
+ 查看更多
|
|
158
|
+ <i class="iconfont"></i>
|
|
159
|
+ </p>
|
223
|
160
|
</div>
|
224
|
|
-<<<<<<< .mine
|
225
|
161
|
</div>
|
226
|
162
|
<div class="content" @click="Activitiesmore(item.id,item.user_org_id)">
|
227
|
163
|
<div class="contentOne" v-for="it in Activitieslist" :key="it.id">
|
|
@@ -231,17 +167,6 @@
|
231
|
167
|
<div class="detail">
|
232
|
168
|
<p class="detailTitle">{{it.title}}</p>
|
233
|
169
|
<!-- <div class="detailBox">
|
234
|
|
-=======
|
235
|
|
- <div class="content">
|
236
|
|
- <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
|
237
|
|
- <div class="img">
|
238
|
|
- <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
|
239
|
|
- </div>
|
240
|
|
- <div class="detail">
|
241
|
|
- <p class="detailTitle">{{it.title}}</p>
|
242
|
|
- <!-- <div class="detailBox">
|
243
|
|
-
|
244
|
|
->>>>>>> .theirs
|
245
|
170
|
<div class="activityTime">
|
246
|
171
|
<p>
|
247
|
172
|
7月28日 08:30开始
|
|
@@ -251,12 +176,13 @@
|
251
|
176
|
<div class="people">
|
252
|
177
|
<p>100人已报名</p>
|
253
|
178
|
</div>
|
254
|
|
- </div>-->
|
255
|
|
- </div>
|
|
179
|
+ </div> -->
|
256
|
180
|
</div>
|
257
|
181
|
</div>
|
258
|
182
|
</div>
|
259
|
183
|
</div>
|
|
184
|
+
|
|
185
|
+ </div>
|
260
|
186
|
</div>
|
261
|
187
|
<!-- tab切换 -->
|
262
|
188
|
<div class="tabs">
|
|
@@ -273,19 +199,14 @@
|
273
|
199
|
|
274
|
200
|
<script>
|
275
|
201
|
import Swiper from "swiper";
|
276
|
|
-import {
|
277
|
|
- getHospitaldata,
|
278
|
|
- getArticlelist,
|
279
|
|
- getActivities,
|
280
|
|
- getDefalutNavigationData
|
281
|
|
-} from "@/api/micro/micro";
|
|
202
|
+import { getHospitaldata,getArticlelist,getActivities,getDefalutNavigationData } from '@/api/micro/micro'
|
282
|
203
|
export default {
|
283
|
204
|
data() {
|
284
|
205
|
return {
|
285
|
206
|
bannerList: [],
|
286
|
|
- patientModels: [],
|
287
|
|
- Articlelist: [],
|
288
|
|
- navigationdata: []
|
|
207
|
+ patientModels:[],
|
|
208
|
+ Articlelist:[],
|
|
209
|
+ navigationdata:[],
|
289
|
210
|
};
|
290
|
211
|
},
|
291
|
212
|
methods: {
|
|
@@ -304,110 +225,106 @@ export default {
|
304
|
225
|
slidesPerView: 2
|
305
|
226
|
});
|
306
|
227
|
},
|
307
|
|
- getHospitaldata(orgid) {
|
308
|
|
- getHospitaldata(orgid).then(response => {
|
309
|
|
- if (response.data.state == 1) {
|
310
|
|
- this.patientModels = response.data.data.patientModels;
|
311
|
|
- console.log("数据是什么", this.patientModels);
|
312
|
|
- }
|
313
|
|
- });
|
314
|
|
- },
|
315
|
|
- getArticlelist(orgid) {
|
316
|
|
- getArticlelist(orgid, this.Articlelist).then(response => {
|
317
|
|
- if (response.data.state == 1) {
|
318
|
|
- var articlelist = response.data.data.articlelists;
|
319
|
|
- this.Articlelist = response.data.data.articlelists;
|
320
|
|
- console.log("文章列表", this.Articlelist);
|
321
|
|
- }
|
322
|
|
- });
|
323
|
|
- },
|
324
|
|
- getActivities(orgid) {
|
325
|
|
- getActivities(orgid, this.Activitieslist).then(response => {
|
326
|
|
- if (response.data.state == 1) {
|
327
|
|
- var activity = response.data.data.activity;
|
328
|
|
- this.Activitieslist = response.data.data.activity;
|
329
|
|
- console.log("活动列表", activity);
|
330
|
|
- console.log(this.Activitieslist);
|
331
|
|
- }
|
332
|
|
- });
|
|
228
|
+ getHospitaldata(orgid){
|
|
229
|
+ getHospitaldata(orgid).then(response=>{
|
|
230
|
+ if(response.data.state == 1){
|
|
231
|
+ this.patientModels = response.data.data.patientModels;
|
|
232
|
+ console.log("数据是什么",this.patientModels)
|
|
233
|
+ }
|
|
234
|
+ })
|
333
|
235
|
},
|
334
|
|
- hispitalmore(id, orgid) {
|
335
|
|
- this.$router.push({
|
336
|
|
- path: "/hospitalIntroduction",
|
337
|
|
- query: {
|
338
|
|
- id: id,
|
339
|
|
- orgid,
|
340
|
|
- orgid
|
|
236
|
+ getArticlelist(orgid){
|
|
237
|
+ getArticlelist(orgid,this.Articlelist).then(response=>{
|
|
238
|
+ if(response.data.state ==1){
|
|
239
|
+ var articlelist = response.data.data.articlelists;
|
|
240
|
+ this.Articlelist = response.data.data.articlelists;
|
|
241
|
+ console.log("文章列表",this.Articlelist);
|
|
242
|
+ }
|
|
243
|
+ })
|
|
244
|
+ },
|
|
245
|
+ getActivities(orgid){
|
|
246
|
+ getActivities(orgid,this.Activitieslist).then(response=>{
|
|
247
|
+ if(response.data.state ==1){
|
|
248
|
+ var activity = response.data.data.activity;
|
|
249
|
+ this.Activitieslist = response.data.data.activity;
|
|
250
|
+ console.log("活动列表",activity);
|
|
251
|
+ console.log(this.Activitieslist)
|
341
|
252
|
}
|
342
|
|
- });
|
343
|
|
- },
|
344
|
|
-
|
345
|
|
- officemore(id, orgid) {
|
346
|
|
- this.$router.push({
|
347
|
|
- path: "/officeIntroduction",
|
348
|
|
- query: {
|
349
|
|
- id: id,
|
350
|
|
- orgid,
|
351
|
|
- orgid
|
352
|
|
- }
|
353
|
|
- });
|
354
|
|
- },
|
355
|
|
- docmore(id, orgid) {
|
356
|
|
- this.$router.push({
|
357
|
|
- path: "/medicalTeam",
|
358
|
|
- query: {
|
359
|
|
- id: id,
|
360
|
|
- orgid,
|
361
|
|
- orgid
|
362
|
|
- }
|
363
|
|
- });
|
364
|
|
- },
|
365
|
|
- articlemore(id, orgid) {
|
366
|
|
- this.$router.push({
|
367
|
|
- path: "/news",
|
368
|
|
- query: {
|
369
|
|
- id: id,
|
370
|
|
- orgid,
|
371
|
|
- orgid
|
372
|
|
- }
|
373
|
|
- });
|
374
|
|
- },
|
375
|
|
- Activitiesmore(id, orgid) {
|
376
|
|
- this.$router.push({
|
377
|
|
- path: "/activity",
|
378
|
|
- query: {
|
379
|
|
- id: id,
|
380
|
|
- orgid,
|
381
|
|
- orgid
|
382
|
|
- }
|
383
|
|
- });
|
384
|
|
- },
|
385
|
|
- getDefalutNavigationData(orgid) {
|
386
|
|
- getDefalutNavigationData(orgid).then(response => {
|
387
|
|
- if (response.data.state == 1) {
|
388
|
|
- var navigation = response.data.data.navigation;
|
389
|
|
- console.log("navigation是什么", navigation);
|
390
|
|
- this.navigationdata = navigation;
|
391
|
|
- }
|
392
|
|
- });
|
393
|
|
- }
|
|
253
|
+ })
|
|
254
|
+ },
|
|
255
|
+ hispitalmore(id,orgid){
|
|
256
|
+ this.$router.push({
|
|
257
|
+ path:'/hospitalIntroduction',
|
|
258
|
+ query:{
|
|
259
|
+ id:id,
|
|
260
|
+ orgid,orgid,
|
|
261
|
+ }
|
|
262
|
+ })
|
|
263
|
+ },
|
|
264
|
+
|
|
265
|
+ officemore(id,orgid){
|
|
266
|
+ this.$router.push({
|
|
267
|
+ path:'/officeIntroduction',
|
|
268
|
+ query:{
|
|
269
|
+ id:id,
|
|
270
|
+ orgid,orgid,
|
|
271
|
+ }
|
|
272
|
+ })
|
|
273
|
+ },
|
|
274
|
+ docmore(id,orgid){
|
|
275
|
+ this.$router.push({
|
|
276
|
+ path:'/medicalTeam',
|
|
277
|
+ query:{
|
|
278
|
+ id:id,
|
|
279
|
+ orgid,orgid,
|
|
280
|
+ }
|
|
281
|
+ })
|
|
282
|
+ },
|
|
283
|
+ articlemore(id,orgid){
|
|
284
|
+ this.$router.push({
|
|
285
|
+ path:'/news',
|
|
286
|
+ query:{
|
|
287
|
+ id:id,
|
|
288
|
+ orgid,orgid,
|
|
289
|
+ }
|
|
290
|
+ })
|
|
291
|
+ },
|
|
292
|
+ Activitiesmore(id,orgid){
|
|
293
|
+ this.$router.push({
|
|
294
|
+ path:'/activity',
|
|
295
|
+ query:{
|
|
296
|
+ id:id,
|
|
297
|
+ orgid,orgid,
|
|
298
|
+ }
|
|
299
|
+ })
|
|
300
|
+ },
|
|
301
|
+ getDefalutNavigationData(orgid){
|
|
302
|
+ getDefalutNavigationData(orgid).then(response=>{
|
|
303
|
+ if(response.data.state == 1){
|
|
304
|
+ var navigation = response.data.data.navigation;
|
|
305
|
+ console.log("navigation是什么",navigation)
|
|
306
|
+ this.navigationdata = navigation;
|
|
307
|
+ }
|
|
308
|
+ })
|
|
309
|
+ }
|
394
|
310
|
},
|
395
|
|
- created() {
|
396
|
|
- const orgid = this.$route.query.orgid;
|
397
|
|
- console.log("机构id是", orgid);
|
398
|
|
- this.getHospitaldata(orgid);
|
399
|
|
- this.getArticlelist(orgid);
|
400
|
|
- this.getActivities(orgid);
|
401
|
|
- this.getDefalutNavigationData(orgid);
|
|
311
|
+ created(){
|
|
312
|
+ const orgid = this.$route.query.orgid;
|
|
313
|
+ console.log("机构id是",orgid);
|
|
314
|
+ this.getHospitaldata(orgid);
|
|
315
|
+ this.getArticlelist(orgid);
|
|
316
|
+ this.getActivities(orgid);
|
|
317
|
+ this.getDefalutNavigationData(orgid);
|
402
|
318
|
},
|
403
|
319
|
mounted() {
|
404
|
320
|
this.initSwiper();
|
405
|
321
|
},
|
406
|
322
|
|
|
323
|
+
|
407
|
324
|
updated() {
|
408
|
325
|
this.initSwiper();
|
409
|
|
- this.$previewRefresh();
|
410
|
326
|
}
|
|
327
|
+
|
411
|
328
|
};
|
412
|
329
|
</script>
|
413
|
330
|
|
|
@@ -447,9 +364,9 @@ export default {
|
447
|
364
|
width: 100px;
|
448
|
365
|
height: 100px;
|
449
|
366
|
}
|
450
|
|
-.imgtwo {
|
|
367
|
+.imgtwo{
|
451
|
368
|
width: 100%;
|
452
|
|
- height: 100%;
|
|
369
|
+ height: 100%
|
453
|
370
|
}
|
454
|
371
|
.btnList {
|
455
|
372
|
display: flex;
|
|
@@ -553,28 +470,27 @@ export default {
|
553
|
470
|
font-size: 15px;
|
554
|
471
|
margin-top: 0.5rem;
|
555
|
472
|
width: 12.6875rem;
|
556
|
|
- height: 1rem;
|
557
|
|
- line-height: 1rem;
|
|
473
|
+ height: 1.0rem;
|
558
|
474
|
font-size: 0.9375rem;
|
559
|
475
|
font-weight: 600;
|
560
|
476
|
color: rgba(7, 18, 40, 1);
|
561
|
477
|
overflow: hidden;
|
562
|
478
|
text-overflow: ellipsis;
|
563
|
|
- display: -webkit-box;
|
|
479
|
+ display: -webkit-box;
|
564
|
480
|
-webkit-line-clamp: 1;
|
565
|
481
|
-webkit-box-orient: vertical;
|
566
|
482
|
}
|
567
|
483
|
.detailMessage {
|
568
|
484
|
margin-top: 0.25rem;
|
569
|
485
|
width: 13.25rem;
|
570
|
|
- height: 3.3rem;
|
|
486
|
+ height: 3.4rem;
|
571
|
487
|
font-size: 0.75rem;
|
572
|
488
|
font-weight: 400;
|
573
|
489
|
color: rgba(155, 155, 155, 1);
|
574
|
490
|
line-height: 1.125rem;
|
575
|
|
- overflow: hidden;
|
576
|
|
- text-overflow: ellipsis;
|
577
|
|
- display: -webkit-box;
|
|
491
|
+ overflow: hidden;
|
|
492
|
+ text-overflow: ellipsis;
|
|
493
|
+ display: -webkit-box;
|
578
|
494
|
-webkit-line-clamp: 1;
|
579
|
495
|
-webkit-box-orient: vertical;
|
580
|
496
|
// border: solid 1px red;
|
|
@@ -594,7 +510,6 @@ export default {
|
594
|
510
|
box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
|
595
|
511
|
border-radius: 16px;
|
596
|
512
|
padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
|
597
|
|
-<<<<<<< .mine
|
598
|
513
|
overflow: hidden;
|
599
|
514
|
text-overflow: ellipsis;
|
600
|
515
|
display: -webkit-box;
|
|
@@ -602,15 +517,6 @@ export default {
|
602
|
517
|
-webkit-box-orient: vertical;
|
603
|
518
|
// border: solid 1px red;
|
604
|
519
|
|
605
|
|
-=======
|
606
|
|
- overflow: hidden;
|
607
|
|
- text-overflow: ellipsis;
|
608
|
|
-
|
609
|
|
-
|
610
|
|
-
|
611
|
|
-
|
612
|
|
-
|
613
|
|
->>>>>>> .theirs
|
614
|
520
|
}
|
615
|
521
|
.commonImg {
|
616
|
522
|
width: 18.4375rem;
|
|
@@ -625,7 +531,8 @@ export default {
|
625
|
531
|
color: rgba(60, 60, 60, 1);
|
626
|
532
|
line-height: 1.375rem;
|
627
|
533
|
// border: solid 1px red;
|
628
|
|
-
|
|
534
|
+ overflow: hidden;
|
|
535
|
+ text-overflow: ellipsis;
|
629
|
536
|
display: -webkit-box;
|
630
|
537
|
-webkit-line-clamp: 8;
|
631
|
538
|
-webkit-box-orient: vertical;
|