Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RC_officialWebsite
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
RC_officialWebsite
Commits
07c3700a
Commit
07c3700a
authored
Nov 20, 2024
by
liangjingpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化页面布局和样式
parent
c592fdf8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
46 deletions
+6
-46
App.vue
src/App.vue
+4
-1
index.vue
src/components/Framework/index.vue
+1
-44
index.vue
src/components/Index/index.vue
+1
-1
No files found.
src/App.vue
View file @
07c3700a
...
@@ -80,6 +80,9 @@ body{
...
@@ -80,6 +80,9 @@ body{
margin
:
0
;
margin
:
0
;
}
}
html
{
html
{
min-width
:
1614px
;
/* 不要给html设置固定最小宽度 */
//
min-width
:
1614px
;
/* 不要给html设置固定最小宽度 */
}
img
{
width
:
100%
;
}
}
</
style
>
</
style
>
src/components/Framework/index.vue
View file @
07c3700a
...
@@ -16,8 +16,7 @@
...
@@ -16,8 +16,7 @@
<img
<img
class=
"img-class"
class=
"img-class"
src=
"../../assets/icons/logo1.png"
src=
"../../assets/icons/logo1.png"
@
click=
"logoClick"
@
click=
"logoClick"
>
>
</router-link>
</router-link>
</el-menu-item>
</el-menu-item>
<el-menu-item
index=
"1"
class=
"header-title"
style=
"border-bottom: none;"
>
<el-menu-item
index=
"1"
class=
"header-title"
style=
"border-bottom: none;"
>
...
@@ -241,50 +240,8 @@ export default {
...
@@ -241,50 +240,8 @@ export default {
margin-top
:
90px
;
/* 让页面内容避开导航栏 */
margin-top
:
90px
;
/* 让页面内容避开导航栏 */
}
}
@media
(
max-width
:
2000px
)
{
body
{
width
:
100%
;
}
}
@media
(
max-width
:
1920px
)
{
body
{
width
:
100%
;
}
}
/* 小于 600px 的设备,如手机 */
@media
(
max-width
:
600px
)
{
body
{
width
:
100%
;
font-size
:
14px
;
}
}
/* 小于 768px 的设备,如平板竖屏 */
@media
(
max-width
:
768px
)
{
body
{
width
:
100%
;
}
}
/*小于 1024px 的设备,如平板横屏 */
@media
(
max-width
:
1024px
)
{
body
{
width
:
100%
;
}
}
#app
{
display
:
flex
;
justify-content
:
center
;
margin-left
:
auto
;
margin-right
:
auto
;
flex-direction
:
column
;
background-size
:
cover
;
background-repeat
:
no-repeat
;
background-position
:
center
;
}
.container
{
.container
{
width
:
100%
;
width
:
100%
;
...
...
src/components/Index/index.vue
View file @
07c3700a
...
@@ -553,7 +553,7 @@ export default {
...
@@ -553,7 +553,7 @@ export default {
}
}
.module-one-card-title1
{
.module-one-card-title1
{
min-
width
:
120px
;
width
:
120px
;
height
:
28px
;
height
:
28px
;
font-family
:
PingFangSC-Semibold
;
font-family
:
PingFangSC-Semibold
;
font-weight
:
600
;
font-weight
:
600
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment