Aurora Admin v1.2.0: 79 components x 5 ends, doc site, contracts batch 1, playground, regression, deploy ready

This commit is contained in:
aurora-admin
2026-09-10 19:21:56 +08:00
commit 51ce3a28f7
654 changed files with 49082 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<template>
<div class="aa-modal-mask" v-if="visible" @click.self="$emit('ok')">
<div class="aa-alert" :class="'is-' + type">
<div class="aa-alert-head">
<span class="aa-alert-icon">{{ iconMap[type] || 'i' }}</span>
<div class="aa-alert-title">{{ title }}</div>
</div>
<div class="aa-alert-content">{{ content }}</div>
<div class="aa-alert-footer">
<button class="aa-alert-btn" @click="$emit('ok')">{{ okText }}</button>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'AaAlertModal',
props: {
visible: { type: Boolean, default: false },
type: { type: String, default: 'info' },
title: { type: String, default: '提示' },
content: { type: String, default: '' },
okText: { type: String, default: '知道了' }
},
data: function () {
return { iconMap: { success: '✓', error: '✕', warning: '!', info: 'i' } };
}
};
</script>
<style src="./AlertModal.css"></style>