Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
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
吴迪
gs1
Commits
bc4db7aa
Commit
bc4db7aa
authored
Jan 06, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改首页要闻左侧轮播图左右箭头不显示问题
parent
293f3f36
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
31 deletions
+23
-31
main.js
src/main.js
+0
-2
index.vue
src/views/Home/index.vue
+23
-29
No files found.
src/main.js
View file @
bc4db7aa
...
@@ -5,10 +5,8 @@ import router from "./router/index";
...
@@ -5,10 +5,8 @@ import router from "./router/index";
import
store
from
"./vuex/store"
;
import
store
from
"./vuex/store"
;
import
$
from
"jquery"
;
import
$
from
"jquery"
;
import
"./assets/css/_reset.css"
;
import
"./assets/css/_reset.css"
;
// import "bootstrap/dist/css/bootstrap.min.css";
// import "./assets/css/main.scss";
// import "./assets/css/main.scss";
import
"./assets/css/layout.scss"
;
import
"./assets/css/layout.scss"
;
// import "bootstrap/dist/js/bootstrap.min.js";
import
"./plugins/element.js"
;
import
"./plugins/element.js"
;
import
"./plugins/qrcode.js"
;
import
"./plugins/qrcode.js"
;
import
ElementUI
from
'element-ui'
import
ElementUI
from
'element-ui'
...
...
src/views/Home/index.vue
View file @
bc4db7aa
...
@@ -1415,18 +1415,10 @@ export default {
...
@@ -1415,18 +1415,10 @@ export default {
left
:
0
;
left
:
0
;
&::before
{
&::before
{
background
:
url("../../assets/image/home/prevArrow-hover.png")
no-repeat
;
//
background
:
url("../../assets/image/home/prevArrow-hover.png")
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
content
:
""
;
content
:
""
;
}
}
//
&
:hover
{
//
&::before
{
//
background
:
url("../../assets/image/home/prevArrow-hover.png")
//
no-repeat
;
//
background-size
:
100%
100%
;
//
}
//
}
}
}
&
.slick-next
{
&
.slick-next
{
...
@@ -1435,18 +1427,11 @@ export default {
...
@@ -1435,18 +1427,11 @@ export default {
justify-content
:
flex-end
;
justify-content
:
flex-end
;
&::before
{
&::before
{
background
:
url("../../assets/image/home/nextArrow-hover.png")
no-repeat
;
//
background
:
url("../../assets/image/home/nextArrow-hover.png")
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
content
:
""
;
content
:
""
;
}
}
//
&
:hover
{
//
&::before
{
//
background
:
url("../../assets/image/home/nextArrow-hover.png")
//
no-repeat
;
//
background-size
:
100%
100%
;
//
}
//
}
}
}
img
{
img
{
...
@@ -1466,6 +1451,7 @@ export default {
...
@@ -1466,6 +1451,7 @@ export default {
&::before
{
&::before
{
width
:
10px
;
width
:
10px
;
height
:
18px
;
height
:
18px
;
background
:
url("../../assets/image/home/prevArrow-hover.png")
no-repeat
;
}
}
}
}
...
@@ -1477,6 +1463,7 @@ export default {
...
@@ -1477,6 +1463,7 @@ export default {
&::before
{
&::before
{
width
:
10px
;
width
:
10px
;
height
:
18px
;
height
:
18px
;
background
:
url("../../assets/image/home/nextArrow-hover.png")
no-repeat
;
}
}
}
}
}
}
...
@@ -1513,32 +1500,40 @@ export default {
...
@@ -1513,32 +1500,40 @@ export default {
}
}
.newsBanner
{
.newsBanner
{
.slick-arrow
{
.slick-arrow
{
width
:
40px
;
width
:
40px
;
height
:
50px
;
height
:
50px
;
margin
:
0
10px
;
margin
:
0
10px
;
&.slick-prev
{
position
:
relative
;
position
:
relative
;
&.slick-prev
{
width
:
40px
;
height
:
50px
;
&::before
{
&::before
{
width
:
9px
;
width
:
9px
;
height
:
14px
;
height
:
14px
;
//
background
:
url("../../assets/image/home/prevArrow-hover.png")
position
:
absolute
;
//
no-repeat
;
left
:
50%
;
//
background-size
:
100%
100%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background
:
url("../../assets/image/home/prevArrow-hover.png")
no-repeat
;
}
}
}
}
&
.slick-next
{
&
.slick-next
{
position
:
relative
;
width
:
40px
;
height
:
50px
;
//
bottom
:
0
;
&::before
{
&::before
{
width
:
9px
;
width
:
9px
;
height
:
14px
;
height
:
14px
;
//
background
:
url("../../assets/image/home/nextArrow-hover.png")
position
:
absolute
;
//
no-repeat
;
left
:
50%
;
//
background-size
:
100%
100%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
background
:
url("../../assets/image/home/nextArrow-hover.png")
no-repeat
;
}
}
}
}
...
@@ -1949,7 +1944,6 @@ export default {
...
@@ -1949,7 +1944,6 @@ export default {
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
line-height
:
50px
;
line-height
:
50px
;
@include
ellipsis;
@include
ellipsis;
a
{
a
{
color
:
rgba
(
255
,
255
,
255
,
1
);
color
:
rgba
(
255
,
255
,
255
,
1
);
...
...
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