vant-weapp/dist/notify/index.wxml
2019-09-20 14:15:06 +08:00

11 lines
356 B
Plaintext

<van-transition
name="slide-down"
show="{{ show }}"
custom-class="van-notify van-notify--{{ type }}"
custom-style="background:{{ background }}; color: {{ color }}; z-index: {{ zIndex }};"
bind:tap="onTap"
>
<view wx:if="{{ safeAreaInsetTop }}" style="padding-top: {{ statusBarHeight }}px"></view>
<text>{{ message }}</text>
</van-transition>