Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
hf
2015-12-04 21:33:50 +0800
Commit
a90f19def70b89a2aad3b9d48d521555144b4c9a
2 parents
80615e4a
de6038ac
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
static/js/passport/login/international.js
static/js/passport/login/login.js
static/js/passport/register/password.js
static/sass/product/_detail.scss
static/js/passport/login/international.js
View file @
a90f19d
...
...
@@ -83,12 +83,20 @@ $loginBtn.on('touchstart', function() {
password
:
pwd
},
success
:
function
(
data
)
{
var
res
;
if
(
data
.
code
===
200
)
{
res
=
data
.
data
;
showErrTip
(
'登录成功'
);
$
.
ajax
({
url
:
res
.
session
,
dataType
:
'jsonp'
});
//1000ms后跳转页面
setTimeout
(
function
()
{
location
.
href
=
data
.
data
;
location
.
href
=
res
.
href
;
},
1000
);
}
else
{
showErrTip
(
data
.
message
);
...
...
static/js/passport/login/login.js
View file @
a90f19d
...
...
@@ -94,7 +94,8 @@ $loginBtn.on('touchstart', function() {
showErrTip
(
'登录成功'
);
$
.
ajax
({
url
:
res
.
session
url
:
res
.
session
,
dataType
:
'jsonp'
});
//1s后跳转页面
...
...
static/js/passport/register/password.js
View file @
a90f19d
...
...
@@ -46,12 +46,20 @@ $btnSure.on('touchstart', function() {
token
:
$
(
'#token'
).
val
()
},
success
:
function
(
data
)
{
var
res
;
if
(
data
.
code
===
200
)
{
res
=
data
.
data
;
showErrTip
(
'注册成功'
);
$
.
ajax
({
url
:
res
.
session
,
dataType
:
'jsonp'
});
//1000ms后跳转页面
setTimeout
(
function
()
{
location
.
href
=
data
.
data
;
location
.
href
=
res
.
href
;
},
1000
);
}
else
{
showErrTip
(
data
.
message
);
...
...
static/sass/product/_detail.scss
View file @
a90f19d
...
...
@@ -31,6 +31,8 @@ $basicBtnC:#eb0313;
margin-bottom
:
pxToRem
(
20px
);
font-size
:
pxToRem
(
24px
);
line-height
:
pxToRem
(
36px
);
display
:
flex
;
flex-wrap
:
wrap
;
&
.table
{
width
:
100%
;
.column
{
...
...
@@ -42,6 +44,8 @@ $basicBtnC:#eb0313;
font-size
:
pxToRem
(
24px
);
background-color
:
$tableCellC
;
float
:
left
;
display
:
flex
;
align-items
:
center
;
}
}
}
...
...
Please
register
or
login
to post a comment