Commit eefa8163c0e517e3f6e594e784b2fbac8b9eca77

Authored by xp.Huang
2 parents a0b26e3f 942d776b

Merge branch 'ww' into 'main'

fix: 修复用户个人中心头像响应式变化bug

See merge request huang/yun-teng-iot-front!216
... ... @@ -35,7 +35,7 @@
35 35 :before-upload="beforeUploadqrcodePic"
36 36 >
37 37 <img
38   - style="text-align: center; border-radius: 50%; width: 8.5vw; height: 15.2vh"
  38 + style="text-align: center; border-radius: 50%"
39 39 v-if="peresonalPic"
40 40 :src="peresonalPic"
41 41 alt="avatar"
... ... @@ -118,7 +118,7 @@
118 118 },
119 119 ];
120 120 export default defineComponent({
121   - name: 'index',
  121 + name: 'Index',
122 122 components: { BasicModal, BasicForm, Description, Upload, PlusOutlined },
123 123 emits: ['refreshPersonl', 'register'],
124 124 setup(_, { emit }) {
... ... @@ -247,10 +247,15 @@
247 247 :deep .ant-upload-select-picture-card {
248 248 display: inherit;
249 249 float: none;
250   - width: 8.6vw;
251   - height: 17vh;
252   - margin-right: 0.2vw;
253   - margin-bottom: 0.2vw;
  250 + width: 35%;
  251 + height: 0;
  252 + padding-bottom: 35%;
  253 + margin: 0;
  254 +
  255 + // width: 8.6vw;
  256 + // height: 17vh;
  257 + // margin-right: 0.2vw;
  258 + // margin-bottom: 0.2vw;
254 259 text-align: center;
255 260 vertical-align: top;
256 261 background-color: #fafafa;
... ...