index.wxml 604 Bytes
<view class="van-progress custom-class" style="height: {{utils.addUnit(strokeWidth)}}; {{trackColor?'background: '+trackColor:''}}">
    <view class="van-progress__portion" style="width: {{percentage}}%; background: {{inactive?'#cacaca':color}}">
        <view class="van-progress__pivot" style="color: {{textColor}}; background: {{pivotColor?pivotColor:inactive?'#cacaca':color}}" wx:if="{{showPivot&&getters.text(pivotText,percentage)}}">
      {{getters.text(pivotText,percentage)}}
    </view>
    </view>
</view>
<wxs module="utils" src="../wxs/utils.wxs" />
<wxs module="getters" src="index.wxs" />