Browse Source

微网站

xiaoming_global 5 years ago
parent
commit
e5e7a63f4b
1 changed files with 18 additions and 147 deletions
  1. 18 147
      src/scrm_pages/contact/contact.vue

+ 18 - 147
src/scrm_pages/contact/contact.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
-    <div class="focusImg">
3
+    <div v-for="item in this.ordmodel" :key="item.id" >
4
+    <div class="focusImg" v-if="item.mode_type == 1">
4
       <div class="swiper-container">
5
       <div class="swiper-container">
5
         <div class="swiper-wrapper">
6
         <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" />
7
+          <div class="swiper-slide"  v-for="it in item.Conrotation" :key="it.id">
8
+            <img class="imgtwo" :src="it.images"/>
14
           </div>
9
           </div>
15
         </div>
10
         </div>
16
         <!-- 如果需要分页器 -->
11
         <!-- 如果需要分页器 -->
18
       </div>
13
       </div>
19
     </div>
14
     </div>
20
     <!-- <div class="detail"> -->
15
     <!-- <div class="detail"> -->
21
-    <div class="row one detail">
22
-      <p class="title">医院地址:</p>
23
-      <p class="msg">深圳市南山区学苑大道1001号南山智园A4栋9楼918</p>
16
+    <div class="row one detail" v-if="item.mode_type == 2">
17
+      <p class="title">{{item.title}}:</p>
18
+      <p class="msg">{{item.Hosaddress.address}}</p>
24
     </div>
19
     </div>
25
-    <div class="row">
26
-      <p class="title">电&ensp;&ensp;&ensp;&ensp;话:</p>
27
-      <p class="msg">0755-8548683</p>
20
+    <div class="row" v-if="item.mode_type == 3">
21
+      <div v-for="it in Connectways" :key="it.id">
22
+        <p class="title">{{it.title}}:</p>
23
+        <p class="msg">{{it.content}}</p><br>
24
+       </div>
28
     </div>
25
     </div>
29
-    <div class="row">
30
-      <p class="title">手机号码:</p>
31
-      <p class="msg">13612805443</p>
26
+    <div class="row" v-if="item.mode_type == 4">
27
+      <p class="title">{{item.title}}:</p>
28
+      <p class="msg">{{item.Worktime.worktime}}</p>
32
     </div>
29
     </div>
33
-    <div class="row">
34
-      <p class="title">工作时间:</p>
35
-      <p class="msg">15:00-18:00</p>
30
+    <div class="row one" v-if="item.mode_type == 5">
31
+      <p class="title">{{item.title}}:</p>
32
+      <p class="msg">{{item.Rideway.ride_way}}</p>
36
     </div>
33
     </div>
37
-    <div class="row one">
38
-      <p class="title">乘车方式:</p>
39
-      <p class="msg">乘1路或859路车至千峰路口站下车向南500米</p>
40
     </div>
34
     </div>
41
-    <!-- </div> -->
42
-    <!-- 联系我们页面 -->
43
-    <!-- <div class="scroll"  style="padding:15px 4%;">
44
-              <div v-for="item in this.ordmodel" :key="item.id">
45
-                     <div v-if="item.mode_type == 1" class="contractmodeone">
46
-                        <mt-swipe :auto="4000" class="swipertwo">
47
-                             <mt-swipe-item  v-for="it in item.Conrotation" :key="it.id">
48
-                                    <img :src="it.images" style="width:100%;height:100%">
49
-                             </mt-swipe-item>
50
-                        </mt-swipe>
51
-                     </div>
52
-
53
-                     <div v-if="item.mode_type == 2" class="oldmodetwo">
54
-                          <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Hosaddress.address}}</span></div>
55
-                     </div>
56
-                     <div  v-if="item.mode_type == 3">
57
-                            <div class="oldmodeone" v-for="it in Connectways" :key="it.id">
58
-                                  <div class="oldmodefive">
59
-                                      <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span>
60
-                                 </div>
61
-                             <div class="oldmodesix" @click="tallPhone(it.content)">
62
-                                  <img src="static/images/u318.png" style="width 100%;height:100%">
63
-                             </div>
64
-                            </div>
65
-                     </div>
66
-                      <div class="oldmodefour" v-if="item.mode_type == 4">
67
-                          <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Worktime.worktime}}</span></div>
68
-                          </div>
69
-                             <div class="oldmodethree" v-if="item.mode_type == 5">
70
-                               <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Rideway.ride_way}}</span></div>
71
-                             </div>
72
-                        </div>
73
-    </div>-->
74
   </div>
35
   </div>
75
 </template>
36
 </template>
76
 <script>
37
 <script>
175
   margin: 1.1875rem 1.25rem 0 1.25rem;
136
   margin: 1.1875rem 1.25rem 0 1.25rem;
176
 }
137
 }
177
 
138
 
178
-// .modeone {
179
-//   width: 100%;
180
-//   height: 220px;
181
-//   margin-bottom: 10px;
182
-//   /* border:solid 1px red; */
183
-// }
184
-
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
-// }
197
-
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
-// }
209
-
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
-// }
223
-
224
-// .oldmodefive {
225
-//   width: 250px;
226
-//   min-height: 20px;
227
-//   /* border: solid 1px red; */
228
-// }
229
-
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
-// }
242
-
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
-// }
268
 </style>
139
 </style>