浏览代码

样式修改

tanxue 2 月之前
父节点
当前提交
352ed44789
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. 1 1
      common/styles/global/components.scss
  2. 6 6
      common/styles/global/pages.scss

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

@@ -33,7 +33,7 @@ view{box-sizing: border-box;}
 	position: fixed;left: var(-window-left);right: var(-window right);bottom: var(--window-bottom);
 	box-sizing: border-box;padding-bottom: env(safe-area-inset-bottom);display: flex;justify-content: space-around;align-items: center;
 	.tabbar-item{text-align: center;width: 160rpx;}
-	.tabbar-item-icon{width: 42rpx;height: 42rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
+	.tabbar-item-icon{width: 40rpx;height: 40rpx;display: block;@include ezy-no-repeat-cover();margin: 0 auto 2rpx;}
 	.tabbar-item-text{font-size: 28rpx;color: #333;}
 	.active .tabbar-item-text{color: #3fd2a1;}
 }

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

@@ -336,8 +336,8 @@
 	background-color:#f8f9fd;height: 100vh;
 	// head
 	.my-head-box{
-		width: 100%;height:372rpx;display: flex;align-items: center;box-sizing: border-box;padding: 52rpx 52rpx 0 52rpx;
-		background-image: url("@/static/images/my/client-my-bj.png");@include ezy-no-repeat-cover();
+		width: 100%;height:300rpx;display: flex;align-items: center;box-sizing: border-box;padding: 24rpx 52rpx;
+		background-image: url("@/static/images/my/client-my-bj.png");@include ezy-no-repeat-cover(top);
 	}
 	.head-img-box,.head-icon-box{
 		max-width: 160rpx;max-height: 200rpx;
@@ -345,15 +345,15 @@
 	}
 	.head-icon-box{width: 413rpx;height: 582rpx;background-image: url("@/static/images/my/client-default-icon.png");@include ezy-no-repeat-cover();}
 	.head-content-box{
-		font-size: 46rpx;color: #fff;
+		font-size: 36rpx;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();flex-shrink: 0;}
-		.idcard-text{font-size: 36rpx;margin-left: 10rpx;}
+		.idcard-text{font-size: 32rpx;margin-left: 10rpx;}
 	}
 	
 	// num
 	.my-num-box{
-		background-color: #fff;box-sizing: border-box;padding: 36rpx;border-radius: 8rpx;
+		background-color: #fff;box-sizing: border-box;padding: 24rpx 36rpx;border-radius: 8rpx;
 		display: flex;justify-content: space-around;margin: 20rpx;
 		.num-item-box{
 			display: flex;flex-direction: column;align-items: center;position: relative;
@@ -369,7 +369,7 @@
 	// list
 	.my-list-box{
 		width:700rpx;margin: 0 auto;background-color: #fff;border-radius: 8rpx;padding: 0 36rpx;
-		.list-row{border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 42rpx 0;
+		.list-row{border-bottom: 2rpx solid #eee;color: #333;box-sizing: border-box;padding: 36rpx 0;
 		display: flex;align-items: center;position: relative;}
 		.list-row::after{
 			content: '';width: 30rpx;height: 30rpx;@include ezy-no-repeat-cover;