Showing
1 changed file
with
3 additions
and
1 deletions
@@ -35,7 +35,7 @@ class HaveGainApplyPage extends Page { | @@ -35,7 +35,7 @@ class HaveGainApplyPage extends Page { | ||
35 | this.jumpVerify(); | 35 | this.jumpVerify(); |
36 | this.selector.$nameInput.on('input', this.changeBtnStatus.bind(this)); | 36 | this.selector.$nameInput.on('input', this.changeBtnStatus.bind(this)); |
37 | this.selector.$mobileInput.on('input', this.changeBtnStatus.bind(this)); | 37 | this.selector.$mobileInput.on('input', this.changeBtnStatus.bind(this)); |
38 | - this.selector.$fillIn.on('click', that.tapFillIn); | 38 | + this.selector.$fillIn.on('click', that.tapFillIn.bind(this)); |
39 | this.selector.$agreement.on('click', that.tapAgreement); | 39 | this.selector.$agreement.on('click', that.tapAgreement); |
40 | this.selector.$applyBtn.on('click', this.apply.bind(this)); | 40 | this.selector.$applyBtn.on('click', this.apply.bind(this)); |
41 | } | 41 | } |
@@ -104,6 +104,7 @@ class HaveGainApplyPage extends Page { | @@ -104,6 +104,7 @@ class HaveGainApplyPage extends Page { | ||
104 | } | 104 | } |
105 | 105 | ||
106 | tapFillIn(event) { | 106 | tapFillIn(event) { |
107 | + let _this = this; | ||
107 | let $event = $(event.target); | 108 | let $event = $(event.target); |
108 | 109 | ||
109 | if ($event.hasClass('disable')) { | 110 | if ($event.hasClass('disable')) { |
@@ -140,6 +141,7 @@ class HaveGainApplyPage extends Page { | @@ -140,6 +141,7 @@ class HaveGainApplyPage extends Page { | ||
140 | 141 | ||
141 | $accountName.html(`账号:<em>${account}</em> 粉丝:<em data-fans="${fans}">${fansFix}</em>`); // eslint-disable-line | 142 | $accountName.html(`账号:<em>${account}</em> 粉丝:<em data-fans="${fans}">${fansFix}</em>`); // eslint-disable-line |
142 | dialog.hideDialog(); | 143 | dialog.hideDialog(); |
144 | + _this.changeBtnStatus(); | ||
143 | $event.text('已填写').addClass('disable'); | 145 | $event.text('已填写').addClass('disable'); |
144 | }); | 146 | }); |
145 | } | 147 | } |
-
Please register or login to post a comment