diff --git a/public/LOSEHU126.bin b/public/LOSEHU126.bin new file mode 100644 index 0000000..92b7022 Binary files /dev/null and b/public/LOSEHU126.bin differ diff --git a/public/LOSEHU126H.bin b/public/LOSEHU126H.bin new file mode 100644 index 0000000..4cd0b2f Binary files /dev/null and b/public/LOSEHU126H.bin differ diff --git a/public/LOSEHU126K.bin b/public/LOSEHU126K.bin new file mode 100644 index 0000000..0f2d8b8 Binary files /dev/null and b/public/LOSEHU126K.bin differ diff --git a/src/locale/en-US.ts b/src/locale/en-US.ts index a5340b3..89db115 100644 --- a/src/locale/en-US.ts +++ b/src/locale/en-US.ts @@ -136,6 +136,9 @@ export default { 'tool.scaned': 'Scanned and uploaded', 'global.nosupport': 'Current browser does not support WebSerial function, please use Chrome, Edge, Opera browser.', 'global.connectFail': 'Connect Fail', + 'menu.workshop': 'Workshop', + 'menu.firmware': 'Firmware', + 'global.use': 'Use', ...localeSettings, ...localeMessageBox, ...localeLogin, diff --git a/src/locale/zh-CN.ts b/src/locale/zh-CN.ts index 52bcc80..79612d0 100644 --- a/src/locale/zh-CN.ts +++ b/src/locale/zh-CN.ts @@ -136,6 +136,9 @@ export default { 'tool.scaned': '已扫码上传', 'global.nosupport': '当前浏览器不支持网页串口功能,请使用 Chrome, Edge, Opera 浏览器。', 'global.connectFail': '连接失败', + 'menu.workshop': '创意工坊', + 'menu.firmware': '固件市场', + 'global.use': '使用', ...localeSettings, ...localeMessageBox, ...localeLogin, diff --git a/src/router/routes/modules/idea.ts b/src/router/routes/modules/idea.ts new file mode 100644 index 0000000..b3c590b --- /dev/null +++ b/src/router/routes/modules/idea.ts @@ -0,0 +1,38 @@ +import { DEFAULT_LAYOUT } from '../base'; +import { AppRouteRecordRaw } from '../types'; + +const IDEA: AppRouteRecordRaw = { + path: '/idea', + name: 'idea', + component: DEFAULT_LAYOUT, + meta: { + locale: 'menu.workshop', + requiresAuth: true, + icon: 'icon-list', + order: 3, + }, + children: [ + { + path: 'firmware', + name: 'ideaFirmware', + component: () => import('@/views/idea/firmware/index.vue'), + meta: { + locale: 'menu.firmware', + requiresAuth: true, + roles: ['*'], + }, + }, + { + path: 'Image', + name: 'ideaImage', + component: () => import('@/views/idea/image/index.vue'), + meta: { + locale: 'menu.image', + requiresAuth: true, + roles: ['*'], + }, + } + ], +}; + +export default IDEA; diff --git a/src/router/routes/modules/list.ts b/src/router/routes/modules/list.ts index 652a28d..c96fc4e 100644 --- a/src/router/routes/modules/list.ts +++ b/src/router/routes/modules/list.ts @@ -8,7 +8,7 @@ const LIST: AppRouteRecordRaw = { meta: { locale: 'menu.list', requiresAuth: true, - icon: 'icon-list', + icon: 'icon-apps', order: 2, }, children: [ diff --git a/src/views/idea/firmware/index.vue b/src/views/idea/firmware/index.vue new file mode 100644 index 0000000..d4476e0 --- /dev/null +++ b/src/views/idea/firmware/index.vue @@ -0,0 +1,151 @@ + + + + + + + + \ No newline at end of file diff --git a/src/views/idea/image/index.vue b/src/views/idea/image/index.vue new file mode 100644 index 0000000..9257013 --- /dev/null +++ b/src/views/idea/image/index.vue @@ -0,0 +1,134 @@ + + + + + + + + \ No newline at end of file diff --git a/src/views/list/flash/index.vue b/src/views/list/flash/index.vue index ef1c0b8..888c9bd 100644 --- a/src/views/list/flash/index.vue +++ b/src/views/list/flash/index.vue @@ -18,7 +18,8 @@