Commit df1aafef by cen

fix: 荣誉墙两行显示隐藏省略

1 parent 2676524b
......@@ -10,7 +10,7 @@
<view class="activity-prize">
<view class="sprite-icon icon-medalNew"></view>
<view class="prize-name">{{ item.awardRemark }}</view>
<view class="prize-money">{{ item.awardName }}</view>
<view class="prize-money text-two-line">{{ item.awardName }}</view>
</view>
</u-list-item>
<template v-if="rewardNothing && activityRewardList.length > 0">
......@@ -103,16 +103,16 @@
</u-scroll-list>
<scroll-view class="activity-detailslist-box" scroll-y="true" v-if="currentItem.activityCycleResponses">
<template v-if="currentItem.activityCycleResponses[activeIndex].activityAwardWinnerResponses.length > 0">
<view v-for="(i, index) in currentItem.activityCycleResponses[activeIndex].activityAwardWinnerResponses" :key="i.id" class="tab-detailslist flex" :class="{ active: userInfo.phone === i.phone }" @click="changeDetailsTab(index)">
<view v-for="(i, index) in currentItem.activityCycleResponses[activeIndex].activityAwardWinnerResponses" :key="i.id" class="tab-detailslist flex" :class="{ active: userInfo.phone === i.phone }">
<view class="sprite-icon icon-icon-gold"></view>
<view class="flex-1">
<view class="flex align-center justify-between mb-12">
<text class="name">{{ i.winnerName }}</text>
<text class="priceValue text-right">{{ i.awardName }}</text>
<view class="name">{{ i.winnerName }}</view>
<view class="priceValue text-right">{{ i.awardName }}</view>
</view>
<view class="flex align-center justify-between">
<text class="grayName">{{ i.winnerRemark }}</text>
<text class="grayName text-right">{{ i.awardRemark }}</text>
<view class="grayName">{{ i.winnerRemark }}</view>
<view class="grayName text-right">{{ i.awardRemark }}</view>
</view>
</view>
</view>
......@@ -384,7 +384,7 @@ export default {
white-space: nowrap;
}
.activity-prize {
height: toRpx(116);
// min-height: toRpx(116);
border-radius: toRpx(12);
background: linear-gradient(180deg, rgba(251, 230, 194, 0.2) 0%, rgba(251, 217, 180, 0.2) 100%);
padding: toRpx(18) toRpx(14);
......@@ -410,9 +410,6 @@ export default {
font-size: toRpx(32);
font-weight: 700;
margin-top: toRpx(12);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 80%;
}
}
......@@ -603,6 +600,7 @@ export default {
.card-item-content {
padding: 0 toRpx(32);
overflow: hidden;
}
.card-item-title {
......@@ -610,7 +608,7 @@ export default {
color: #292d33;
font-weight: 500;
margin-bottom: toRpx(20);
width: toRpx(340);
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!