This commit is contained in:
Xuan Loi
2026-01-09 17:25:23 +07:00
commit ae1ea57130
315 changed files with 57694 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<template>
<div>
<div class="field is-grouped">
<div class="control is-expanded pr-3" v-html="content"></div>
<div class="control">
<SvgIcon v-bind="{name: 'error.svg', type: 'danger', size: 24}"></SvgIcon>
</div>
</div>
<p class="border-bottom mt-3 mb-5"></p>
<div class="field is-grouped">
<div class="control is-expanded">
<button class="button is-danger has-text-white" @click="cancel()">Đóng</button>
</div>
<div class="control" v-if="duration">
<CountDown v-bind="{duration: duration}" @close="cancel()"></CountDown>
</div>
</div>
</div>
</template>
<script setup>
var props = defineProps({
content: String,
duration: Number
})
function cancel() {
this.$emit('close')
}
</script>