You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
618 B
21 lines
618 B
<wxs src="../wxs/utils.wxs" module="utils" />
|
|
<wxs src="./index.wxs" module="computed" />
|
|
|
|
<view
|
|
class="van-progress custom-class"
|
|
style="{{ computed.rootStyle({ strokeWidth, trackColor }) }}"
|
|
>
|
|
<view
|
|
class="van-progress__portion"
|
|
style="{{ computed.portionStyle({ percentage, inactive, color }) }}"
|
|
>
|
|
<view
|
|
wx:if="{{ showPivot && computed.pivotText(pivotText, percentage) }}"
|
|
style="{{ computed.pivotStyle({ textColor, pivotColor, inactive, color, right }) }}"
|
|
class="van-progress__pivot"
|
|
>
|
|
{{ computed.pivotText(pivotText, percentage) }}
|
|
</view>
|
|
</view>
|
|
</view>
|