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
+28
View File
@@ -0,0 +1,28 @@
<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 setup>
const props = defineProps({
visible: { type: Boolean, default: false },
type: { type: String, default: 'info' },
title: { type: String, default: '提示' },
content: { type: String, default: '' },
okText: { type: String, default: '知道了' }
});
const emit = defineEmits(['ok']);
const iconMap = { success: '✓', error: '✕', warning: '!', info: 'i' };
</script>
<style src="./AlertModal.css"></style>