index.wxml 461 B

12345678910
  1. <view class="l-message l-class {{'l-message-'+type}} {{status?'l-message-show':''}}" style="z-index:{{zIndex}};top:{{top}}rpx">
  2. <block wx:if="{{status}}">
  3. <view style="margin-right:15rpx">
  4. <l-icon name="{{icon?icon:type}}" size="{{iconSize}}" color="{{type==='warning'?'#333':iconColor}}"/>
  5. </view>
  6. <image wx:if="{{image}}" src="{{image}}" class="l-message-image l-class-image l-image-class"/>
  7. {{content}}
  8. <slot/>
  9. </block>
  10. </view>