Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
毕凯
9 years ago
Commit
5230a6ae3f75b231491352158bc20850da7555d4
1 parent
9c8503cf
商品列表增加品牌
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
template/www.yohobuy.com/partials/product/good.phtml
web-static/sass/product/_good.scss
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Search.php
template/www.yohobuy.com/partials/product/good.phtml
View file @
5230a6a
...
...
@@ -38,6 +38,11 @@
</div>
<div class="good-detail-text">
<a href="{{url}}" target="_blank">{{{name}}}</a>
{{#brand}}
<p class="brand">
<a href="{{url}}">{{name}}</a>
</p>
{{/brand}}
<p class="price">
{{# marketPrice}}
<span class="market-price">¥{{.}}</span>
...
...
@@ -47,4 +52,4 @@
</span>
</p>
</div>
</div>
\ No newline at end of file
</div>
...
...
web-static/sass/product/_good.scss
View file @
5230a6a
...
...
@@ -50,7 +50,14 @@
}
>
.price
{
margin-top
:
10px
;
margin-top
:
5px
;
}
.brand
{
a
{
color
:
#666
;
line-height
:
1
.5
;
}
}
.market-price
{
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Search.php
View file @
5230a6a
...
...
@@ -70,4 +70,4 @@ class SearchController extends WebAction
$this
->
setWebNavHeader
();
$this
->
_view
->
display
(
'search'
,
$data
);
}
}
\ No newline at end of file
}
...
...
Please
register
or
login
to post a comment