提交 | 用户 | age
|
d98d05
|
1 |
<wxs src="../wxs/utils.wxs" module="utils" /> |
53cc6f
|
2 |
<wxs src="./index.wxs" module="computed" /> |
d98d05
|
3 |
|
S |
4 |
<view |
|
5 |
class="van-progress custom-class" |
53cc6f
|
6 |
style="{{ computed.rootStyle({ strokeWidth, trackColor }) }}" |
d98d05
|
7 |
> |
S |
8 |
<view |
|
9 |
class="van-progress__portion" |
53cc6f
|
10 |
style="{{ computed.portionStyle({ percentage, inactive, color }) }}" |
d98d05
|
11 |
> |
S |
12 |
<view |
53cc6f
|
13 |
wx:if="{{ showPivot && computed.pivotText(pivotText, percentage) }}" |
S |
14 |
style="{{ computed.pivotStyle({ textColor, pivotColor, inactive, color, right }) }}" |
d98d05
|
15 |
class="van-progress__pivot" |
S |
16 |
> |
53cc6f
|
17 |
{{ computed.pivotText(pivotText, percentage) }} |
d98d05
|
18 |
</view> |
S |
19 |
</view> |
|
20 |
</view> |