文件夹改名
Former-commit-id: 7b74bdf25b14c6a8da08ae07075e3f78be308894 [formerly 7b74bdf25b14c6a8da08ae07075e3f78be308894 [formerly 7b74bdf25b14c6a8da08ae07075e3f78be308894 [formerly 7b74bdf25b14c6a8da08ae07075e3f78be308894 [formerly 1e795e1614aaf94f23ad99354f6ca9be303a1b1e [formerly 9ce21aef6b043d8bfcb2849dd7c6bc34e4625387]]]]] Former-commit-id: c92d7410adc4138c7903c0067860fc3d190f54b0 Former-commit-id: 9f0ab819a505e341a6edf210efb107df8b8efe33 Former-commit-id: 3006c0d2ccda4133203372c30ffee34a73fa8944 [formerly f340ca4127e4578b3c53747d13bbaba223ed4e83] Former-commit-id: 9624c2aaa99880b5e37f1e60f1f36ac673e021ed Former-commit-id: 7923489f2c3c637782d9d4a1707bc48dfe3b1acf Former-commit-id: 2375e080a7f715bc48da40d4c56235efad3f0d5d Former-commit-id: c41402e6c0266a07e974efad41feed7c6fb7d0b6 Former-commit-id: b8814b31619151361c91ed37cb1ee7f3813853c1
This commit is contained in:
24
src/views/system/error/404/index.vue
Normal file
24
src/views/system/error/404/index.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<div class="page">
|
||||
<p class="page_title">404 page not found</p>
|
||||
<el-button class="d2-mt" @click="$router.replace({ path: '/' })">
|
||||
返回首页
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
background: #303133;
|
||||
background-blend-mode: multiply,multiply;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
.page_title {
|
||||
font-size: 20px;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
6
src/views/system/function/redirect/index.js
Normal file
6
src/views/system/function/redirect/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
beforeRouteEnter (to, from, next) {
|
||||
next(instance => instance.$router.replace(JSON.parse(from.params.route)))
|
||||
},
|
||||
render: h => h()
|
||||
}
|
||||
6
src/views/system/function/refresh/index.js
Normal file
6
src/views/system/function/refresh/index.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export default {
|
||||
beforeRouteEnter (to, from, next) {
|
||||
next(instance => instance.$router.replace(from.fullPath))
|
||||
},
|
||||
render: h => h()
|
||||
}
|
||||
36
src/views/system/index/components/d2-badge/index.vue
Normal file
36
src/views/system/index/components/d2-badge/index.vue
Normal file
@@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div class="d2-badge">
|
||||
<p align="center">
|
||||
<a><img src="https://img.shields.io/github/release/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/forks/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/stars/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-closed/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-pr/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-pr-closed/d2-projects/d2-admin.svg"/></a>
|
||||
</p>
|
||||
<p align="center">
|
||||
<a><img src="https://img.shields.io/npm/v/@d2-admin/ice-scaffold.svg"/></a>
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.d2-badge {
|
||||
margin-bottom: 20px;
|
||||
p {
|
||||
margin: 0px;
|
||||
margin-bottom: 2px;
|
||||
:nth-last-child() {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
a {
|
||||
display: inline-block;
|
||||
margin: 0px 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1 @@
|
||||
b27de32f6832b50dc5b8b1dc613060a81f88a8e9
|
||||
@@ -0,0 +1 @@
|
||||
12bb778e8779f32a46ee756e6dbb890024b40f5d
|
||||
55
src/views/system/index/components/d2-help-btn/index.vue
Normal file
55
src/views/system/index/components/d2-help-btn/index.vue
Normal file
@@ -0,0 +1,55 @@
|
||||
<template>
|
||||
<div>
|
||||
<img
|
||||
src="./image/d2-help-button@2x.png"
|
||||
style="width: 138px;"
|
||||
@click="dialogVisible = true">
|
||||
<el-dialog
|
||||
title="帮助"
|
||||
width="600px"
|
||||
:visible.sync="dialogVisible"
|
||||
:append-to-body="true">
|
||||
<div style="margin-top: -25px; margin-bottom: -25px;">
|
||||
<el-button-group class="d2-mb">
|
||||
<el-button @click="$open('https://github.com/d2-projects/d2-admin')">
|
||||
<d2-icon name="github" class="d2-mr-5"/>
|
||||
主页
|
||||
</el-button>
|
||||
<el-button @click="$open('https://doc.d2admin.fairyever.com/zh/')">
|
||||
<d2-icon name="book" class="d2-mr-5"/>
|
||||
中文文档
|
||||
</el-button>
|
||||
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues')">
|
||||
<d2-icon name="question" class="d2-mr-5"/>
|
||||
issues
|
||||
</el-button>
|
||||
<el-button @click="$open('https://github.com/d2-projects/d2-admin/issues/new/choose')">
|
||||
<d2-icon name="plus" class="d2-mr-5"/>
|
||||
New issue
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-alert :closable="false" type="info" title="2000人QQ群 [ 推荐 ]" class="d2-mb"/>
|
||||
<img src="./image/qq.jpg" style="width: 100%;">
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-alert :closable="false" type="info" title="与作者成为微信好友 邀请进微信群" class="d2-mb"/>
|
||||
<img src="./image/we.jpg" style="width: 100%;">
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'd2-page-cover',
|
||||
data () {
|
||||
return {
|
||||
dialogVisible: false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
1
src/views/system/index/image/qr@2x.png.REMOVED.git-id
Normal file
1
src/views/system/index/image/qr@2x.png.REMOVED.git-id
Normal file
@@ -0,0 +1 @@
|
||||
2ef12d88b2011063784c37f8b8490336503a5f88
|
||||
3
src/views/system/index/index.js
Normal file
3
src/views/system/index/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
import page from './page'
|
||||
|
||||
export default page
|
||||
69
src/views/system/index/page.vue
Normal file
69
src/views/system/index/page.vue
Normal file
@@ -0,0 +1,69 @@
|
||||
<template>
|
||||
<d2-container :filename="filename" class="page">
|
||||
<d2-page-cover>
|
||||
<d2-icon-svg
|
||||
class="page__logo"
|
||||
name="d2-admin"/>
|
||||
<template slot="footer">
|
||||
<div class="page__btn-group">
|
||||
<span @click="$open('https://github.com/d2-projects')">开源组织</span> |
|
||||
<span @click="$open('https://doc.d2admin.fairyever.com/zh/')">文档</span> |
|
||||
<span @click="$open('https://github.com/d2-projects/d2-admin-start-kit')">简化版</span> |
|
||||
<span @click="$open('https://alibaba.github.io/ice/scaffold?type=vue')">飞冰</span> |
|
||||
<span @click="$open('https://juejin.im/user/57a48b632e958a006691b946/posts')">掘金</span> |
|
||||
<span @click="$open('https://daily.fairyever.com')">日报</span> |
|
||||
<el-popover
|
||||
:width="172"
|
||||
trigger="hover">
|
||||
<p class="d2-mt-0 d2-mb-10">D2Projects</p>
|
||||
<img
|
||||
src="./image/qr@2x.png"
|
||||
style="width: 172px;">
|
||||
<span slot="reference">微信公众号</span>
|
||||
<p style="font-size: 12px; margin-top: 0px; margin-bottom: 0px;">
|
||||
官方公众号,主要推送前端技术类文章、框架资源、学习教程,以及 D2 系列项目更新信息
|
||||
</p>
|
||||
</el-popover>
|
||||
</div>
|
||||
<d2-badge/>
|
||||
<d2-help-btn/>
|
||||
</template>
|
||||
</d2-page-cover>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import D2HelpBtn from './components/d2-help-btn'
|
||||
import D2Badge from './components/d2-badge'
|
||||
export default {
|
||||
components: {
|
||||
D2HelpBtn,
|
||||
D2Badge
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
filename: __filename
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
.page__logo {
|
||||
width: 120px;
|
||||
}
|
||||
.page__btn-group {
|
||||
color: $color-text-placehoder;
|
||||
font-size: 12px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 20px;
|
||||
span {
|
||||
color: $color-text-sub;
|
||||
&:hover {
|
||||
color: $color-text-main;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
1
src/views/system/login/image/logo@2x.png.REMOVED.git-id
Normal file
1
src/views/system/login/image/logo@2x.png.REMOVED.git-id
Normal file
@@ -0,0 +1 @@
|
||||
f37e18711a040d8dd2ad2af9cfb9f4ea6760c07a
|
||||
3
src/views/system/login/index.js
Normal file
3
src/views/system/login/index.js
Normal file
@@ -0,0 +1,3 @@
|
||||
import page from './page'
|
||||
|
||||
export default page
|
||||
1
src/views/system/login/page.vue.REMOVED.git-id
Normal file
1
src/views/system/login/page.vue.REMOVED.git-id
Normal file
@@ -0,0 +1 @@
|
||||
bf433bc08708fd43c3fcf70acb0d3993d9153e7d
|
||||
Reference in New Issue
Block a user