This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dzxrly
committed
May 3, 2020
1 parent
1d13a8e
commit 3e5de28
Showing
32 changed files
with
288 additions
and
100 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<template> | ||
<div class="load-ani"> | ||
<svg height="91" width="65"> | ||
<polyline class="load-logo" fill="none" :stroke="logoColor" stroke-width="2" | ||
points="1,1 21,1 33,44 44,1 64,1 33,90 1,1" | ||
stroke-linecap="round" stroke-linejoin="round"></polyline> | ||
</svg> | ||
<h3 class="load-text">加载中...</h3> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Loading', | ||
data () { | ||
return { | ||
logoColor: '#409EFF' | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped lang="stylus"> | ||
.load-ani { | ||
position fixed | ||
display flex | ||
justify-content center | ||
align-items center | ||
min-height 100vh | ||
width 100% | ||
flex-direction column | ||
background-color rgba(255, 255, 255, 0.8) | ||
z-index 9999 | ||
pointer-events none | ||
.load-text { | ||
font-family Helvetica | ||
font-size 14px | ||
margin-top 10px | ||
color #409EFF | ||
} | ||
.load-logo { | ||
animation load-logo 2s infinite | ||
--webkit-animation load-logo 2s infinite | ||
stroke-dasharray 500 | ||
stroke-dashoffset 500 | ||
} | ||
@keyframes load-logo { | ||
from { | ||
stroke-dashoffset 500 | ||
} | ||
to { | ||
stroke-dashoffset 0 | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.