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
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
2ddb2f11a609dbbfce93a896ac8cbbba94a9af62
1 parent
57431f2d
增加个人中心入口
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
1 deletions
static/sass/index.scss
static/sass/mine/_home.scss
static/sass/mine/_index.scss
template/m.yohobuy.com/actions/index/home/index.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/sass/index.scss
View file @
2ddb2f1
...
...
@@ -103,4 +103,4 @@ a {
@include
border-radius
(
10px
);
}
@import
"layout/header"
,
"layout/footer"
,
"layout/footer_tab"
,
"good"
,
"filter"
,
"loading"
,
"passport/index"
,
"guang/index"
,
"home/index"
,
"category/index"
,
"product/index"
,
"index/index"
,
"shopping-cart/index"
;
@import
"layout/header"
,
"layout/footer"
,
"layout/footer_tab"
,
"good"
,
"filter"
,
"loading"
,
"passport/index"
,
"guang/index"
,
"home/index"
,
"category/index"
,
"product/index"
,
"index/index"
,
"shopping-cart/index"
,
"mine/index"
;
...
...
static/sass/mine/_home.scss
0 → 100644
View file @
2ddb2f1
.mine-page
{
}
\ No newline at end of file
...
...
static/sass/mine/_index.scss
0 → 100644
View file @
2ddb2f1
@import
"home"
;
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/index.phtml
0 → 100644
View file @
2ddb2f1
{
{>
layout/header
}
}
<div
class=
"mine-page yoho-page"
>
<div
class=
"mine-header"
>
<div
class=
"user-info"
>
<img
class=
"user-avatar"
src=
"1"
>
<span
class=
"username"
>Tom</span>
<img
class=
"user-level"
src=
"1"
>
</div>
<div
class=
"iconfont more-icon"
>
1
</div>
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
2ddb2f1
<?php
use
Action\AbstractAction
;
use
Plugin\Helpers
;
/**
* 个人中心相关的控制器
...
...
@@ -20,6 +21,14 @@ class HomeController extends AbstractAction
{
// 目前跳到老站
// $this->go(OLD_MAIN . '/home');
// 渲染模板
// 设置网站标题
$this
->
setTitle
(
'男生首页'
);
$this
->
_view
->
display
(
'index'
,
array
(
'homeHeader'
=>
array
(
'searchUrl'
=>
Helpers
::
url
(
'/search'
,
null
,
'search'
)),
'pageFooter'
=>
true
,
));
}
}
...
...
Please
register
or
login
to post a comment