Parcourir la source

免费活动列表标题长度显示限制

DELL il y a 3 ans
Parent
commit
9c38f98570
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/pages/activity/index.vue

+ 4 - 4
src/pages/activity/index.vue

@@ -25,9 +25,9 @@
 							<image :src="item.picUrl" mode="" class="list-view-slot-img"></image>
 							<span v-if="item.status.value == 3" style="position: absolute; right: 30rpx; top: 300rpx; border-radius: 6rpx; font-size: 24rpx; padding: 10rpx; color: #333333; background-color: rgba(255, 255, 255, 0.5);">{{item.fakeNum}}人已参与</span>
 						</view>
-						<view class="list-view-slot-bor">
+						<view class="list-view-slot-bor flex">
 							<view class="list-view-slot-bor-title">
-								<view class="time bor-title">{{item.title}}</view>
+								<view class="time bor-title ells-one">{{item.title}}</view>
 								<!-- <view v-if="item.status.value == 2" class="time">
 									开始时间:{{ $parseTime(item.startTime, '{y}-{m}-{d} {h}:{i}:{s}')}}</view> -->
 								<!-- <view v-else class="time">开奖时间:{{ $parseTime(item.endTime, '{y}-{m}-{d} {h}:{i}:{s}')}} -->
@@ -52,7 +52,6 @@
 						src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/nodata_3.png" mode=""></image>
 					<view class="center-font">新的活动正在准备中...</view>
 				</view>
-				<!-- <u-empty text="活动为空" mode="order" /> -->
 			</view>
 			<view class="flex empty" v-if="!list.length && !loading && triggerStatus != 0">
 				<view class="center">
@@ -60,7 +59,6 @@
 						src="https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/nodata_3.png" mode=""></image>
 					<view class="center-font">还没有已开奖活动</view>
 				</view>
-				<!-- <u-empty text="活动为空" mode="order" /> -->
 			</view>
 		</view>
 		<custom-tab-bar :activeValue="'activity'" />
@@ -204,9 +202,11 @@
 
 						.bor-title {
 							font-size: 32rpx;
+							// width: 70%;
 						}
 
 						.timetwo {
+							width: 420rpx;
 							background: rgba(249, 130, 44, 0.08);
 							margin-top: 10rpx;
 							border: 2rpx solid #F9822C;