作者 RuoYi

修改用户头像预览宽高

@@ -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;
@@ -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>