Authored by 王水玲

修改注册 协议

@@ -31,8 +31,7 @@ @@ -31,8 +31,7 @@
31 <div data-userverify="{{captchaShow}}" data-geetest="{{useGeetest}}" id="js-img-check"{{#unless useGeetest}} class="full-img-verify"{{/unless}}></div> 31 <div data-userverify="{{captchaShow}}" data-geetest="{{useGeetest}}" id="js-img-check"{{#unless useGeetest}} class="full-img-verify"{{/unless}}></div>
32 <button id="regBtn" class="reg-btn" type="button">注册</button> 32 <button id="regBtn" class="reg-btn" type="button">注册</button>
33 <div class="protocol"> 33 <div class="protocol">
34 - <span class="iconfont checkbox icon-radio"></span>  
35 - 我已阅读并同意遵守<a href="/service/qaDetail?keyword=服务条款&sonId=197" title="Yoho!Buy有货服务条款" target="_blank">Yoho!Buy有货服务条款</a> 34 + 注册即表示您已阅读并同意<a href="/service/qaDetail?keyword=服务条款&sonId=197" title="Yoho!Buy有货服务条款" target="_blank">Yoho!Buy有货服务条款</a>
36 </div> 35 </div>
37 </form> 36 </form>
38 </div> 37 </div>
@@ -44,7 +44,8 @@ class RegisterNew { @@ -44,7 +44,8 @@ class RegisterNew {
44 this.view.passwordInput.bind('input', this.changeBtnStatus.bind(this)); 44 this.view.passwordInput.bind('input', this.changeBtnStatus.bind(this));
45 this.view.passwordEyeIcon.on('click', this.passwordShowStatus.bind(this)); 45 this.view.passwordEyeIcon.on('click', this.passwordShowStatus.bind(this));
46 this.view.getVerifyCodeBtn.on('click', this.getVerifyCode.bind(this)); 46 this.view.getVerifyCodeBtn.on('click', this.getVerifyCode.bind(this));
47 - this.view.protocolCheckbox.on('click', this.changePrtclckbxStatus.bind(this)); 47 +
  48 + // this.view.protocolCheckbox.on('click', this.changePrtclckbxStatus.bind(this));
48 49
49 } 50 }
50 51
@@ -151,11 +152,6 @@ class RegisterNew { @@ -151,11 +152,6 @@ class RegisterNew {
151 return; 152 return;
152 } 153 }
153 154
154 - if (!this.view.protocolCheckbox.hasClass('icon-cb-radio')) {  
155 - showErrTip('您必须同意YOHO!BUY有货服务条款后,才能进行注册!');  
156 - return;  
157 - }  
158 -  
159 let validateResult = validatePWD(password, result => { 155 let validateResult = validatePWD(password, result => {
160 if (!result.valid) { 156 if (!result.valid) {
161 showErrTip(result.msg); 157 showErrTip(result.msg);