完成
This commit is contained in:
@@ -106,7 +106,8 @@ Page({
|
||||
username:res.data.data.nick_name,
|
||||
img:res.data.data.head_pic,
|
||||
frozen_money:res.data.data.frozen_money,
|
||||
level:res.data.data.level
|
||||
level:res.data.data.level,
|
||||
yj:res.data.data.is_distribut
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
.card{
|
||||
width: 690rpx;
|
||||
height: 313rpx;
|
||||
@@ -36,6 +37,13 @@
|
||||
width: 690rpx;
|
||||
margin-top: 33rpx;
|
||||
flex-direction: column;
|
||||
.option{
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight:initial;
|
||||
|
||||
}
|
||||
.option::after { border: none; }
|
||||
.option{
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
|
||||
@@ -18,26 +18,28 @@
|
||||
<view>地址管理</view>
|
||||
<view>></view>
|
||||
</view>
|
||||
<view class="option" bindtap="toserver">
|
||||
<button class="option" open-type="contact">
|
||||
<view>在线客服</view>
|
||||
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
|
||||
</view>
|
||||
<view class="option" bindtap="tomember">
|
||||
</button>
|
||||
<view class="option" bindtap="tomember">
|
||||
<view>会员中心</view>
|
||||
<view><text style="font-size:28rpx;color:#999;">{{level == 2 ? "会员":"非会员"}} </text>></view>
|
||||
<view>
|
||||
<text style="font-size:28rpx;color:#999;">{{level == 2 ? "会员":"非会员"}}</text>
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="option" bindtap="toyue">
|
||||
<view class="option" bindtap="toyue">
|
||||
<view>我的余额</view>
|
||||
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
|
||||
</view>
|
||||
<view class="option" bindtap="toyongjin">
|
||||
<view class="option" bindtap="toyongjin" wx:if="{{yj == '1'}}">
|
||||
<view>当前佣金</view>
|
||||
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
|
||||
</view>
|
||||
<view class="option" bindtap="share">
|
||||
<view class="option" bindtap="share">
|
||||
<view>分 享</view>
|
||||
<!-- <view><text style="font-size:28rpx;color:#999;">非会员 </text>></view> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
@@ -1 +1 @@
|
||||
.box{display:flex;flex-direction:column;align-items:center}.box .card{width:690rpx;height:313rpx;background-color:#47C877;display:flex;box-sizing:border-box;padding:50rpx;font-size:30rpx;flex-direction:column;color:#fff;margin-top:20rpx}.box .card .user{display:flex;align-items:center}.box .card .user .head{width:80rpx;height:80rpx;margin-right:32rpx;border-radius:50%;background-color:#fff}.box .card .balance{display:flex;flex-direction:column;margin-top:52rpx}.box .list{display:flex;width:690rpx;margin-top:33rpx;flex-direction:column}.box .list .option{width:100%;height:80rpx;margin-bottom:15rpx;box-sizing:border-box;padding:0 30rpx;box-shadow:2rpx 3rpx 16rpx 1rpx rgba(51,51,51,0.1);display:flex;align-items:center;justify-content:space-between}
|
||||
.box{display:flex;flex-direction:column;align-items:center}.box .card{width:690rpx;height:313rpx;background-color:#47C877;display:flex;box-sizing:border-box;padding:50rpx;font-size:30rpx;flex-direction:column;color:#fff;margin-top:20rpx}.box .card .user{display:flex;align-items:center}.box .card .user .head{width:80rpx;height:80rpx;margin-right:32rpx;border-radius:50%;background-color:#fff}.box .card .balance{display:flex;flex-direction:column;margin-top:52rpx}.box .list{display:flex;width:690rpx;margin-top:33rpx;flex-direction:column}.box .list .option{border:0;outline:0;font-weight:initial}.box .list .option::after{border:none}.box .list .option{width:100%;height:80rpx;margin-bottom:15rpx;box-sizing:border-box;padding:0 30rpx;box-shadow:2rpx 3rpx 16rpx 1rpx rgba(51,51,51,0.1);display:flex;align-items:center;justify-content:space-between}
|
||||
|
||||
Reference in New Issue
Block a user