Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-22 16:48:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
02527fc29527e36e68538380f3366f62bb772c3d
02527fc2
1 parent
30fe48f2
样式调整
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
src/views/about/china.vue
src/views/about/development.vue
src/views/about/global.vue
src/views/news/detail.vue
src/views/about/china.vue
View file @
02527fc
<!--
* @Date: 2024-10-17 11:13:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-22 1
1:48:50
* @LastEditTime: 2024-10-22 1
6:22:44
* @FilePath: /hager/src/views/about/china.vue
* @Description: 关于海格-海格在中国
-->
...
...
@@ -30,7 +30,7 @@
</div>
</div>
</el-col>
<el-col :span="1
5
">
<el-col :span="1
6
">
<div class="about-img"></div>
</el-col>
</el-row>
...
...
src/views/about/development.vue
View file @
02527fc
<!--
* @Date: 2024-10-17 11:13:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-22 1
1:49:53
* @LastEditTime: 2024-10-22 1
6:22:39
* @FilePath: /hager/src/views/about/development.vue
* @Description: 关于海格-可持续发展
-->
...
...
@@ -32,7 +32,7 @@
</div>
</div>
</el-col>
<el-col :span="1
5
">
<el-col :span="1
6
">
<div class="about-img"></div>
</el-col>
</el-row>
...
...
src/views/about/global.vue
View file @
02527fc
<!--
* @Date: 2024-10-17 11:13:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-22 1
1:33:06
* @LastEditTime: 2024-10-22 1
6:22:33
* @FilePath: /hager/src/views/about/global.vue
* @Description: 文件描述
-->
...
...
@@ -28,7 +28,7 @@
</div>
</div>
</el-col>
<el-col :span="1
5
">
<el-col :span="1
6
">
<div class="about-img"></div>
</el-col>
</el-row>
...
...
src/views/news/detail.vue
View file @
02527fc
...
...
@@ -7,7 +7,7 @@
-->
<template>
<div class="hager-detail-page">
<hager-box
class="top-img" :style="{ height: '25rem',
backgroundImage: 'url(https://cdn.ipadbiz.cn/hager/banner/banner06.png)' }">
<hager-box
:class="['top-img', is_xs ? 'xs' : '']" :style="{
backgroundImage: 'url(https://cdn.ipadbiz.cn/hager/banner/banner06.png)' }">
<div v-if="!is_xs" class="banner-text-wrapper top-center">
<div class="text">
<p class="title" style="margin-bottom: 0;">新闻中心</p>
...
...
@@ -56,6 +56,10 @@ export default {
background-size: cover;
background-position: center;
position: relative;
height: 25rem;
&.xs {
height: 12rem;
}
.top-center {
position: absolute;
transform: translateY(50%); /* 垂直与水平居中 */
...
...
Please
register
or
login
to post a comment