Commit dae38e12 by 李伟康

commit 修改样式

1 parent ce77c71c
...@@ -517,6 +517,7 @@ export default { ...@@ -517,6 +517,7 @@ export default {
.banner-item { .banner-item {
position: relative; position: relative;
flex-shrink: 0; flex-shrink: 0;
margin-right: 40rpx;
.banner-title { .banner-title {
color: #333333b3; color: #333333b3;
font-size: 24rpx; font-size: 24rpx;
...@@ -524,12 +525,14 @@ export default { ...@@ -524,12 +525,14 @@ export default {
height: 30rpx; height: 30rpx;
margin-bottom: 8rpx; margin-bottom: 8rpx;
opacity: 0; opacity: 0;
width: 0;
} }
} }
.has-title { .has-title {
padding-left: 40rpx; padding-left: 40rpx;
.banner-title { .banner-title {
opacity: 1; opacity: 1;
width: fit-content;
} }
&::after { &::after {
position: absolute; position: absolute;
...@@ -548,14 +551,14 @@ export default { ...@@ -548,14 +551,14 @@ export default {
} }
} }
.banner-tab { .banner-tab {
margin-right: 40rpx;
font-weight: 500; font-weight: 500;
font-size: 36rpx; font-size: 36rpx;
color: #333333b3; color: #333333b3;
line-height: 44rpx; line-height: 44rpx;
box-sizing: border-box; box-sizing: border-box;
position: relative; position: relative;
text-align: center; text-align: left;
width: fit-content;
} }
.active { .active {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!