Commit 077679f7 by cen

fix: 样式

1 parent 0f142214
......@@ -52,7 +52,7 @@
</view>
<view class="card-item-text">
<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 class="card-item-text" @click.stop="rulesShow(item)">
<view class="card-item-label">评选规则</view>
......@@ -251,7 +251,7 @@ export default {
font-size: toRpx(30);
color: #292d33;
font-weight: 500;
margin-bottom: toRpx(20);
margin-bottom: toRpx(24);
width: toRpx(340);
overflow: hidden;
text-overflow: ellipsis;
......@@ -264,7 +264,9 @@ export default {
align-items: center;
font-size: toRpx(24);
margin-bottom: toRpx(12);
&:last-child {
margin-bottom: 0;
}
.card-item-label {
width: toRpx(96);
color: #999ea8;
......
......@@ -145,7 +145,7 @@ export default {
background-color: transparent;
color: #333333;
font-size: toRpx(36);
font-size: toRpx(40);
.popup-top-box-title {
text-align: center;
}
......
......@@ -6,7 +6,7 @@
<u-list-item v-for="item in activityRewardList" :key="item" class="activity-list-item">
<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-cycle">{{ item.cycleName }}</view>
<view class="activity-cycle" v-if="item.cycleName">周期:{{ item.cycleName }}</view>
<view class="activity-prize">
<view class="sprite-icon icon-medalNew"></view>
<view class="prize-name">{{ item.awardRemark }}</view>
......@@ -311,7 +311,7 @@ export default {
background-size: 100% 100%;
overflow: hidden;
.title {
height: toRpx(128);
height: toRpx(118);
border-radius: toRpx(32) toRpx(32) 0 0;
background-size: toRpx(656) toRpx(104);
......@@ -347,6 +347,7 @@ export default {
color: #1a1a1a;
font-size: toRpx(28);
font-weight: 400;
margin-bottom: toRpx(4);
}
.activity-time {
color: #808080;
......@@ -356,7 +357,7 @@ export default {
}
.activity-cycle {
color: #808080;
font-size: toRpx(28);
font-size: toRpx(24);
font-weight: 400;
margin-top: toRpx(12);
}
......@@ -364,7 +365,7 @@ export default {
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(16) toRpx(24);
padding: toRpx(16) toRpx(14);
box-sizing: border-box;
margin-top: toRpx(12);
position: relative;
......@@ -511,7 +512,7 @@ export default {
}
}
.activity-box {
padding-top: toRpx(32);
padding-top: toRpx(24);
height: calc(100% - #{toRpx(100)});
.activity-list-box {
margin-top: toRpx(24);
......@@ -571,7 +572,7 @@ export default {
}
.card-item-content {
padding: toRpx(32);
padding: 0 toRpx(32);
}
.card-item-title {
......@@ -590,7 +591,7 @@ export default {
display: flex;
align-items: center;
font-size: toRpx(24);
margin-bottom: toRpx(12);
margin-bottom: toRpx(16);
.card-item-label {
width: toRpx(96);
......@@ -744,7 +745,7 @@ export default {
border-radius: toRpx(16);
background: #f5f7fa;
height: 100%;
padding: toRpx(12) toRpx(16);
padding: toRpx(24) toRpx(32);
box-sizing: border-box;
.ql-container {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!