Files
Smart-Farm/front/mine/pages/distribution/index.wxml
2025-12-22 17:13:05 +08:00

1 line
3.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<block wx:if="{{detail.id}}"><view class="mine-distribution-index"><uni-nav-bar vue-id="ab471694-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" color="{{color}}" backgroundColor="{{color=='#ffffff'?'':primaryColor}}" title="分销中心" leftIcon="icon-left" bind:__l="__l"></uni-nav-bar><view class="mine-index-bg abs" mode="aspectFill" lazy-load="{{true}}"></view><view class="user-info abs pt-md pl-lg pr-lg pb-lg flex-center"><image class="user-img radius" mode="aspectFill" lazy-load="{{true}}" src="{{detail.avatarUrl}}"></image><view class="flex-1 ml-md c-base"><view class="f-lg-title text-bold max-550 ellipsis">{{'Hi'+detail.nickName+''}}</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-y-center f-caption" bindtap="__e">{{"邀请码:\n\t\t\t\t"+detail.fx_code+''}}<view class="copy-code-btn flex-center f-icontext ml-sm">复制</view></view></view></view><view class="space-user-info rel"></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="stored-item pd-lg ml-md mr-md fill-base box-shadow radius-20" catchtap="__e"><view class="flex-center"><view class="flex-center flex-column c-title"><view class="f-lg-title text-bold">{{detail.fx_cash}}</view><view class="f-caption c-caption">总佣金</view></view><view class="line"></view><view class="flex-center flex-column c-title"><view class="f-lg-title text-bold">{{detail.notreceived_cash}}</view><view class="f-caption c-caption">待结算</view></view></view><view class="flex-center pt-lg pb-sm"><view class="common-btn flex-center f-paragraph c-base radius" style="{{'min-width:176rpx;height:60rpx;'+('background:'+(primaryColor)+';')}}">立即提现</view></view></view><view class="mine-list mt-md ml-md mr-md fill-base box-shadow radius-20"><view class="common-nav-title flex-y-center f-title c-title text-bold">我的收益</view><view class="flex-warp pb-md"><block wx:for="{{toolList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><auth class="item-child" vue-id="{{'ab471694-2-'+index}}" needAuth="{{userInfo&&!userInfo.nickName}}" must="{{true}}" data-event-opts="{{[['^go',[['toJump',['toolList',index]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center flex-column f-caption c-title"><image class="item-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.img}}"></image><view>{{item.text}}</view></view></auth></block></view></view><view class="mine-list mt-md ml-md mr-md fill-base box-shadow radius-20"><view class="common-nav-title flex-y-center f-title c-title text-bold">其他功能</view><view class="flex-warp pb-md"><block wx:for="{{otherList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><auth class="item-child" vue-id="{{'ab471694-3-'+index}}" needAuth="{{userInfo&&!userInfo.nickName}}" must="{{true}}" data-event-opts="{{[['^go',[['toJump',['otherList',index]]]]]}}" bind:go="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="flex-center flex-column f-caption c-title"><image class="item-img" mode="aspectFill" lazy-load="{{true}}" src="{{item.img}}"></image><view>{{item.text}}</view></view></auth></block></view></view><view class="space-footer"></view></view></block>