Commit 894efa72 by 林家欣

fix: 修改底部箭头拉伸问题

parent b6d6b1c7
......@@ -28,3 +28,12 @@ export default {
},
}
</script>
<style lang="scss">
.header-btn{
button{
&:hover{
background: #CC3C0F;
}
}
}
</style>
......@@ -1168,36 +1168,36 @@ export default {
&.slick-prev {
left: 0;
&::before {
background: url("../../assets/image/home/prevArrow-default.png")
no-repeat;
background-size: 100% 100%;
content: "";
}
&:hover {
&::before {
background: url("../../assets/image/home/prevArrow-hover.png")
no-repeat;
background-size: 100% 100%;
content: "";
}
}
// &:hover {
// &::before {
// background: url("../../assets/image/home/prevArrow-hover.png")
// no-repeat;
// background-size: 100% 100%;
// }
// }
}
&.slick-next {
right: 0;
display: flex;
justify-content: flex-end;
&::before {
background: url("../../assets/image/home/nextArrow-default.png")
no-repeat;
background-size: 100% 100%;
content: "";
}
&:hover {
&::before {
background: url("../../assets/image/home/nextArrow-hover.png")
no-repeat;
background-size: 100% 100%;
content: "";
}
}
// &:hover {
// &::before {
// background: url("../../assets/image/home/nextArrow-hover.png")
// no-repeat;
// background-size: 100% 100%;
// }
// }
}
img {
vertical-align: middle;
......@@ -1262,6 +1262,9 @@ export default {
&::before {
width: 9px;
height: 14px;
// background: url("../../assets/image/home/prevArrow-hover.png")
// no-repeat;
// background-size: 100% 100%;
}
}
&.slick-next {
......@@ -1269,6 +1272,9 @@ export default {
&::before {
width: 9px;
height: 14px;
// background: url("../../assets/image/home/nextArrow-hover.png")
// no-repeat;
// background-size: 100% 100%;
}
}
img {
......@@ -1285,15 +1291,23 @@ export default {
height: 50px;
margin: 0 10px;
&.slick-prev {
// position: relative;
&::before {
width: 10px;
height: 18px;
width: 24px;
height: 50px;
background: url("../../assets/image/home/prevArrow-hover2.png")
no-repeat;
background-size: 100% 100%;
}
}
&.slick-next {
// position: relative;
&::before {
width: 10px;
height: 18px;
width: 24px;
height: 50px;
background: url("../../assets/image/home/nextArrow-hover2.png")
no-repeat;
background-size: 100% 100%;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment