|
@@ -1,32 +1,46 @@
|
1
|
1
|
<template>
|
2
|
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">电    话:</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>
|
|
3
|
+ <div class="focusImg">
|
|
4
|
+ <div class="swiper-container">
|
|
5
|
+ <div class="swiper-wrapper">
|
|
6
|
+ <div class="swiper-slide">
|
|
7
|
+ <img class="imgtwo" src="/static/images/banner.jpg" />
|
|
8
|
+ </div>
|
|
9
|
+ <div class="swiper-slide">
|
|
10
|
+ <img class="imgtwo" src="/static/images/img3.jpg" />
|
|
11
|
+ </div>
|
|
12
|
+ <div class="swiper-slide">
|
|
13
|
+ <img class="imgtwo" src="/static/images/home.jpg" />
|
|
14
|
+ </div>
|
|
15
|
+ </div>
|
|
16
|
+ <!-- 如果需要分页器 -->
|
|
17
|
+ <div class="swiper-pagination"></div>
|
18
|
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
|
|
- <!-- 联系我们页面 -->
|
29
|
|
- <div class="scroll" style="padding:15px 4%;">
|
|
19
|
+ </div>
|
|
20
|
+ <!-- <div class="detail"> -->
|
|
21
|
+ <div class="row one detail">
|
|
22
|
+ <p class="title">医院地址:</p>
|
|
23
|
+ <p class="msg">深圳市南山区学苑大道1001号南山智园A4栋9楼918</p>
|
|
24
|
+ </div>
|
|
25
|
+ <div class="row">
|
|
26
|
+ <p class="title">电    话:</p>
|
|
27
|
+ <p class="msg">0755-8548683</p>
|
|
28
|
+ </div>
|
|
29
|
+ <div class="row">
|
|
30
|
+ <p class="title">手机号码:</p>
|
|
31
|
+ <p class="msg">13612805443</p>
|
|
32
|
+ </div>
|
|
33
|
+ <div class="row">
|
|
34
|
+ <p class="title">工作时间:</p>
|
|
35
|
+ <p class="msg">15:00-18:00</p>
|
|
36
|
+ </div>
|
|
37
|
+ <div class="row one">
|
|
38
|
+ <p class="title">乘车方式:</p>
|
|
39
|
+ <p class="msg">乘1路或859路车至千峰路口站下车向南500米</p>
|
|
40
|
+ </div>
|
|
41
|
+ <!-- </div> -->
|
|
42
|
+ <!-- 联系我们页面 -->
|
|
43
|
+ <!-- <div class="scroll" style="padding:15px 4%;">
|
30
|
44
|
<div v-for="item in this.ordmodel" :key="item.id">
|
31
|
45
|
<div v-if="item.mode_type == 1" class="contractmodeone">
|
32
|
46
|
<mt-swipe :auto="4000" class="swipertwo">
|
|
@@ -56,176 +70,199 @@
|
56
|
70
|
<div><span>{{item.title}}: {{item.Rideway.ride_way}}</span></div>
|
57
|
71
|
</div>
|
58
|
72
|
</div>
|
59
|
|
- </div>
|
60
|
|
-
|
61
|
|
- </div>
|
|
73
|
+ </div>-->
|
|
74
|
+ </div>
|
62
|
75
|
</template>
|
63
|
76
|
<script>
|
64
|
|
- import Swiper from "swiper";
|
65
|
|
- import Vue from 'vue';
|
66
|
|
- import { Swipe, SwipeItem } from 'mint-ui';
|
67
|
|
- import 'mint-ui/lib/style.css'
|
68
|
|
- import { getOrderModel,getAllConnecWay } from "@/api/micro/micro"
|
|
77
|
+import Swiper from "swiper";
|
|
78
|
+import Vue from "vue";
|
|
79
|
+import { Swipe, SwipeItem } from "mint-ui";
|
|
80
|
+import "mint-ui/lib/style.css";
|
|
81
|
+import { getOrderModel, getAllConnecWay } from "@/api/micro/micro";
|
69
|
82
|
export default {
|
70
|
|
-
|
71
|
|
- data(){
|
72
|
|
- return{
|
73
|
|
- ordmodel:[],
|
74
|
|
- Connectways:[],
|
75
|
|
- }
|
|
83
|
+ data() {
|
|
84
|
+ return {
|
|
85
|
+ ordmodel: [],
|
|
86
|
+ Connectways: []
|
|
87
|
+ };
|
|
88
|
+ },
|
|
89
|
+ methods: {
|
|
90
|
+ initSwiper() {
|
|
91
|
+ var mySwiper1 = new Swiper(".swiper-container", {
|
|
92
|
+ loop: true, // 循环模式选项
|
|
93
|
+ // 如果需要分页器
|
|
94
|
+ pagination: {
|
|
95
|
+ el: ".swiper-pagination"
|
|
96
|
+ },
|
|
97
|
+ // autoplay: {
|
|
98
|
+ // disableOnInteraction: false
|
|
99
|
+ // }
|
|
100
|
+ autoplay: true
|
|
101
|
+ });
|
76
|
102
|
},
|
77
|
|
- methods:{
|
78
|
|
- getOrderModel(orgid){
|
79
|
|
- getOrderModel(orgid).then(response=>{
|
80
|
|
- if(response.data.state == 1){
|
81
|
|
- var ordmodel = response.data.data.ordmodel;
|
82
|
|
- console.log("ordmodel是什么",ordmodel)
|
83
|
|
- this.ordmodel = response.data.data.ordmodel;
|
84
|
|
- }
|
85
|
|
- })
|
86
|
|
- },
|
87
|
|
- getAllConnecWay(orgid){
|
88
|
|
- getAllConnecWay(orgid).then(response=>{
|
89
|
|
- if(response.data.state == 1){
|
90
|
|
- var connect = response.data.data.connect;
|
91
|
|
- this.Connectways = connect;
|
92
|
|
- }
|
93
|
|
- })
|
94
|
|
- },
|
95
|
|
- tallPhone(content){
|
96
|
|
- window.location.href = 'tel://'+content+'';
|
97
|
|
- }
|
|
103
|
+ getOrderModel(orgid) {
|
|
104
|
+ getOrderModel(orgid).then(response => {
|
|
105
|
+ if (response.data.state == 1) {
|
|
106
|
+ var ordmodel = response.data.data.ordmodel;
|
|
107
|
+ console.log("ordmodel是什么", ordmodel);
|
|
108
|
+ this.ordmodel = response.data.data.ordmodel;
|
|
109
|
+ }
|
|
110
|
+ });
|
98
|
111
|
},
|
99
|
|
- created(){
|
100
|
|
- const orgid = this.$route.query.orgid;
|
101
|
|
- console.log("联系我们orgid是多少",orgid)
|
102
|
|
- this.getOrderModel(orgid)
|
103
|
|
- this.getAllConnecWay(orgid)
|
|
112
|
+ getAllConnecWay(orgid) {
|
|
113
|
+ getAllConnecWay(orgid).then(response => {
|
|
114
|
+ if (response.data.state == 1) {
|
|
115
|
+ var connect = response.data.data.connect;
|
|
116
|
+ this.Connectways = connect;
|
|
117
|
+ }
|
|
118
|
+ });
|
104
|
119
|
},
|
105
|
|
-}
|
|
120
|
+ tallPhone(content) {
|
|
121
|
+ window.location.href = "tel://" + content + "";
|
|
122
|
+ }
|
|
123
|
+ },
|
|
124
|
+ created() {
|
|
125
|
+ const orgid = this.$route.query.orgid;
|
|
126
|
+ console.log("联系我们orgid是多少", orgid);
|
|
127
|
+ this.getOrderModel(orgid);
|
|
128
|
+ this.getAllConnecWay(orgid);
|
|
129
|
+ this.initSwiper();
|
|
130
|
+ },
|
|
131
|
+ updated() {
|
|
132
|
+ this.initSwiper();
|
|
133
|
+ }
|
|
134
|
+};
|
106
|
135
|
</script>
|
107
|
136
|
|
108
|
137
|
<style lang="scss" scoped>
|
109
|
|
-// .focusImg {
|
110
|
|
-// width: 23.4375rem;
|
111
|
|
-// height: 11.5625rem;
|
112
|
|
-// img {
|
113
|
|
-// width: 100%;
|
114
|
|
-// height: 100%;
|
115
|
|
-// }
|
116
|
|
-// }
|
117
|
|
-// .detail {
|
118
|
|
-// width: 21.125rem;
|
119
|
|
-// margin: 1.1875rem 1.25rem 0 1.25rem;
|
|
138
|
+.focusImg {
|
|
139
|
+ width: 23.4375rem;
|
|
140
|
+ height: 11.5625rem;
|
|
141
|
+ img {
|
|
142
|
+ width: 100%;
|
|
143
|
+ height: 100%;
|
|
144
|
+ }
|
|
145
|
+ .swiper-container {
|
|
146
|
+ height: 100%;
|
|
147
|
+ }
|
|
148
|
+}
|
120
|
149
|
|
121
|
|
-// .row {
|
122
|
|
-// font-size: 1rem;
|
123
|
|
-// font-weight: 600;
|
124
|
|
-// color: rgba(7, 18, 40, 1);
|
125
|
|
-// line-height: 2.375rem;
|
126
|
|
-// height: 2.375rem;
|
127
|
|
-// .title {
|
128
|
|
-// float: left;
|
129
|
|
-// }
|
130
|
|
-// .msg {
|
131
|
|
-// float: left;
|
132
|
|
-// width: 16rem;
|
133
|
|
-// }
|
134
|
|
-// }
|
135
|
|
-// .one {
|
136
|
|
-// height: 3rem;
|
137
|
|
-// line-height: 1.5rem;
|
138
|
|
-// }
|
139
|
|
-// }
|
|
150
|
+.space {
|
|
151
|
+ margin: 0 1.25rem;
|
|
152
|
+}
|
|
153
|
+.row {
|
|
154
|
+ font-size: 1rem;
|
|
155
|
+ font-weight: 600;
|
|
156
|
+ color: rgba(7, 18, 40, 1);
|
|
157
|
+ line-height: 2.375rem;
|
|
158
|
+ height: 2.375rem;
|
|
159
|
+ width: 21.125rem;
|
|
160
|
+ margin: 0 1.25rem;
|
|
161
|
+ .title {
|
|
162
|
+ float: left;
|
|
163
|
+ }
|
|
164
|
+ .msg {
|
|
165
|
+ float: left;
|
|
166
|
+ width: 16rem;
|
|
167
|
+ }
|
|
168
|
+}
|
|
169
|
+.one {
|
|
170
|
+ height: 3rem;
|
|
171
|
+ line-height: 1.5rem;
|
|
172
|
+}
|
|
173
|
+.detail {
|
|
174
|
+ width: 21.125rem;
|
|
175
|
+ margin: 1.1875rem 1.25rem 0 1.25rem;
|
|
176
|
+}
|
140
|
177
|
|
141
|
|
- .modeone{
|
142
|
|
- width: 100%;
|
143
|
|
- height: 220px;
|
144
|
|
- margin-bottom: 10px;
|
145
|
|
- /* border:solid 1px red; */
|
146
|
|
- }
|
|
178
|
+// .modeone {
|
|
179
|
+// width: 100%;
|
|
180
|
+// height: 220px;
|
|
181
|
+// margin-bottom: 10px;
|
|
182
|
+// /* border:solid 1px red; */
|
|
183
|
+// }
|
147
|
184
|
|
148
|
|
- .oldmodetwo{
|
149
|
|
- width: 300px;
|
150
|
|
- height: 100%;
|
151
|
|
- /* border: solid 1px red; */
|
152
|
|
- font-size: 14px;
|
153
|
|
- margin-bottom: 8px;
|
154
|
|
- font-size: 1rem;
|
155
|
|
- font-weight: 600;
|
156
|
|
- color: rgba(7, 18, 40, 1);
|
157
|
|
- line-height: 2.375rem;
|
158
|
|
- height: 2.375rem;
|
159
|
|
- }
|
|
185
|
+// .oldmodetwo {
|
|
186
|
+// width: 300px;
|
|
187
|
+// height: 100%;
|
|
188
|
+// /* border: solid 1px red; */
|
|
189
|
+// font-size: 14px;
|
|
190
|
+// margin-bottom: 8px;
|
|
191
|
+// font-size: 1rem;
|
|
192
|
+// font-weight: 600;
|
|
193
|
+// color: rgba(7, 18, 40, 1);
|
|
194
|
+// line-height: 2.375rem;
|
|
195
|
+// height: 2.375rem;
|
|
196
|
+// }
|
160
|
197
|
|
161
|
|
- .oldmodeone{
|
162
|
|
- width: 318px;
|
163
|
|
- min-height: 22px;
|
164
|
|
- /* border: solid 1px red; */
|
165
|
|
- margin-bottom: 8px;
|
166
|
|
- font-size: 1rem;
|
167
|
|
- font-weight: 600;
|
168
|
|
- color: rgba(7, 18, 40, 1);
|
169
|
|
- line-height: 2.375rem;
|
170
|
|
- height: 2.375rem;
|
171
|
|
- }
|
|
198
|
+// .oldmodeone {
|
|
199
|
+// width: 318px;
|
|
200
|
+// min-height: 22px;
|
|
201
|
+// /* border: solid 1px red; */
|
|
202
|
+// margin-bottom: 8px;
|
|
203
|
+// font-size: 1rem;
|
|
204
|
+// font-weight: 600;
|
|
205
|
+// color: rgba(7, 18, 40, 1);
|
|
206
|
+// line-height: 2.375rem;
|
|
207
|
+// height: 2.375rem;
|
|
208
|
+// }
|
172
|
209
|
|
173
|
|
- .oldmodesix{
|
174
|
|
- position: absolute;
|
175
|
|
- width: 50px;
|
176
|
|
- min-height: 20px;
|
177
|
|
- /* border: solid 1px blue; */
|
178
|
|
- margin-left: 200px;
|
179
|
|
- margin-top: -30px;
|
180
|
|
- // font-size: 1rem;
|
181
|
|
- // font-weight: 600;
|
182
|
|
- // color: rgba(7, 18, 40, 1);
|
183
|
|
- // line-height: 2.375rem;
|
184
|
|
- // height: 2.375rem;
|
185
|
|
- }
|
|
210
|
+// .oldmodesix {
|
|
211
|
+// position: absolute;
|
|
212
|
+// width: 50px;
|
|
213
|
+// min-height: 20px;
|
|
214
|
+// /* border: solid 1px blue; */
|
|
215
|
+// margin-left: 200px;
|
|
216
|
+// margin-top: -30px;
|
|
217
|
+// // font-size: 1rem;
|
|
218
|
+// // font-weight: 600;
|
|
219
|
+// // color: rgba(7, 18, 40, 1);
|
|
220
|
+// // line-height: 2.375rem;
|
|
221
|
+// // height: 2.375rem;
|
|
222
|
+// }
|
186
|
223
|
|
187
|
|
- .oldmodefive{
|
188
|
|
- width: 250px;
|
189
|
|
- min-height: 20px;
|
190
|
|
- /* border: solid 1px red; */
|
191
|
|
- }
|
|
224
|
+// .oldmodefive {
|
|
225
|
+// width: 250px;
|
|
226
|
+// min-height: 20px;
|
|
227
|
+// /* border: solid 1px red; */
|
|
228
|
+// }
|
192
|
229
|
|
193
|
|
- .oldmodefour{
|
194
|
|
- width: 300px;
|
195
|
|
- height: 30px;
|
196
|
|
- color: black;
|
197
|
|
- /* border:solid 1px red; */
|
198
|
|
- margin-bottom: 8px;
|
199
|
|
- font-size: 1rem;
|
200
|
|
- font-weight: 600;
|
201
|
|
- color: rgba(7, 18, 40, 1);
|
202
|
|
- line-height: 2.375rem;
|
203
|
|
- height: 2.375rem;
|
204
|
|
- }
|
|
230
|
+// .oldmodefour {
|
|
231
|
+// width: 300px;
|
|
232
|
+// height: 30px;
|
|
233
|
+// color: black;
|
|
234
|
+// /* border:solid 1px red; */
|
|
235
|
+// margin-bottom: 8px;
|
|
236
|
+// font-size: 1rem;
|
|
237
|
+// font-weight: 600;
|
|
238
|
+// color: rgba(7, 18, 40, 1);
|
|
239
|
+// line-height: 2.375rem;
|
|
240
|
+// height: 2.375rem;
|
|
241
|
+// }
|
205
|
242
|
|
206
|
|
- .oldmodethree{
|
207
|
|
- width: 300px;
|
208
|
|
- height: 100%;
|
209
|
|
- color: black;
|
210
|
|
- /* border:solid 1px red; */
|
211
|
|
- margin-bottom: 8px;
|
212
|
|
- font-size: 1rem;
|
213
|
|
- font-weight: 600;
|
214
|
|
- color: rgba(7, 18, 40, 1);
|
215
|
|
- line-height: 2.375rem;
|
216
|
|
- height: 2.375rem;
|
217
|
|
- }
|
218
|
|
- .contractmodeone{
|
219
|
|
- // width: 100%;
|
220
|
|
- // height: 200px;
|
221
|
|
- width: 100%;
|
222
|
|
- height: 11.5625rem;
|
223
|
|
- // border: solid 1px red
|
224
|
|
- }
|
225
|
|
- #wrappertwo{
|
226
|
|
- width: 40%;
|
227
|
|
- }
|
228
|
|
- #wrappert{
|
229
|
|
- width: 43%;
|
230
|
|
- }
|
|
243
|
+// .oldmodethree {
|
|
244
|
+// width: 300px;
|
|
245
|
+// height: 100%;
|
|
246
|
+// color: black;
|
|
247
|
+// /* border:solid 1px red; */
|
|
248
|
+// margin-bottom: 8px;
|
|
249
|
+// font-size: 1rem;
|
|
250
|
+// font-weight: 600;
|
|
251
|
+// color: rgba(7, 18, 40, 1);
|
|
252
|
+// line-height: 2.375rem;
|
|
253
|
+// height: 2.375rem;
|
|
254
|
+// }
|
|
255
|
+// .contractmodeone {
|
|
256
|
+// // width: 100%;
|
|
257
|
+// // height: 200px;
|
|
258
|
+// width: 100%;
|
|
259
|
+// height: 11.5625rem;
|
|
260
|
+// // border: solid 1px red
|
|
261
|
+// }
|
|
262
|
+// #wrappertwo {
|
|
263
|
+// width: 40%;
|
|
264
|
+// }
|
|
265
|
+// #wrappert {
|
|
266
|
+// width: 43%;
|
|
267
|
+// }
|
231
|
268
|
</style>
|