Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
8 years ago
Commit
4c8584e44b0bd98415234da263cefb695156b345
1 parent
23a88637
fix activity hide
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
apps/product/views/partial/product/activity-list.hbs
apps/product/views/partial/product/activity-list.hbs
View file @
4c8584e
...
...
@@ -2,7 +2,7 @@
<div
class=
"row activity-wrapper clearfix"
>
<span
class=
"title pull-left"
>
促
销:
</span>
{{#
if_cond
activity
.
length
'>
=
'
3
}}
{{#
if_cond
activity
.
length
'>'
3
}}
<div
class=
"activity-title"
><span>
展开全部促销
</span>
<i
class=
"iconfont index"
>

</i>
</div>
{{/
if_cond
}}
...
...
@@ -11,7 +11,7 @@
{{#
each
activity
}}
<li
class=
"promotion-item"
>
<span
class=
"ac-type"
>
{{
type
}}
</span>
<span
class=
"ac-des
{{#
if_cond
..
/
activity
.
length
'>
=
'
3
}}
small
{{/
if_cond
}}
"
>
<span
class=
"ac-des
{{#
if_cond
..
/
activity
.
length
'>'
3
}}
small
{{/
if_cond
}}
"
>
{{#if
url
}}
<a
target=
"_blank"
href=
"
{{
url
}}
"
>
{{
des
}}
</a>
{{^}}
...
...
@@ -26,9 +26,9 @@
<div
class=
"pull-left"
>
<ul
class=
"activity"
>
{{#
each
activity
}}
<li
class=
"promotion-item
{{#
if_cond
@index
'>
=
'
3
}}
hide
{{/
if_cond
}}
"
>
<li
class=
"promotion-item
{{#
if_cond
@index
'>'
3
}}
hide
{{/
if_cond
}}
"
>
<span
class=
"ac-type"
>
{{
type
}}
</span>
<span
class=
"ac-des
{{#
if_cond
..
/
activity
.
length
'>
=
'
3
}}
small
{{/
if_cond
}}
"
>
<span
class=
"ac-des
{{#
if_cond
..
/
activity
.
length
'>'
3
}}
small
{{/
if_cond
}}
"
>
{{#if
url
}}
<a
target=
"_blank"
href=
"
{{
url
}}
"
>
{{
des
}}
</a>
{{^}}
...
...
Please
register
or
login
to post a comment