This commit is contained in:
liyang 2018-07-20 17:09:36 +08:00
parent 0930c48563
commit ee22806298
15 changed files with 58 additions and 17 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 李杨
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -90,11 +90,10 @@ D2Admin 是完全开源免费的管理系统集成方案,由 [FairyEver](https
## 觉得不错 赏个咖啡 让作者打起精神 ~
<img src="https://raw.githubusercontent.com/FairyEver/d2-admin/master/dev/github/reward-me@2x.png"/>
<img src="https://raw.githubusercontent.com/FairyEver/d2-admin/master/dev/github/qr@2x.png"/>
更多介绍和使用方法见 [文档](http://d2admin.fairyever.com/zh/)
## 朋友的开源项目
## 友情链接
* [avue](https://github.com/nmxiaowei/avue)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

View File

@ -1,6 +1,6 @@
// vue-splitpane 样式补丁
@import '~@/assets/style/unit/_color.scss';
@import '~@/assets/style/unit/color.scss';
.splitter-pane-resizer {
background-color: $color-border-1 !important;

View File

@ -1,4 +1,4 @@
@import '~@/assets/style/unit/_color.scss';
@import '~@/assets/style/unit/color.scss';
// 工具类名统一前缀
$prefix: d2;

View File

@ -123,7 +123,7 @@ export default [
'cube',
'cubes',
'cutlery',
'dashboard',
'index',
'database',
'deaf',
'deafness',

View File

@ -5,6 +5,7 @@
</div>
<p class="page-cover__title">{{title}}</p>
<p class="page-cover__sub-title d2-mt-0">{{subTitle}}</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;"

View File

@ -1,9 +0,0 @@
<template>
<d2-container>
<d2-page-cover
title="I AM D2ADMIN"
sub-title="追求简约美感 & 上手即用的后台管理系统模板">
<img src="./image/icon.png">
</d2-page-cover>
</d2-container>
</template>

View File

@ -123,7 +123,7 @@ export default [
'cube',
'cubes',
'cutlery',
'dashboard',
'index',
'database',
'deaf',
'deafness',

View File

@ -92,7 +92,7 @@ export default {
</script>
<style lang="scss" scoped>
@import '~@/assets/style/unit/_color.scss';
@import '~@/assets/style/unit/color.scss';
.color {
border-radius: 4px;
height: 90px;

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

29
src/pages/index/page.vue Normal file
View File

@ -0,0 +1,29 @@
<template>
<d2-container>
<d2-page-cover
title="I AM D2ADMIN"
sub-title="追求简约美感的后台管理系统集成方案">
<img src="./image/icon.png">
<div slot="footer" class="index-btn-group">
<a href="https://github.com/d2-projects/d2-admin" target="blank">主页</a> |
<a href="http://d2admin.fairyever.com/zh/" target="blank">文档</a> |
<a href="https://github.com/d2-projects/d2-admin/issues" target="blank">issue</a> |
<a href="https://github.com/d2-projects/d2-admin/issues/new" target="blank">提问</a>
</div>
</d2-page-cover>
</d2-container>
</template>
<style lang="scss" scoped>
@import '~@/assets/style/public.scss';
.index-btn-group {
color: $color-text-placehoder;
a {
color: $color-text-sub;
&:hover {
color: $color-text-main;
}
}
}
</style>

View File

@ -17,7 +17,7 @@ const frameIn = [
path: 'index',
name: 'index',
meta,
component: () => import('@/pages/dashboard')
component: () => import('@/pages/index')
}
]
},