Authored by 郝肖肖

'有赚协议'

... ... @@ -79,6 +79,7 @@ class HaveGain {
width750: true,
localCss: true,
title: '有货有赚',
agreementUrl: 'https://activity.yoho.cn/feature/2609.html?openby:yohobuy={"action":"go.h5","params":{"url":"https://activity.yoho.cn/feature/2609.html"}}',
socialMediaList: socialMediaList,
pageHeader: !req.yoho.isApp && headerModel.setNav({
navTitle: '有货有赚',
... ...
... ... @@ -3,7 +3,7 @@
<div class="apply-title">基本信息</div>
<ul class="section-ul">
<li><span>姓名</span><input type="text" class="name" placeholder="请输入姓名" /></li>
<li class="border-node"><span>手机号码</span><input type="text" class="mobile" placeholder="请手机号码" /></li>
<li class="border-node"><span>手机号码</span><input type="number" class="mobile" placeholder="请手机号码" /></li>
</ul>
</div>
<div class="section">
... ... @@ -34,7 +34,7 @@
<div class="agreement-section">
<div class="agreement">
<input type="checkbox" class="agree" />
我已阅读并同意<em>《有货有赚推广协议》</em>
我已阅读并同意<a href='{{agreementUrl}}'><em>《有货有赚推广协议》</em></a>
</div>
<div class="apply-btn disable">申请开通</div>
</div>
... ...
<div class="dialog-fill-content">
<div class="fill-item">账号:<input type="text" class="account" placeholder="请输入账号昵称" value="{{account}}" /></div>
<div class="fill-item">粉丝数:<input type="text" class="fans" placeholder="请输入粉丝数量"
<div class="fill-item">粉丝数:<input type="number" class="fans" placeholder="请输入粉丝数量"
onkeyup="value=value.replace(/[^\d]/g,'')" value="{{fans}}" maxlength="9" /></div>
</div>
... ...
... ... @@ -79,7 +79,7 @@ class HaveGainApplyPage extends Page {
}),
hasFooter: {
leftBtnText: '取消',
rightBtnText: '去添加'
rightBtnText: '确定'
}
}, function() {
let account = $.trim($('.dialog-fill-in .account').val() || '');
... ... @@ -175,7 +175,7 @@ class HaveGainApplyPage extends Page {
return tip.show(res.message || '请稍后再试');
}
yoho.invokeMethod('go.copy', {text: '有货有赚', message: '复制成功'});
yoho.invokeMethod('go.copy', {text: '有货有赚'});
dialog.showDialog({
hasHeader: '申请成功',
hasClass: 'dialog-fill-in',
... ...
... ... @@ -23,7 +23,7 @@ class HaveGainVerifyPage extends Page {
}
tapAdded() {
yoho.invokeMethod('go.copy', {text: '有货有赚', message: '复制成功'});
yoho.invokeMethod('go.copy', {text: '有货有赚'});
dialog.showDialog({
dialogText: '“有货有赚”服务号已经复制,请去微信搜索添加',
hasClass: 'dialog-fill-in',
... ...