|
@@ -1,7 +1,7 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="page_home">
|
3
|
|
- <!-- <iframe :src = this.customUrl width="100%" height="100%" marginwidth="0" frameborder="no" scrolling="no"></iframe> -->
|
4
|
|
- <div v-for="item in this.ordmodel" :key="item.id">
|
|
3
|
+
|
|
4
|
+ <div v-for="item in this.ordmodel" :key="item.id" class="modeone">
|
5
|
5
|
<div class="focusImg" v-if="item.mode_type == 1">
|
6
|
6
|
<div class="swiper-container">
|
7
|
7
|
<div class="swiper-wrapper">
|
|
@@ -9,12 +9,12 @@
|
9
|
9
|
<img class="imgtwo" :src="it.images" />
|
10
|
10
|
</div>
|
11
|
11
|
</div>
|
12
|
|
- <!-- 如果需要分页器 -->
|
13
|
|
- <div class="swiper-pagination"></div>
|
|
12
|
+
|
|
13
|
+ <!-- <div class="swiper-pagination"></div> -->
|
14
|
14
|
</div>
|
15
|
15
|
</div>
|
16
|
|
- <!-- <div class="detail"> -->
|
17
|
|
- <div class="row one detail" v-if="item.mode_type == 2">
|
|
16
|
+
|
|
17
|
+ <div class="row" v-if="item.mode_type == 2">
|
18
|
18
|
<p class="title">{{item.title}}:</p>
|
19
|
19
|
<p class="msg">{{item.Hosaddress.address}}</p>
|
20
|
20
|
</div>
|
|
@@ -29,7 +29,7 @@
|
29
|
29
|
<p class="title">{{item.title}}:</p>
|
30
|
30
|
<p class="msg">{{item.Worktime.worktime}}</p>
|
31
|
31
|
</div>
|
32
|
|
- <div class="row one" v-if="item.mode_type == 5">
|
|
32
|
+ <div class="row" v-if="item.mode_type == 5">
|
33
|
33
|
<p class="title">{{item.title}}:</p>
|
34
|
34
|
<p class="msg">{{item.Rideway.ride_way}}</p>
|
35
|
35
|
</div>
|
|
@@ -160,26 +160,6 @@ updated() {
|
160
|
160
|
|
161
|
161
|
<style lang="scss" scoped>
|
162
|
162
|
@import "../../assets/styles/mixin.scss";
|
163
|
|
-
|
164
|
|
-.page_home {
|
165
|
|
- overflow: hidden;
|
166
|
|
- display: flex;
|
167
|
|
- flex-direction: column;
|
168
|
|
- height: 100%;
|
169
|
|
- > div:first-child {
|
170
|
|
- flex: 1;
|
171
|
|
- overflow: auto;
|
172
|
|
- }
|
173
|
|
- > div:first-child::-webkit-scrollbar {
|
174
|
|
- width: 0;
|
175
|
|
- }
|
176
|
|
- // border:solid 1px red;
|
177
|
|
-}
|
178
|
|
-// .bugone{
|
179
|
|
-// border: solid 1px red;
|
180
|
|
-// }
|
181
|
|
-
|
182
|
|
-
|
183
|
163
|
.tabs {
|
184
|
164
|
@include border-top;
|
185
|
165
|
width: 100%;
|
|
@@ -211,8 +191,20 @@ updated() {
|
211
|
191
|
.page_home {
|
212
|
192
|
overflow: hidden;
|
213
|
193
|
height: 100%;
|
|
194
|
+ display:flex;
|
|
195
|
+ flex-direction: column;
|
|
196
|
+ >div:first-child{
|
|
197
|
+ flex: 1;
|
|
198
|
+ overflow: auto;
|
|
199
|
+ }
|
214
|
200
|
> div:nth-of-type(2) {
|
215
|
|
- min-height: 5.125rem;
|
|
201
|
+ min-height: 3.0rem;
|
|
202
|
+ }
|
|
203
|
+ > div:nth-of-type(3) {
|
|
204
|
+ min-height: 3.125rem;
|
|
205
|
+ }
|
|
206
|
+ > div:nth-of-type(4) {
|
|
207
|
+ min-height: 2.9rem;
|
216
|
208
|
}
|
217
|
209
|
.focusImg {
|
218
|
210
|
width: 23.4375rem;
|
|
@@ -238,7 +230,6 @@ updated() {
|
238
|
230
|
width: 21.125rem;
|
239
|
231
|
margin: 0 1.25rem;
|
240
|
232
|
// border: 1px solid #000;
|
241
|
|
-
|
242
|
233
|
.title {
|
243
|
234
|
float: left;
|
244
|
235
|
width: 5rem;
|
|
@@ -254,13 +245,18 @@ updated() {
|
254
|
245
|
}
|
255
|
246
|
}
|
256
|
247
|
.one {
|
257
|
|
- min-height: 2.375rem;
|
|
248
|
+ min-height: 1.0rem;
|
258
|
249
|
// line-height: 3rem;
|
259
|
250
|
}
|
260
|
251
|
.detail {
|
261
|
252
|
width: 21.125rem;
|
262
|
253
|
margin: 1.1875rem 1.25rem 0 1.25rem;
|
|
254
|
+
|
263
|
255
|
}
|
264
|
256
|
}
|
|
257
|
+.modeone{
|
|
258
|
+ min-height: 210px;
|
|
259
|
+ // border:solid 1px red;
|
|
260
|
+}
|
265
|
261
|
</style>
|
266
|
262
|
|