<wxs module="utils" src="../wxs/utils.wxs"/>
<wxs module="computed" src="./index.wxs"/>

<view
        class="van-progress custom-class"
        style="{{ computed.rootStyle({ strokeWidth, trackColor }) }}"
>
    <view
            class="van-progress__portion"
            style="{{ computed.portionStyle({ percentage, inactive, color }) }}"
    >
        <view
                class="van-progress__pivot"
                style="{{ computed.pivotStyle({ textColor, pivotColor, inactive, color, right }) }}"
                wx:if="{{ showPivot && computed.pivotText(pivotText, percentage) }}"
        >
            {{ computed.pivotText(pivotText, percentage) }}
        </view>
    </view>
</view>
