lion 2 years ago
parent ac0853f05e
commit 1323ab5897

@ -54,7 +54,7 @@
<div class="box" @click="$u.throttle(toCertificate)">
<div class="box__line-progress">
<u-line-progress :height="11" active-color="#b93736" :striped="true"
:percent="(done/pointers.length)*100" :striped-active="true">
:percent="(done/5)*100" :striped-active="true">
<template #default>
<div></div>
</template>
@ -114,7 +114,7 @@
async getPoints() {
this.pointers = []
const res = await this.$u.api.getPoints()
this.done = res.point_answer_total || 0
this.done = res.point_answer_total>5?5:res.point_answer_total
res.points.map(item => {
if (item.name.indexOf("@") > -1) {
item.nameArr = item.name.split("@")

Loading…
Cancel
Save