61 lines
2.9 KiB
Plaintext
61 lines
2.9 KiB
Plaintext
<wxs module="tools">
|
||
var Includes = function(array,value){
|
||
var str = array.join();
|
||
if(str.indexOf(value) !== -1){
|
||
return true
|
||
}else{
|
||
return false;
|
||
}
|
||
}
|
||
module.exports = {
|
||
Includes:Includes
|
||
}
|
||
</wxs>
|
||
<view class="apply_merchants">
|
||
<view class="banner">
|
||
<image src="https://www.yunzmall.com/min_img/enterprose_apply.jpg" mode='widthFix' />
|
||
</view>
|
||
<view class="main">
|
||
<view class="title">
|
||
<van-image width="300rpx" height="58rpx" class="main-img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/plugin/apply_for_merchants.png" />
|
||
<view class="merchants">申请招商员</view>
|
||
</view>
|
||
<view class="main-content">
|
||
<view class="condition">需要完成以下{{ condition_state == 1 ? "任意" : "全部" }}条件才能成为招商员:</view>
|
||
<view wx:if="{{ tools.Includes(check_list,1) }}">1、点击申请招商员,等待后台确认审批。</view>
|
||
<block wx:if="{{tools.Includes(check_list,2)}}">
|
||
<view class="no-2">{{ tools.Includes(check_list,1) ? '2' :'1' }}、请购买指定商品(购买一件即可)</view>
|
||
<view class="goods-name">
|
||
<text wx:for="{{goods_list}}" wx:key="unique">{{item.title}}、</text>
|
||
</view>
|
||
</block>
|
||
<block wx:if="{{tools.Includes(check_list,3)}}">
|
||
<view>{{ tools.Includes(check_list,1) && tools.Includes(check_list,2) ? '3' :tools.Includes(check_list,1) || tools.Includes(check_list,2) ? '2' :'1' }}、请升级到以下等级(升级一个等级即可):</view>
|
||
<view class="level" wx:if="{{member_levels.length!==0}}">会员等级:
|
||
<text wx:for="{{member_levels}}" wx:key="unique">{{ item.level_name }}</text>
|
||
</view>
|
||
<view class="level" wx:if="{{team_levels.length!==0}}">经销商等级: <text wx:for="{{team_levels}}" wx:key="unique">{{ item.level_name }}</text></view>
|
||
<view class="level" wx:if="{{commission_levels.length!==0}}">分销商等级: <text wx:for="{{commission_levels}}" wx:key="unique">{{ item.level_name }}</text></view>
|
||
</block>
|
||
</view>
|
||
<van-button wx:if="{{tools.Includes(check_list,1)}}" bindtap="handle" color="{{apply_state == 0 || apply_state == -1? '#ef3532' : '#867E7E'}}" type="default" round>{{text}}</van-button>
|
||
</view>
|
||
<view class="footer">
|
||
<view class="expand">推广特权</view>
|
||
<view class="erweima">
|
||
<view class="iconfont icon-fontclass-erweima"></view>
|
||
<view>
|
||
<view class="tips-title">专属二维码</view>
|
||
<view class="tips">拥有专属推广二维码,用于推广客户</view>
|
||
</view>
|
||
</view>
|
||
<view class="pay_yue">
|
||
<view class="iconfont icon-pay_yue"></view>
|
||
<view>
|
||
<view class="tips-title">推广收入</view>
|
||
<view class="tips">推广的客户购买商品后,您将获得相应的推广收入</view>
|
||
</view>
|
||
</view>
|
||
|
||
</view>
|
||
</view> |