hookehuyr

新增关于中国页面

1 <!-- 1 <!--
2 * @Date: 2024-10-17 11:13:44 2 * @Date: 2024-10-17 11:13:44
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-10-17 11:27:27 4 + * @LastEditTime: 2024-10-17 13:21:40
5 - * @FilePath: /hager/src/views/about/global.vue 5 + * @FilePath: /hager/src/views/about/china.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
8 <template> 8 <template>
9 - <div class="hager-about-global-page"> 9 + <div class="hager-about-china-page">
10 <hager-box> 10 <hager-box>
11 <div v-if="!is_xs" style="margin-top: 1.5rem;"> 11 <div v-if="!is_xs" style="margin-top: 1.5rem;">
12 <el-breadcrumb separator="/"> 12 <el-breadcrumb separator="/">
...@@ -15,15 +15,41 @@ ...@@ -15,15 +15,41 @@
15 </el-breadcrumb> 15 </el-breadcrumb>
16 </div> 16 </div>
17 </hager-box> 17 </hager-box>
18 + <hager-box>
19 + <el-row style="margin: 3rem 0;">
20 + <el-col :span="8">
21 + <div class="about-box">
22 + <div style="top: 50%; transform: translateY(50%);">
23 + <div class="title">
24 + <p class="c">海格电气在中国</p>
25 + <p class="e">Hager in China</p>
26 + </div>
27 + <div class="introduce" v-clamp="3">
28 + <p>唯有匠心,不负初心。<br/>专注为你,彼此成就!</p>
29 + </div>
30 + </div>
31 + </div>
32 + </el-col>
33 + <el-col :span="15">
34 + <div class="about-img"></div>
35 + </el-col>
36 + </el-row>
37 + <div class="about-content">
38 + <p>来自德国的海格电气,延承德系基因的匠心与专业,为全球住宅、酒店、医院、公共建筑、商业建筑、工业及能源领域,提供安全、稳定的电气设施与服务。坚持可持续发展,专注为你,构建更安全、更清洁、更愉悦的未来电气世界。</p>
39 + <p>秉承“以客户为中心”的服务理念,海格电气是你可信赖的合作伙伴。深入洞悉中国市场需求,定制化的电气解决方案,灵动合作、完善支持,助力行业合作伙伴增效发展。</p>
40 + <p>海格电气于1997 年进入中国市场,至今已在中国设立了3家工厂和32个销售办事处,通过覆盖全国的营销网络及高资质合作伙伴,为中国客户提供全球领先的解决方案和高效服务。</p>
41 + </div>
42 + </hager-box>
18 </div> 43 </div>
19 </template> 44 </template>
20 45
21 <script> 46 <script>
22 import mixin from 'common/mixin'; 47 import mixin from 'common/mixin';
23 import hagerBox from '@/components/common/hagerBox'; 48 import hagerBox from '@/components/common/hagerBox';
49 +import hagerH1 from '@/components/common/hagerH1.vue';
24 50
25 export default { 51 export default {
26 - components: { hagerBox }, 52 + components: { hagerBox, hagerH1 },
27 mixins: [mixin.init], 53 mixins: [mixin.init],
28 data () { 54 data () {
29 return { 55 return {
...@@ -40,7 +66,44 @@ export default { ...@@ -40,7 +66,44 @@ export default {
40 </script> 66 </script>
41 67
42 <style lang="less" scoped> 68 <style lang="less" scoped>
43 - .hager-about-global-page { 69 + .hager-about-china-page {
70 + .about-img {
71 + width: 100%;
72 + height: 30rem;
73 + background-repeat: no-repeat;
74 + background-size: cover;
75 + background-position: center;
76 + background-image: url(https://cdn.ipadbiz.cn/hager/img/about/g08@2x-1.png);
77 + }
78 + .about-box {
79 + background-color: #F7F7F7;
80 + position: relative; /* 父容器设置为相对定位 */
81 + padding: 2rem;
82 + height: 30rem; /* 让 .about-box 撑满父容器 */
83 + box-sizing: border-box;
84 + .title {
85 + font-weight: bold;
86 + .c {
87 + font-size: 2rem;
88 + color: @secondary-color;
89 + }
90 + .e {
91 + font-size: 1.5rem;
92 + color: @primary-color;
93 + }
94 + }
95 + .introduce {
96 + line-height: 1.75;
97 + margin-top: 1rem;
98 + }
99 + }
44 100
101 + .about-content {
102 + padding: 0 2rem 2rem;
103 + p {
104 + line-height: 2;
105 + margin-bottom: 1.5rem;
106 + }
107 + }
45 } 108 }
46 </style> 109 </style>
......