Browse Source

Merge branch 'phone' of https://git.openi.org.cn/OpenI/aiforge into phone

pull/2447/head
ychao_1983 3 years ago
parent
commit
2f053cd9e1
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/user/auth/signin_navbar.tmpl
  2. +1
    -1
      web_src/js/standalone/phoneverify.js

+ 1
- 1
templates/user/auth/signin_navbar.tmpl View File

@@ -1,4 +1,4 @@
{{if or .EnableOpenIDSignIn .EnableSSPI .EnableCloudBrain}}
{{if or .EnablePhone .EnableOpenIDSignIn .EnableSSPI .EnableCloudBrain}}
<div class="ui secondary pointing tabular top attached borderless menu new-menu navbar"> <div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
{{if .EnablePhone }} {{if .EnablePhone }}
<a class="{{if .PageIsPhoneLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/phone"> <a class="{{if .PageIsPhoneLogin}}active{{end}} item" rel="nofollow" href="{{AppSubUrl}}/user/login/phone">


+ 1
- 1
web_src/js/standalone/phoneverify.js View File

@@ -243,7 +243,7 @@
count--; count--;
sendBtnEl.addClass('__disabled').text(count + (self.options && self.options.Lang && self.options.Lang.second_resend ? self.options.Lang.second_resend : 'S后重发')); sendBtnEl.addClass('__disabled').text(count + (self.options && self.options.Lang && self.options.Lang.second_resend ? self.options.Lang.second_resend : 'S后重发'));
if (count <= 0) { if (count <= 0) {
sendBtnEl.removeClass('__disabled').text(+ (self.options && self.options.Lang && self.options.Lang.get_verification_code ? self.options.Lang.get_verification_code : '获取验证码'));
sendBtnEl.removeClass('__disabled').text((self.options && self.options.Lang && self.options.Lang.get_verification_code ? self.options.Lang.get_verification_code : '获取验证码'));
clearInterval(timer); clearInterval(timer);
self.canSendCode = true; self.canSendCode = true;
self.countDownEnd = true; self.countDownEnd = true;


Loading…
Cancel
Save