diff --git a/packages/shopCar/index/index.css b/packages/shopCar/index/index.css index a934dc65..b6ee1cf4 100644 --- a/packages/shopCar/index/index.css +++ b/packages/shopCar/index/index.css @@ -268,7 +268,7 @@ } .tab-item { - font-size: 32rpx; + font-size: 30rpx; color: #666666; padding: 10rpx 20rpx; border-radius: 20rpx; @@ -276,7 +276,19 @@ } .tab-item.active { - color: #FF370B; - font-weight: bold; - background-color: rgba(255, 55, 11, 0.1); + font-size: 30rpx; + font-weight: 700; + position: relative; +} + +.tab-item.active::after { + content: ''; + background: url(https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/com_active.png) no-repeat; + background-size: 100% 100%; + width: 52rpx; + height: 22rpx; + position: absolute; + left: 50%; + bottom: -16rpx; + transform: translateX(-50%); } \ No newline at end of file