Browse Source

uni-app:个人信息修改

sfmind 2 years ago
parent
commit
f0e964f180

+ 3 - 0
yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/app/user/vo/AppUserInfoRespVO.java

@@ -17,4 +17,7 @@ public class AppUserInfoRespVO {
 
     @ApiModelProperty(value = "用户头像", required = true, example = "/infra/file/get/35a12e57-4297-4faa-bf7d-7ed2f211c952")
     private String avatar;
+
+    @ApiModelProperty(value = "用户手机号", required = true, example = "15601691300")
+    private String mobile;
 }

+ 6 - 6
yudao-ui-app/pages/index/index.vue

@@ -288,24 +288,24 @@ export default {
 
     &.half {
       .prod-item {
-        width: 346rpx;
+        width: 345rpx;
         margin: 10rpx;
         .prod-image {
-          width: 346rpx;
-          height: 346rpx;
+          width: 345rpx;
+          height: 345rpx;
         }
       }
     }
 
     .prod-item {
-      width: 224rpx;
+      width: 223rpx;
       margin: 10rpx;
       background: #ffffff;
       border-radius: 10rpx;
       box-shadow: 0rpx 6rpx 8rpx rgba(58,134,185,0.2);
       .prod-image {
-        width: 224rpx;
-        height: 224rpx;
+        width: 223rpx;
+        height: 223rpx;
         border-radius: 10rpx 10rpx 0 0;
       }
       .item-info {