mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
39 lines
626 B
Vue
39 lines
626 B
Vue
<template>
|
|
<el-alert
|
|
title="success alert"
|
|
type="success"
|
|
description="more text description"
|
|
show-icon
|
|
>
|
|
</el-alert>
|
|
<el-alert
|
|
title="info alert"
|
|
type="info"
|
|
description="more text description"
|
|
show-icon
|
|
>
|
|
</el-alert>
|
|
<el-alert
|
|
title="warning alert"
|
|
type="warning"
|
|
description="more text description"
|
|
show-icon
|
|
>
|
|
</el-alert>
|
|
<el-alert
|
|
title="error alert"
|
|
type="error"
|
|
description="more text description"
|
|
show-icon
|
|
>
|
|
</el-alert>
|
|
</template>
|
|
<style scoped>
|
|
.el-alert {
|
|
margin: 20px 0 0;
|
|
}
|
|
.el-alert:first-child {
|
|
margin: 0;
|
|
}
|
|
</style>
|