a901da64
梁灏
optimize Alert style
|
1
|
<template>
|
5d122b37
梁灏
support Alert
|
2
|
<div>
|
27b03d14
梁灏
update Alert style
|
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<Alert>
An info prompt
<template slot="desc">Content of prompt. Content of prompt. Content of prompt. Content of prompt. </template>
</Alert>
<Alert type="success">
A success prompt
<template slot="desc">Content of prompt. Content of prompt. Content of prompt. Content of prompt. </template>
</Alert>
<Alert type="warning">
A warning prompt
<template slot="desc">
Content of prompt. Content of prompt. Content of prompt.
</template>
</Alert>
<Alert type="error">
An error prompt
<span slot="desc">
Custom error description copywriting. <Icon type="help-circled" size="14"></Icon>
</span>
</Alert>
<Alert type="info" show-icon closable>消息提示文案</Alert>
|
5d122b37
梁灏
support Alert
|
24
|
<Alert type="success" show-icon>成功提示文案</Alert>
|
27b03d14
梁灏
update Alert style
|
25
|
<Alert type="warning" show-icon>警告提示文案</Alert>
|
5d122b37
梁灏
support Alert
|
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<Alert type="error" show-icon>错误提示文案</Alert>
<Alert show-icon>
消息提示文案
<template slot="desc">消息提示的描述文案消息提示的描述文案消息提示的描述文案消息提示的描述文案消息提示的描述文案</template>
</Alert>
<Alert type="success" show-icon>
成功提示文案
<span slot="desc">成功的提示描述文案成功的提示描述文案成功的提示描述文案成功的提示描述文案成功的提示描述文案</span>
</Alert>
<Alert type="warning" show-icon>
警告提示文案
<template slot="desc">
警告的提示描述文案警告的提示描述文案警告的提示描述文案
</template>
</Alert>
<Alert type="error" show-icon>
错误提示文案
<span slot="desc">
|
a901da64
梁灏
optimize Alert style
|
44
45
|
自定义错误描述文案。
</span>
|
5d122b37
梁灏
support Alert
|
46
47
48
49
50
51
52
|
</Alert>
<Alert show-icon closable>
自定义图标
<Icon type="ios-lightbulb-outline" slot="icon"></Icon>
<template slot="desc">自定义图标文案自定义图标文案自定义图标文案自定义图标文案自定义图标文案</template>
</Alert>
</div>
|
a901da64
梁灏
optimize Alert style
|
53
54
55
56
57
58
59
|
</template>
<script>
import { Alert, Icon } from 'iview';
export default {
components: { Alert, Icon }
}
</script>
|