diff --git a/src/App.vue b/src/App.vue index 849fab7..784c26a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,17 +1,45 @@ - + + \ No newline at end of file diff --git a/src/components/Header.vue b/src/components/Header.vue new file mode 100644 index 0000000..766bd83 --- /dev/null +++ b/src/components/Header.vue @@ -0,0 +1,123 @@ + + + + + + \ No newline at end of file diff --git a/src/components/layout.vue b/src/components/layout.vue index 71c9313..d482390 100644 --- a/src/components/layout.vue +++ b/src/components/layout.vue @@ -1,51 +1,49 @@ - - - \ No newline at end of file diff --git a/src/components/sidebar.vue b/src/components/sidebar.vue index 129d02c..b47ee69 100644 --- a/src/components/sidebar.vue +++ b/src/components/sidebar.vue @@ -7,26 +7,33 @@ :open-keys="openKeys" @click="handleMenuClick" theme="light" + class="custom-menu" > @@ -37,6 +44,7 @@ + + \ No newline at end of file diff --git a/src/views/controlPanel/account/security/index.vue b/src/views/controlPanel/account/security/index.vue new file mode 100644 index 0000000..495af44 --- /dev/null +++ b/src/views/controlPanel/account/security/index.vue @@ -0,0 +1,203 @@ + + + + + + \ No newline at end of file diff --git a/src/views/controlPanel/fileStore/index.vue b/src/views/controlPanel/fileStore/index.vue index 57b54e5..04de818 100644 --- a/src/views/controlPanel/fileStore/index.vue +++ b/src/views/controlPanel/fileStore/index.vue @@ -1,15 +1,255 @@ - - - - +// 定义区域选项 +interface Region { + id: string + name: string +} + +const regions = [ + { id: 'a100', name: 'A100专区' }, + { id: 'v100', name: 'V100专区' }, + { id: 'foshan', name: '佛山区' }, + { id: 'beijing', name: '北京B区' } +] + +const selectedRegion = ref('a100') // 默认选中 A100 + +// 方法:获取选中区域名称 +const getSelectedRegionName = () => { + const region = regions.find(r => r.id === selectedRegion.value) + return region ? region.name : '' +} + +// 方法:选择区域 +const selectRegion = (id: string) => { + selectedRegion.value = id +} + +// 方法:初始化存储 +const initializeStorage = () => { + alert(`正在初始化 ${selectedRegion.value} 的文件存储...`) + // 这里可以跳转到下一步流程 +} + +// 方法:查看帮助 +const viewHelp = () => { + alert('文件存储使用介绍') +} + +// 方法:查看计费规则 +const viewPricing = () => { + alert('计费规则详情') +} + + + \ No newline at end of file diff --git a/src/views/home/index.vue b/src/views/home/index.vue index a20a8dd..0675516 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,22 +1,13 @@ - - - + - \ No newline at end of file + \ No newline at end of file