|
@@ -1,36 +1,37 @@
|
1
|
1
|
<template>
|
2
|
|
- <div>
|
3
|
|
- <div v-for="item in this.ordmodel" :key="item.id" >
|
4
|
|
- <div class="focusImg" v-if="item.mode_type == 1">
|
5
|
|
- <div class="swiper-container">
|
6
|
|
- <div class="swiper-wrapper">
|
7
|
|
- <div class="swiper-slide" v-for="it in item.Conrotation" :key="it.id">
|
8
|
|
- <img class="imgtwo" :src="it.images"/>
|
|
2
|
+ <div class="page_contact">
|
|
3
|
+ <div v-for="item in this.ordmodel" :key="item.id">
|
|
4
|
+ <div class="focusImg" v-if="item.mode_type == 1">
|
|
5
|
+ <div class="swiper-container">
|
|
6
|
+ <div class="swiper-wrapper">
|
|
7
|
+ <div class="swiper-slide" v-for="it in item.Conrotation" :key="it.id">
|
|
8
|
+ <img class="imgtwo" :src="it.images" />
|
|
9
|
+ </div>
|
9
|
10
|
</div>
|
|
11
|
+ <!-- 如果需要分页器 -->
|
|
12
|
+ <div class="swiper-pagination"></div>
|
10
|
13
|
</div>
|
11
|
|
- <!-- 如果需要分页器 -->
|
12
|
|
- <div class="swiper-pagination"></div>
|
13
|
14
|
</div>
|
14
|
|
- </div>
|
15
|
|
- <!-- <div class="detail"> -->
|
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>
|
19
|
|
- </div>
|
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>
|
25
|
|
- </div>
|
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>
|
29
|
|
- </div>
|
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>
|
33
|
|
- </div>
|
|
15
|
+ <!-- <div class="detail"> -->
|
|
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>
|
|
19
|
+ </div>
|
|
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>
|
|
24
|
+ <br />
|
|
25
|
+ </div>
|
|
26
|
+ </div>
|
|
27
|
+ <div class="row" v-if="item.mode_type == 4">
|
|
28
|
+ <p class="title">{{item.title}}:</p>
|
|
29
|
+ <p class="msg">{{item.Worktime.worktime}}</p>
|
|
30
|
+ </div>
|
|
31
|
+ <div class="row one" v-if="item.mode_type == 5">
|
|
32
|
+ <p class="title">{{item.title}}:</p>
|
|
33
|
+ <p class="msg">{{item.Rideway.ride_way}}</p>
|
|
34
|
+ </div>
|
34
|
35
|
</div>
|
35
|
36
|
</div>
|
36
|
37
|
</template>
|
|
@@ -95,44 +96,58 @@ export default {
|
95
|
96
|
</script>
|
96
|
97
|
|
97
|
98
|
<style lang="scss" scoped>
|
98
|
|
-.focusImg {
|
99
|
|
- width: 23.4375rem;
|
100
|
|
- height: 11.5625rem;
|
101
|
|
- img {
|
102
|
|
- width: 100%;
|
103
|
|
- height: 100%;
|
|
99
|
+.page_contact {
|
|
100
|
+ overflow: hidden;
|
|
101
|
+ height: 100%;
|
|
102
|
+ > div:nth-of-type(2) {
|
|
103
|
+ min-height: 6.875rem;
|
|
104
|
+ }
|
|
105
|
+ .focusImg {
|
|
106
|
+ width: 23.4375rem;
|
|
107
|
+ height: 11.5625rem;
|
|
108
|
+ img {
|
|
109
|
+ width: 100%;
|
|
110
|
+ height: 100%;
|
|
111
|
+ }
|
|
112
|
+ .swiper-container {
|
|
113
|
+ height: 100%;
|
|
114
|
+ }
|
104
|
115
|
}
|
105
|
|
- .swiper-container {
|
106
|
|
- height: 100%;
|
|
116
|
+
|
|
117
|
+ .space {
|
|
118
|
+ margin: 0 1.25rem;
|
107
|
119
|
}
|
108
|
|
-}
|
|
120
|
+ .row {
|
|
121
|
+ font-size: 1rem;
|
|
122
|
+ font-weight: 600;
|
|
123
|
+ color: rgba(7, 18, 40, 1);
|
|
124
|
+ line-height: 2.375rem;
|
|
125
|
+ min-height: 2.375rem;
|
|
126
|
+ width: 21.125rem;
|
|
127
|
+ margin: 0 1.25rem;
|
|
128
|
+ // border: 1px solid #000;
|
109
|
129
|
|
110
|
|
-.space {
|
111
|
|
- margin: 0 1.25rem;
|
112
|
|
-}
|
113
|
|
-.row {
|
114
|
|
- font-size: 1rem;
|
115
|
|
- font-weight: 600;
|
116
|
|
- color: rgba(7, 18, 40, 1);
|
117
|
|
- line-height: 2.375rem;
|
118
|
|
- height: 2.375rem;
|
119
|
|
- width: 21.125rem;
|
120
|
|
- margin: 0 1.25rem;
|
121
|
|
- .title {
|
122
|
|
- float: left;
|
|
130
|
+ .title {
|
|
131
|
+ float: left;
|
|
132
|
+ width: 5rem;
|
|
133
|
+ }
|
|
134
|
+ .msg {
|
|
135
|
+ float: left;
|
|
136
|
+ width: 16rem;
|
|
137
|
+ line-height: 2.375rem;
|
|
138
|
+ min-height: 2.375rem;
|
|
139
|
+ word-wrap: break-word;
|
|
140
|
+ word-break: break-all;
|
|
141
|
+ // overflow-x: hidden;
|
|
142
|
+ }
|
123
|
143
|
}
|
124
|
|
- .msg {
|
125
|
|
- float: left;
|
126
|
|
- width: 16rem;
|
|
144
|
+ .one {
|
|
145
|
+ min-height: 2.375rem;
|
|
146
|
+ // line-height: 3rem;
|
|
147
|
+ }
|
|
148
|
+ .detail {
|
|
149
|
+ width: 21.125rem;
|
|
150
|
+ margin: 1.1875rem 1.25rem 0 1.25rem;
|
127
|
151
|
}
|
128
|
152
|
}
|
129
|
|
-.one {
|
130
|
|
- height: 3rem;
|
131
|
|
- line-height: 1.5rem;
|
132
|
|
-}
|
133
|
|
-.detail {
|
134
|
|
- width: 21.125rem;
|
135
|
|
- margin: 1.1875rem 1.25rem 0 1.25rem;
|
136
|
|
-}
|
137
|
|
-
|
138
|
153
|
</style>
|