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 16:22:51
5 - * @FilePath: /hager/src/views/about/global.vue 5 + * @FilePath: /hager/src/views/about/development.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
8 <template> 8 <template>
9 - <div class="hager-about-global-page"> 9 + <div class="hager-about-development-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: 30%; transform: translateY(30%);">
23 + <div class="title">
24 + <p class="c">可持续发展</p>
25 + <p class="e">Sustainable<br/>Development</p>
26 + </div>
27 + <div class="introduce">
28 + <p style="margin: 1.5rem 0 1rem;">“关注人们的需求,关心我们的环境,顺乎道德,合乎责任。”</p>
29 + <p>——Daniel Hager 先生</p>
30 + <p>海格集团监事会主席</p>
31 + </div>
32 + </div>
33 + </div>
34 + </el-col>
35 + <el-col :span="15">
36 + <div class="about-img"></div>
37 + </el-col>
38 + </el-row>
39 + <div class="about-content">
40 + <p>作为一家有着明确价值观的家族企业,我们今天就行动起来,以确保未来成功。海格电气一直持续不断地投资我们的员工及其技能开发和培训、优化我们的生态平衡、开发更节能的流程和解决方案。可持续发展是我们获得长期成功的关键。我们所做的每件事都秉承可持续发展的原则,因此我们将整个可持续发展的概念融合成为统一的理念:E3 。E3 是一个广泛的理念,用于指导我们更好地使用地球上有限的资源。三个E分别代表道德(Ethics)、环境(Environment)和能源(Energy)。</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-development-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/g20@2x.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>
......