zhengkaixin 4 mēneši atpakaļ
vecāks
revīzija
0983365ad0
1 mainītis faili ar 10 papildinājumiem un 3 dzēšanām
  1. 10 3
      src/views/startLottery.vue

+ 10 - 3
src/views/startLottery.vue

@@ -127,7 +127,8 @@
                 <span>{{ item.name }}:{{ item.num }}人</span>
               </div>
 
-              <div style="margin-bottom:1.5vw;">
+              <div style="margin-bottom:1.5vw; display: flex;
+    flex-wrap: wrap;">
                 <div
                   class="imgText"
                   v-for="(item1, index1) in item.winningInfoList"
@@ -137,11 +138,11 @@
                     :style="
                       item.winningInfoList.length < 5
                         ? 'width: 6vw; height: 6vw;'
-                        : 'width: 4vw; height: 4vw;'
+                        : 'width: 4.1vw; height: 4.1vw;'
                     "
                     :src="item1.lotteryPersonnelImage"
                   ></el-image>
-                  <div
+                  <div class="lotteryPersonnelNickName"
                     :style="
                       item.winningInfoList.length < 5
                         ? 'font-size:1vw'
@@ -765,4 +766,10 @@ body > .el-container {
 
   font-size: 1.2vw;
 }
+.lotteryPersonnelNickName{
+	width: 4vw;
+	overflow: hidden;
+	text-overflow: ellipsis;
+	white-space: nowrap;
+}
 </style>