Browse Source

样式修改

tanxue 2 tháng trước cách đây
mục cha
commit
d8eb3e08f4
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      common/styles/global/pages.scss

+ 3 - 2
common/styles/global/pages.scss

@@ -238,8 +238,9 @@
 		width: 100%;
 		.ks-item-top {
 			display: flex;justify-content: space-between;margin-bottom: 20rpx;
-			.ks-name {font-size: 34rpx;color: #000;}
-			.ks-zyLevelName {font-size: 26rpx;padding: 4rpx 24rpx;border-radius: 4px;border: 1px solid #3fd2a1;color:#3fd2a1;}
+			.ks-name {font-size: 34rpx;color: #000;@include single-line-ellipsis();}
+			.ks-zyLevelName {font-size: 26rpx;padding: 4rpx 24rpx;border-radius: 4px;
+			border: 1px solid #3fd2a1;color:#3fd2a1;flex-shrink: 0;}
 		}
 		.ks-totalTm-row{display: flex;align-items: center;}
 		.ks-totalTm {font-size: 26rpx;color: #333;margin-bottom: 20rpx;line-height: 1;margin-left: 40rpx;}