wszhyWx/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-collapse-item/u-collapse-item.wxml

1 line
1.1 KiB
Plaintext
Raw Normal View History

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