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
lore-w
9 years ago
Commit
d8740695cbbc127a8b7867dbdb7e15f8021e0cb1
1 parent
9652b1d4
修复商品标题太多时排版问题
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
template/www.yohobuy.com/partials/product/left-content.phtml
web-static/sass/product/_good.scss
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php
template/www.yohobuy.com/partials/product/left-content.phtml
View file @
d874069
...
...
@@ -9,7 +9,7 @@
<span>
{
{updateNum
}
}</span>
</li>
{
{#each
list
}
}
<li>
<li
{
{#if
active
}
}active
{
{/if
}
}
>
<a
href=
"{{href}}"
>
{
{name
}
}</a>
<span>
{
{num
}
}</span>
</li>
...
...
@@ -27,7 +27,7 @@
</h
2
>
<ul
class=
"sort-child-list new-sale"
>
{
{#each
list
}
}
<li>
<li
{
{#if
active
}
}active
{
{/if
}
}
>
<a
href=
"{{href}}"
>
{
{name
}
}</a>
<span>
{
{num
}
}</span>
</li>
...
...
web-static/sass/product/_good.scss
View file @
d874069
...
...
@@ -40,11 +40,13 @@
color
:
#222
;
font-size
:
12px
;
text-align
:
center
;
overflow
:
hidden
;
>
a
{
margin-top
:
16px
;
line-height
:
1
.5
;
display
:
block
;
@include
ellipsis
();
}
>
.price
{
...
...
yohobuy/www.yohobuy.com/application/modules/Product/controllers/Index1.php
View file @
d874069
...
...
@@ -320,7 +320,7 @@ class Index1Controller extends AbstractAction
),
'url'
=>
'http://adidas.yohobuy.com/?gender=1,3'
,
'thumb'
=>
'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
,
'name'
=>
'adidas Originals FORUM 中帮拼色休闲板鞋'
,
'name'
=>
'adidas Originals FORUM 中帮拼色休闲板鞋
中帮拼色休闲板鞋
'
,
'salePrice'
=>
'899'
,
'isFew'
=>
true
,
'skn'
=>
123
...
...
@@ -726,7 +726,7 @@ class Index1Controller extends AbstractAction
),
'url'
=>
'http://adidas.yohobuy.com/?gender=1,3'
,
'thumb'
=>
'http://img12.static.yhbimg.com/goodsimg/2015/11/22/03/02c17af44dc23aa5a62d61cb59a05380bc.jpg?imageMogr2/thumbnail/235x314/extent/235x314/background/d2hpdGU=/position/center/quality/90'
,
'name'
=>
'adidas Originals FORUM 中帮拼色休闲板鞋'
,
'name'
=>
'adidas Originals FORUM 中帮拼色休闲板鞋
中帮拼色休闲板鞋
'
,
'salePrice'
=>
'899'
,
'isFew'
=>
true
),
...
...
Please
register
or
login
to post a comment