提交 2a15c373 编写于 作者: Yuanzhao.dai's avatar Yuanzhao.dai

Merge branch 'dev-new-campaign-0302' of...

Merge branch 'dev-new-campaign-0302' of 192.168.110.53:com.pica.cloud.education.frontend/pica-new-compaign into dev-new-campaign-0302
...@@ -72,11 +72,11 @@ export default { ...@@ -72,11 +72,11 @@ export default {
if(minValue < 100 ) { if(minValue < 100 ) {
htmlText = `还差<span style="color">${100 - minValue}</span>分,就有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦!` htmlText = `还差<span style="color">${100 - minValue}</span>分,就有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦!`
} else if(minValue < 200) { } else if(minValue < 200) {
htmlText = `已经有资格瓜分<span style="color: #FFE8A5">100</span>万云鹊豆啦,</br>继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!` htmlText = `已经有资格瓜分<span style="color: #FFE8A5">100万</span>云鹊豆啦,</br>继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
} else if(minValue < 300) { } else if(minValue < 300) {
htmlText = `已经有资格瓜分<span style="color: #FFE8A5">300</span>万云鹊豆啦,</br>继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!` htmlText = `已经有资格瓜分<span style="color: #FFE8A5">300万</span>云鹊豆啦,</br>继续努力还能瓜分<span style="color: #FFE8A5">200</span>万!`
} else { } else {
htmlText = `天啦撸,你有资格瓜分500万云鹊豆哦!` htmlText = `天啦撸,你有资格瓜分<span style="color: #FFE8A5">500万</span>云鹊豆哦!`
} }
activeNum = Math.floor(minValue / 100); activeNum = Math.floor(minValue / 100);
if(activeNum <= 0) { if(activeNum <= 0) {
...@@ -135,7 +135,6 @@ export default { ...@@ -135,7 +135,6 @@ export default {
position: relative; position: relative;
top: -10px; top: -10px;
left: 0; left: 0;
// margin-right: 80px;
.circle { .circle {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
......
...@@ -60,9 +60,11 @@ export default { ...@@ -60,9 +60,11 @@ export default {
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
padding-bottom: 8px; padding-bottom: 8px;
line-height: 18px;
} }
.step-time { .step-time {
font-size: 13px; font-size: 13px;
line-height: 13px;
} }
} }
img { img {
......
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
</div> </div>
<span class='has-bg' v-if="item.resourceType == 1 && !item.isFinish">去学习</span> <span class='has-bg' v-if="item.resourceType == 1 && !item.isFinish">去学习</span>
<span class='has-bg finish' v-if="item.isFinish">已完成</span> <span class='has-bg finish' v-if="(item.resourceType == 1 || item.resourceType == 4 || item.resourceType == 8) && item.isFinish">已完成</span>
<span class='has-bg' v-if="item.resourceType == 4 && !item.isFinish">去参加</span> <span class='has-bg' v-if="item.resourceType == 4 && !item.isFinish">去参加</span>
<span class='has-bg' v-if="(item.resourceType == 11 || item.resourceType == 8) && !item.isFinish">去邀请</span> <span class='has-bg' v-if="item.resourceType == 11 || (item.resourceType == 8 && !item.isFinish)">去邀请</span>
<span class='has-bg' v-if="item.resourceType == 9 && !item.isFinish">去绑定</span> <span class='has-bg' v-if="item.resourceType == 9">去绑定</span>
<!-- <div class="task-b" v-if="item.taskFrequency == 2 && (item.cumulativeFrequency > item.nowCumulativeFrequency)">进度 {{item.nowCumulativeFrequency}}/{{item.cumulativeFrequency}}</div> <!-- <div class="task-b" v-if="item.taskFrequency == 2 && (item.cumulativeFrequency > item.nowCumulativeFrequency)">进度 {{item.nowCumulativeFrequency}}/{{item.cumulativeFrequency}}</div>
<span v-if="item.taskFrequency == 2 && item.timeStatus == 1 && (item.cumulativeFrequency == item.nowCumulativeFrequency)">已完成</span> <span v-if="item.taskFrequency == 2 && item.timeStatus == 1 && (item.cumulativeFrequency == item.nowCumulativeFrequency)">已完成</span>
...@@ -208,7 +208,7 @@ export default { ...@@ -208,7 +208,7 @@ export default {
.task-activity { .task-activity {
.task-con { .task-con {
position: relative; position: relative;
padding-bottom: 5px; padding-bottom: 10px;
width: 335px; width: 335px;
height: 70px; height: 70px;
img { img {
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
top: 0; top: 0;
width: 335px; width: 335px;
height: 70px; height: 70px;
padding: 0px 10px 0px 14px; padding: 0px 10px 0px 20px;
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
...@@ -232,7 +232,7 @@ export default { ...@@ -232,7 +232,7 @@ export default {
height: 35px; height: 35px;
} }
.task-l { .task-l {
width: 162px; width: 164px;
padding-left: 13px; padding-left: 13px;
.task-t { .task-t {
padding-bottom: 25px; padding-bottom: 25px;
......
...@@ -588,8 +588,9 @@ export default { ...@@ -588,8 +588,9 @@ export default {
font-size: 14px; font-size: 14px;
font-weight: 700; font-weight: 700;
color: #fff; color: #fff;
line-height: 35px;
span { span {
padding-left: 8px; padding-left: 6px;
font-size: 18px; font-size: 18px;
color: #FFE8A5; color: #FFE8A5;
} }
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
/> />
<!-- 我的排名 --> <!-- 我的排名 -->
<div class="rank-info"> <div class="rank-info">
<div class="rank-con">
<div class="info-text"> <div class="info-text">
<div class="info-detail"> <div class="info-detail">
<img :src="avatarImage" /> <img :src="avatarImage" />
...@@ -33,6 +34,8 @@ ...@@ -33,6 +34,8 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<!-- 排行榜 --> <!-- 排行榜 -->
<div class="main-content"> <div class="main-content">
<div class="description"><span>排行榜</span>排名每5分钟更新1次</div> <div class="description"><span>排行榜</span>排名每5分钟更新1次</div>
...@@ -182,9 +185,11 @@ export default { ...@@ -182,9 +185,11 @@ export default {
.rank-container { .rank-container {
.rank-info { .rank-info {
padding-top: 70px; padding-top: 70px;
.rank-con {
height: 150px; height: 150px;
background-image:url('../../static/images/rank_head.png'); background-image:url('../../static/images/rank_head.png');
background-size: 100% 100%; background-size: 100% 100%;
}
.info-text { .info-text {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
......
static/images/award.png

258.6 KB | W: | H:

static/images/award.png

260.9 KB | W: | H:

static/images/award.png
static/images/award.png
static/images/award.png
static/images/award.png
  • 2-up
  • Swipe
  • Onion skin
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册