<wxs module="utils" src="../wxs/utils.wxs"/>
<wxs module="computed" src="./index.wxs"/>

<van-transition
        bind:tap="onTap"
        custom-class="van-notify__container"
        custom-style="{{ computed.rootStyle({ zIndex, top }) }}"
        name="slide-down"
        show="{{ show }}"
>
    <view
            class="van-notify van-notify--{{ type }}"
            style="{{ computed.notifyStyle({ background, color }) }}"
    >
        <view
                style="height: {{ statusBarHeight }}px"
                wx:if="{{ safeAreaInsetTop }}"
        />
        <text>{{ message }}</text>
    </view>
</van-transition>
