删除设置板块
Former-commit-id: deb3a6501bcd3f4deb6c70eaf4be4c05452b5750 [formerly deb3a6501bcd3f4deb6c70eaf4be4c05452b5750 [formerly deb3a6501bcd3f4deb6c70eaf4be4c05452b5750 [formerly deb3a6501bcd3f4deb6c70eaf4be4c05452b5750 [formerly 0105e17d248ce1314116db7418a231f892a6d3a7 [formerly 848d51aef26f6a7c3912059d2eecf5f3171ed7f1]]]]] Former-commit-id: 7a179ef3ccebd24e05cb1845d5c58d6597e73263 Former-commit-id: 70cfa0ec54dd57339783dea7d654d4076531d05c Former-commit-id: 8b8715d6c2d04228c2d60c2b74595d96374b49dc [formerly d51d0b16dec217d88b2f53cb98e57435425a99f5] Former-commit-id: ca7f4456e1bd396b3edf403b99f292e8b52ca11b Former-commit-id: 448f797ff1bfaeabbddf8c239dbcd8a82a4fb53d Former-commit-id: c994831225d487c33ba0e9e8d70a4029b613380f Former-commit-id: 1cebf0cb2652ed228d83237112dc1d660e550592 Former-commit-id: f0605ce5891cba902261ae7997b0c7c54f0a76fe
This commit is contained in:
@@ -1 +1 @@
|
||||
cd58dd4035b085599e347eeca23d10d01a33cbda
|
||||
d59e35c11f62e5f2258175094bc72403a6faad8b
|
||||
@@ -1 +1 @@
|
||||
b9086aba1ff4b591f707bb03a2d9179c4159380a
|
||||
11e95dd3434ee0702bc7b391adc3b9587aa86452
|
||||
@@ -1,9 +0,0 @@
|
||||
<template>
|
||||
<d2-container type="full">
|
||||
<d2-demo-page-cover
|
||||
title="设置"
|
||||
sub-title="系统设置">
|
||||
<img src="@/assets/image/icon/page-cover/setting.png">
|
||||
</d2-demo-page-cover>
|
||||
</d2-container>
|
||||
</template>
|
||||
@@ -1,74 +0,0 @@
|
||||
<template>
|
||||
<d2-container type="full" class="page">
|
||||
<template slot="header">D2Admin 版本检查</template>
|
||||
<div class="banner">
|
||||
<img src="@/assets/image/logo/w500.png" alt="logo">
|
||||
</div>
|
||||
<div v-if="update" class="releases">
|
||||
<h1>有新版本 {{releases.tag_name}}</h1>
|
||||
<p>更新日期 {{dayjs(releases.created_at).format('YYYY年M月D日')}}</p>
|
||||
<a :href="releases.html_url" class="el-button el-button--primary d2-mb">{{releases.html_url}}</a>
|
||||
<d2-markdown key="update" :source="releases.body"/>
|
||||
</div>
|
||||
<div v-else class="up2date">
|
||||
<d2-markdown key="noupdate" :source="up2date"/>
|
||||
</div>
|
||||
<template slot="footer">
|
||||
<el-button
|
||||
:type="updateNotify ? 'primary' : 'default'"
|
||||
size="mini"
|
||||
@click="d2adminUpdateNotifySet(!updateNotify)">
|
||||
{{updateNotify ? '关闭更新提醒 (当前:打开)' : '打开更新提醒 (当前:关闭)'}}
|
||||
</el-button>
|
||||
</template>
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import up2date from './md/up-to-date.md'
|
||||
import dayjs from 'dayjs'
|
||||
import { mapState, mapMutations } from 'vuex'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
dayjs,
|
||||
up2date
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState({
|
||||
version: state => state.d2admin.version,
|
||||
releases: state => state.d2admin.releases,
|
||||
update: state => state.d2admin.update,
|
||||
updateNotify: state => state.d2admin.updateNotify
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapMutations([
|
||||
'd2adminUpdateNotifySet'
|
||||
])
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '~@/assets/style/public.scss';
|
||||
.page {
|
||||
.banner {
|
||||
text-align: center;
|
||||
img {
|
||||
width: 250px;
|
||||
}
|
||||
}
|
||||
.releases {
|
||||
padding: 20px;
|
||||
border-radius: 4px;
|
||||
background-color: $color-bg;
|
||||
}
|
||||
.up2date {
|
||||
padding: 20px;
|
||||
border-radius: 4px;
|
||||
background-color: $color-bg;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,9 +0,0 @@
|
||||
已经是最新版本
|
||||
|
||||
[Github仓库](https://github.com/d2-projects/d2-admin)
|
||||
|
||||
[码云仓库](https://gitee.com/fairyever/d2-admin)
|
||||
|
||||
[中文文档](http://d2admin.fairyever.com/zh/)
|
||||
|
||||
[预览地址](https://fairyever.gitee.io/d2-admin-preview)
|
||||
@@ -1,26 +0,0 @@
|
||||
<template>
|
||||
<d2-container type="full" class="page">
|
||||
custom theme setting coming soon
|
||||
</d2-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
computed: {
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '~@/assets/style/public.scss';
|
||||
.page {
|
||||
// Your page style here
|
||||
// Do not use empty rulesets
|
||||
// If empty, delete it
|
||||
}
|
||||
</style>
|
||||
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<d2-container>
|
||||
<d2-theme-list/>
|
||||
</d2-container>
|
||||
</template>
|
||||
@@ -1,9 +0,0 @@
|
||||
<template>
|
||||
<d2-container type="full">
|
||||
<d2-demo-page-cover
|
||||
title="示例业务页面"
|
||||
sub-title="暂时还没有什么 但是以后会有">
|
||||
<img src="@/assets/image/icon/page-cover/business.png">
|
||||
</d2-demo-page-cover>
|
||||
</d2-container>
|
||||
</template>
|
||||
Reference in New Issue
Block a user