You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
2.1 KiB
1 lines
2.1 KiB
<view class="{{['evan-step','evan-step--'+direction]}}"><block wx:if="{{customizeIcon}}"><view class="{{['evan-step__icon-wrapper','evan-step__icon-wrapper--'+direction]}}"><slot name="icon"></slot></view></block><block wx:else><block wx:if="{{icon}}"><view class="{{['evan-step__icon-wrapper','evan-step__icon-wrapper--'+direction]}}"><uni-icons class="{{['evan-step__custom-icon','evan-step__custom-icon--'+direction]}}" vue-id="5a363eb2-1" type="{{icon}}" size="22" color="{{customIconColor}}" bind:__l="__l"></uni-icons></view></block><block wx:else><view class="{{['evan-step__circle','evan-step__circle--'+direction,'evan-step__circle--'+currentStatus]}}" style="{{'border-color:'+(circleStyle.borderColor)+';'+('background-color:'+(circleStyle.backgroundColor)+';')}}"><block wx:if="{{currentStatus==='finish'}}"><uni-icons vue-id="5a363eb2-2" type="checkmarkempty" color="{{primaryColor}}" size="{{circleIconSize}}" bind:__l="__l"></uni-icons></block><block wx:else><block wx:if="{{currentStatus==='error'}}"><uni-icons vue-id="5a363eb2-3" type="closeempty" color="#fff" size="{{circleIconSize}}" bind:__l="__l"></uni-icons></block><block wx:else><text class="{{['evan-step__circle__text','evan-step__circle__text--'+currentStatus]}}" style="{{'color:'+(circleStyle.color)+';'}}">{{index+1}}</text></block></block></view></block></block><view class="{{['evan-step__content','evan-step__content--'+direction]}}" style="{{'height:'+(contentHeight)+';'}}"><text data-ref="content" class="{{['evan-step__content__title','vue-ref','evan-step__content__title--'+direction]}}" style="{{'color:'+(titleColor)+';'}}">{{title}}</text><block wx:if="{{description}}"><text data-ref="description" class="{{['evan-step__content__description','vue-ref','evan-step__content__description--'+direction]}}" style="{{'color:'+(descriptionColor)+';'}}">{{description}}</text></block></view><block wx:if="{{!isLast}}"><view class="{{['evan-step__line','evan-step__line--'+direction]}}"><view class="{{['evan-step__line--'+direction+'__inner']}}" style="{{'background-color:'+(lineColor)+';'}}"></view></view></block></view> |