mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 08:46:45 +08:00
贺报样式等优化
This commit is contained in:
@@ -5,18 +5,21 @@
|
|||||||
<div class="rankWrapper">
|
<div class="rankWrapper">
|
||||||
<van-row class="rankTitle">
|
<van-row class="rankTitle">
|
||||||
<van-col span="3">排名</van-col>
|
<van-col span="3">排名</van-col>
|
||||||
<van-col span="3">姓名</van-col>
|
<van-col span="4">姓名</van-col>
|
||||||
<van-col span="8">分公司</van-col>
|
<van-col span="7">分公司</van-col>
|
||||||
<van-col span="5">预收标保</van-col>
|
<van-col span="5">预收标保</van-col>
|
||||||
<van-col span="5">承保标保</van-col>
|
<van-col span="5">承保标保</van-col>
|
||||||
</van-row>
|
</van-row>
|
||||||
<van-row v-for="(item, index) in showData.topList" :key="item.code" class="rankLine">
|
<van-loading v-if="showData.topList.length === 0" class="loading" size="24px" vertical>加载中...</van-loading>
|
||||||
<van-col span="3">{{ index + 1 }}</van-col>
|
<template v-if="showData.topList.length !== 0">
|
||||||
<van-col span="3">{{ item.name }}</van-col>
|
<van-row v-for="(item, index) in showData.topList" :key="item.code" class="rankLine">
|
||||||
<van-col span="8">{{ item.comName }}</van-col>
|
<van-col class="rankCell bl" span="3">{{ index + 1 }}</van-col>
|
||||||
<van-col span="5">{{ item.ysbb }}</van-col>
|
<van-col class="rankCell" span="4">{{ item.name }}</van-col>
|
||||||
<van-col span="5">{{ item.bzbf }}</van-col>
|
<van-col class="rankCell" span="7">{{ item.comName }}</van-col>
|
||||||
</van-row>
|
<van-col class="rankCell" span="5">{{ item.ysbb }}</van-col>
|
||||||
|
<van-col class="rankCell" span="5">{{ item.bzbf }}</van-col>
|
||||||
|
</van-row>
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="deadline">
|
<div class="deadline">
|
||||||
@@ -24,18 +27,19 @@
|
|||||||
<span>单位:万元</span>
|
<span>单位:万元</span>
|
||||||
</div>
|
</div>
|
||||||
<van-row>
|
<van-row>
|
||||||
<van-col span="24" class="detail">您的业绩</van-col>
|
<van-col span="24" class="detail score">您的业绩</van-col>
|
||||||
|
<van-col span="20" offset="2" style="border-bottom: 1px solid #ff4040;"></van-col>
|
||||||
<van-col span="24" class="detail">您本月预收标保{{ showData.achievement.selfAdvanceStand }}万元</van-col>
|
<van-col span="24" class="detail">您本月预收标保{{ showData.achievement.selfAdvanceStand }}万元</van-col>
|
||||||
<van-col span="24" class="detail">您本月承保标保{{ showData.achievement.selfAcceptStand }}万元</van-col>
|
<van-col span="24" class="detail">您本月承保标保{{ showData.achievement.selfAcceptStand }}万元</van-col>
|
||||||
<van-col span="24" class="detail">全系统排名第{{ showData.achievement.ranking }}名</van-col>
|
<van-col span="24" class="detail">全系统排名第{{ showData.achievement.ranking }}名</van-col>
|
||||||
<van-col span="24" class="detail">距上一名差距{{ showData.achievement.previousGap }}元</van-col>
|
<van-col span="24" class="detail">距上一名差距{{ showData.achievement.previousGap }}元</van-col>
|
||||||
</van-row>
|
</van-row>
|
||||||
<van-button type="danger" class="bottom-btn" @click="nextStep" v-no-more-click="1000">大单榜</van-button>
|
<van-button color="#ff4d4d" class="bottom-btn" @click="nextStep" v-no-more-click="1000">大单榜</van-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Col, Row } from 'vant'
|
import { Col, Row, Loading } from 'vant'
|
||||||
import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js'
|
import { getCongratulationList } from '@/api/ebiz/congratulation/congratulation.js'
|
||||||
import dateUtil from '@/assets/js/utils/date-utils.js'
|
import dateUtil from '@/assets/js/utils/date-utils.js'
|
||||||
|
|
||||||
@@ -90,12 +94,15 @@ export default {
|
|||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
[Col.name]: Col,
|
[Col.name]: Col,
|
||||||
[Row.name]: Row
|
[Row.name]: Row,
|
||||||
|
[Loading.name]: Loading
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped="scoped" lang="scss">
|
<style scoped="scoped" lang="scss">
|
||||||
|
$border: 1px solid #ff4040;
|
||||||
|
|
||||||
.congratulationTop {
|
.congratulationTop {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
@@ -104,6 +111,7 @@ export default {
|
|||||||
.congratulationTitle {
|
.congratulationTitle {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
text-shadow: 1px 1px 5px #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rankTitle {
|
.rankTitle {
|
||||||
@@ -122,12 +130,14 @@ export default {
|
|||||||
.rankLine {
|
.rankLine {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
border-top: 1px solid red;
|
border-top: $border;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rankWrapper {
|
.rankWrapper {
|
||||||
height: 300px;
|
max-height: 300px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
margin-top: 3px;
|
||||||
|
border-bottom: $border;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rankTable {
|
.rankTable {
|
||||||
@@ -135,10 +145,11 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.rankCell {
|
.rankCell {
|
||||||
border-right: 1px solid red;
|
border-right: $border;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deadline {
|
.deadline {
|
||||||
|
font-size: 14px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
@@ -146,6 +157,19 @@ export default {
|
|||||||
|
|
||||||
.detail {
|
.detail {
|
||||||
color: #ff4040;
|
color: #ff4040;
|
||||||
line-height: 2em;
|
line-height: 2.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.score {
|
||||||
|
text-shadow: 1px 1px 3px #000;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.loading {
|
||||||
|
margin: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bl {
|
||||||
|
border-left: $border;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user