Commit 4c4b8ee2 by cen

fix: 活动中心bug处理

1 parent 37b6bbff
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
</view> </view>
<view class="card-item-text"> <view class="card-item-text">
<view class="card-item-label">活动时间</view> <view class="card-item-label">活动时间</view>
<view class="card-item-value">{{ dayjs(item.startTime).format('YYYY-MM-DD HH:mm') }} 至 {{ dayjs(item.endTime).format('YYYY-MM-DD HH:mm') }}</view> <view class="card-item-value">{{ dayjs(item.startTime).format('YYYY.MM.DD HH:mm') }} - {{ dayjs(item.endTime).format('YYYY.MM.DD HH:mm') }}</view>
</view> </view>
<view class="card-item-text" @click.stop="rulesShow(item)"> <view class="card-item-text" @click.stop="rulesShow(item)">
<view class="card-item-label">评选规则</view> <view class="card-item-label">评选规则</view>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<u-list @scrolltolower="scrolltolower" class="activity-list" height="100%" v-if="activityRewardList.length > 0"> <u-list @scrolltolower="scrolltolower" class="activity-list" height="100%" v-if="activityRewardList.length > 0">
<u-list-item v-for="item in activityRewardList" :key="item.id" class="activity-list-item"> <u-list-item v-for="item in activityRewardList" :key="item.id" class="activity-list-item">
<view class="activity-name">{{ item.name }}</view> <view class="activity-name">{{ item.name }}</view>
<view class="activity-time">{{ dayjs(item.startTime).format('YYYY-MM-DD HH:mm') }} 至 {{ dayjs(item.endTime).format('YYYY-MM-DD HH:mm') }}</view> <view class="activity-time">{{ dayjs(item.startTime).format('YYYY.MM.DD HH:mm') }} - {{ dayjs(item.endTime).format('YYYY.MM.DD HH:mm') }}</view>
<view class="activity-cycle" v-if="item.cycleName">周期:{{ item.cycleName }}</view> <view class="activity-cycle" v-if="item.cycleName">周期:{{ item.cycleName }}</view>
<view class="activity-prize"> <view class="activity-prize">
<view class="sprite-icon icon-medalNew"></view> <view class="sprite-icon icon-medalNew"></view>
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</view> </view>
<view class="card-item-text"> <view class="card-item-text">
<view class="card-item-label">活动时间</view> <view class="card-item-label">活动时间</view>
<view class="card-item-value">{{ dayjs(currentItem.startTime).format('YYYY-MM-DD HH:mm') }} 至 {{ dayjs(currentItem.endTime).format('YYYY-MM-DD HH:mm') }}</view> <view class="card-item-value">{{ dayjs(currentItem.startTime).format('YYYY.MM.DD HH:mm') }} - {{ dayjs(currentItem.endTime).format('YYYY.MM.DD HH:mm') }}</view>
</view> </view>
</view> </view>
</view> </view>
...@@ -108,10 +108,10 @@ ...@@ -108,10 +108,10 @@
<view class="flex-1"> <view class="flex-1">
<view class="flex align-center justify-between mb-12"> <view class="flex align-center justify-between mb-12">
<text class="name">{{ i.winnerName }}</text> <text class="name">{{ i.winnerName }}</text>
<text class="priceValue">{{ i.winnerRemark }}</text> <text class="priceValue">{{ i.awardName }}</text>
</view> </view>
<view class="flex align-center justify-between"> <view class="flex align-center justify-between">
<text class="grayName">{{ i.awardName }}</text> <text class="grayName">{{ i.winnerRemark }}</text>
<text class="grayName">{{ i.awardRemark }}</text> <text class="grayName">{{ i.awardRemark }}</text>
</view> </view>
</view> </view>
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
{ tabName: '即将开始', num: () => '', id: '2' }, { tabName: '即将开始', num: () => '', id: '2' },
{ tabName: '已结束', num: () => '', id: '1' } { tabName: '已结束', num: () => '', id: '1' }
], ],
detailsTabList: [{ name: '9月7日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }, { name: '9月8日' }], detailsTabList: [],
cardList: [], cardList: [],
detailsList: [], detailsList: [],
activityRewardList: [], activityRewardList: [],
...@@ -709,19 +709,37 @@ export default { ...@@ -709,19 +709,37 @@ export default {
border-bottom: none; border-bottom: none;
} }
.icon-icon-gold { .icon-icon-gold {
margin-right: toRpx(25); flex: 0 0 auto;
flex-shrink: 0;
margin-right: toRpx(32);
}
> .flex-1 {
min-width: 0;
} }
.name { .name {
color: #181a1f; color: #181a1f;
font-size: toRpx(28); font-size: toRpx(28);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.priceValue { .priceValue {
color: #3b73ff; color: #3b73ff;
font-size: toRpx(28); font-size: toRpx(28);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.grayName { .grayName {
color: #999ea8; color: #999ea8;
font-size: toRpx(24); font-size: toRpx(24);
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
.active { .active {
...@@ -758,6 +776,7 @@ export default { ...@@ -758,6 +776,7 @@ export default {
height: 100%; height: 100%;
padding: toRpx(24) toRpx(32); padding: toRpx(24) toRpx(32);
box-sizing: border-box; box-sizing: border-box;
overflow: scroll;
.ql-container { .ql-container {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!