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
Rock Zhang
9 years ago
Commit
d8cd3ffec0733b21cd170c95703e3ec8421eba49
1 parent
2bb57884
添加hotrank页面一些缺少的字段 Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
library/Plugin/DataProcess/NewSaleProcess.php
template/m.yohobuy.com/actions/product/newsale/hotlist.phtml
library/Plugin/DataProcess/NewSaleProcess.php
View file @
d8cd3ff
...
...
@@ -85,6 +85,7 @@ class NewSaleProcess
foreach
(
$products
[
'product_list'
]
as
$key
=>
$single
)
{
$one
=
Helpers
::
formatProduct
(
$single
,
true
,
false
,
false
,
75
,
114
);
$one
[
'rank'
]
=
$limit
*
(
$page
-
1
)
+
$key
+
1
;
!
empty
(
$single
[
'sales_phrase'
])
&&
$one
[
'sales_phrase'
]
=
$single
[
'sales_phrase'
];
$result
[
'goods'
][]
=
$one
;
}
...
...
template/m.yohobuy.com/actions/product/newsale/hotlist.phtml
View file @
d8cd3ff
...
...
@@ -25,7 +25,8 @@
{
{#
active
}
}
<p>
{
{.
}
}</p>
{
{/
active
}
}
<p>
{
{salePrice
}
}<b>
{
{price
}
}</b></p>
<p>
{
{sales_phrase
}
}</p>
<p>¥
{
{salePrice
}
}<b>¥
{
{price
}
}</b></p>
</div>
</a>
</li>
...
...
Please
register
or
login
to post a comment