Browse Source

单词列表样式修改

tanxue 2 weeks ago
parent
commit
ff6d8572cd
1 changed files with 7 additions and 5 deletions
  1. 7 5
      common/styles/global/pages.scss

+ 7 - 5
common/styles/global/pages.scss

@@ -1736,15 +1736,17 @@
 		background-color: #fff;border-radius:14rpx;overflow: hidden;
 		.item-word{
 			width: 40%;margin: 16rpx 0 0 24rpx;line-height: 1.4;flex-shrink: 0;
-			.word-text{font-size: 34rpx;color: #000;font-weight: bold;}
+			.word-text{
+				font-size: 34rpx;color: #000;font-weight: bold;
+				.word-color:nth-child(odd){color: #ff9a01;}
+				}
 			.phonetic-alphabet{font-size: 26rpx;color: #999;margin: 0 0 16rpx;}
 		}
 		.item-explain{
-			width: 44%;display: flex;align-items: center;flex-direction: column;justify-content: center;margin-right: 2%;flex-shrink: 0;
+			width: 44%;display: flex;flex-direction: column;justify-content: center;margin-right: 2%;flex-shrink: 0;
 			.item-explain-content{height: 70rpx;text-align: justify;font-size: 22rpx;color: #787878;line-height: 1.4;overflow: hidden;}
-			.explain-v{@include multi-line-ellipsis(2);}
-			.explain-n{@include multi-line-ellipsis(2);}
-			.explain-v + .explain-n{margin-top: 6rpx;}
+			.explain-text{@include multi-line-ellipsis(2);}
+			.explain-text + .explain-text{margin-top: 6rpx;}
 		}
 		.item-arrow{
 			width: 10%;background-color: #f4f4f4;flex: 1;flex-shrink: 0;