Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
6e6e35ef3a38ae188a7d3dd7911e3cf1cf5ebe72
2 parents
02ae4301
353584b3
exchange
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
public/js/me/setting/modifyHead.js
public/js/me/setting/operate.js
public/js/me/setting/validate.js
public/js/me/setting/modifyHead.js
View file @
6e6e35e
...
...
@@ -51,8 +51,8 @@ function uploadImage() {
module
.
exports
=
{
swfobject
,
uploadImage
swfobject
:
swfobject
,
uploadImage
:
uploadImage
};
...
...
public/js/me/setting/operate.js
View file @
6e6e35e
...
...
@@ -11,7 +11,7 @@ var type = types[types.length - 1];// 界面操作类型
var
$imgCaptchaInput
=
$
(
'#captcha'
);
var
second
=
60
;
var
$sms
=
$
(
'#send-code2'
);
// 发送短信验证码按钮
var
area
=
$
(
'#country-code'
).
text
().
substring
(
0
);
// 地区码
var
area
=
$
(
'#country-code'
).
text
().
substring
(
0
)
||
"86"
;
// 地区码
// 发送短信后倒计时显示
var
disableSMSBtn
=
function
()
{
second
-=
1
;
...
...
public/js/me/setting/validate.js
View file @
6e6e35e
...
...
@@ -8,7 +8,7 @@ var dialog = require('../../plugins/dialog');
var
_alert
=
dialog
.
Alert
;
var
types
=
location
.
pathname
.
split
(
'/'
);
var
type
=
types
[
types
.
length
-
1
];
// 界面操作类型
var
area
=
$
(
'#country-code'
).
text
()
||
"86"
;
/**
* 手机号码验证
...
...
@@ -35,7 +35,7 @@ $('[placeholder]').placeholder();
// 发送手机验证码
$sms
.
click
(
function
()
{
var
mobile
=
$
(
'#real-mobile'
).
val
();
var
area
=
$
(
'#country-code'
).
text
();
if
(
$
(
this
).
hasClass
(
'disable'
))
{
return
;
...
...
@@ -64,7 +64,6 @@ $sms.click(function() {
$
(
'#mobile-step1'
).
click
(
function
()
{
var
code
=
$
(
'#msg-code'
).
val
().
trim
();
var
mobile
=
$
(
'#real-mobile'
).
val
();
var
area
=
'+86'
;
$
.
ajax
({
type
:
'POST'
,
...
...
Please
register
or
login
to post a comment