You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
3.4 KiB
68 lines
3.4 KiB
<wxs module="formate" src="../../formate.wxs"></wxs>
|
|
<cu-custom bgColor="bg-white" isBack="{{false}}">
|
|
<view slot="content" style="color:black;font-size:18px">我的</view>
|
|
</cu-custom>
|
|
|
|
<scroll-view scroll-y style="height:{{height}}rpx;">
|
|
<!-- 用户信息 -->
|
|
<view class="bg-white flex flex-justify" style="padding:32rpx" wx:if="{{userInfo}}" bindtap="toUserInfo">
|
|
<view class="flex">
|
|
<view style="position: relative">
|
|
<van-image use-loading-slot width="60" height="60" lazy-load round src="{{avatarUrl}}">
|
|
<image class="image-load" slot="loading" src="/assets/image/ygImg.png"></image>
|
|
</van-image>
|
|
<view class="cu-tag badge cuIcon-vip bg-blue" style="font-size:24rpx" wx:if="{{userInfo.isVIP}}"></view>
|
|
</view>
|
|
<view class="flex flex-column flex-center" style="margin-left:24rpx;align-items:flex-start">
|
|
<view class="flex flex-center">
|
|
<text class="text-lg" style="white-space: nowrap">{{userName || ''}}</text>
|
|
<view class="flex flex-center" style="font-size:12px;margin-left:18rpx">
|
|
<text class="{{userInfo.isAuth == 1 ? 'text-blue' : 'text-gray'}}">{{userInfo.isAuth == 1 ? '已认证' : '未实名认证'}}</text>
|
|
<text class="text-yellow" style="font-size:14px;padding:4px;" wx:if="{{userInfo.isAuth != 1 && userInfo.userType == 1}}">去认证</text>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-center" style="font-size:12px;margin-top:12rpx">
|
|
<text class="text-black" style="font-size:14px">{{userInfo.mobile || ''}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<text class="cuIcon-right text-gray" style="font-size:18px"></text>
|
|
</view>
|
|
<!-- 授信信息 -->
|
|
<view class="bg-white" wx:if="{{userInfo.position != 'ORDINARY'}}" style="margin-top: 16rpx">
|
|
<view class="flex" style="padding: 20rpx 32rpx">
|
|
<text class="text-lg text-bold">账户余额</text>
|
|
<text class="text-df text-gray" style="padding-top:6rpx;margin-left:8rpx"></text>
|
|
</view>
|
|
<view class="flex" style="padding:0rpx 32rpx 24rpx 32rpx">
|
|
<view style="flex:1;border: 2rpx solid #eeeeee;padding:24rpx 32rpx;margin-right:12rpx">
|
|
<view class="text-black">我的余额</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{formate.formateAmount(creditInfo.availableCreditLine)}}</view>
|
|
<view class="text-blue text-sm" style=";text-decoration:underline" wx:if="{{!creditInfo.creditLine}}"
|
|
catchtap="tipApply">账单明细</view>
|
|
</view>
|
|
<view style="flex:1;border: 2rpx solid #eeeeee;padding:24rpx 32rpx;margin-left:12rpx" bindtap="orderList">
|
|
<view class="text-black">待收款</view>
|
|
<view class="text-xxl text-bold text-price" style="margin:12rpx 0rpx">{{formate.formateAmount(creditInfo.usedCreditLine)}}</view>
|
|
<view class="text-gray text-sm">查看详情</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view style="height:16rpx"></view>
|
|
<van-cell-group>
|
|
<van-cell is-link link-type="navigateTo" url="/pages/client/withdrawal/index">
|
|
<view class="flex" slot="title" style="align-items: center">
|
|
<van-icon name="cash-back-record" size="20"/>
|
|
<text class="text-sg" style="margin-left:12rpx">提现</text>
|
|
</view>
|
|
</van-cell>
|
|
<van-cell is-link link-type="navigateTo" url="/pages/client/bank-list/index">
|
|
<view class="flex" slot="title" style="align-items: center">
|
|
<van-icon name="credit-pay" size="18"/>
|
|
<text class="text-sg" style="margin-left:12rpx">我的银行卡</text>
|
|
</view>
|
|
</van-cell>
|
|
</van-cell-group>
|
|
<view style="height:16rpx"></view>
|
|
|
|
</scroll-view>
|