vant
This commit is contained in:
19
utils/dist/progress/index.wxml
vendored
Normal file
19
utils/dist/progress/index.wxml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<wxs src="./index.wxs" module="getters" />
|
||||
|
||||
<view
|
||||
class="van-progress custom-class"
|
||||
style="height: {{ strokeWidthUnit }}; {{ trackColor ? 'background: ' + trackColor : '' }}"
|
||||
>
|
||||
<view
|
||||
class="van-progress__portion"
|
||||
style="width: {{ percentage }}%; background: {{ inactive ? '#cacaca' : color }}"
|
||||
>
|
||||
<view
|
||||
wx:if="{{ showPivot && getters.text(pivotText, percentage) }}"
|
||||
style="color: {{ textColor }}; background: {{ pivotColor ? pivotColor : inactive ? '#cacaca' : color }}"
|
||||
class="van-progress__pivot"
|
||||
>
|
||||
{{ getters.text(pivotText, percentage) }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user