<view class="half-screen" wx:if="{{showModalStatus}}"> <!--屏幕背景变暗的背景 --> <view class="background_screen" bindtap="hideModal"></view> <!--弹出框 --> <view animation="{{animationData}}" class="attr_box"> <slot></slot> </view> </view>