Explorar o código

我的页面修改

tanxue hai 2 meses
pai
achega
ff71670533
Modificáronse 3 ficheiros con 16 adicións e 4 borrados
  1. 12 0
      api/my.js
  2. 2 2
      common/styles/global/components.scss
  3. 2 2
      common/styles/global/pages.scss

+ 12 - 0
api/my.js

@@ -34,4 +34,16 @@ export function getMineLogout(data = {}) {
     data,
     timeout: 20000
   })
+}
+
+export function getMineUpdate(data = {}) {
+  return request({
+    url: '/app/mine/update',
+    headers: {
+      isToken: true
+    },
+    method: 'post',
+    data,
+    timeout: 20000
+  })
 }

+ 2 - 2
common/styles/global/components.scss

@@ -251,8 +251,8 @@ margin-right: 18rpx;display: inline-block;vertical-align: middle;}
 	background-color: #fff;font-size: 30rpx;color: #333;
 	padding: 20rpx;box-sizing: border-box;margin-bottom: 2rpx;
 	.form-label-require{color: #ff0101;margin-right: 6rpx;}
-	.phone-form-label{}
-	input{text-align: right;}
+	.phone-form-label{min-width: 180rpx;}
+	input{text-align: right;flex: 1;}
 }
 
 // label-radio

+ 2 - 2
common/styles/global/pages.scss

@@ -342,7 +342,7 @@
 	.head-content-box{
 		font-size: 46rpx;color: #fff;
 		.idcard-row-box{display: flex;align-items: center;margin-top: 24rpx;}
-		.idcard-icon{width: 56rpx;height:56rpx;background-image: url("@/static/images/my/my-card-icon.png");@include ezy-no-repeat-cover();}
+		.idcard-icon{width: 56rpx;height:56rpx;background-image: url("@/static/images/my/my-card-icon.png");@include ezy-no-repeat-cover();flex-shrink: 0;}
 		.idcard-text{font-size: 36rpx;margin-left: 10rpx;}
 	}
 	
@@ -391,5 +391,5 @@
 			.file-picker-image{max-height: 200rpx;max-width: 160rpx;}
 		}
 	}
-	.info-btn{width: 360rpx;margin: 42rpx auto 24rpx;}
+	.info-btn{width: 360rpx;margin: 100rpx auto 24rpx;font-size: 30rpx;}
 }