index.wxml 351B

1234567891011121314
  1. <view class="van-progress custom-class">
  2. <view
  3. class="van-progress__portion {{ showPivot && text ? 'van-progress__portion--with-pivot' : '' }}"
  4. style="{{ portionStyle }}"
  5. >
  6. <view
  7. wx:if="{{ showPivot && text }}"
  8. style="{{ pivotStyle }}"
  9. class="van-progress__pivot"
  10. >
  11. {{ text }}
  12. </view>
  13. </view>
  14. </view>