Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
xiaowei
2016-05-09 15:43:08 +0800
Commit
5ef0d5f52d4c2d9fd02f49a137a273e2fcff0913
1 parent
c34a31c5
专题图标
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
library/Plugin/Helpers.php
static/sass/guang/_info.css
template/m.yohobuy.com/partials/guang/info.phtml
library/Plugin/Helpers.php
View file @
5ef0d5f
...
...
@@ -387,6 +387,9 @@ class Helpers
case
'5'
:
// 小贴士
$result
[
'isTip'
]
=
true
;
break
;
case
'59'
:
// 专题
$result
[
'isSpecialTopic'
]
=
true
;
break
;
}
}
...
...
static/sass/guang/_info.css
View file @
5ef0d5f
...
...
@@ -75,10 +75,10 @@
background-image
:
url('/guang/info/fashion-man.png')
;
}
&
.tip
{
&
.tip
,
&
.special-topic
{
background-image
:
url('/guang/info/tip.png')
;
}
&
.topic
{
background-image
:
url('/guang/info/topic.png')
;
}
...
...
template/m.yohobuy.com/partials/guang/info.phtml
View file @
5ef0d5f
...
...
@@ -29,6 +29,10 @@
话题
<div class="info-tag topic"></div>
{{/ isTopic}}
{{# isSpecialTopic}}
专题
<div class="info-tag special-topic"></div>
{{/ isSpecialTopic}}
</a>
{{/if}}
<a href="{{url}}">
...
...
Please
register
or
login
to post a comment