index.wxml 338B

12345678910
  1. <van-transition
  2. name="slide-down"
  3. show="{{ show }}"
  4. custom-class="van-notify"
  5. custom-style="background-color:{{ backgroundColor }}; color: {{ color }}; z-index: {{ zIndex }};"
  6. >
  7. <view wx:if="{{ safeAreaInsetTop }}" class="van-notify__safe-top" style="padding-top: {{ statusBarHeight }}px"></view>
  8. {{ text }}
  9. </van-transition>