Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Rock Zhang
9 years ago
Commit
db4b21eb726d6b4bfdafbb938b20460471e5564f
2 parents
c4d431b8
7c202f4a
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
30 deletions
static/sass/guang/_info-list.scss
static/sass/home/_maybe-like.scss
static/sass/index.scss
template/m.yohobuy.com/actions/index/home/my-guang.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/sass/guang/_info-list.scss
View file @
db4b21e
...
...
@@ -79,19 +79,4 @@
.info-list.hide
{
display
:
none
;
}
.load-more-info
{
width
:
100%
;
height
:
70rem
/
$pxConvertRem
;
line-height
:
70rem
/
$pxConvertRem
;
text-align
:
center
;
font-size
:
14px
;
overflow
:
hidden
;
.status
{
&
.hide
{
display
:
none
;
}
}
}
}
\ No newline at end of file
...
...
static/sass/home/_maybe-like.scss
View file @
db4b21e
...
...
@@ -51,20 +51,6 @@
color
:
#000
;
}
}
.load-more-info
{
width
:
100%
;
height
:
70rem
/
$pxConvertRem
;
line-height
:
70rem
/
$pxConvertRem
;
text-align
:
center
;
font-size
:
14px
;
overflow
:
hidden
;
.status
{
&
.hide
{
display
:
none
;
}
}
}
}
.load-more-img
{
...
...
static/sass/index.scss
View file @
db4b21e
...
...
@@ -108,6 +108,21 @@ a {
@include
border-radius
(
10px
);
}
.load-more-info
{
width
:
100%
;
height
:
70rem
/
$pxConvertRem
;
line-height
:
70rem
/
$pxConvertRem
;
text-align
:
center
;
font-size
:
14px
;
overflow
:
hidden
;
.status
{
&
.hide
{
display
:
none
;
}
}
}
/*px转化rem*/
@function
pxToRem
(
$px
)
{
$pxConvertRem
:
40px
;
...
...
template/m.yohobuy.com/actions/index/home/my-guang.phtml
View file @
db4b21e
...
...
@@ -5,6 +5,12 @@
<div
id=
"info-list"
class=
"info-list"
>
{
{>
me/my-guang/infos
}
}
</div>
<div
id=
"load-more-info"
class=
"load-more-info"
>
<div
class=
"loading status hide"
>
正在加载...
</div>
<span
class=
"no-more status"
>没有更多啦</span>
</div>
{
{^
}
}
<div
class=
"null"
>
<div
class=
"icon-null"
></div>
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
db4b21e
...
...
@@ -328,6 +328,7 @@ class HomeController extends AbstractAction
$page
=
$this
->
get
(
'page'
,
1
);
$limit
=
$this
->
get
(
'limit'
,
10
);
$uid
=
$this
->
getUid
();
$uid
=
5687179
;
$gender
=
Helpers
::
getGenderByCookie
();
$yh_channel
=
Helpers
::
getChannelByCookie
();
$guangInfo
=
\home\GuangModel
::
getMyGuang
(
$uid
,
$page
,
$yh_channel
,
$gender
,
$limit
);
...
...
@@ -345,7 +346,7 @@ class HomeController extends AbstractAction
}
else
if
(
$page
>
1
&&
$page
>
$totalPage
)
{
echo
''
;
//退出循环
echo
'
'
;
//退出循环
}
}
...
...
Please
register
or
login
to post a comment