- <van-transition show="{{ expand }}">
- <slot></slot>
- </van-transition>
- <view class="more" bindtap="toggle" wx:if="{{!expand}}">
- 展开更多消息
- <van-icon name="arrow-down" style="margin-left:15rpx"/>
- </view>
- <view class="more" bindtap="toggle" wx:else>
- 收起
- <van-icon name="arrow-up" style="margin-left:15rpx"/>
- </view>
|