js赋值
item.quoteScoreBackground = `linear-gradient( to right, #71d39d, #71d39d ${percent}%, #fff ${percent}%, #fff ${percent}% )`;
行内使用
<div class="col-input col2" :style="{ 'background': item.quoteScoreBackground }" > {{ item.quoteScore }} </div>
标签:vue,进度条,percent,item,fff,71d39d,css From: https://www.cnblogs.com/jqynr/p/16784674.html