- <view class="{{ classPrefix }} {{classPrefix}}--status--{{status || computedStatus}}">
- <view class="{{ classPrefix }}__inner {{prefix}}-class">
- <view
- class="{{ classPrefix }}__bar {{prefix}}-class-bar"
- style="height: {{ heightBar }}; background: {{ trackColor }}"
- >
- <view class="{{ classPrefix }}__bar-percent" style="background:{{ colorBar }}; width:{{ computedProgress + '%'}}">
- </view>
- </view>
- <view wx:if="{{ label }}" class="{{ classPrefix }}__label {{prefix}}-class-label">
- {{ computedProgress + '%' }}
- </view>
- <slot name="label"></slot>
- </view>
- </view>
|