index.wxml 411 B

123456789101112131415
  1. <van-transition
  2. name="slide-down"
  3. show="{{ show }}"
  4. custom-class="van-notify__container"
  5. custom-style="z-index: {{ zIndex }};"
  6. bind:tap="onTap"
  7. >
  8. <view
  9. class="van-notify van-notify--{{ type }}"
  10. style="background:{{ background }};color:{{ color }};"
  11. >
  12. <view wx:if="{{ safeAreaInsetTop }}" class="van-notify__safe-area"></view>
  13. <text>{{ message }}</text>
  14. </view>
  15. </van-transition>