diff --git a/src/router/index.js b/src/router/index.js index 68ad4d0..88f1283 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -19,11 +19,11 @@ const routes = [ name: 'Account', component: () => import(/* webpackChunkName: "account" */ '../views/Account/Account.vue') }, - // { - // path: '/faq', - // name: 'FAQ', - // component: () => import(/* webpackChunkName: "faq" */ '../views/FAQ/FAQ.vue') - // }, + { + path: '/updatelog', + name: 'UpdateLog', + component: () => import(/* webpackChunkName: "updatelog" */ '../views/UpdateLog/UpdateLog.vue') + }, // { // path: '/feedback', // name: 'Feedback', diff --git a/src/utils/language.js b/src/utils/language.js index 26fc895..06f72be 100644 --- a/src/utils/language.js +++ b/src/utils/language.js @@ -5,7 +5,7 @@ export function lang() { title: '密码本', search: '搜索...', menu: ['按首字母', '按最常使用'], - drawer: ['账户', '设置', '生成密码' ,'分享链接', '下载apk', '立即锁定'], + drawer: ['账户', '设置', '生成密码', '更新日志', '分享链接', '下载apk', '立即锁定'], empty_state: { label: '创建你的第一个密码', description: '创建密码后,您就可以将信息上载到服务器并保存', @@ -24,7 +24,7 @@ export function lang() { title: 'Codebook', search: 'Search...', menu: ['Alphabetically', 'Recently Used'], - drawer: ['Account', 'Settings', 'Generate Password', 'Share', 'Download apk', 'Lock Now'], + drawer: ['Account', 'Settings', 'Generate Password', 'Update Log', 'Share', 'Download apk', 'Lock Now'], empty_state: { label: 'Create your first code', description: "Creating code, you'll be able to upload your information to the server and save it.", @@ -251,6 +251,82 @@ export function lang() { copy_failed: 'Failed to copy, but failed in some cases. Try to paste', code_res_empty: 'Not generated' } + }, + update_log: { + CHS:{ + title: '更新日志', + timeline: [ + { + label: '新增更新日志页', + tag:'功能更新', + content: [ + '主页呼出菜单栏即可发现功能入口。', + '2020-03-03' + ] + }, + { + label: '新增一键回顶', + tag:'功能更新', + content: [ + '在主页点击导航栏页面标题即可一键回顶。', + '2020-03-02' + ] + }, + { + label: '新增密码生成页', + tag:'功能更新', + content: [ + '主页呼出菜单栏即可发现功能入口', + '2020-02-29' + ] + }, + { + label: '新增呼出菜单手势', + tag:'功能更新', + content: [ + '在主页非导航栏任意处右滑即可呼出菜单栏。', + '2020-02-26' + ] + } + ] + }, + EN:{ + title: 'Update Log', + timeline: [ + { + label: 'New update log page', + tag:'Feature update', + content: [ + 'Call out the menu bar on the homepage to find the function entry。', + '2020-03-03' + ] + }, + { + label: 'Added one-click back to top', + tag:'Feature update', + content: [ + 'Click the navigation page title on the homepage to return to the top with one click。', + '2020-03-02' + ] + }, + { + label: 'New password generation page', + tag:'Feature update', + content: [ + 'Call out the menu bar on the homepage to find the function entry', + '2020-02-29' + ] + }, + { + label: 'Added callout menu gesture', + tag:'Feature update', + content: [ + 'Swipe right anywhere on the homepage other than the navigation bar to bring up the menu bar。', + '2020-02-26' + ] + } + ] + } } } } diff --git a/src/views/FAQ/FAQ.vue b/src/views/FAQ/FAQ.vue deleted file mode 100644 index 5098259..0000000 --- a/src/views/FAQ/FAQ.vue +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - menu - - Codebook - - - - search - - - - more_vert - - - Alphabetically - Recently Used - - - - - - - - face - Canary Codebook - zhaoyingbo@live.cn - - - - - person - Account - - - - help - FAQ - - - - question_answer - Provide Feedback - - - - settings - Settings - - - reply - Share - - - - - - - Create first code - - - - {{code.title}} - {{code.user_name}} - - - - - add - - - - - - - - - - \ No newline at end of file diff --git a/src/views/Home/Home.vue b/src/views/Home/Home.vue index 8a40452..970c505 100644 --- a/src/views/Home/Home.vue +++ b/src/views/Home/Home.vue @@ -55,20 +55,25 @@ extension {{ lang.drawer[2] }} + + + event_note + {{ lang.drawer[3] }} + reply - {{ lang.drawer[3] }} + {{ lang.drawer[4] }} file_download - {{ lang.drawer[4] }} + {{ lang.drawer[5] }} beenhere - {{ lang.drawer[5] }} + {{ lang.drawer[6] }} diff --git a/src/views/UpdateLog/UpdateLog.vue b/src/views/UpdateLog/UpdateLog.vue new file mode 100644 index 0000000..082831e --- /dev/null +++ b/src/views/UpdateLog/UpdateLog.vue @@ -0,0 +1,146 @@ + + + + + + arrow_back + {{lang.title}} + + + + + + + + {{content}} + + + + + + + + + + \ No newline at end of file
Canary Codebook
zhaoyingbo@live.cn
{{code.title}}
{{code.user_name}}
{{content}}