师资力量雄厚,打造岗位精英 | 实力雄厚的师资团队
<div class='content'>
<img style='margin-top: 24px;width: 100vw;' src='../../assets/pc/tit_3.png' alt=''>
<p style='padding:.5rem 1rem'>拥有一支高水平的师资团队,老师拥有10年以上的从业经验,并有高水平专业技能。</p>
<p style='padding:.5rem 1rem'>全方位打造岗位精英。</p>
<div style='display: flex;justify-content: center;'>
<div @click='down(index, i)' v-for='(i, index) in list' :class='{ content_on: downButton == index }' class='content_border'>{{ i.title }}</div>
</div>
<div style='overflow-y: auto;'>
<div style='padding: 0 1.3rem;margin-top: 10px;display: flex;width: 190vw;justify-content: space-between;'>
<div v-for='i in center' @click='goDetail(i.id)' style='width: 40vw;display: flex;flex-direction: column;align-items: center;background-color: #052F4B;padding: 10px 0;'>
<img class='margin' style='width: 50%;' :src=i.avatar alt=''>
<p class='margin'>姓名:{{ i.name }}</p>
<p class='margin' style='padding:.4rem;text-align: left;'>{{ i.describes }}</p>
<img class='' style='width: 90%;' :src=i.image alt=''>
</div>
</div>
</div>
<van-progress :percentage='percentage' pivot-text='紫色' pivot-color='#7232dd' color='linear-gradient(to right, #be99ff, #7232dd)' />
</div>
<script>
export default {
data() {
return {
percentage: 0
}
},
mounted() {
this.startProgress()
},
methods: {
startProgress() {
const intervalId = setInterval(() => {
if (this.percentage < 100) {
this.percentage += 10;
} else {
clearInterval(intervalId);
}
}, 1000)
}
}
}
</script>
<!-- 使用一个计时器来动态修改进度条的百分比,达到动态进度条的效果 -->
原文地址: https://www.cveoy.top/t/topic/ofU1 著作权归作者所有。请勿转载和采集!