<div class="baifb">
<div class="progress-bar" v-bind:style="{ width: 20 + '%' }"></div>
</div>
.baifb{
margin-top: 3px;
width: 100%;
height: 30px;
background: #f0f2f3;
.progress-bar {
height: 100%;
background-color: #1578ff; /* 进度条颜色 */
}
}
后端返回 修改 20这个值就可以了