index.axml 509 Bytes
Newer Older
pengguangpu's avatar
pengguangpu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<view class="am-tips-dialog am-tips-dialog-{{type}} {{className}}" a:if="{{show}}">
  <view class="am-tips-dialog-wrap">
    <view class="am-tips-dialog-close" onTap="onCloseTap" a:if="{{type === 'rectangle'}}"></view>
    <view class="am-tips-dialog-icon" a:if="{{iconUrl}}">
      <image src="{{iconUrl}}" />
    </view>
    <view class="am-tips-dialog-content">
      <slot name="content" />
    </view>
    <view class="am-tips-dialog-action">
      <slot name="operation" />
    </view>
  </view>
</view>