Blame view

build/Alert/Alert.html 898 Bytes
3a3ecabe   Imshann   init
1
  <div ng-class="'ant-alert'+(type?' ant-alert-'+type:'')+(!showIcon?' ant-alert-no-icon':'')+(description?' ant-alert-with-description':'')">
81f8a467   Imshann   调整组件前缀
2
3
4
5
      <span ng-if="showIcon&&type==='warning'" class="anticon ant-alert-icon"><antd-icon type="ExclamationCircleFilled"></antd-icon></span>
      <span ng-if="showIcon&&type==='success'" class="anticon ant-alert-icon"><antd-icon type="CheckCircleFilled"></antd-icon></span>
      <span ng-if="showIcon&&type==='info'" class="anticon ant-alert-icon"><antd-icon type="InfoCircleFilled"></antd-icon></span>
      <span ng-if="showIcon&&type==='error'" class="anticon ant-alert-icon"><antd-icon type="CloseCircleFilled"></antd-icon></span>
3a3ecabe   Imshann   init
6
7
      <div class="ant-alert-content">
          <div class="ant-alert-message">{{message}}</div>
81f8a467   Imshann   调整组件前缀
8
          <div ng-if="description" class="ant-alert-description"><antd-slot content="{{description}}"></antd-slot></div>
3a3ecabe   Imshann   init
9
10
      </div>
  </div>