hookehuyr

✨ feat: 底部组件完善显示样式

1 <!-- 1 <!--
2 * @Date: 2024-09-26 13:42:22 2 * @Date: 2024-09-26 13:42:22
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-09-26 15:43:37 4 + * @LastEditTime: 2024-09-27 19:34:39
5 * @FilePath: /hager/src/components/common/hagerFooter.vue 5 * @FilePath: /hager/src/components/common/hagerFooter.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
8 <template> 8 <template>
9 <div class="hager-footer"> 9 <div class="hager-footer">
10 - <el-row class="hidden-xs-only"> 10 + <hager-box>
11 - <el-col :sm="2" :md="2" :lg="3" :xl="4">&nbsp;</el-col> 11 + <el-row :gutter="0" style="color: #FFF; margin: 2rem 0;">
12 - <el-col :sm="20" :md="20" :lg="18" :xl="16"> 12 + <el-col :span="14">
13 - <div style="display: flex; justify-content: space-between; color: #FFF;"> 13 + <el-row :gutter="0">
14 + <el-col :span="8">
15 + <div class="link-box">
16 + <div class="link-title">产品目录</div>
17 + <div class="link-info">
18 + <p>空气断路器</p>
19 + <p>塑壳断路器</p>
20 + <p>自动转换开关</p>
21 + <p>接触器及热过载继电器</p>
22 + <p>隔离开关</p>
23 + <p>配电箱</p>
24 + <p>终端配电</p>
25 + <p>Unimes开关柜</p>
26 + <p>Berker</p>
27 + <p>志系列</p>
28 + <p>KNX控制系统</p>
29 + <p>RCU客房控制系统</p>
30 + <p>Agardio数字化能源解决方案</p>
31 + </div>
32 + </div>
33 + </el-col>
34 + <el-col :span="8">
35 + <div class="link-box">
36 + <div class="link-title">解决方案</div>
37 + <div class="link-info">
38 + <p>住宅解决方案</p>
39 + <p>商建解决方案</p>
40 + <p>公建解决方案</p>
41 + <p>供电局解决方案</p>
42 + <p>发电解决方案</p>
43 + <p>石油石化解决方案</p>
44 + <p>冶金解决方案</p>
45 + <p>电子解决方案</p>
46 + <p>通信解决方案</p>
47 + <p>算力解决方案</p>
48 + <p>交通解决方案</p>
49 + <p>其它解决方案</p>
50 + </div>
51 + </div>
52 + </el-col>
53 + <el-col :span="8">
54 + <div class="link-box">
55 + <div class="link-title">企业</div>
56 + <div class="link-info">
57 + <p>海格全球</p>
58 + <p>海格电气在中国</p>
59 + <p>创新设计与用户体验</p>
60 + <p>生产研发与服务</p>
61 + <p>可持续发展的企业文化</p>
62 + <p>荣誉展示</p>
63 + </div>
64 + </div>
65 + </el-col>
66 + </el-row>
67 + </el-col>
68 + <el-col :span="10">
14 <div> 69 <div>
15 - <div>产品目录</div> 70 + <div class="link-box" style="margin-bottom: 2rem;">
16 - <div>空气短路器</div> 71 + <div class="link-title">海格电气在中国</div>
17 - <div>空气短路器</div> 72 + <div class="link-info">
18 - <div>空气短路器</div> 73 + <div>来自德国的海格电气,延承德系基因的匠心与专业,为全球住宅、酒店、医院、公共建筑、商业建筑、工业及能源领域,提供安全、稳定的电气设施与服务。坚持可持续发展,专注为你,构建更安全、更清洁、更愉悦的未来电气世界。</div>
74 + </div>
75 + </div>
76 + <div class="link-box">
77 + <div class="link-title">联系我们</div>
78 + <div class="link-info link-contact">
79 + <p>海格电气中国总部</p>
80 + <p>上海市静安区山西北路99号苏河湾中心21层01、02单元</p>
81 + <p>粤ICP备2021117768号-3</p>
82 + </div>
83 + </div>
84 + <div style="margin-top: 2rem;">
85 + <el-image style="width: 3rem; height: 3rem;" src="https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg" fit="fit"></el-image>
86 + </div>
19 </div> 87 </div>
20 - <div> 88 + </el-col>
21 - <div>解决方案</div> 89 + </el-row>
22 - <div>住宅解决方案</div> 90 + </hager-box>
23 - <div>住宅解决方案</div>
24 - <div>住宅解决方案</div>
25 - </div>
26 - <div>
27 - <div>企业</div>
28 - <div>海格全球</div>
29 - <div>海格全球</div>
30 - <div>海格全球</div>
31 - </div>
32 - <div>
33 - <div>海格电气在中国</div>
34 - <div>联系我们</div>
35 - <div>图标</div>
36 - </div>
37 - </div>
38 - </el-col>
39 - <el-col :sm="2" :md="2" :lg="3" :xl="4">&nbsp;</el-col>
40 - </el-row>
41 </div> 91 </div>
42 </template> 92 </template>
43 93
44 <script> 94 <script>
45 import mixin from 'common/mixin'; 95 import mixin from 'common/mixin';
96 +import hagerBox from '@/components/common/hagerBox';
46 97
47 export default { 98 export default {
99 + components: { hagerBox },
48 mixins: [mixin.init], 100 mixins: [mixin.init],
49 data () { 101 data () {
50 return { 102 return {
...@@ -63,5 +115,36 @@ export default { ...@@ -63,5 +115,36 @@ export default {
63 <style lang="less" scoped> 115 <style lang="less" scoped>
64 .hager-footer { 116 .hager-footer {
65 background-color: #414141; 117 background-color: #414141;
118 + .link-box {
119 + .link-title {
120 + font-size: 1.15rem;
121 + font-weight: 600;
122 + color: #FFF;
123 + margin-bottom: 0.5rem;
124 + }
125 + .link-info {
126 + font-size: 0.75rem;
127 + color: #FFF;
128 + line-height: 2;
129 + display: flex;
130 + flex-direction: column;
131 + p {
132 + display: inline-block;
133 + &:hover {
134 + text-decoration: underline;
135 + cursor: pointer;
136 + }
137 + }
138 + &.link-contact {
139 + p {
140 + color: #7a98c7;
141 + &:hover {
142 + text-decoration: underline;
143 + cursor: pointer;
144 + }
145 + }
146 + }
147 + }
148 + }
66 } 149 }
67 </style> 150 </style>
......