1. 程式人生 >實用技巧 >其它 >uniapp的進度條自定義

uniapp的進度條自定義


效果圖

uniapp的進度條自定義

程式碼實現

    <u-line-progress :percentage="40">
		<view class="u-percentage-slot" activeColor="#21C9A0">
					<text style="margin-right: 20rpx;">{{90}}人</text>
					<text style="position: absolute;margin-left: 14rpx;color: #20242A;">40%                
                    </text>
        </view>
	</u-line-progress>