crm_second_opening_mini/uview-ui/components/u-collapse-item/u-collapse-item.wxml

1 line
1.1 KiB
Plaintext

<view class="u-collapse-item data-v-4f34b7a2" style="{{$root.s0}}"><view class="u-collapse-head data-v-4f34b7a2" 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-4f34b7a2"><block wx:if="{{!$slots['title']}}"><view class="u-collapse-title u-line-1 data-v-4f34b7a2" style="{{$root.s2}}">{{''+title+''}}</view></block><block wx:else><slot name="title"></slot></block><view class="{{['u-icon-wrap','u-arrow-down-icon','data-v-4f34b7a2',(isShow)?'u-arrow-down-icon-active':'']}}"><block wx:if="{{arrow}}"><u-icon vue-id="0d7db80e-1" color="{{arrowColor}}" name="arrow-down" class="data-v-4f34b7a2" 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-4f34b7a2" style="{{'height:'+(isShow?height+'px':'0')+';'}}"><view class="u-collapse-content data-v-4f34b7a2" style="{{$root.s3}}" id="{{elId}}"><slot></slot></view></view></view>