Commit 81fd8ce3 by 赵雅纹

个人中心

parent 4eec980b
...@@ -3,7 +3,7 @@ page{ ...@@ -3,7 +3,7 @@ page{
background-color: rgba(0,0,0,0.05) background-color: rgba(0,0,0,0.05)
} }
.water-wrap{ .water-wrap{
margin: 20rpx 20rpx; margin: 50rpx 20rpx;
text-align: justify; text-align: justify;
} }
.item{ .item{
......
{ {
"navigationBarTitleText": "我的",
"usingComponents": {} "usingComponents": {}
} }
\ No newline at end of file
<!--pages/user-center/user-center.wxml--> <!--pages/user-center/user-center.wxml-->
<text>pages/user-center/user-center.wxml</text> <view class="page-user-center">
<view class="user-header-wrap">
<view class="header-content">
<image class="avatar"></image>
<view class="user-info">
<text class="member">分享号会员</text>
<text class="name">会员名称</text>
</view>
<view class="method-btn">不会玩看这里>>></view>
</view>
<view class="opration-wrap">
<view class="opration-list">
<text>2268</text>
<text>积分</text>
</view>
<view class="opration-list">
<text>2268</text>
<text>优惠券</text>
</view>
<view class="opration-list">
<text>2268</text>
<text>分享值</text>
</view>
<view class="opration-list">
<image class="code"></image>
<text>会员码</text>
</view>
</view>
<view class="plus-member"></view>
</view>
<view class="main-content">
<view class="order"></view>
<view class="banner"></view>
<view class="order"></view>
</view>
</view>
/* pages/user-center/user-center.wxss */ /* pages/user-center/user-center.wxss */
.user-header-wrap{
padding: 0 30rpx
}
.avatar{
width: 93rpx;
height: 93rpx;
border-radius: 50%;
border: 1px solid #000000;
vertical-align: top;
}
.user-info{
display: inline-block;
margin-left: 20rpx;
}
.member,.name{
display: block;
}
.member{
font-size: 25rpx;
color: #c09a74;
margin-top: 4rpx;
}
.name{
font-size: 32rpx;
color: #666666;
margin-top: 10rpx;
}
.method-btn{
float: right;
font-size: 18rpx;
width: 160rpx;
height: 36rpx;
line-height: 36rpx;
text-align: center;
color: #c09a74;
border: 1px solid #c09a74;
border-radius: 34rpx;
}
.opration-wrap{
display: flex;
justify-content: space-around;
margin-top: 50rpx;
}
.opration-list text{
display: block;
}
.opration-list text:last-child{
margin-top: 20rpx;
}
.code{
display: block;
width: 34rpx;
height: 34rpx;
}
\ No newline at end of file
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"list": [] "list": []
}, },
"miniprogram": { "miniprogram": {
"current": 15, "current": 16,
"list": [ "list": [
{ {
"id": -1, "id": -1,
...@@ -136,6 +136,13 @@ ...@@ -136,6 +136,13 @@
"id": -1, "id": -1,
"name": "我的分享", "name": "我的分享",
"pathName": "pages/myShare/myShare", "pathName": "pages/myShare/myShare",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的",
"pathName": "pages/user-center/user-center",
"scene": null "scene": null
} }
] ]
......
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