u-collapse-item.wxml 1.1 KB
<view class="u-collapse-item data-v-31fbc7f8" style="{{$root.s0}}"><view class="u-collapse-head data-v-31fbc7f8" style="{{$root.s1}}" hover-stay-time="{{200}}" hover-class="{{hoverClass}}" data-event-opts="{{[['tap',[['headClick',['$event']]]]]}}" catchtap="__e"><block wx:if="{{!$slots['title-all']}}"><block class="data-v-31fbc7f8"><block wx:if="{{!$slots['title']}}"><view class="u-collapse-title u-line-1 data-v-31fbc7f8" style="{{$root.s2}}">{{''+title+''}}</view></block><block wx:else><slot name="title"></slot></block><view class="u-icon-wrap data-v-31fbc7f8"><block wx:if="{{arrow}}"><u-icon class="{{['u-arrow-down-icon','data-v-31fbc7f8',(isShow)?'u-arrow-down-icon-active':'']}}" vue-id="0d7db80e-1" color="{{arrowColor}}" name="arrow-down" bind:__l="__l"></u-icon></block></view></block></block><block wx:else><slot name="title-all"></slot></block></view><view class="u-collapse-body data-v-31fbc7f8" style="{{'height:'+(isShow?height+'px':'0')+';'}}"><view class="u-collapse-content data-v-31fbc7f8" style="{{$root.s3}}" id="{{elId}}"><slot></slot></view></view></view>