You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
621 B
25 lines
621 B
|
6 years ago
|
<script type="text/jsx">
|
||
|
6 years ago
|
export default {
|
||
|
|
name: "LoadingMask",
|
||
|
6 years ago
|
|
||
|
6 years ago
|
functional: true,
|
||
|
6 years ago
|
|
||
|
6 years ago
|
props: {show: Boolean},
|
||
|
6 years ago
|
|
||
|
6 years ago
|
render(h, context) {
|
||
|
|
if (context.props.show) {
|
||
|
|
return (
|
||
|
|
<div class="el-loading-mask">
|
||
|
|
<div class="el-loading-spinner">
|
||
|
|
<svg viewBox="25 25 50 50" class="circular">
|
||
|
|
<circle cx="50" cy="50" r="20" fill="none" class="path"/>
|
||
|
|
</svg>
|
||
|
|
<p>加载中...</p>
|
||
|
6 years ago
|
</div>
|
||
|
6 years ago
|
</div>
|
||
|
|
)
|
||
|
6 years ago
|
}
|
||
|
|
}
|
||
|
6 years ago
|
}
|
||
|
6 years ago
|
</script>
|