Browse Source

选择奖品奖品名称省略显示

hwb0 3 years ago
parent
commit
b0bc1fdf29
1 changed files with 5 additions and 0 deletions
  1. 5 0
      pages/choice/index.vue

+ 5 - 0
pages/choice/index.vue

@@ -313,6 +313,11 @@
 					font-size: 24rpx;
 					margin: 16rpx 0 0 10rpx;
 					color: #333;
+					overflow: hidden;
+					text-overflow: ellipsis;
+					display: -webkit-box;
+					-webkit-box-orient: vertical;
+					-webkit-line-clamp: 3;
 				}
 
 				.tip {