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
c592fdf8
Commit
c592fdf8
authored
Nov 20, 2024
by
zxw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配
parent
5b9fba8d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
34 deletions
+17
-34
index.vue
src/components/Framework/index.vue
+5
-28
index.vue
src/components/Index/index.vue
+11
-5
main.js
src/main.js
+1
-1
No files found.
src/components/Framework/index.vue
View file @
c592fdf8
...
...
@@ -16,7 +16,8 @@
<img
class=
"img-class"
src=
"../../assets/icons/logo1.png"
@
click=
"logoClick"
>
@
click=
"logoClick"
>
</router-link>
</el-menu-item>
<el-menu-item
index=
"1"
class=
"header-title"
style=
"border-bottom: none;"
>
...
...
@@ -235,7 +236,7 @@ export default {
}
.container
{
width
:
1920px
;
//
width
:
1920px
;
box-sizing
:
border-box
;
margin-top
:
90px
;
/* 让页面内容避开导航栏 */
}
...
...
@@ -362,7 +363,7 @@ export default {
}
.header-model-el-menu
{
width
:
1920px
;
//
width
:
1920px
;
height
:
25px
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -423,30 +424,6 @@ export default {
align-items
:
center
;
/* 垂直居中对齐内容 */
}
@media
(
min-width
:
1920px
)
{
.header-title-img
{
border-bottom
:
none
;
margin-top
:
-10px
;
margin-right
:
100px
;
}
.header-title
{
border
:
0
;
font-weight
:
700
;
font-size
:
18px
;
min-width
:
72px
;
height
:
25px
;
font-family
:
"PingFang SC"
;
font-style
:
normal
;
line-height
:
normal
;
padding
:
0
45px
;
}
.img-class
{
width
:
186px
;
height
:
56px
;
}
}
.mobile_menu
{
background-color
:
transparent
;
/* 设置背景色为完全透明 */
...
...
@@ -500,7 +477,7 @@ a:active {
background-image
:
url('../../assets/images/yejiao_bg.jpg')
;
background-size
:
cover
;
background-position
:
center
;
width
:
1920px
;
//
width
:
1920px
;
height
:
auto
;
padding-bottom
:
20px
;
font-family
:
"PingFangSC-Regular"
;
...
...
src/components/Index/index.vue
View file @
c592fdf8
...
...
@@ -3,9 +3,9 @@
<div
class=
"container1"
>
<div
style=
"background-color: #F4F7FC;"
>
<div
class=
"swiper"
>
<el-carousel
:interval=
"5000"
class=
"swiper_carousel"
arrow=
"never"
>
<el-carousel
:interval=
"5000"
class=
"swiper_carousel"
>
<el-carousel-item
v-for=
"item in imgList"
:key=
"item.id"
class=
"swiper_carousel"
>
<img
:src=
"item.url"
>
<img
class=
"carouselImg"
:src=
"item.url"
>
</el-carousel-item>
</el-carousel>
</div>
...
...
@@ -384,7 +384,7 @@ export default {
</
script
>
<
style
scoped
>
.page-container
{
width
:
1920px
;
//
width
:
1920px
;
margin-left
:
auto
;
/* 左右自动边距,用于居中 */
margin-right
:
auto
;
/* 左右自动边距,用于居中 */
display
:
flex
;
...
...
@@ -392,13 +392,19 @@ export default {
}
.container1
{
width
:
1920px
//
width
:
1920px
}
.swiper
{
height
:
680px
;
}
::v-deep
.el-carousel__container
{
height
:
100%
!important
;
}
.carouselImg
{
width
:
100%
;
height
:
100%
;
}
.swiper_carousel
{
height
:
680px
;
}
...
...
src/main.js
View file @
c592fdf8
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue'
import
'normalize.css/normalize.css'
// A modern alternative to CSS resets
import
moment
from
'moment'
import
Element
from
'element-ui'
//
import './utils/rem.js' // 自适应分辨率
import
'./utils/rem.js'
// 自适应分辨率
// import ElementUI from 'element-ui'
// import './styles/element-variables.scss'
// import locale from 'element-ui/lib/locale/lang/en' // lang i18n
...
...
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