mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 13:48:38 +08:00
代码调整
This commit is contained in:
@@ -4,9 +4,6 @@ setTimeout(() => {
|
||||
isActived.value = false
|
||||
}, 5000)
|
||||
|
||||
import useSettingsStore from '@/store/modules/settings'
|
||||
const settingsStore = useSettingsStore()
|
||||
|
||||
onMounted(() => {
|
||||
ElNotification({
|
||||
type: 'success',
|
||||
@@ -19,15 +16,6 @@ onMounted(() => {
|
||||
position: 'bottom-right',
|
||||
duration: 5000
|
||||
})
|
||||
if (settingsStore.app.colorScheme !== 'dark') {
|
||||
ElMessageBox.confirm('<p>Fantastic-admin 已正式推出<b>暗黑模式</b>,是否马上体验?</p>', '温馨提醒', {
|
||||
dangerouslyUseHTMLString: true,
|
||||
confirmButtonText: '切换到暗黑模式',
|
||||
cancelButtonText: '先不用'
|
||||
}).then(() => {
|
||||
useSettingsStore().setColorScheme('dark')
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
function open(url) {
|
||||
|
||||
+38
-18
@@ -116,17 +116,27 @@ const oneStepAdminInfo = ref({
|
||||
<page-main style="margin: 0;">
|
||||
<div class="ecology fa">
|
||||
<div class="main">
|
||||
<img src="https://fantastic-admin.netlify.app/logo.png" style="width: 30%;">
|
||||
<img src="https://hooray.gitee.io/fantastic-admin/logo.png" style="width: 30%;">
|
||||
<h1>Fantastic-admin</h1>
|
||||
<h2>一款开箱即用的 Vue 中后台管理系统框架</h2>
|
||||
<el-button plain @click="open('https://fantastic-admin.netlify.app')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
访问官网
|
||||
</el-button>
|
||||
<div>
|
||||
<el-button type="primary" plain @click="open('https://hooray.gitee.io/fantastic-admin/')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
访问官网
|
||||
</el-button>
|
||||
<el-button plain @click="open('https://hooray.github.io/fantastic-admin/')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
备用地址
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<el-divider border-style="dashed" />
|
||||
<el-carousel trigger="click" indicator-position="none" :interval="5000" height="250px">
|
||||
@@ -142,17 +152,27 @@ const oneStepAdminInfo = ref({
|
||||
<page-main style="margin: 0;">
|
||||
<div class="ecology osa">
|
||||
<div class="main">
|
||||
<img src="https://one-step-admin.netlify.app/logo.png" style="width: 30%;">
|
||||
<img src="https://hooray.gitee.io/one-step-admin/logo.png" style="width: 30%;">
|
||||
<h1>One-step-admin</h1>
|
||||
<h2>一款干啥都快人一步的 Vue 中后台系统框架</h2>
|
||||
<el-button plain @click="open('https://one-step-admin.netlify.app')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
访问官网
|
||||
</el-button>
|
||||
<div>
|
||||
<el-button type="primary" plain @click="open('https://hooray.gitee.io/one-step-admin/')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="i-ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
访问官网
|
||||
</el-button>
|
||||
<el-button plain @click="open('https://hooray.github.io/one-step-admin/')">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<svg-icon name="i-ep:link" />
|
||||
</el-icon>
|
||||
</template>
|
||||
备用地址
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<el-divider border-style="dashed" />
|
||||
<el-carousel trigger="click" indicator-position="none" :interval="5000" height="250px">
|
||||
|
||||
Reference in New Issue
Block a user