Explorar o código

抽奖字体超出省略号

bobo %!s(int64=3) %!d(string=hai) anos
pai
achega
a15665b3b7
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      pages/luckDraw/detail.wxss

+ 6 - 0
pages/luckDraw/detail.wxss

@@ -184,6 +184,12 @@ page {
     color: #6C4EC2;
     left: 0;
     top: 102rpx;
+    overflow: hidden;
+    text-overflow: ellipsis;
+    white-space: nowrap;
+    padding: 0 10rpx;
+    width: 168rpx;
+    box-sizing: border-box;
 }
 
 ._gift ._bg {