tanxue 1 ماه پیش
والد
کامیت
2f4cc04012
1فایلهای تغییر یافته به همراه6 افزوده شده و 8 حذف شده
  1. 6 8
      common/styles/global/pages.scss

+ 6 - 8
common/styles/global/pages.scss

@@ -207,10 +207,7 @@
 		box-sizing: border-box;padding:0 20rpx;background-repeat: repeat-y;
 	}
 	.subject-item{
-		width: 32%;margin:24rpx 0.8% 68rpx;position: relative;
-		.subject-active-icon{width: 40rpx;height: 40rpx;@include ezy-no-repeat-cover;
-		background-image: url("@/static/images/grade/grades-item-a.png");
-		position: absolute;top: 32rpx;right: 20rpx;}
+		width: 32%;margin:0 0.8% 110rpx;position: relative;
 		.subject-item-img{width: 220rpx;height: 220rpx;margin: 20rpx auto 0;display: block;border-radius: 30rpx;}
 		.subject-item-text{
 			width: 100%;height: 60rpx;font-size: 24rpx;line-height: 1.2;
@@ -222,15 +219,16 @@
 		
 	}
 	.subject-item::before{
-		content: '';width: 231rpx;height: 288rpx;z-index: 2;display: block;
+		content: '';width: 231rpx;height: 304rpx;z-index: 2;display: block;
 		background-image: url("@/static/images/grade/grades-item.png");@include ezy-no-repeat-cover;
 		position: absolute;top: 5rpx;
 	}
-	.subject-jstx-item::before{
-		background-image: url("@/static/images/grade/grades-jstx-item.png");}
+	.subject-item.active::before{background-image: url("@/static/images/grade/grades-item-a.png");}
+	.subject-jstx-item::before{background-image: url("@/static/images/grade/grades-jstx-item.png");}
+	.subject-jstx-item.active::before{background-image: url("@/static/images/grade/grades-jstx-item-a.png");}
 	.subject-item:nth-child(3n+3){margin-right: 0;}
 	.subject-item:nth-child(3n+1)::after{
-		content: '';width: 750rpx;height: 72rpx;position: absolute;left: -20rpx;bottom: -80rpx;z-index: 1;
+		content: '';width: 750rpx;height: 72rpx;position: absolute;left: -20rpx;bottom: -100rpx;z-index: 1;
 		background-image: url("@/static/images/grade/grades-row-bj.png");@include ezy-no-repeat-contain;}
 	.grade-item.active{
 		color: #fff;background-image: url("@/static/images/grade/grades-a-bj.png");