Commit 9d8f5d22 by 高淑倩

modify: 我的会员样式

parent c6942ce2
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<view><label class='address-label'>地址</label></view> <view><label class='address-label'>地址</label></view>
<view class="textarea-wrp"> <view class="textarea-wrp">
<span wx:if="{{memberInfo.address}}">{{memberInfo.address}}</span> <span wx:if="{{memberInfo.address}}">{{memberInfo.address}}</span>
<textarea wx:if="{{!memberInfo.address}}" bindblur="bindTextAreaBlur" name="address" auto-height maxlength='30'/> <textarea wx:if="{{!memberInfo.address}}" bindblur="bindTextAreaBlur" placeholder="请填写真实收件地址" name="address" auto-height maxlength='30'/>
</view> </view>
</view> </view>
</view> </view>
......
/* pages/userCenter.wxss */ /* pages/userCenter.wxss */
@import './../../base/base.wxss'; @import './../../base/base.wxss';
.textarea-wrp {
padding-left: 46rpx;
}
.own-content{ .own-content{
padding: 60rpx 50rpx 0; padding: 30rpx 50rpx 0;
} }
.user-info{ .user-info{
position: relative; position: relative;
...@@ -28,19 +31,23 @@ ...@@ -28,19 +31,23 @@
padding: 37rpx 46rpx; padding: 37rpx 46rpx;
} }
.user-avatar{ .user-avatar{
width: 100rpx; width: 90rpx;
height: 100rpx; height: 90rpx;
overflow:hidden; overflow:hidden;
border-radius: 50%; border-radius: 50%;
display: inline-block; display: inline-block;
margin-right: 18rpx; margin-right: 18rpx;
margin-left: 30rpx; margin-left: 30rpx;
} }
.userinfo-nickname {
font-size: 28rpx;
color:#333;
}
.user-name-content{ .user-name-content{
display: inline-block; display: inline-block;
} }
.user-name{ .user-name{
margin-bottom: 25rpx; margin-bottom: 11rpx;
} }
.icon-edit{ .icon-edit{
width: 28rpx; width: 28rpx;
...@@ -90,11 +97,15 @@ ...@@ -90,11 +97,15 @@
.form-label,.form-input,.form-picker{ .form-label,.form-input,.form-picker{
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
font-size:26rpx;
} }
.form-label{ .form-label{
width: 150rpx; width: 150rpx;
} }
.form-label, .address-label {
color: #333;
}
.btn-primary{ .btn-primary{
width: 650rpx; width: 650rpx;
margin-top: 100rpx; margin-top: 100rpx;
...@@ -107,6 +118,9 @@ ...@@ -107,6 +118,9 @@
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
padding: 30rpx 0; padding: 30rpx 0;
} }
.form-picker-section .form-label{
vertical-align: top;
}
.birthday-desc{ .birthday-desc{
color: red; color: red;
font-size: 20rpx; font-size: 20rpx;
...@@ -126,11 +140,12 @@ ...@@ -126,11 +140,12 @@
width: 100%; width: 100%;
margin-bottom: 60rpx; margin-bottom: 60rpx;
display: flex; display: flex;
padding-top: 10rpx;
} }
textarea { textarea {
width:280px; width:280px;
padding: 25rpx 0; padding: 33rpx 0;
margin-right: 20rpx; margin-right: 20rpx;
} }
...@@ -156,3 +171,4 @@ canvas{ ...@@ -156,3 +171,4 @@ canvas{
top: 20rpx; top: 20rpx;
left: 70rpx; left: 70rpx;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment