diff --git a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml index 94301420..d51448d9 100644 --- a/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml +++ b/Yi.Framework.Net6/Yi.Framework.ApiMicroservice/Config/SwaggerDoc.xml @@ -6,7 +6,7 @@ - 账户控制器 + 账户管理 @@ -68,6 +68,29 @@ + + + 菜单管理 + + + + + 得到树形菜单 + + + + + + 角色管理 + + + + + 给多用户设置多角色 + + + + 测试控制器 @@ -127,5 +150,17 @@ + + + 用户管理 + + + + + 给多用户设置多角色 + + + + diff --git a/Yi.Vue2.x/.env.development b/Yi.Vue2.x/.env.development index 9aaa02b4..2a32b7ed 100644 --- a/Yi.Vue2.x/.env.development +++ b/Yi.Vue2.x/.env.development @@ -1,4 +1,4 @@ #接口服务地址 -VUE_APP_SERVICE_URL='https://localhost:19001/api' +VUE_APP_SERVICE_URL='http://localhost:19001/api' #开发环境路径前缀 VUE_APP_BASE_API='/dev-apis' \ No newline at end of file diff --git a/Yi.Vue2.x/package-lock.json b/Yi.Vue2.x/package-lock.json index d3eb569a..d3376d8d 100644 --- a/Yi.Vue2.x/package-lock.json +++ b/Yi.Vue2.x/package-lock.json @@ -80,6 +80,11 @@ "postcss": "^7.0.0" } }, + "@mdi/font": { + "version": "6.6.96", + "resolved": "https://registry.npmmirror.com/@mdi/font/-/font-6.6.96.tgz", + "integrity": "sha512-FbcvG9z17hwZ7IwX5XeOR1UYGoLq+gTKq6XNPvJFuCpn599GdiPCJbAmmDBJb+jMYXjKYr0lCxfouWGxDA82sA==" + }, "@mrmlnc/readdir-enhanced": { "version": "2.2.1", "resolved": "https://registry.npm.taobao.org/@mrmlnc/readdir-enhanced/download/@mrmlnc/readdir-enhanced-2.2.1.tgz", @@ -8520,6 +8525,11 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", "dev": true }, + "typeface-roboto": { + "version": "1.1.13", + "resolved": "https://registry.npmmirror.com/typeface-roboto/-/typeface-roboto-1.1.13.tgz", + "integrity": "sha512-YXvbd3a1QTREoD+FJoEkl0VQNJoEjewR2H11IjVv4bp6ahuIcw0yyw/3udC4vJkHw3T3cUh85FTg8eWef3pSaw==" + }, "uglify-js": { "version": "3.4.10", "resolved": "https://registry.nlark.com/uglify-js/download/uglify-js-3.4.10.tgz?cache=0&sync_timestamp=1631026555366&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fuglify-js%2Fdownload%2Fuglify-js-3.4.10.tgz", diff --git a/Yi.Vue2.x/package.json b/Yi.Vue2.x/package.json index 0e1983c0..1156390b 100644 --- a/Yi.Vue2.x/package.json +++ b/Yi.Vue2.x/package.json @@ -7,7 +7,9 @@ "build": "vue-cli-service build" }, "dependencies": { + "@mdi/font": "^6.6.96", "axios": "^0.22.0", + "typeface-roboto": "^1.1.13", "vue": "^2.6.11", "vue-chartist": "^2.3.1", "vue-router": "^3.2.0", diff --git a/Yi.Vue2.x/public/favicon.ico b/Yi.Vue2.x/public/favicon.ico new file mode 100644 index 00000000..df36fcfb Binary files /dev/null and b/Yi.Vue2.x/public/favicon.ico differ diff --git a/Yi.Vue2.x/public/index.html b/Yi.Vue2.x/public/index.html new file mode 100644 index 00000000..15b610c5 --- /dev/null +++ b/Yi.Vue2.x/public/index.html @@ -0,0 +1,20 @@ + + + + + + + + + Yi-Vue + + + + +
+ + + + \ No newline at end of file diff --git a/Yi.Vue2.x/src/plugins/vuetify.js b/Yi.Vue2.x/src/plugins/vuetify.js index 8634eeef..42c6b780 100644 --- a/Yi.Vue2.x/src/plugins/vuetify.js +++ b/Yi.Vue2.x/src/plugins/vuetify.js @@ -3,6 +3,10 @@ import Vue from 'vue' import Vuetify from 'vuetify/lib/framework' import ripple from 'vuetify/lib/directives/ripple' +import zhHans from 'vuetify/es5/locale/zh-Hans' // 引入中文语言包 +import 'typeface-roboto/index.css' // 引入本地的Roboto字体资源 +import '@mdi/font/css/materialdesignicons.css' // 引入本地的Material Design Icons资源 + Vue.use(Vuetify, { directives: { ripple } }) @@ -17,8 +21,13 @@ const theme = { } export default new Vuetify({ + lang:{ + locales: {zhHans}, + current: 'zhHans' + }, breakpoint: { mobileBreakpoint: 960 }, icons: { + iconfont: 'mdi', values: { expand: 'mdi-menu-down' }, }, theme: { diff --git a/Yi.Vue2.x/vue.config.js b/Yi.Vue2.x/vue.config.js index ee782210..735dc799 100644 --- a/Yi.Vue2.x/vue.config.js +++ b/Yi.Vue2.x/vue.config.js @@ -4,7 +4,7 @@ module.exports = { 'vuetify' ], devServer: { - port: 6789, + port: 18000, open: true, https: false, host: "localhost",