<view class="segment data-v-18969924"><block wx:for="{{items}}" wx:for-item="title" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['itemClick',[index]]]]]}}" class="segment-item data-v-18969924" style="{{'width:'+(itemWidth)+';'}}" bindtap="__e"><view class="title-container data-v-18969924"><text class="title data-v-18969924" style="{{'color:'+(currentIndex===index?'#007AFF':'darkgray')+';'}}">{{title}}</text></view><block wx:if="{{currentIndex===index}}"><view class="line data-v-18969924"></view></block></view></block></view>