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
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
872102e484f5fee1afc35baa0d753e9740d7b581
1 parent
69b9083f
帮助中心
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
96 additions
and
3 deletions
static/sass/me/_ihelp.scss
static/sass/me/_index.scss
template/m.yohobuy.com/actions/index/home/i-help.phtml
template/m.yohobuy.com/actions/index/home/index.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/sass/me/_ihelp.scss
0 → 100644
View file @
872102e
.iHelp
{
width
:
100%
;
height
:
auto
;
overflow
:
hidden
;
.helpSearch
{
width
:
90%
;
height
:
84rem
/
$pxConvertRem
;
overflow
:
hidden
;
position
:
relative
;
margin
:
0
auto
;
input
{
width
:
100%
;
height
:
100%
;
overflow
:
hidden
;
border
:none
;
font-size
:
54em
/
$pxConvertRem
;
}
i
{
height
:
100%
;
line-height
:
88rem
/
$pxConvertRem
;
position
:
absolute
;
right
:
20rem
/
$pxConvertRem
;
top
:
0
;
color
:
#e0e0e0
;
}
}
ul
{
width
:
100%
;
height
:
auto
;
overflow
:
hidden
;
display
:
block
;
border-top
:
1px
solid
#e0e0e0
;
li
{
width
:
95%
;
height
:
80rem
/
$pxConvertRem
;
line-height
:
84rem
/
$pxConvertRem
;
overflow
:
hidden
;
font-size
:
54em
/
$pxConvertRem
;
border-bottom
:
1px
solid
#e0e0e0
;
float
:
right
;
color
:
#444444
;
&
:last-of-type
{
border-bottom
:none
;
}
span
{
width
:
88%
;
height
:
100%
;
overflow
:
hidden
;
float
:
left
;
}
i
{
color
:
#e0e0e0
;
}
}
}
}
\ No newline at end of file
...
...
static/sass/me/_index.scss
View file @
872102e
$vip
:
sprite-map
(
"me/vip/*.png"
,
$spacing
:
10px
);
$fav
:
sprite-map
(
"me/fav/*.png"
,
$spacing
:
5px
);
@import
"home"
,
"vip-grade"
,
"order"
,
"order-detail"
,
"coupons"
,
"personal-details"
,
"yoho-coin"
,
"fav"
,
"suggest"
,
"address"
,
"online-service"
,
"my-guang"
;
@import
"home"
,
"vip-grade"
,
"order"
,
"order-detail"
,
"coupons"
,
"personal-details"
,
"yoho-coin"
,
"fav"
,
"suggest"
,
"address"
,
"online-service"
,
"my-guang"
,
"ihelp"
;
...
...
template/m.yohobuy.com/actions/index/home/i-help.phtml
0 → 100644
View file @
872102e
{
{>
layout/header
}
}
<div
class=
"iHelp"
>
<div
class=
"helpSearch"
>
<input
type=
"text"
>
<i
class=
"iconfont"
>
60
f;</i>
</div>
<ul>
{
{#
iHelp
}
}
<li><a
href=
"{{ url }}"
><span>
{
{
name
}
}</span><i
class=
"iconfont num"
>
604
;</i></a></li>
{
{/
iHelp
}
}
</ul>
</div>
{
{>
layout/footer
}
}
...
...
template/m.yohobuy.com/actions/index/home/index.phtml
View file @
872102e
...
...
@@ -94,7 +94,7 @@
</a>
</div>
<div
class=
"group-list"
>
<a
class=
"list-item"
href=
"/h
elp.html
"
>
<a
class=
"list-item"
href=
"/h
ome/IHelp
"
>
<span
class=
"iconfont icon"
>
639
;</span>
帮助
<span
class=
"iconfont num"
>
604
;</span>
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
872102e
...
...
@@ -654,4 +654,28 @@ class HomeController extends AbstractAction
$this
->
_view
->
display
(
'order-detail'
,
array
(
'orderDetail'
=>
$data
,
'orderDetailPage'
=>
true
));
}
}
/**
* 帮助列表页
*/
private
function
IHelpAction
()
{
$this
->
setTitle
(
'帮助中心'
);
$this
->
setNavHeader
(
'帮助中心'
);
$data
=
array
(
'iHelp'
=>
array
(
array
(
'name'
=>
'新用户注册'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'交款须知'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'服务条款'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'网站订购流程'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'会员登录'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'网站订单修改'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'YOHO币'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'常见问题'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'支付方式'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'发票制度说明'
,
'url'
=>
'http://m.dev.yohobuy.com/'
),
array
(
'name'
=>
'配送时间'
,
'url'
=>
'http://m.dev.yohobuy.com/'
)
)
);
$this
->
_view
->
display
(
'i-help'
,
$data
);
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment