|
@@ -24,6 +24,17 @@ var requested = false; |
|
@@ -24,6 +24,17 @@ var requested = false; |
24
|
|
24
|
|
25
|
require('../../common');
|
25
|
require('../../common');
|
26
|
|
26
|
|
|
|
27
|
+var ImgCheck = require('plugin/img-check');
|
|
|
28
|
+
|
|
|
29
|
+var imgCheck = new ImgCheck('#js-img-check', {
|
|
|
30
|
+ useREM: {
|
|
|
31
|
+ rootFontSize: 40,
|
|
|
32
|
+ picWidth: 150
|
|
|
33
|
+ }
|
|
|
34
|
+});
|
|
|
35
|
+
|
|
|
36
|
+imgCheck.init();
|
|
|
37
|
+
|
27
|
function nextStep(url, mobileNo, areaCode) {
|
38
|
function nextStep(url, mobileNo, areaCode) {
|
28
|
if (requested) {
|
39
|
if (requested) {
|
29
|
return false;
|
40
|
return false;
|
|
@@ -85,7 +96,8 @@ $btnNext.on('touchstart', function() { |
|
@@ -85,7 +96,8 @@ $btnNext.on('touchstart', function() { |
85
|
openId = trim($openId.val()),
|
96
|
openId = trim($openId.val()),
|
86
|
nickname = trim($nickname.val()),
|
97
|
nickname = trim($nickname.val()),
|
87
|
sourceType = trim($sourceType.val()),
|
98
|
sourceType = trim($sourceType.val()),
|
88
|
- areaCode = $countrySelect.val();
|
99
|
+ areaCode = $countrySelect.val(),
|
|
|
100
|
+ verify = trim(imgCheck.getResults());
|
89
|
|
101
|
|
90
|
if ($btnNext.hasClass('disable')) {
|
102
|
if ($btnNext.hasClass('disable')) {
|
91
|
return;
|
103
|
return;
|