index.axml 634 B

123456789101112
  1. <view class='notify-index {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <import-sjs from='../wxs/utils.sjs' name='utils'>
  3. </import-sjs>
  4. <van-transition name='slide-down' show='{{ show }}' custom-class='van-notify__container' custom-style='z-index: {{ zIndex }}; top: {{ utils.addUnit(top) }}' onTap='onTap' ref='saveChildRef1'>
  5. <view class='van-notify van-notify--{{ type }}' style='background:{{ background }};color:{{ color }};'>
  6. <view a:if='{{ safeAreaInsetTop }}' style='height: {{ statusBarHeight }}px'>
  7. </view>
  8. <text>
  9. {{ message }} </text>
  10. </view>
  11. </van-transition>
  12. </view>