mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 00:02:51 +08:00
fix: 修改文件建构
This commit is contained in:
parent
efba045ad0
commit
defb71569d
@ -6,16 +6,16 @@
|
||||
:date-locale="dateZhCN"
|
||||
:theme-overrides="overridesTheme"
|
||||
>
|
||||
<app-provider>
|
||||
<go-app-provider>
|
||||
<I18n></I18n>
|
||||
<router-view></router-view>
|
||||
</app-provider>
|
||||
</go-app-provider>
|
||||
</n-config-provider>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { zhCN, dateZhCN, NConfigProvider } from 'naive-ui'
|
||||
import { AppProvider } from '@/components/AppProvider'
|
||||
import { GoAppProvider } from '@/components/GoAppProvider'
|
||||
import { I18n } from '@/components/I18n'
|
||||
|
||||
import { useDarkThemeHook, useThemeOverridesHook, useCode } from '@/hooks'
|
||||
|
@ -1,3 +0,0 @@
|
||||
import AppProvider from './AppProvider.vue';
|
||||
|
||||
export { AppProvider };
|
@ -1,3 +0,0 @@
|
||||
import ErrorComponent from './index.vue';
|
||||
|
||||
export { ErrorComponent };
|
@ -1,9 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<n-result status="error" title="错误" description="加载失败啦"> </n-result>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup></script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
3
src/components/GoAppProvider/index.ts
Normal file
3
src/components/GoAppProvider/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import GoAppProvider from './index.vue';
|
||||
|
||||
export { GoAppProvider };
|
@ -21,8 +21,8 @@ import {
|
||||
NLoadingBarProvider
|
||||
} from 'naive-ui'
|
||||
|
||||
import { MessageContent } from '@/components/MessageContent'
|
||||
import { DialogContent } from '@/components/DialogContent'
|
||||
import { LoadingContent } from '@/components/LoadingContent'
|
||||
import { MessageContent } from '@/components/Plugins/MessageContent'
|
||||
import { DialogContent } from '@/components/Plugins/DialogContent'
|
||||
import { LoadingContent } from '@/components/Plugins/LoadingContent'
|
||||
|
||||
</script>
|
@ -1,3 +0,0 @@
|
||||
import GoDoc from './index.vue';
|
||||
|
||||
export { GoDoc };
|
@ -1,17 +0,0 @@
|
||||
<template>
|
||||
<n-button quaternary @click="handleClick" title="说明文档">
|
||||
<n-icon size="20" :depth="1">
|
||||
<document-text-icon></document-text-icon>
|
||||
</n-icon>
|
||||
</n-button>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { openDoc } from '@/utils'
|
||||
import { icon } from '@/plugins'
|
||||
const { DocumentTextIcon } = icon.ionicons5
|
||||
|
||||
const handleClick = () => {
|
||||
openDoc()
|
||||
}
|
||||
</script>
|
3
src/components/GoLangSelect/index.ts
Normal file
3
src/components/GoLangSelect/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import GoLangSelect from './index.vue';
|
||||
|
||||
export { GoLangSelect };
|
3
src/components/GoReload/index.ts
Normal file
3
src/components/GoReload/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import GoReload from './index.vue';
|
||||
|
||||
export { GoReload };
|
3
src/components/GoThemeSelect/index.ts
Normal file
3
src/components/GoThemeSelect/index.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import GoThemeSelect from './index.vue';
|
||||
|
||||
export { GoThemeSelect };
|
@ -32,7 +32,6 @@ import Person from './person.png'
|
||||
|
||||
import { icon } from '@/plugins'
|
||||
const {
|
||||
DocumentTextIcon,
|
||||
ChatboxEllipsesIcon,
|
||||
PersonIcon,
|
||||
LogOutOutlineIcon,
|
||||
@ -78,11 +77,6 @@ const options = ref([
|
||||
type: 'divider',
|
||||
key: 'd1'
|
||||
},
|
||||
{
|
||||
label: renderLang('global.doc'),
|
||||
key: 'doc',
|
||||
icon: renderIcon(DocumentTextIcon)
|
||||
},
|
||||
{
|
||||
label: renderLang('global.contact'),
|
||||
key: 'contact',
|
||||
@ -116,9 +110,6 @@ const sysSetHandle = () => {
|
||||
|
||||
const handleSelect = (key: string) => {
|
||||
switch (key) {
|
||||
case 'doc':
|
||||
openDoc()
|
||||
break
|
||||
case 'contact':
|
||||
openDoc()
|
||||
break
|
||||
|
@ -1,3 +0,0 @@
|
||||
import LangSelect from './index.vue';
|
||||
|
||||
export { LangSelect };
|
@ -287,7 +287,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
|
||||
const props = defineProps({
|
||||
optionData: {
|
@ -17,7 +17,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
import { ConfigType } from '@/packages/index.d'
|
||||
|
||||
const props = defineProps({
|
@ -39,7 +39,7 @@
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { PickCreateComponentType } from '@/packages/index.d'
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
import { renderIcon } from '@/utils'
|
||||
import { icon } from '@/plugins/index'
|
||||
import { EditCanvasConfigType } from '@/store/modules/chartEditStore/chartEditStore.d'
|
@ -26,7 +26,7 @@
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { PickCreateComponentType } from '@/packages/index.d'
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
|
||||
const props = defineProps({
|
||||
chartAttr: {
|
@ -18,7 +18,7 @@ import { PickCreateComponentType } from '@/packages/index.d'
|
||||
import {
|
||||
SettingItemBox,
|
||||
CollapseItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
|
||||
const props = defineProps({
|
||||
chartStyles: {
|
@ -1,3 +0,0 @@
|
||||
import Reload from './index.vue';
|
||||
|
||||
export { Reload };
|
@ -1,3 +0,0 @@
|
||||
import ThemeSelect from './index.vue';
|
||||
|
||||
export { ThemeSelect };
|
@ -12,9 +12,9 @@
|
||||
<div class="header-item right">
|
||||
<n-space>
|
||||
<slot name="ri-left"> </slot>
|
||||
<lang-select></lang-select>
|
||||
<go-lang-select></go-lang-select>
|
||||
<theme-color-select></theme-color-select>
|
||||
<Theme-select></Theme-select>
|
||||
<go-theme-select></go-theme-select>
|
||||
<slot name="ri-right"> </slot>
|
||||
</n-space>
|
||||
</div>
|
||||
@ -23,9 +23,9 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ThemeSelect } from '@/components/ThemeSelect'
|
||||
import { LangSelect } from '@/components/LangSelect'
|
||||
import { ThemeColorSelect } from '@/components/ThemeColorSelect'
|
||||
import { GoThemeSelect } from '@/components/GoThemeSelect'
|
||||
import { GoLangSelect } from '@/components/GoLangSelect'
|
||||
import { ThemeColorSelect } from '@/components/Pages/ThemeColorSelect'
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
@ -4,7 +4,7 @@ import router, { setupRouter } from '@/router'
|
||||
import i18n from '@/i18n/index'
|
||||
import { setupStore } from '@/store'
|
||||
import { setupNaive, setupDirectives, setupCustomComponents } from '@/plugins'
|
||||
import { AppProvider } from '@/components/AppProvider/index'
|
||||
import { GoAppProvider } from '@/components/GoAppProvider/index'
|
||||
import { setHtmlTheme } from '@/utils'
|
||||
|
||||
// 引入动画
|
||||
@ -13,7 +13,7 @@ import 'animate.css/animate.min.css'
|
||||
import 'vue3-sketch-ruler/lib/style.css'
|
||||
|
||||
async function appInit() {
|
||||
const appProvider = createApp(AppProvider)
|
||||
const goAppProvider = createApp(GoAppProvider)
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
@ -30,7 +30,7 @@ async function appInit() {
|
||||
setupStore(app)
|
||||
|
||||
// 解决路由守卫,Axios中可使用,Dialog,Message 等全局组件
|
||||
appProvider.mount('#appProvider', true)
|
||||
goAppProvider.mount('#appProvider', true)
|
||||
|
||||
// 挂载路由
|
||||
setupRouter(app)
|
||||
|
@ -47,7 +47,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -31,7 +31,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PropType, computed } from 'vue'
|
||||
import { GlobalSetting, CollapseItem, SettingItemBox, SettingItem } from '@/components/ChartItemSetting/index'
|
||||
import { GlobalSetting, CollapseItem, SettingItemBox, SettingItem } from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
||||
|
||||
|
@ -77,7 +77,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -6,7 +6,7 @@
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
|
||||
import { GlobalSetting } from '@/components/ChartItemSetting/index'
|
||||
import { GlobalSetting } from '@/components/Pages/ChartItemSetting'
|
||||
|
||||
const props = defineProps({
|
||||
optionData: {
|
||||
|
@ -55,7 +55,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -86,7 +86,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -59,7 +59,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -42,7 +42,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -57,7 +57,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -30,7 +30,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -55,7 +55,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -39,7 +39,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -43,7 +43,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -84,7 +84,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -50,7 +50,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
|
||||
const props = defineProps({
|
||||
optionData: {
|
||||
|
@ -58,7 +58,7 @@ import {
|
||||
CollapseItem,
|
||||
SettingItemBox,
|
||||
SettingItem,
|
||||
} from '@/components/ChartItemSetting/index'
|
||||
} from '@/components/Pages/ChartItemSetting'
|
||||
import { option } from './config'
|
||||
|
||||
const props = defineProps({
|
||||
|
@ -2,7 +2,7 @@ import { RouteRecordRaw } from 'vue-router'
|
||||
import type { AppRouteRecordRaw } from '@/router/types';
|
||||
import { ErrorPage404, ErrorPage403, ErrorPage500, Layout } from '@/router/constant';
|
||||
import { PageEnum } from '@/enums/pageEnum'
|
||||
import { Reload } from '@/components/Reload/index'
|
||||
import { GoReload } from '@/components/GoReload'
|
||||
|
||||
|
||||
export const LoginRoute: RouteRecordRaw = {
|
||||
@ -54,7 +54,7 @@ export const ErrorPageRoute: AppRouteRecordRaw = {
|
||||
export const ReloadRoute: AppRouteRecordRaw = {
|
||||
path: PageEnum.RELOAD,
|
||||
name: PageEnum.RELOAD_NAME,
|
||||
component: Reload,
|
||||
component: GoReload,
|
||||
meta: {
|
||||
title: PageEnum.RELOAD_NAME,
|
||||
},
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { PropType } from 'vue'
|
||||
import { MacOsControlBtn } from '@/components/MacOsControlBtn/index'
|
||||
import { MacOsControlBtn } from '@/components/Tips/MacOsControlBtn/index'
|
||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||
import { EditCanvasTypeEnum } from '@/store/modules/chartEditStore/chartEditStore.d'
|
||||
import { componentInstall } from '@/utils'
|
||||
|
@ -22,7 +22,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||
|
||||
const chartEditStore = useChartEditStore()
|
||||
|
@ -36,7 +36,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { animations } from '@/settings/animations/index'
|
||||
import { CollapseItem } from '@/components/ChartItemSetting/index'
|
||||
import { CollapseItem } from '@/components/Pages/ChartItemSetting'
|
||||
import { useDesignStore } from '@/store/modules/designStore/designStore'
|
||||
import { useTargetData } from '../hooks/useTargetData.hook'
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, toRefs } from 'vue'
|
||||
import { icon } from '@/plugins'
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
import { RequestHttpEnum } from '@/enums/httpEnum'
|
||||
import { chartDataUrl, rankListUrl } from '@/api/mock'
|
||||
import { http } from '@/api/http'
|
||||
|
@ -20,7 +20,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { SettingItemBox } from '@/components/ChartItemSetting/index'
|
||||
import { SettingItemBox } from '@/components/Pages/ChartItemSetting'
|
||||
import { useTargetData } from '../hooks/useTargetData.hook'
|
||||
import { ChartDataStatic } from './components/ChartDataStatic/index'
|
||||
import { ChartDataAjax } from './components/ChartDataAjax/index'
|
||||
|
@ -14,7 +14,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { NameSetting, PositionSetting, SizeSetting, StylesSetting } from '@/components/ChartItemSetting/index'
|
||||
import { NameSetting, PositionSetting, SizeSetting, StylesSetting } from '@/components/Pages/ChartItemSetting'
|
||||
import { useTargetData } from '../hooks/useTargetData.hook'
|
||||
const { targetData, chartEditStore } = useTargetData()
|
||||
|
||||
|
@ -18,8 +18,8 @@
|
||||
<layout-header>
|
||||
<template #left></template>
|
||||
<template #right>
|
||||
<lang-select></lang-select>
|
||||
<theme-select></theme-select>
|
||||
<go-lang-select></go-lang-select>
|
||||
<go-theme-select></go-theme-select>
|
||||
</template>
|
||||
</layout-header>
|
||||
<div class="go-login">
|
||||
@ -119,8 +119,8 @@ import { reactive, ref, onMounted } from 'vue'
|
||||
import shuffle from 'lodash/shuffle'
|
||||
import { carouselInterval } from '@/settings/designSetting'
|
||||
import { useDesignStore } from '@/store/modules/designStore/designStore'
|
||||
import { ThemeSelect } from '@/components/ThemeSelect'
|
||||
import { LangSelect } from '@/components/LangSelect'
|
||||
import { GoThemeSelect } from '@/components/GoThemeSelect'
|
||||
import { GoLangSelect } from '@/components/GoLangSelect'
|
||||
import { LayoutHeader } from '@/layout/components/LayoutHeader'
|
||||
import { LayoutFooter } from '@/layout/components/LayoutFooter'
|
||||
import { PageEnum } from '@/enums/pageEnum'
|
||||
@ -315,7 +315,7 @@ $carousel-image-height: 60vh;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: url('@/assets/images/login/login-bg.png') no-repeat 0 -120px;
|
||||
background: url('../../assets/images/login/login-bg.png') no-repeat 0 -120px;
|
||||
.bg-slot {
|
||||
width: $carousel-width;
|
||||
}
|
||||
|
@ -85,7 +85,7 @@
|
||||
import { reactive, ref, PropType } from 'vue'
|
||||
import { renderIcon, renderLang, requireErrorImg } from '@/utils'
|
||||
import { icon } from '@/plugins'
|
||||
import { MacOsControlBtn } from '@/components/MacOsControlBtn'
|
||||
import { MacOsControlBtn } from '@/components/Tips/MacOsControlBtn'
|
||||
import { Chartype } from '../../index.d'
|
||||
const {
|
||||
EllipsisHorizontalCircleSharpIcon,
|
||||
|
@ -78,7 +78,7 @@
|
||||
import { reactive } from 'vue'
|
||||
import { renderIcon, renderLang } from '@/utils'
|
||||
import { icon } from '@/plugins'
|
||||
import { MacOsControlBtn } from '@/components/MacOsControlBtn'
|
||||
import { MacOsControlBtn } from '@/components/Tips/MacOsControlBtn'
|
||||
|
||||
const { HammerIcon } = icon.ionicons5
|
||||
|
||||
|
@ -7,23 +7,23 @@
|
||||
<n-button secondary @click="handleDoc">
|
||||
<template #icon>
|
||||
<n-icon size="18">
|
||||
<help-outline-icon></help-outline-icon>
|
||||
<document-text-icon></document-text-icon>
|
||||
</n-icon>
|
||||
</template>
|
||||
</n-button>
|
||||
</template>
|
||||
<n-text>
|
||||
{{ $t('global.help') }}
|
||||
{{ $t('global.doc') }}
|
||||
</n-text>
|
||||
</n-tooltip>
|
||||
|
||||
<n-button v-else secondary @click="handleDoc">
|
||||
<template #icon>
|
||||
<n-icon size="18">
|
||||
<help-outline-icon></help-outline-icon>
|
||||
<document-text-icon></document-text-icon>
|
||||
</n-icon>
|
||||
</template>
|
||||
<n-text>{{ $t('global.help') }}</n-text>
|
||||
<n-text>{{ $t('global.doc') }}</n-text>
|
||||
</n-button>
|
||||
|
||||
<n-tooltip v-if="collapsed" placement="right" trigger="hover">
|
||||
@ -56,7 +56,7 @@
|
||||
import { openDoc, openGiteeSourceCode } from '@/utils'
|
||||
|
||||
import { icon } from '@/plugins'
|
||||
const { HelpOutlineIcon, CodeSlashIcon } = icon.ionicons5
|
||||
const { DocumentTextIcon, CodeSlashIcon } = icon.ionicons5
|
||||
|
||||
const props = defineProps({
|
||||
collapsed: Boolean
|
||||
|
Loading…
Reference in New Issue
Block a user