<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>