This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop-wechat/pages/dealer/index/index.wxml
2020-04-25 22:59:04 +08:00

95 lines
3.9 KiB
Plaintext
Raw Permalink 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.

<view class="container b-f" wx:if="{{ is_dealer && isData }}">
<!-- 头部背景图 -->
<view class="dealer-bg">
<image mode="widthFix" src="{{ background }}"></image>
</view>
<!-- widget -->
<view class="widget-body b-f dis-flex flex-dir-column flex-y-center">
<!-- 用户信息 -->
<view class="widget widget__base m-top20 b-f dis-flex flex-dir-column">
<view class="base__user f-30">
<!-- 用户头像 -->
<view class="user-avatar">
<image src="{{ user.avatarUrl }}"></image>
</view>
<view class="user-nickName f-32">{{ user.nickName }}</view>
<view class="user-referee f-24 col-9">{{ words.index.words.referee.value }}{{ dealer.referee ? dealer.referee.nickName : '平台' }}</view>
</view>
<view class="base__capital dis-flex flex-dir-column">
<!-- 佣金卡片 -->
<view class="capital-card dis-flex">
<view class="card-left flex-box dis-flex flex-dir-column flex-x-around">
<view class="f-28 col-f">
<text space="ensp">{{ words.index.words.money.value }} {{ dealer.money }} 元</text>
</view>
<view class="f-28 col-f">
<text space="ensp">{{ words.index.words.freeze_money.value }} {{ dealer.freeze_money }} 元</text>
</view>
</view>
<view class="card-right flex-box dis-flex flex-x-end flex-y-center">
<view class="withdraw-btn f-26" catchtap="navigationToWithdraw">{{ words.index.words.withdraw.value }}</view>
</view>
</view>
<!-- 已提现金额 -->
<view class="capital-already clear">
<view class="already-left f-28 fl">{{ words.index.words.total_money.value }}</view>
<view class="already-right f-28 fr">{{ dealer.total_money }}元</view>
</view>
</view>
</view>
<!-- 操作列表 -->
<view class="widget widget__operat clear b-f">
<view class="operat__item">
<navigator hover-class="none" url="../withdraw/list/list">
<view class="item__icon">
<text class="iconfont icon-zhangben" style="color:#F9BA21;"></text>
</view>
<view class="item__text f-28">{{ words.withdraw_list.title.value }}</view>
</navigator>
</view>
<view class="operat__item">
<navigator hover-class="none" url="../order/order">
<view class="item__icon">
<text class="iconfont icon-dingdan" style="color:#FF7575;"></text>
</view>
<view class="item__text f-28">{{ words.order.title.value }}</view>
</navigator>
</view>
<view class="operat__item">
<navigator hover-class="none" url="../team/team">
<view class="item__icon">
<text class="iconfont icon-tuandui" style="color:#59C78E;"></text>
</view>
<view class="item__text f-28">{{ words.team.title.value }}</view>
</navigator>
</view>
<view class="operat__item">
<navigator hover-class="none" url="../qrcode/qrcode">
<view class="item__icon">
<text class="iconfont icon-erweima" style="color:#5fa5ff;"></text>
</view>
<view class="item__text f-28">{{ words.qrcode.title.value }}</view>
</navigator>
</view>
</view>
</view>
</view>
<!-- 当前不是分销商 -->
<view class="container b-f" wx:if="{{ !is_dealer && isData }}">
<view class="no-dealer">
<view class="no-icon dis-flex flex-x-center">
<image src="/images/not-dealer.png"></image>
</view>
<view class="no-msg dis-flex flex-x-center f-30" style="">{{ words.index.words.not_dealer.value }}</view>
<!-- 立即申请 -->
<view class="no-submit form-submit dis-flex flex-x-center">
<form bindsubmit="triggerApply" report-submit="true">
<button formType="submit">{{ words.index.words.apply_now.value }}</button>
</form>
</view>
</view>
</view>