forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-07 d7ca134342a0a2004d9c15fab49fd0a41557e29c
gz-wxparty/components/steps/index.wxml
@@ -20,18 +20,21 @@
   <block wx:else>
      <view class="steps-item {{ index <= stepsActive && 'steps-item-active' }}" wx:for="{{ stepsData }}" wx:key="index">
         <view class="steps-item-round" wx:if="{{ index > stepsActive }}">
            <van-icon name="{{ imgUrl }}{{ item.icon }}" />
        <view class="steps-item-number">{{item.number}}</view>
         </view>
         <view class="steps-item-round" wx:else>
            <van-icon name="{{ imgUrl }}{{ item.activeIcon }}" />
      <view class="steps-item-round" wx:if="{{ index === stepsActive }}">
        <view class="steps-item-number">{{item.number}}</view>
      </view>
      <view class="steps-item-round1" wx:if="{{ index < stepsActive }}">
        <van-icon name="success" />
         </view>
         <view class="steps-item-text">{{ item.title }}</view>
         <view class="steps-item-icon" wx:if="{{ index < stepsData.length - 1 }}">
            <block wx:if="{{ index > stepsActive }}">
               <van-icon name="{{ imgUrl }}steps-arrow.png" size="14" />
          <view class="steps-item-line"></view>
            </block>
            <block wx:else>
               <van-icon name="{{ imgUrl }}steps-arrow-active.png" size="14" />
          <view class="steps-item-hoverLine"></view>
            </block>
         </view>
      </view>