Skip to content

Commit

Permalink
Merge pull request #2 from ye17186/master-202005
Browse files Browse the repository at this point in the history
Master 202005
  • Loading branch information
ye17186 committed Apr 29, 2020
2 parents d93d667 + f94aaee commit 7382285
Show file tree
Hide file tree
Showing 46 changed files with 5,954 additions and 678 deletions.
7 changes: 6 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"build-prod": "vue-cli-service build --mode prod"
},
"dependencies": {
"animate.css": "^3.7.2",
"axios": "^0.18.1",
"element-china-area-data": "^4.1.2",
"element-ui": "^2.13.1",
"element-ui-verify": "^1.2.6",
"nprogress": "^0.2.0",
Expand Down
108 changes: 93 additions & 15 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,95 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title></title>
</head>
<body>
<noscript>
<strong>We're sorry but yclouds-admin-web4 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<title>Admin管理平台 - IT小跟班</title>
<style>
html,
body,
#app {
height: 100%;
margin: 0;
padding: 0;
}

.yc-home {
background-color: #303133;
height: 100%;
display: flex;
flex-direction: column;
}

.yc-home__main {
user-select: none;
width: 100%;
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

.yc-home__footer {
width: 100%;
flex-grow: 0;
text-align: center;
padding: 1em 0;
}

.yc-home__footer > a {
font-size: 12px;
color: #ABABAB;
text-decoration: none;
}

.yc-home__loading {
height: 32px;
width: 32px;
margin-bottom: 20px;
}

.yc-home__title {
color: #FFF;
font-size: 14px;
margin-bottom: 10px;
}

.yc-home__sub-title {
color: #ABABAB;
font-size: 12px;
}
</style>
</head>

<body>
<noscript>
<strong>
很抱歉,如果没有 JavaScript 支持,系统将不能正常工作。请启用浏览器的 JavaScript 然后继续。
</strong>
</noscript>
<div id="app">
<div class="yc-home">
<div class="yc-home__main">
<img class="yc-home__loading" src="./loading.svg" alt="loading">
<div class="yc-home__title">
正在加载资源
</div>
<div class="yc-home__sub-title d">
初次加载资源可能需要较多时间 请耐心等待
</div>
</div>
<div class="yc-home__footer">
<a href="https://blog.it-follower.com" target="_blank">https://blog.it-follower.com</a>
</div>
</div>
</div>
</body>

</html>
6 changes: 6 additions & 0 deletions public/loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
width: 100%;
padding: 0;
margin: 0;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
#app {
width: 100%;
height: 100%;
Expand Down
Loading

0 comments on commit 7382285

Please sign in to comment.