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-09-27 20:35:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c5393063e8491ec4b2d608c572577adb7c78de4
8c539306
1 parent
a29a1b93
🐞 fix: 底部组件随屏幕高度变化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
src/App.vue
src/components/common/hagerFooter.vue
src/App.vue
View file @
8c53930
<!--
* @Date: 2024-09-26 13:36:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-2
6 17:16:14
* @LastEditTime: 2024-09-2
7 20:32:41
* @FilePath: /hager/src/App.vue
* @Description: 文件描述
-->
<template>
<div
class="
">
<div
style=" display: flex; flex-direction: column; min-height: 100vh;
">
<hager-header></hager-header>
<router-view style="margin-top: 3rem;"></router-view>
<router-view style="margin-top: 3rem;
flex-grow: 1;
"></router-view>
<hager-footer></hager-footer>
</div>
</template>
...
...
@@ -50,6 +50,9 @@ body {
}
}
body {
}
.global-center {
position: relative;
top: 50%;
...
...
src/components/common/hagerFooter.vue
View file @
8c53930
<!--
* @Date: 2024-09-26 13:42:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-09-27
19:34:39
* @LastEditTime: 2024-09-27
20:31:41
* @FilePath: /hager/src/components/common/hagerFooter.vue
* @Description: 文件描述
-->
...
...
@@ -115,6 +115,7 @@ export default {
<style lang="less" scoped>
.hager-footer {
background-color: #414141;
margin-top: auto;
.link-box {
.link-title {
font-size: 1.15rem;
...
...
Please
register
or
login
to post a comment