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.
113 lines
5.4 KiB
113 lines
5.4 KiB
3 years ago
|
<!--pages/user/index.wxml-->
|
||
|
<view class="user-index-box">
|
||
|
<view class="user-index-top">
|
||
|
<image src="../../../images/userIndex-top-bg.png" class="top-bg"></image>
|
||
|
<view class="user-info-box acea-row">
|
||
|
<view class="header-img"><image src="{{pageData.avatar}}"></image></view>
|
||
|
<view class="user-info acea-row row-column row-around">
|
||
|
<view class="user-name line1">{{pageData.nickname}}</view>
|
||
|
<view class="user-title"><image src="../../../images/user-title.png"></image></view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="menu-box">
|
||
|
<view class="menu-title-box acea-row row-between row-middle">
|
||
|
<view>我的特权</view>
|
||
|
<view class="see-more fz20 acea-row row-middle" style="margin-right:12rpx;" bindtap="toMoreMenu">
|
||
|
<text>查看所有特权</text>
|
||
|
<image src="../../../images/arrow-r.png"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="menu-list">
|
||
|
<scroll-view class="scroll-view_H" scroll-x="true">
|
||
|
<view class="menu-item" wx:for="{{menuList}}" wx:key="index">
|
||
|
<image src="{{item.icon}}"></image>
|
||
|
<view>{{item.name}}</view>
|
||
|
</view>
|
||
|
</scroll-view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="myIncome-box">
|
||
|
<view class="menu-title-box acea-row row-between row-middle">
|
||
|
<view>我的收益</view>
|
||
|
<view class="see-more fz20 acea-row row-middle" bindtap="toIncomeDetail">
|
||
|
<text>查看我的收益详情</text>
|
||
|
<image src="../../../images/arrow-r.png"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="income-box">
|
||
|
<image src="../../../images/income-bg.png"></image>
|
||
|
<view class="income-l acea-row row-column row-middle row-around">
|
||
|
<view class="t">累计邀请</view>
|
||
|
<view class="num">{{pageData.inviterCount}}人</view>
|
||
|
<view class="btn" bindtap="toIncomeDetail">查看</view>
|
||
|
</view>
|
||
|
<view class="income-line"></view>
|
||
|
<view class="income-l income-r acea-row row-column row-middle row-around">
|
||
|
<view class="t">累计收益</view>
|
||
|
<view class="num">{{pageData.brokeragePrice}}元</view>
|
||
|
<view class="btn" bindtap="tixian">提现</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="invitation-list-box">
|
||
|
<view class="invi-title">邀请榜</view>
|
||
|
<view class="list-box">
|
||
|
<view class="medal-box acea-row row-center">
|
||
|
<view class="medal medal2">
|
||
|
<image src="../../../images/no2-bg.png" class="medal-bg"></image>
|
||
|
<image src="../../../images/no2.png" class="medal-icon"></image>
|
||
|
<view class="medal-content">
|
||
|
<view class="user-header"><image src="{{pageData.userProfitList[1].avatar || '../../../images/no2.png'}}"></image></view>
|
||
|
<view class="user-name line2">{{pageData.userProfitList[1].nickname || '暂无'}}</view>
|
||
|
<view>已邀请{{pageData.userProfitList[1].inviterCount || 0}}人</view>
|
||
|
<view>获得收益</view>
|
||
|
<view class="income-money">{{pageData.userProfitList[1].brokeragePrice || 0}}元</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="medal medal1" wx:if="{{pageData.userProfitList.length > 0}}">
|
||
|
<image src="../../../images/no1-bg.png" class="medal-bg"></image>
|
||
|
<image src="../../../images/no1.png" class="medal-icon"></image>
|
||
|
<view class="medal-content">
|
||
|
<view class="user-header"><image src="{{pageData.userProfitList[0].avatar || '../../../images/no1.png'}}"></image></view>
|
||
|
<view class="user-name line2">{{pageData.userProfitList[0].nickname}}</view>
|
||
|
<view>已邀请{{pageData.userProfitList[0].inviterCount}}人</view>
|
||
|
<view>获得收益</view>
|
||
|
<view class="income-money">{{pageData.userProfitList[0].brokeragePrice}}元</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="medal medal3">
|
||
|
<image src="../../../images/no3-bg.png" class="medal-bg"></image>
|
||
|
<image src="../../../images/no3.png" class="medal-icon"></image>
|
||
|
<view class="medal-content">
|
||
|
<view class="user-header"><image src="{{pageData.userProfitList[2].avatar || '../../../images/no3.png'}}"></image></view>
|
||
|
<view class="user-name line2">{{pageData.userProfitList[2].nickname || '暂无'}}</view>
|
||
|
<view>已邀请{{pageData.userProfitList[2].inviterCount || 0}}人</view>
|
||
|
<view>获得收益</view>
|
||
|
<view class="income-money">{{pageData.userProfitList[2].brokeragePrice || 0}}元</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="rank-list-box">
|
||
|
<view class="rank-item acea-row-nowrap row-middle row-between" wx:for="{{rankList}}" wx:key="index">
|
||
|
<view class="num">{{index+4}}</view>
|
||
|
<view class="item-right acea-row row-between row-middle">
|
||
|
<view class="item-right-l acea-row-nowrap row-middle">
|
||
|
<image src="{{item.avatar}}"></image>
|
||
|
<view class="name line1">{{item.nickname}}</view>
|
||
|
</view>
|
||
|
<view class="item-right-r">
|
||
|
<view> 已邀请{{item.inviterCount}}人</view>
|
||
|
<view class="mondy">收益{{item.brokeragePrice}}元</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<!-- <view class="share-btn"></view> -->
|
||
|
</view>
|
||
|
</view>
|
||
|
<button class="share-btn" open-type="share" wx:if="{{shareFlag}}">
|
||
|
<image src="../../../images/share-btn.png"></image>
|
||
|
</button>
|
||
|
</view>
|