JING 9 months ago
parent f2011dba8d
commit 5b34fb5a3b
  1. 15
      pages/user/index.vue

@ -11,13 +11,13 @@
<view class="name"><text class="username">{{userInfo.wxName}}</text><text class="level">{{identityinfo.levelTxt}}</text></view> <view class="name"><text class="username">{{userInfo.wxName}}</text><text class="level">{{identityinfo.levelTxt}}</text></view>
</view> </view>
<view class="uright"> <view class="uright">
<view class="change" v-if="!this.$com.isNull(userInfo.phoneNumber)"> <view class="change">
<u-button text="切换" openType="getPhoneNumber" @getphonenumber="getPhoneNumber"></u-button> <image src="/static/img/user/setting.png" mode="widthFix"></image>
</view> </view>
</view> </view>
</view> </view>
<view class="userItem"> <!-- <view class="userItem">
<view class="uItemBox"> <view class="uItemBox">
<view class="num">{{userInfo.totalAmount > 0 ? userInfo.totalAmount / 100 : '0.00'}}</view> <view class="num">{{userInfo.totalAmount > 0 ? userInfo.totalAmount / 100 : '0.00'}}</view>
<view class="text">消费金额()</view> <view class="text">消费金额()</view>
@ -26,7 +26,7 @@
<view class="num">{{userInfo.totalDur > 0 ? userInfo.totalDur : 0}}</view> <view class="num">{{userInfo.totalDur > 0 ? userInfo.totalDur : 0}}</view>
<view class="text">使用时长()</view> <view class="text">使用时长()</view>
</view> </view>
</view> </view> -->
</view> </view>
@ -359,7 +359,7 @@ export default {
background-size:100% 100%; background-size:100% 100%;
z-index: -1; z-index: -1;
} }
.userInfo{ width: 670rpx; height: auto; display: flex; margin: 200rpx auto 50rpx auto;} .userInfo{ width: 670rpx; height: auto; display: flex; margin: 244rpx auto 50rpx auto;}
.userInfo .uleft{ width: 120rpx; height: 120rpx;} .userInfo .uleft{ width: 120rpx; height: 120rpx;}
.userInfo .ucenter{ width: 430rpx; height: 120rpx; line-height: 120rpx;} .userInfo .ucenter{ width: 430rpx; height: 120rpx; line-height: 120rpx;}
@ -373,9 +373,8 @@ border: 1rpx solid #00F0E2; margin-left: 20rpx;}
.userInfo .uright{ width: 120rpx; height: 120rpx;} .userInfo .uright{ width: 120rpx; height: 120rpx;}
.userInfo .uright .change{width: 104rpx; .userInfo .uright .change{width: 104rpx;
height: 50rpx; height: 50rpx;
background: #00F0E2; color: #333333; font-size: 28rpx; line-height: 50rpx; text-align: center;}
border-radius: 42rpx 42rpx 42rpx 42rpx; color: #333333; font-size: 28rpx; line-height: 50rpx; text-align: center;} .userInfo .uright .change image{ width: 42rpx; height: 42rpx; margin-top: 60rpx;}
::v-deep .change .u-button{display: block !important; padding:0rpx !important; background-color: inherit !important; height:auto !important; border: none !important; border-radius: 42rpx !important;}
.userItem{ .userItem{
color: #333333; color: #333333;
width: 100%; width: 100%;

Loading…
Cancel
Save