Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
19dbebb965f94fc290c54cef5a227c06bac9c03e
2 parents
edff02ba
c5820e28
Merge branch 'develop' into test
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
17 deletions
static/js/index/search.js
static/js/product/detail/detail.js
static/js/product/recommend-for-you-product-desc.js
static/sass/product/_detail.scss
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
static/js/index/search.js
View file @
19dbebb
...
...
@@ -71,8 +71,8 @@ $('#search').on('touchend', function() {
if
(
historys
&&
historys
.
length
>
0
)
{
historys
=
historys
.
split
(
ranToken
);
for
(
i
=
0
;
i
<
historys
.
length
;
i
++
)
{
history
=
historys
[
i
];
for
(
i
=
historys
.
length
;
i
>
0
;
i
--
)
{
history
=
historys
[
i
-
1
];
if
(
history
===
''
)
{
continue
;
...
...
static/js/product/detail/detail.js
View file @
19dbebb
...
...
@@ -82,6 +82,8 @@ $.ajax({
}
});
if
(
$
(
'.good-detail-page'
).
length
>
0
)
{
$
(
'#yoho-footer'
).
css
(
'border-top'
,
'1px solid #e0e0e0'
);
}
require
(
'./like'
);
...
...
static/js/product/recommend-for-you-product-desc.js
View file @
19dbebb
...
...
@@ -14,15 +14,19 @@ var recommendSwiper,
if
(
preferenceUrl
)
{
$
.
get
(
preferenceUrl
).
then
(
function
(
html
)
{
$recommendForYou
.
html
(
html
).
show
();
if
(
$
(
'#swiper-recommend'
).
length
)
{
recommendSwiper
=
new
Swiper
(
'#swiper-recommend'
,
{
slidesPerView
:
'auto'
,
grabCursor
:
true
,
slideElement
:
'a'
,
lazyLoading
:
true
,
watchSlidesVisibility
:
true
});
if
(
html
.
length
<
5
)
{
$recommendForYou
.
css
(
'display'
,
'none'
);
}
else
{
$recommendForYou
.
html
(
html
).
show
();
if
(
$
(
'#swiper-recommend'
).
length
)
{
recommendSwiper
=
new
Swiper
(
'#swiper-recommend'
,
{
slidesPerView
:
'auto'
,
grabCursor
:
true
,
slideElement
:
'a'
,
lazyLoading
:
true
,
watchSlidesVisibility
:
true
});
}
}
window
.
rePosFooter
();
...
...
static/sass/product/_detail.scss
View file @
19dbebb
...
...
@@ -402,6 +402,7 @@ $basicBtnC:#eb0313;
z-index
:
2
;
padding
:
pxToRem
(
20px
)
pxToRem
(
28px
);
text-align
:
center
;
border-top
:
1px
solid
$borderC
;
a
{
display
:
inline-block
;
&
.num-incart
{
...
...
@@ -447,9 +448,9 @@ $basicBtnC:#eb0313;
}
}
}
// .recommend-for-you {
// margin-bottom: pxToRem(30px);
// }
.recommend-for-you
{
border-bottom
:
none
;
}
.yoho-tip
{
top
:
40%
;
}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
19dbebb
...
...
@@ -779,7 +779,7 @@ class HomeController extends AbstractAction
public
function
payAction
()
{
// 审判跳转登录页
$this
->
auditJumpLogin
();
//
$this->auditJumpLogin();
$this
->
setTitle
(
'支付中心'
);
$this
->
setNavHeader
(
'支付中心'
);
...
...
yohobuy/m.yohobuy.com/application/modules/Passport/controllers/Login.php
View file @
19dbebb
...
...
@@ -118,7 +118,7 @@ class LoginController extends AbstractAction
}
/* 调用登录接口进行登录 */
$data
=
LoginData
::
signin
(
$area
,
$profile
,
$password
);
$data
=
LoginData
::
signin
(
$area
,
$profile
,
$password
);
if
(
$data
[
'code'
]
!=
200
||
!
isset
(
$data
[
'data'
][
'uid'
]))
{
break
;
}
...
...
Please
register
or
login
to post a comment