💄 首页美化 局部注册首页的组件

Former-commit-id: 8d157dd2bed9b8455394d99e160cd7a3e1916eb9 [formerly f0eecabc6d544fd438afc0a390bf7e43b70d64c4] [formerly 8d157dd2bed9b8455394d99e160cd7a3e1916eb9 [formerly f0eecabc6d544fd438afc0a390bf7e43b70d64c4] [formerly 8d157dd2bed9b8455394d99e160cd7a3e1916eb9 [formerly f0eecabc6d544fd438afc0a390bf7e43b70d64c4] [formerly f0eecabc6d544fd438afc0a390bf7e43b70d64c4 [formerly 8f9f0c37c985d6f414e8c6e14dcf9f9f6dedf56c [formerly 278a184c0a53ce1bf6749ac35175e497096e1cf4]]]]]
Former-commit-id: aa454bc54cbc9e7de0327561d5e87775d786d160
Former-commit-id: 2cacb52bb5dab862179de03db08b967c4a472c8c
Former-commit-id: 7d12633c94803151427f52f4f3aa1ece3383f29b [formerly 587a6eaabadd7714cd05ebf298681fa12fb58a1f]
Former-commit-id: 4c1a925f0837001ab019b6d00c5e855e44109a18
Former-commit-id: 60241b6af7d4d9ae5a47450f78859ffa433f2289
Former-commit-id: 890e0c25e138efb2e6b8979d03005717913eecf8
Former-commit-id: 6ae48cdbab2946cbbef69799cd7124af472a7518
Former-commit-id: 70fa352e0ace04eb796b222cfb6c6e23f508d02b
This commit is contained in:
liyang
2019-05-21 16:57:06 +08:00
parent 3aa0e8f5ae
commit c7c1fc3a19
4 changed files with 24 additions and 20 deletions

View File

@@ -14,6 +14,7 @@
<a href="https://www.travis-ci.org/d2-projects/d2-admin"><img src="https://www.travis-ci.org/d2-projects/d2-admin.svg?branch=master"/></a>
<a><img src="https://img.shields.io/github/last-commit/d2-projects/d2-admin.svg"/></a>
<a><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg"/></a>
<a><img src="https://api.netlify.com/api/v1/badges/a5dd4bbd-da3f-4145-98a9-8012577bdcf5/deploy-status"/></a>
</p>
</div>
</template>

View File

@@ -0,0 +1,50 @@
<template>
<div class="d2-page-cover">
<div class="d2-page-cover__logo">
<slot/>
</div>
<p class="d2-page-cover__title">D2 Admin {{$version}}</p>
<p class="d2-page-cover__sub-title">优雅的中后台集成方案</p>
<p class="d2-page-cover__build-time">FINAL BUILD TIME {{$buildTime}}</p>
<slot name="footer"/>
<a target="blank" href="https://github.com/d2-projects/d2-admin">
<img
style="position: absolute; top: 0; right: 0; border: 0; width: 150px;"
src="./image/darkblue@2x.png"
alt="Fork me on GitHub">
</a>
</div>
</template>
<style lang="scss" scoped>
.d2-page-cover {
@extend %full;
@extend %unable-select;
display: flex;
flex-flow: column nowrap;
justify-content: center;
align-items: center;
.d2-page-cover__logo {
img {
width: 200px;
}
}
.d2-page-cover__title {
margin: 0px;
margin-bottom: 20px;
font-weight: bold;
color: $color-text-main;
}
.d2-page-cover__sub-title {
margin: 0px;
margin-bottom: 5px;
color: $color-text-normal;
}
.d2-page-cover__build-time {
margin: 0px;
margin-bottom: 10px;
font-size: 12px;
color: $color-text-placehoder;
}
}
</style>