Commit 9d8f5d22 by 高淑倩

modify: 我的会员样式

parent c6942ce2
......@@ -70,7 +70,7 @@
<view><label class='address-label'>地址</label></view>
<view class="textarea-wrp">
<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>
......
/* pages/userCenter.wxss */
@import './../../base/base.wxss';
.textarea-wrp {
padding-left: 46rpx;
}
.own-content{
padding: 60rpx 50rpx 0;
padding: 30rpx 50rpx 0;
}
.user-info{
position: relative;
......@@ -28,19 +31,23 @@
padding: 37rpx 46rpx;
}
.user-avatar{
width: 100rpx;
height: 100rpx;
width: 90rpx;
height: 90rpx;
overflow:hidden;
border-radius: 50%;
display: inline-block;
margin-right: 18rpx;
margin-left: 30rpx;
}
.userinfo-nickname {
font-size: 28rpx;
color:#333;
}
.user-name-content{
display: inline-block;
}
.user-name{
margin-bottom: 25rpx;
margin-bottom: 11rpx;
}
.icon-edit{
width: 28rpx;
......@@ -90,11 +97,15 @@
.form-label,.form-input,.form-picker{
display: inline-block;
vertical-align: middle;
font-size:26rpx;
}
.form-label{
width: 150rpx;
}
.form-label, .address-label {
color: #333;
}
.btn-primary{
width: 650rpx;
margin-top: 100rpx;
......@@ -107,6 +118,9 @@
border-bottom: 1px solid #ccc;
padding: 30rpx 0;
}
.form-picker-section .form-label{
vertical-align: top;
}
.birthday-desc{
color: red;
font-size: 20rpx;
......@@ -126,11 +140,12 @@
width: 100%;
margin-bottom: 60rpx;
display: flex;
padding-top: 10rpx;
}
textarea {
width:280px;
padding: 25rpx 0;
padding: 33rpx 0;
margin-right: 20rpx;
}
......@@ -156,3 +171,4 @@ canvas{
top: 20rpx;
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