|
@@ -1,34 +1,62 @@
|
|
|
<!--index.wxml-->
|
|
|
-<!-- <view class="container">
|
|
|
- <view class="userinfo">
|
|
|
- <block wx:if="{{canIUseOpenData}}" calss="userinfo-opendata">
|
|
|
- <view class="userinfo-avatar" bindtap="bindViewTap">
|
|
|
- <open-data type="userAvatarUrl"></open-data>
|
|
|
- </view>
|
|
|
- <open-data type="userNickName"></open-data>
|
|
|
- </block>
|
|
|
- <block wx:elif="{{!hasUserInfo}}">
|
|
|
- <button wx:if="{{canIUseGetUserProfile}}" bindtap="getUserProfile"> 获取头像昵称 </button>
|
|
|
- <button wx:elif="{{canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo"> 获取头像昵称 </button>
|
|
|
- <view wx:else> 请使用1.4.4及以上版本基础库 </view>
|
|
|
- </block>
|
|
|
- <block wx:else>
|
|
|
- <image bindtap="bindViewTap" class="userinfo-avatar" src="{{userInfo.avatarUrl}}" mode="cover"></image>
|
|
|
- <text class="userinfo-nickname">{{userInfo.nickName}}</text>
|
|
|
- </block>
|
|
|
- </view>
|
|
|
- <view class="usermotto">
|
|
|
- <text class="user-motto">{{motto}}</text>
|
|
|
- </view>
|
|
|
-</view> -->
|
|
|
|
|
|
-<!-- <content-card l-content="content" name="">
|
|
|
+
|
|
|
+<content-card l-content="content" name="头像">
|
|
|
<view class="content-item">
|
|
|
<l-avatar open-data="{{['userAvatarUrl','userNickName']}}" />
|
|
|
- <text>总金额</text>
|
|
|
</view>
|
|
|
- <view class="content-item">
|
|
|
-
|
|
|
+</content-card>
|
|
|
+
|
|
|
+
|
|
|
+ <content-card class="content" name="收益">
|
|
|
+ <view class="view-container">
|
|
|
+ <l-grid>
|
|
|
+ <l-grid-item key="one" slot="one">
|
|
|
+ <view class="num">{{wallet.totalAmount}}</view>
|
|
|
+ <view class="text">历史总收益</view>
|
|
|
+ </l-grid-item>
|
|
|
+ <l-grid-item key="two" slot="two">
|
|
|
+ <view class="num">{{wallet.todayAmount}}</view>
|
|
|
+ <view class="text">今日预估收益</view>
|
|
|
+ </l-grid-item>
|
|
|
+ <l-grid-item key="three" slot="three">
|
|
|
+ <view class="num">{{wallet.yesterdayAmount}}</view>
|
|
|
+ <view class="text">昨日预估收益</view>
|
|
|
+ </l-grid-item>
|
|
|
+ <l-grid-item key="four" slot="four">
|
|
|
+ <view class="num">{{wallet.latelyAmount}}</view>
|
|
|
+ <view class="text">近30日收益</view>
|
|
|
+ </l-grid-item>
|
|
|
+ <l-grid-item key="five" slot="five">
|
|
|
+ <view class="num">{{wallet.availableAmount}}</view>
|
|
|
+ <view class="text">可提现金额</view>
|
|
|
+ </l-grid-item>
|
|
|
+ <l-grid-item key="six" slot="six">
|
|
|
+ <view class="num">{{wallet.withdrawalAmount}}</view>
|
|
|
+ <view class="text">已到账金额</view>
|
|
|
+ </l-grid-item>
|
|
|
+ </l-grid>
|
|
|
+ </view>
|
|
|
+ </content-card>
|
|
|
+
|
|
|
+ <!-- <content-card class="content" name="功能">
|
|
|
+ <view class="view-container" >
|
|
|
+ <l-grid show-border="{{true}}" l-class="grid-container" >
|
|
|
+ <l-grid-item wx:for="{{grids1}}" wx:key="index" key="{{index}}" slot="{{index}}" l-grid-item="grid-item" bind:linitemtap="clickGrid">
|
|
|
+ <l-icon name="{{item.image}}" />
|
|
|
+ <view class="text">{{item.text}}</view>
|
|
|
+ </l-grid-item>
|
|
|
+ </l-grid>
|
|
|
</view>
|
|
|
</content-card> -->
|
|
|
- <l-avatar open-data="{{['userAvatarUrl','userNickName']}}" />
|
|
|
+
|
|
|
+ <content-card class="content" name="功能">
|
|
|
+ <view class="view-container">
|
|
|
+ <l-grid show-border="{{true}}">
|
|
|
+ <l-grid-item wx:for="{{grids1}}" wx:key="index" key="{{index}}" slot="{{index}}" bind:linitemtap="clickGrid" cell="{{item}}" l-grid-item="grid-item">
|
|
|
+ <l-icon name="{{item.image}}" />
|
|
|
+ <view class="text">{{item.text}}</view>
|
|
|
+ </l-grid-item>
|
|
|
+ </l-grid>
|
|
|
+ </view>
|
|
|
+ </content-card>
|