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/apply/apply.wxml
2020-04-25 22:59:04 +08:00

66 lines
2.9 KiB
Plaintext

<view class="container" wx:if="{{ isData }}">
<!-- 头部背景图 -->
<view class="dealer-bg">
<image mode="widthFix" src="{{ background }}"></image>
</view>
<!-- 填写申请信息 -->
<block wx:if="{{ !is_applying }}">
<view class="dis-flex flex-dir-column flex-y-center">
<view class="widget-form b-f m-top20 dis-flex flex-dir-column">
<view class="form-title f-30">{{ words.apply.words.title.value }}</view>
<view class="form-box dis-flex flex-dir-column">
<form bindsubmit="formSubmit" report-submit="true">
<view class="form-field dis-flex flex-y-center">
<view class="field-label">邀请人</view>
<view class="field-input">
<text>{{ referee_name }}(请核对)</text>
</view>
</view>
<view class="form-field dis-flex flex-y-center">
<view class="field-label">姓名</view>
<view class="field-input flex-box">
<input name="name" placeholder="请输入真实姓名" value="{{name}}"></input>
</view>
</view>
<view class="form-field dis-flex flex-y-center">
<view class="field-label">手机号</view>
<view class="field-input flex-box">
<input name="mobile" placeholder="请输入手机号" value="{{mobile}}"></input>
</view>
</view>
<!-- 申请协议 -->
<view class="form-license dis-flex flex-x-center flex-y-center">
<view class="license-radio dis-flex flex-y-center" catchtap="toggleSetRead">
<text class="license-icon {{ is_read ? 'c-violet' : 'col-bb' }} f-38 iconfont icon-radio"></text>
<text class="f-28 col-80">我已阅读并了解</text>
</view>
<text catchtap="toggleApplyLicense" class="f-28 c-violet">【{{ words.apply.words.license.value }}】</text>
</view>
<!-- 立即申请 -->
<view class="form-submit dis-flex flex-x-center">
<button formType="submit" disabled="{{ disabled }}">{{ words.apply.words.submit.value }}</button>
</view>
</form>
</view>
</view>
</view>
<zan-dialog id="zan-base-dialog"></zan-dialog>
</block>
<!-- 等待审核 -->
<view wx:if="{{ is_applying }}" class="dealer-boot dis-flex flex-dir-column flex-y-center">
<view class="boot__msg f-30 dis-flex flex-dir-column flex-y-center">
<text class="msg__icon iconfont icon-shenhezhong"></text>
<text class="msg__content m-top20 f-29 col-80">{{ words.apply.words.wait_audit.value }}</text>
</view>
<!-- 去商城逛逛 -->
<view class="boot__submit form-submit dis-flex flex-x-center">
<form bindsubmit="navigationToIndex" report-submit="true">
<button formType="submit">{{ words.apply.words.goto_mall.value }}</button>
</form>
</view>
</view>
</view>