1 line
1.2 KiB
Plaintext
1 line
1.2 KiB
Plaintext
<view class="{{['uni-collapse-cell data-v-31b0535f',(disabled)?'uni-collapse-cell--disabled':'',(!disabled)?'uni-collapse-cell--notdisabled':'',(isOpen)?'uni-collapse-cell--open':'',(!isOpen)?'uni-collapse-cell--hide':'']}}"><view data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" class="uni-collapse-cell__title data-v-31b0535f" bindtap="__e"><block wx:if="{{thumb}}"><image class="uni-collapse-cell__title-img data-v-31b0535f" src="{{thumb}}"></image></block><text class="uni-collapse-cell__title-text data-v-31b0535f">{{title}}</text><uni-icons class="{{['uni-collapse-cell__title-arrow data-v-31b0535f',(isOpen)?'uni-collapse-cell__title-arrow-active':'',(showAnimation===true)?'uni-collapse-cell--animation':'']}}" vue-id="532eca54-1" color="#bbb" size="20" type="arrowdown" bind:__l="__l"></uni-icons></view><view class="{{['uni-collapse-cell__content data-v-31b0535f',(!isOpen)?'uni-collapse-cell__content--hide':'']}}"><view class="{{['uni-collapse-cell__wrapper data-v-31b0535f',(showAnimation===true)?'uni-collapse-cell--animation':'']}}" style="{{'transform:'+(isOpen?'translateY(0)':'translateY(-50%)')+';'+('-webkit-transform:'+(isOpen?'translateY(0)':'translateY(-50%)')+';')}}"><slot></slot></view></view></view> |