vant-weapp/lib/notify/index.wxml
2019-04-03 10:21:53 +08:00

10 lines
315 B
Plaintext

<van-transition
name="slide-down"
show="{{ show }}"
custom-class="van-notify"
custom-style="background-color:{{ backgroundColor }}; color: {{ color }};"
>
<view wx:if="{{ safeAreaInsetTop }}" class="van-notify__safe-top" style="padding-top: {{ statusBarHeight }}px"></view>
{{ text }}
</van-transition>