diff --git a/src/assets/SvgIcons/activityManagement.svg b/src/assets/SvgIcons/activityManagement.svg new file mode 100644 index 0000000..89ec77a --- /dev/null +++ b/src/assets/SvgIcons/activityManagement.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/src/assets/SvgIcons/现金管理.svg b/src/assets/SvgIcons/cashManagement.svg similarity index 100% rename from src/assets/SvgIcons/现金管理.svg rename to src/assets/SvgIcons/cashManagement.svg diff --git a/src/assets/SvgIcons/channelManagement.svg b/src/assets/SvgIcons/channelManagement.svg new file mode 100644 index 0000000..3a4c7e7 --- /dev/null +++ b/src/assets/SvgIcons/channelManagement.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/assets/SvgIcons/金币管理.svg b/src/assets/SvgIcons/goldManagement.svg similarity index 100% rename from src/assets/SvgIcons/金币管理.svg rename to src/assets/SvgIcons/goldManagement.svg diff --git a/src/assets/SvgIcons/permissionManagement.svg b/src/assets/SvgIcons/permissionManagement.svg new file mode 100644 index 0000000..053a5ce --- /dev/null +++ b/src/assets/SvgIcons/permissionManagement.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/assets/SvgIcons/工作台.svg b/src/assets/SvgIcons/workbench.svg similarity index 100% rename from src/assets/SvgIcons/工作台.svg rename to src/assets/SvgIcons/workbench.svg diff --git a/src/assets/avator.png b/src/assets/avator.png deleted file mode 100644 index 88526ec..0000000 Binary files a/src/assets/avator.png and /dev/null differ diff --git a/src/assets/动漫美女.png b/src/assets/动漫美女.png deleted file mode 100644 index 39ef830..0000000 Binary files a/src/assets/动漫美女.png and /dev/null differ diff --git a/src/assets/金币管理系统logo.png b/src/assets/金币管理系统logo.png deleted file mode 100644 index e6ef08a..0000000 Binary files a/src/assets/金币管理系统logo.png and /dev/null differ diff --git a/src/assets/韩信.png b/src/assets/韩信.png deleted file mode 100644 index 956b57a..0000000 Binary files a/src/assets/韩信.png and /dev/null differ diff --git a/src/views/consume/bean/beanConsume.vue b/src/views/consume/bean/beanConsume.vue index df8141d..000b01c 100644 --- a/src/views/consume/bean/beanConsume.vue +++ b/src/views/consume/bean/beanConsume.vue @@ -3,8 +3,8 @@ @@ -81,17 +81,17 @@ const initPermissions = () => { // 默认跳转逻辑 const getDefaultAuditRoute = () => { initPermissions(); - if (hasAdd.value) return 'add_gold_bean_consumption'; + if (hasAdd.value) return 'addBeanConsume'; if (hasLive.value) return 'liveStream'; if (hasFan.value) return 'dieHardFan'; if (hasArticleVideo.value) return 'articleVideo'; - return 'add_gold_bean_consumption'; + return 'addBeanConsume'; }; // 监听路由变化更新标签状态 watch(() => route.name, (newName) => { initPermissions() - if (newName=== 'add_gold_bean_consumption' || newName === 'liveStream' || newName === 'dieHardFan' || newName === 'articleVideo') { + if (newName=== 'addBeanConsume' || newName === 'liveStream' || newName === 'dieHardFan' || newName === 'articleVideo') { activeTab.value = newName; } else if (newName === 'beanConsume') { // 每次访问 /beanConsume 都进行默认跳转 @@ -108,7 +108,7 @@ onMounted(() => { navigateTo(defaultRoute); } else { // 非父路由初始化当前标签状态 - if (route.name=== 'add_gold_bean_consumption' || route.name === 'liveStream' || route.name === 'dieHardFan' || route.name === 'articleVideo') { + if (route.name=== 'addBeanConsume' || route.name === 'liveStream' || route.name === 'dieHardFan' || route.name === 'articleVideo') { activeTab.value = route.name; } } diff --git a/src/views/consume/gold/addCoinConsume.vue b/src/views/consume/gold/addCoinConsume.vue index e299370..f27035b 100644 --- a/src/views/consume/gold/addCoinConsume.vue +++ b/src/views/consume/gold/addCoinConsume.vue @@ -1,14 +1,13 @@