diff --git a/web/src/view/person/person.vue b/web/src/view/person/person.vue index c1be56ee..d8eb48d1 100644 --- a/web/src/view/person/person.vue +++ b/web/src/view/person/person.vue @@ -1,14 +1,61 @@ @@ -72,4 +124,67 @@ export default { height: 178px; display: block; } + .avatar-box{ + box-shadow: -2px 0 20px -16px; + width: 80%; + height: 100%; + .user-card{ + min-height: calc(90vh - 200px); + padding: 30px 20px; + text-align: center; + .el-avatar{ + border-radius: 50%; + } + .user-personality{ + padding: 24px 0; + text-align: center; + p{ + font-size: 16px; + } + .nickname{ + font-size: 26px; + } + } + .user-information{ + width: 100%; + height: 100%; + text-align: left; + ul{ + display: inline-block; + height: 100%; + li{ + i{ + margin-right: 8px; + } + padding: 20px 0; + font-size: 16px; + font-weight: 400; + color: #606266; + } + } + } + } + } + .user-addcount{ + ul{ + li{ + .title{ + padding: 10px; + font-size: 18px; + color: #696969; + } + .desc{ + font-size: 16px; + padding: 0 10px 20px 10px ; + color: #A9A9A9; + a{ + color: rgb(64, 158, 255); + float: right; + } + } + border-bottom: 2px solid #f0f2f5; + } + } + } + \ No newline at end of file diff --git a/web/vue.config.js b/web/vue.config.js index 7b3b7cf6..71961ce0 100644 --- a/web/vue.config.js +++ b/web/vue.config.js @@ -23,7 +23,7 @@ module.exports = { // 把key的路径代理到target位置 // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { //需要代理的路径 例如 '/api' - target: `http://127.0.0.1:8888/`, //代理到 目标路径 + target: `http://139.9.113.229:8888/`, //代理到 目标路径 changeOrigin: true, pathRewrite: { // 修改路径数据 ['^' + process.env.VUE_APP_BASE_API]: '' // 举例 '^/api:""' 把路径中的/api字符串删除