Authored by ping

Merge branch 'cocacola' into dev

@@ -20,14 +20,14 @@ public class RandomUtil { @@ -20,14 +20,14 @@ public class RandomUtil {
20 public static String getCharAndNumr(int numLength,int charLength) { 20 public static String getCharAndNumr(int numLength,int charLength) {
21 String val = ""; 21 String val = "";
22 Random random = new Random(); 22 Random random = new Random();
23 - for (int i = 0; i < 6; i++) { 23 + for (int i = 0; i < numLength; i++) {
24 // 输出字母还是数字 24 // 输出字母还是数字
25 val += String.valueOf(random.nextInt(10)); 25 val += String.valueOf(random.nextInt(10));
26 } 26 }
27 - for(int j=0;j<2;j++){ 27 + for(int j=0;j<charLength;j++){
28 int choice = random.nextInt(2) % 2 == 0 ? 65 : 97; 28 int choice = random.nextInt(2) % 2 == 0 ? 65 : 97;
29 val += (char) (choice + random.nextInt(26)); 29 val += (char) (choice + random.nextInt(26));
30 } 30 }
31 - return val; 31 + return val.toLowerCase();
32 } 32 }
33 } 33 }
@@ -33,6 +33,7 @@ @@ -33,6 +33,7 @@
33 height: auto; 33 height: auto;
34 overflow: hidden; 34 overflow: hidden;
35 position: relative; 35 position: relative;
  36 + padding-bottom: 2rem;
36 } 37 }
37 .footer img, .banner img{ 38 .footer img, .banner img{
38 width: 100%; 39 width: 100%;
@@ -278,7 +279,7 @@ $('#verification').bind('input propertychange', function(){ @@ -278,7 +279,7 @@ $('#verification').bind('input propertychange', function(){
278 clearInterval(time); 279 clearInterval(time);
279 280
280 } else { 281 } else {
281 - $('.centent span').eq('0').removeClass('verification-code').html('重新发送(' + (60-num) + ')'); 282 + $('.centent span').eq('0').removeClass('verification-code').html('重新发送' + (60-num));
282 } 283 }
283 },1000); 284 },1000);
284 } else { 285 } else {