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