From cda33719f384f37858858f93becbbd913b71598e Mon Sep 17 00:00:00 2001 From: hurui Date: Thu, 8 Aug 2019 15:59:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=91=E7=9A=84][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/searchbar/detail/index.wxss | 6 +++--- pages/user/index.wxss | 28 ++++++++----------------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss index 04d90b0..fba2452 100644 --- a/pages/index/searchbar/detail/index.wxss +++ b/pages/index/searchbar/detail/index.wxss @@ -213,12 +213,12 @@ page{ .fenxiang image { width: 48rpx; height: 48rpx; - margin: 0 auro; -} + margin: 0 auto; +} .gift{ color: #3C3C3C; font-size: 20rpx; - margin: 0 auro; + margin: 0 auto; } .user-motto { width: 270rpx; diff --git a/pages/user/index.wxss b/pages/user/index.wxss index c29cf9d..5e9a166 100644 --- a/pages/user/index.wxss +++ b/pages/user/index.wxss @@ -46,22 +46,26 @@ page{ .user-name{ font-family: PingFangSC-Medium; height: 42rpx; - margin-left: 310rpx; + margin-top:66rpx; letter-spacing: 0.64rpx; line-height: 44rpx; - margin-top: 66rpx; font-size: 30rpx; color: #3C3C3C; font-weight:600; + display: flex; /*设置显示样式**/ + align-items: center; /**子view垂直居中*/ + vertical-align: center; /**垂直居中*/ + justify-content: center; /**内容居中*/ + flex-direction: row; } .user-phone { font-family: PingFangSC-Regular; - height: 30rpx; letter-spacing: 0.64rpx; line-height: 44rpx; font-size: 36rpx; color: #000; - margin:20rpx 0 50rpx 180rpx; + padding:20rpx; + text-align: center; } .user-avatar { position: absolute; @@ -82,7 +86,6 @@ page{ .view { font-size: 24rpx; - /* color: #FD832D; */ } .view image { @@ -105,7 +108,6 @@ page{ width: 120rpx; height: 120rpx; } - .user-btns{ background: #fff; display: flex; @@ -114,10 +116,9 @@ page{ } .user-btns navigator{ width: 33.3%; + height: 160rpx; } - - .user-btns:nth-of-type(3){ margin-bottom: 0; } @@ -139,7 +140,6 @@ page{ box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.10); } .btns_bg{ - /* position: relative; */ width: 94%; background: #fff; border-radius: 16rpx; @@ -196,13 +196,7 @@ page{ border: none!important; } .gzh { - /* display: none; */ - /* position: absolute; */ - /* bottom: 70rpx; */ width: 100%; - /* left: 0; - right: 0; */ - /* margin: auto; */ height: 170rpx; z-index: 10; background: #fff; @@ -216,10 +210,6 @@ page{ } .of { - /* position:absolute; - bottom:50rpx; - left:0; - right:0; */ width: 90%; margin: 30rpx auto; height: auto;