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
Lynnic
9 years ago
Commit
da79a157575fffdf71ce67edc6d62151b23bfd1f
1 parent
0ee24483
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
template/m.yohobuy.com/actions/product/detail/index.phtml
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Detail.php
template/m.yohobuy.com/actions/product/detail/index.phtml
View file @
da79a15
...
...
@@ -65,8 +65,8 @@
{
{else
}
}
<ul
id=
"nav-tab"
class=
"nav-tab clearfix"
>
<li
class=
"comment-nav"
>
{
{commentName
}
}(<span
class=
"comments-num"
>
{
{commentsNum
}
}</span>)</li>
<li
class=
"consult-nav"
>
{
{consultName
}
}(<span
class=
"consults-num"
>
{
{consultsNum
}
}</span>)</li>
<li
class=
"comment-nav"
>商品评价(<span
class=
"comments-num"
>
{
{commentsNum
}
}</span>)</li>
<li
class=
"consult-nav"
>购买咨询(<span
class=
"consults-num"
>
{
{consultsNum
}
}</span>)</li>
</ul>
<div
id=
"feedback-content"
>
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Detail.php
View file @
da79a15
...
...
@@ -13,10 +13,6 @@ class DetailController extends AbstractAction
*/
public
function
indexAction
()
{
$commentsNum
=
0
;
$consultsNum
=
0
;
$nodate
=
0
;
$data
=
array
(
'goodsDetailPage'
=>
true
,
'pageHeader'
=>
array
(
...
...
@@ -80,12 +76,9 @@ SHOE BQT KEN BLOCK',
'feedbacks'
=>
array
(
'commentsNum'
=>
0
,
'consultsNum'
=>
1
,
'nodata'
=>
0
,
'commentName'
=>
'商品评价'
,
'consultName'
=>
'购买咨询'
,
'moreComments'
=>
'http://www.baidu.com'
,
'moreConsults'
=>
'http://www.baidu.com'
,
'gotoConsults'
=>
'http://www.baidu.com'
,
// 'commentName'=>'商品评价',
// 'consultName' =>'购买咨询',
'link'
=>
''
,
'comments'
=>
array
(
array
(
'userName'
=>
'Lynnic'
,
...
...
Please
register
or
login
to post a comment