hookehuyr

联系我们自适应调整

1 <!-- 1 <!--
2 * @Date: 2024-10-18 09:31:05 2 * @Date: 2024-10-18 09:31:05
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-10-18 17:35:11 4 + * @LastEditTime: 2024-10-22 14:44:21
5 * @FilePath: /hager/src/views/concat.vue 5 * @FilePath: /hager/src/views/concat.vue
6 * @Description: 联系我们 6 * @Description: 联系我们
7 --> 7 -->
8 <template> 8 <template>
9 <div class="hager-concat-page"> 9 <div class="hager-concat-page">
10 - <div class="top-img"></div> 10 + <div :class="['top-img', is_xs ? 'xs' : '']"></div>
11 - <hager-box style="margin: 3rem 0;"> 11 + <hager-box class="box-wrapper xs">
12 - <el-row :gutter="0" style="margin-bottom: 1rem;"> 12 + <el-row v-if="!is_xs" :gutter="0" style="margin-bottom: 1rem;">
13 <el-col :span="16"> 13 <el-col :span="16">
14 <div class="img"></div> 14 <div class="img"></div>
15 </el-col> 15 </el-col>
...@@ -23,9 +23,19 @@ ...@@ -23,9 +23,19 @@
23 </div> 23 </div>
24 </el-col> 24 </el-col>
25 </el-row> 25 </el-row>
26 + <div v-else>
27 + <div class="headquarter-wrapper xs">
28 + <div class="info xs">
29 + <div class="title">中国总部</div>
30 + <div class="name" style="margin: 1rem;">座机</div>
31 + <div class="number">021-66986600</div>
32 + </div>
33 + </div>
34 + <div class="img xs"></div>
35 + </div>
26 <div> 36 <div>
27 - <div class="concat-area">全 国</div> 37 + <div :class="['concat-area', is_xs ? 'xs' : '']">全 国</div>
28 - <el-row :gutter="0"> 38 + <el-row v-if="!is_xs" :gutter="0">
29 <el-col :span="12"> 39 <el-col :span="12">
30 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;"> 40 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;">
31 <el-col :span="13" class="title"><span class="inner">LSM/智能化产品事业部</span></el-col> 41 <el-col :span="13" class="title"><span class="inner">LSM/智能化产品事业部</span></el-col>
...@@ -41,7 +51,20 @@ ...@@ -41,7 +51,20 @@
41 </el-row> 51 </el-row>
42 </el-col> 52 </el-col>
43 </el-row> 53 </el-row>
44 - <div class="concat-area">华 东</div> 54 + <div v-else class="xs-box">
55 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
56 + <el-col :span="13" class="title"><span class="inner xs">LSM/智能化产品事业部</span></el-col>
57 + <el-col :span="3" class="name outer"><p class="inner xs">贺先生</p></el-col>
58 + <el-col :span="8" class="number outer"><span class="inner xs">13817300169</span></el-col>
59 + </el-row>
60 + <el-row :gutter="0" style="padding: 1.5rem 0;">
61 + <el-col :span="13" class="title"><span class="inner xs">发电行业</span></el-col>
62 + <el-col :span="3" class="name outer"><p class="inner xs">许先生</p></el-col>
63 + <el-col :span="8" class="number outer"><span class="inner xs">13910422245</span></el-col>
64 + </el-row>
65 + </div>
66 + <div :class="['concat-area', is_xs ? 'xs' : '']">华 东</div>
67 + <div v-if="!is_xs">
45 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;"> 68 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
46 <el-col :span="12"> 69 <el-col :span="12">
47 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;"> 70 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;">
...@@ -90,7 +113,36 @@ ...@@ -90,7 +113,36 @@
90 </el-row> 113 </el-row>
91 </el-col> 114 </el-col>
92 </el-row> 115 </el-row>
93 - <div class="concat-area">华 南</div> 116 + </div>
117 + <div v-else class="xs-box">
118 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
119 + <el-col :span="13" class="title"><span class="inner xs">合肥</span></el-col>
120 + <el-col :span="3" class="name outer"><p class="inner xs">丁先生</p></el-col>
121 + <el-col :span="8" class="number outer"><span class="inner xs">15155181380</span></el-col>
122 + </el-row>
123 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
124 + <el-col :span="13" class="title"><span class="inner xs">南京 苏北 无锡 苏州</span></el-col>
125 + <el-col :span="3" class="name outer"><p class="inner xs">葛先生</p></el-col>
126 + <el-col :span="8" class="number outer"><span class="inner xs">18662188718</span></el-col>
127 + </el-row>
128 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
129 + <el-col :span="13" class="title"><span class="inner xs">上海</span></el-col>
130 + <el-col :span="3" class="name outer"><p class="inner xs">侯女士</p></el-col>
131 + <el-col :span="8" class="number outer"><span class="inner xs">18621185022</span></el-col>
132 + </el-row>
133 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
134 + <el-col :span="13" class="title"><span class="inner xs">杭州</span></el-col>
135 + <el-col :span="3" class="name outer"><p class="inner xs">谢先生</p></el-col>
136 + <el-col :span="8" class="number outer"><span class="inner xs">18657575776</span></el-col>
137 + </el-row>
138 + <el-row :gutter="0" style="padding: 1.5rem 0;">
139 + <el-col :span="13" class="title"><span class="inner xs">宁波</span></el-col>
140 + <el-col :span="3" class="name outer"><p class="inner xs">李女士</p></el-col>
141 + <el-col :span="8" class="number outer"><span class="inner xs">13819421866</span></el-col>
142 + </el-row>
143 + </div>
144 + <div :class="['concat-area', is_xs ? 'xs' : '']">华 南</div>
145 + <div v-if="!is_xs">
94 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;"> 146 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
95 <el-col :span="12"> 147 <el-col :span="12">
96 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;"> 148 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;">
...@@ -142,7 +194,39 @@ ...@@ -142,7 +194,39 @@
142 </el-row> 194 </el-row>
143 </el-col> 195 </el-col>
144 </el-row> 196 </el-row>
145 - <div class="concat-area">北 区</div> 197 + </div>
198 + <div v-else class="xs-box">
199 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
200 + <el-col :span="13" class="title"><p class="inner xs">广州 佛山 顺德 茂名 湛江 韶关 海南</p></el-col>
201 + <el-col :span="3" class="name outer"><p class="inner xs">座机</p></el-col>
202 + <el-col :span="8" class="number outer"><span class="inner xs">020-31650557</span></el-col>
203 + </el-row>
204 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
205 + <el-col :span="13" class="title" style="margin: 1.5rem 0;"><span class="inner xs">深圳 惠州</span></el-col>
206 + <el-col :span="3" class="name outer" style="margin: 1.5rem 0;"><p class="inner xs">座机</p></el-col>
207 + <el-col :span="8" class="number outer" style="margin-top: 1rem;">
208 + <p class="inner xs">0755-82559248</p>
209 + <p class="inner xs">020-31650557</p>
210 + </el-col>
211 + </el-row>
212 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
213 + <el-col :span="13" class="title"><span class="inner xs">珠海 东莞 中山</span></el-col>
214 + <el-col :span="3" class="name outer"><p class="inner xs">王先生</p></el-col>
215 + <el-col :span="8" class="number outer"><span class="inner xs">15900247733</span></el-col>
216 + </el-row>
217 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;padding: 1.5rem 0;">
218 + <el-col :span="13" class="title"><span class="inner xs">汕头 汕尾 潮州</span></el-col>
219 + <el-col :span="3" class="name outer"><p class="inner xs">陈先生</p></el-col>
220 + <el-col :span="8" class="number outer"><span class="inner xs">15817966395</span></el-col>
221 + </el-row>
222 + <el-row :gutter="0" style="padding: 1.5rem 0;">
223 + <el-col :span="13" class="title"><span class="inner xs">福建省</span></el-col>
224 + <el-col :span="3" class="name outer"><p class="inner xs">林先生</p></el-col>
225 + <el-col :span="8" class="number outer"><span class="inner xs">18650180767</span></el-col>
226 + </el-row>
227 + </div>
228 + <div :class="['concat-area', is_xs ? 'xs' : '']">北 区</div>
229 + <div v-if="!is_xs">
146 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;"> 230 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
147 <el-col :span="12" style="border-right: 1px solid #DADADA;"> 231 <el-col :span="12" style="border-right: 1px solid #DADADA;">
148 <el-row :gutter="0"> 232 <el-row :gutter="0">
...@@ -210,7 +294,49 @@ ...@@ -210,7 +294,49 @@
210 </el-row> 294 </el-row>
211 </el-col> 295 </el-col>
212 </el-row> 296 </el-row>
213 - <div class="concat-area">华 中</div> 297 + </div>
298 + <div v-else class="xs-box">
299 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
300 + <el-col :span="13" class="title" style="margin: 1.5rem 0;"><span class="inner xs">北京</span></el-col>
301 + <el-col :span="3" class="name outer" style="margin: 1.5rem 0;"><p class="inner xs">座机</p></el-col>
302 + <el-col :span="8" class="number outer" style="margin-top: 1rem;">
303 + <p class="inner xs">010-84535251</p>
304 + <p class="inner xs">010-84535112</p>
305 + </el-col>
306 + </el-row>
307 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;padding: 1.5rem 0;">
308 + <el-col :span="13" class="title"><p class="inner xs">京津 内蒙</p></el-col>
309 + <el-col :span="3" class="name outer"><p class="inner xs">孙先生</p></el-col>
310 + <el-col :span="8" class="number outer"><span class="inner xs">13911009923</span></el-col>
311 + </el-row>
312 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
313 + <el-col :span="13" class="title"><span class="inner xs">辽宁</span></el-col>
314 + <el-col :span="3" class="name outer"><p class="inner xs">马先生</p></el-col>
315 + <el-col :span="8" class="number outer"><span class="inner xs">18940112000</span></el-col>
316 + </el-row>
317 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;padding: 1.5rem 0;">
318 + <el-col :span="13" class="title"><span class="inner xs">吉林 黑龙江</span></el-col>
319 + <el-col :span="3" class="name outer"><p class="inner xs">郭女士</p></el-col>
320 + <el-col :span="8" class="number outer"><span class="inner xs">13394492511</span></el-col>
321 + </el-row>
322 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
323 + <el-col :span="13" class="title"><span class="inner xs">河北 山西</span></el-col>
324 + <el-col :span="3" class="name outer"><p class="inner xs">明女士</p></el-col>
325 + <el-col :span="8" class="number outer"><span class="inner xs">13832171806</span></el-col>
326 + </el-row>
327 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;padding: 1.5rem 0;">
328 + <el-col :span="13" class="title"><span class="inner xs">济南 烟台</span></el-col>
329 + <el-col :span="3" class="name outer"><p class="inner xs">张先生</p></el-col>
330 + <el-col :span="8" class="number outer"><span class="inner xs">13608967713</span></el-col>
331 + </el-row>
332 + <el-row :gutter="0" style="padding: 1.5rem 0;">
333 + <el-col :span="13" class="title"><span class="inner xs">青岛</span></el-col>
334 + <el-col :span="3" class="name outer"><p class="inner xs">岳先生</p></el-col>
335 + <el-col :span="8" class="number outer"><span class="inner xs">13608965895</span></el-col>
336 + </el-row>
337 + </div>
338 + <div :class="['concat-area', is_xs ? 'xs' : '']">华 中</div>
339 + <div v-if="!is_xs">
214 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;"> 340 <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;">
215 <el-col :span="12"> 341 <el-col :span="12">
216 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;"> 342 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;">
...@@ -243,8 +369,26 @@ ...@@ -243,8 +369,26 @@
243 </el-row> 369 </el-row>
244 </el-col> 370 </el-col>
245 </el-row> 371 </el-row>
246 - <div class="concat-area">西 南</div> 372 + </div>
247 - <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;"> 373 + <div v-else class="xs-box">
374 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA; padding: 1.5rem 0;">
375 + <el-col :span="13" class="title"><span class="inner xs">湖北</span></el-col>
376 + <el-col :span="3" class="name outer"><p class="inner xs">余先生</p></el-col>
377 + <el-col :span="8" class="number outer"><span class="inner xs">13607118550</span></el-col>
378 + </el-row>
379 + <el-row :gutter="0" style="border-bottom: 1px solid #DADADA;padding: 1.5rem 0;">
380 + <el-col :span="13" class="title"><span class="inner xs">湖南</span></el-col>
381 + <el-col :span="3" class="name outer"><p class="inner xs">祝先生</p></el-col>
382 + <el-col :span="8" class="number outer"><span class="inner xs">13507421625</span></el-col>
383 + </el-row>
384 + <el-row :gutter="0" style="padding: 1.5rem 0;">
385 + <el-col :span="13" class="title"><span class="inner xs">河南</span></el-col>
386 + <el-col :span="3" class="name outer"><p class="inner xs">座机</p></el-col>
387 + <el-col :span="8" class="number outer"><span class="inner xs">0731-84416348</span></el-col>
388 + </el-row>
389 + </div>
390 + <div :class="['concat-area', is_xs ? 'xs' : '']">西 南</div>
391 + <el-row v-if="!is_xs" :gutter="0" style="border-bottom: 1px solid #DADADA;">
248 <el-col :span="12"> 392 <el-col :span="12">
249 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;"> 393 <el-row :gutter="0" style="border-right: 1px solid #DADADA; padding: 1.5rem 0;">
250 <el-col :span="13" class="title"><span class="inner">四川 重庆 贵州 云南 西藏</span></el-col> 394 <el-col :span="13" class="title"><span class="inner">四川 重庆 贵州 云南 西藏</span></el-col>
...@@ -260,6 +404,13 @@ ...@@ -260,6 +404,13 @@
260 </el-row> 404 </el-row>
261 </el-col> 405 </el-col>
262 </el-row> 406 </el-row>
407 + <div v-else class="xs-box">
408 + <el-row :gutter="0" style="padding: 1.5rem 0;">
409 + <el-col :span="13" class="title"><span class="inner xs">四川 重庆 贵州 云南 西藏</span></el-col>
410 + <el-col :span="3" class="name outer"><p class="inner xs">梁先生</p></el-col>
411 + <el-col :span="8" class="number outer"><span class="inner xs">13637700633</span></el-col>
412 + </el-row>
413 + </div>
263 </div> 414 </div>
264 </hager-box> 415 </hager-box>
265 </div> 416 </div>
...@@ -289,20 +440,21 @@ export default { ...@@ -289,20 +440,21 @@ export default {
289 <style lang="less" scoped> 440 <style lang="less" scoped>
290 .hager-concat-page { 441 .hager-concat-page {
291 .top-img { 442 .top-img {
292 - height: 23rem; 443 + height: 22rem;
293 background-image: url(https://cdn.ipadbiz.cn/hager/banner/banner05.png); 444 background-image: url(https://cdn.ipadbiz.cn/hager/banner/banner05.png);
294 background-size: cover; 445 background-size: cover;
295 background-position: center; 446 background-position: center;
296 background-repeat: no-repeat; 447 background-repeat: no-repeat;
448 + &.xs {
449 + height: 12rem;
450 + }
297 } 451 }
298 452
299 - .img { 453 + .box-wrapper {
300 - width: 100%; 454 + margin: 3rem 0;
301 - height: 25rem; 455 + &.xs {
302 - background-image: url(https://cdn.ipadbiz.cn/hager/img/concat/l01.png); 456 + margin: 1rem 0;
303 - background-size: cover; 457 + }
304 - background-position: center;
305 - background-repeat: no-repeat;
306 } 458 }
307 459
308 .headquarter-wrapper { 460 .headquarter-wrapper {
...@@ -311,11 +463,18 @@ export default { ...@@ -311,11 +463,18 @@ export default {
311 justify-content: center; 463 justify-content: center;
312 height: 25rem; 464 height: 25rem;
313 background-color: #F7F7F7; 465 background-color: #F7F7F7;
466 + &.xs {
467 + height: auto;
468 + padding: 2rem 0;
469 + }
314 .info { 470 .info {
315 display: flex; 471 display: flex;
316 flex-direction: column; 472 flex-direction: column;
317 font-size: 1.5rem; 473 font-size: 1.5rem;
318 text-align: center; 474 text-align: center;
475 + &.xs {
476 + font-size: 1.25rem;
477 + }
319 } 478 }
320 } 479 }
321 480
...@@ -323,9 +482,10 @@ export default { ...@@ -323,9 +482,10 @@ export default {
323 color: @secondary-color; 482 color: @secondary-color;
324 font-weight: bold; 483 font-weight: bold;
325 .inner { 484 .inner {
326 - // margin-left: 1.5rem;
327 - // text-indent: 1.5rem;
328 padding-left: 1.5rem; 485 padding-left: 1.5rem;
486 + &.xs {
487 + padding-left: 0.5rem;
488 + }
329 } 489 }
330 } 490 }
331 491
...@@ -337,6 +497,9 @@ export default { ...@@ -337,6 +497,9 @@ export default {
337 } 497 }
338 .inner { 498 .inner {
339 text-align: center; 499 text-align: center;
500 + &.xs {
501 + text-align: center;
502 + }
340 } 503 }
341 } 504 }
342 505
...@@ -348,6 +511,21 @@ export default { ...@@ -348,6 +511,21 @@ export default {
348 } 511 }
349 .inner { 512 .inner {
350 margin-right: 1.5rem; 513 margin-right: 1.5rem;
514 + &.xs {
515 + margin-right: 0.5rem;
516 + }
517 + }
518 + }
519 +
520 + .img {
521 + width: 100%;
522 + height: 25rem;
523 + background-image: url(https://cdn.ipadbiz.cn/hager/img/concat/l01.png);
524 + background-size: cover;
525 + background-position: center;
526 + background-repeat: no-repeat;
527 + &.xs {
528 + height: 12rem;
351 } 529 }
352 } 530 }
353 531
...@@ -355,6 +533,14 @@ export default { ...@@ -355,6 +533,14 @@ export default {
355 background-color: #E3F1F7; 533 background-color: #E3F1F7;
356 padding: 1rem 1.5rem; 534 padding: 1rem 1.5rem;
357 font-weight: bold; 535 font-weight: bold;
536 + &.xs {
537 + margin-top: 1rem;
538 + padding-left: 1rem;
539 + }
540 + }
541 +
542 + .xs-box {
543 + font-size: 0.85rem;
358 } 544 }
359 } 545 }
360 </style> 546 </style>
......