Commit 7e78a9167f9920426e5b6377d011c464ff38d65b
1 parent
563e11d9
修改用户头像预览宽高
Showing
2 changed files
with
3 additions
and
3 deletions
ruoyi-ui/src/assets/styles/ruoyi.scss
| @@ -220,8 +220,8 @@ | @@ -220,8 +220,8 @@ | ||
| 220 | position: absolute; | 220 | position: absolute; |
| 221 | top: 50%; | 221 | top: 50%; |
| 222 | transform: translate(50%, -50%); | 222 | transform: translate(50%, -50%); |
| 223 | - width: 180px; | ||
| 224 | - height: 180px; | 223 | + width: 200px; |
| 224 | + height: 200px; | ||
| 225 | border-radius: 50%; | 225 | border-radius: 50%; |
| 226 | box-shadow: 0 0 4px #ccc; | 226 | box-shadow: 0 0 4px #ccc; |
| 227 | overflow: hidden; | 227 | overflow: hidden; |
ruoyi-ui/src/views/system/user/profile/userAvatar.vue
| @@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
| 27 | <el-col :lg="2" :md="2"> | 27 | <el-col :lg="2" :md="2"> |
| 28 | <el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload"> | 28 | <el-upload action="#" :http-request="requestUpload" :show-file-list="false" :before-upload="beforeUpload"> |
| 29 | <el-button size="small"> | 29 | <el-button size="small"> |
| 30 | - 上传 | 30 | + 选择 |
| 31 | <i class="el-icon-upload el-icon--right"></i> | 31 | <i class="el-icon-upload el-icon--right"></i> |
| 32 | </el-button> | 32 | </el-button> |
| 33 | </el-upload> | 33 | </el-upload> |