1 |
- <view class="div container data-v-328e2ae5"><view class="div uni-steps data-v-328e2ae5"><view class="{{['div','uni-steps-items','data-v-328e2ae5','uni-steps-'+direction]}}"><block wx:for="{{options}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['div','uni-steps-item','data-v-328e2ae5',(index===active)?'uni-steps-process':'',(index<active)?'uni-steps-finish':'']}}"><view class="div uni-steps-item-title-container data-v-328e2ae5" style="{{('color: '+(index===active?activeColor:''))}}"><view class="div uni-steps-item-title data-v-328e2ae5">{{item.title}}</view><block wx:if="{{item.desc}}"><view class="div uni-steps-item-desc data-v-328e2ae5">{{item.desc}}</view></block></view><view class="div uni-steps-item-circle-container data-v-328e2ae5"><block wx:if="{{index!==active}}"><view class="div uni-steps-item-circle data-v-328e2ae5" style="{{('background-color:'+(index<active?activeColor:''))}}"></view></block><block wx:else><view class="div uni-steps-item-check iconfont data-v-328e2ae5" style="{{('color:'+activeColor)}}"></view></block></view><block wx:if="{{index!==$root.g0-1}}"><view class="div uni-steps-item-line data-v-328e2ae5" style="{{('background-color:'+(index<active?activeColor:''))}}"></view></block></view></block></view></view></view>
|