From b320ed8aa30ccbff87fc87d944cbf7cc2f003259 Mon Sep 17 00:00:00 2001 From: bqy_fe <1743369777@qq.com> Date: Mon, 24 Jan 2022 23:41:42 +0800 Subject: [PATCH] feat(views): add about page --- package.json | 22 +++-- src/layout/header/index.vue | 7 +- src/layout/menu/menu.vue | 5 +- src/locales/lang/en-US/routes/account.ts | 4 + src/locales/lang/zh-CN/routes/account.ts | 4 + src/router/staticModules/account.ts | 33 ++++++++ src/router/staticModules/index.ts | 3 +- src/views/account/about.vue | 59 +++++++++++++ src/views/account/settings.vue | 1 + types/global.d.ts | 14 ++-- vue.config.js | 30 ++++++- yarn.lock | 102 ++++++++++++++--------- 12 files changed, 226 insertions(+), 58 deletions(-) create mode 100644 src/locales/lang/en-US/routes/account.ts create mode 100644 src/locales/lang/zh-CN/routes/account.ts create mode 100644 src/router/staticModules/account.ts create mode 100644 src/views/account/about.vue create mode 100644 src/views/account/settings.vue diff --git a/package.json b/package.json index 7d305a671..05f1d946b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,11 @@ { "name": "vue3-antd-admin", "version": "0.1.4", - "private": true, + "author": { + "name": "buqiyuan", + "email": "1743369777@qq.com", + "url": "https://github.com/buqiyuan" + }, "scripts": { "dev": "npm run serve", "serve": "vue-cli-service serve", @@ -18,8 +22,8 @@ "prepare": "husky install", "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "postversion": "git push && git push origin --tags", - "test prod cors": "npx http-server dist --cors --gzip -P http://29135jo738.zicp.vip", - "test prod gzip": "npx http-server dist --cors --gzip -c-1" + "test:gzip": "npx http-server dist --cors --gzip -c-1", + "test:br": "npx http-server dist --cors --brotli -c-1" }, "dependencies": { "@vueuse/core": "^7.5.4", @@ -68,11 +72,11 @@ "husky": "^7.0.4", "less": "^4.1.2", "less-loader": "10.2.0", - "lint-staged": "^12.3.0", + "lint-staged": "^12.3.1", "path-browserify": "^1.0.1", "postcss-html": "^1.3.0", "prettier": "^2.5.1", - "stylelint": "^14.2.0", + "stylelint": "^14.3.0", "stylelint-config-html": "^1.0.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended": "^6.0.0", @@ -81,10 +85,14 @@ "svg-sprite-loader": "^6.0.11", "typescript": "^4.5.5", "vue-cli-plugin-windicss": "^1.1.3", - "vue-eslint-parser": "^8.1.0" + "vue-eslint-parser": "^8.2.0" }, "__npminstall_done": false, - "homepage": "git@buqiyuan.github.io/vue3-antd-admin", + "repository": { + "type": "git", + "url": "https://github.com/buqiyuan/vue3-antd-admin" + }, + "homepage": "https://buqiyuan.gitee.io/vue3-antd-admin", "keywords": [ "vue", "ant-design-vue", diff --git a/src/layout/header/index.vue b/src/layout/header/index.vue index 18d09e856..7434e59af 100644 --- a/src/layout/header/index.vue +++ b/src/layout/header/index.vue @@ -36,8 +36,11 @@ {{ userInfo.name }}