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
毕凯
9 years ago
Commit
ebb781768cc3369a862702806838f43e88c04149
2 parents
7a780c96
640397fe
Merge branch 'develop' into feature/address
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
30 additions
and
9 deletions
static/sass/me/_vip-grade.scss
static/sass/product/_recommend-for-you.scss
template/m.yohobuy.com/actions/index/home/online-service-detail.phtml
template/m.yohobuy.com/partials/layout/use.phtml
template/m.yohobuy.com/partials/me/vip-grade/basic-info.phtml
template/m.yohobuy.com/partials/product/banner-swiper-arrow.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/sass/me/_vip-grade.scss
View file @
ebb7817
...
...
@@ -16,6 +16,7 @@
.user-name
{
font-size
:
25rem
/
$pxConvertRem
;
margin-right
:
0
.5rem
;
}
.vip-icon
{
...
...
static/sass/product/_recommend-for-you.scss
View file @
ebb7817
...
...
@@ -41,7 +41,7 @@
.price
{
position
:
relative
;
margin-top
:
pxToRem
(
20px
);
font-size
:
pxToRem
(
12
px
);
font-size
:
pxToRem
(
24
px
);
line-height
:
1
;
.sale-price
{
...
...
@@ -58,4 +58,4 @@
color
:
#444
;
}
}
}
\ No newline at end of file
}
...
...
template/m.yohobuy.com/actions/index/home/online-service-detail.phtml
View file @
ebb7817
{
{>
layout/header
}
}
<div
class=
"online-service-detail-page yoho-page"
>
<div
class=
"qa-list"
>
{
{#
service
}
}
{
{#
list
}
}
<div
class=
"question-item"
>
<div
class=
"question"
>Q:
{
{q
}
}</div>
<div
class=
"answer"
>
{
{a
}
}</div>
</div>
{
{/
list
}
}
{
{/
list
}
}
{
{/
service
}
}
</div>
</div>
{
{>
layout/footer
}
}
\ No newline at end of file
{
{>
layout/footer
}
}
...
...
template/m.yohobuy.com/partials/layout/use.phtml
View file @
ebb7817
...
...
@@ -249,7 +249,12 @@
{{#if onlineServicePage}}
<script>
seajs.use('js/me/online-service');
</script>
</script>onlineServiceDetailPage
{{/if}}
{{#if onlineServiceDetailPage}}
<script>
seajs.use('js/index/footer');
</script>onlineServiceDetailPage
{{/if}}
{{#if addressPage}}
<script>
...
...
@@ -275,4 +280,4 @@
<script>
seajs.use('js/me/browse-record');
</script>
{{/if}}
\ No newline at end of file
{{/if}}
...
...
template/m.yohobuy.com/partials/me/vip-grade/basic-info.phtml
View file @
ebb7817
...
...
@@ -67,6 +67,7 @@
{
{#if
vip0
}
}
<p>
<span
class=
"user-name"
>
{
{name
}
}</span>
<span>普通会员</span>
</p>
<p
class=
"grade-desc"
>
还差<span
class=
"cost-gap"
>¥
{
{costGap
}
}</span>就可以升级为银卡会员!
...
...
template/m.yohobuy.com/partials/product/banner-swiper-arrow.phtml
View file @
ebb7817
{
{#if
list
}
}
<div
class=
"banner-top"
>
<div
class=
"banner-swiper swiper-container"
>
<ul
class=
"swiper-wrapper"
>
...
...
@@ -17,4 +18,11 @@
<div
class=
"my-swiper-button-prev prev-grey"
></div>
<div
class=
"my-swiper-button-next next-grey"
></div>
</div>
\ No newline at end of file
</div>
{
{^
}
}
<div
class=
"banner-top-single"
>
<a
href=
{
{url
}
}>
<img
class=
"img"
src=
"{{img}}"
>
</a>
</div>
{
{/if
}
}
\ No newline at end of file
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
ebb7817
...
...
@@ -445,7 +445,11 @@ class HomeController extends AbstractAction
}
$this
->
setTitle
(
'在线客服'
);
$this
->
setNavHeader
(
$cateName
,
true
,
''
);
$this
->
_view
->
display
(
'online-service-detail'
,
$service
);
$this
->
_view
->
display
(
'online-service-detail'
,
array
(
'onlineServiceDetailPage'
=>
true
,
'pageFooter'
=>
true
,
'service'
=>
$service
));
}
/**
...
...
@@ -791,4 +795,4 @@ class HomeController extends AbstractAction
);
$this
->
_view
->
display
(
'i-help'
,
$data
);
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment