Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Plain Diff
Browse Files
Authored by
毕凯
2017-04-17 18:20:00 +0800
Commit
4c350364cabfb18469c8bf2ddcd31d9b797f7af2
2 parents
e071c76f
a51a9239
Merge branch 'feature/brandJump' into 'release/5.6'
品牌入口样式 See merge request
!490
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
apps/product/views/partial/search/list.hbs
public/scss/product/search/_list.css
utils/product-process.js
apps/product/views/partial/search/list.hbs
View file @
4c35036
...
...
@@ -18,7 +18,11 @@
<div
class=
"brand-enter"
>
{{#
brandWay
}}
<a
href=
{{
url
}}
data-shopid="
{{
shopId
}}
"
data-brandid=
"
{{
brandId
}}
"
>
{{#if
thumb
}}
<img
class=
"brand-thumb"
src=
{{
image2
thumb
q
=
60
}}
>
{{else}}
<span
class=
"occupy"
></span>
{{/if}}
<span
class=
"brand-name"
>
{{
name
}}
</span>
{{#if
brandId
}}
<span
class=
"global"
></span>
{{/if}}
<span
class=
"entry"
>
...
...
public/scss/product/search/_list.css
View file @
4c35036
...
...
@@ -72,7 +72,7 @@
a
{
display
:
block
;
height
:
8
4
px
;
height
:
8
0
px
;
line-height
:
80px
;
padding
:
0
20px
;
border-top
:
1px
solid
#e6e6e6
;
...
...
@@ -105,8 +105,15 @@
.brand-thumb
{
float
:
left
;
width
:
110px
;
height
:
84px
;
margin
:
0
;
display
:
inline-block
;
margin-top
:
5px
;
}
.occupy
{
float
:
left
;
width
:
130px
;
height
:
80px
;
margin
:
0
;
display
:
inline-block
;
}
...
...
@@ -125,7 +132,7 @@
.entry
{
color
:
#999
;
font-size
:
2
8
px
;
font-size
:
2
4
px
;
float
:
right
;
display
:
inline-block
;
}
...
...
utils/product-process.js
View file @
4c35036
...
...
@@ -191,7 +191,7 @@ exports.processProductList = (list, options) => {
product
.
is_solded
=
true
;
}
if
(
product
.
is_global
===
'Y'
)
{
if
(
product
.
is_global
===
'Y'
&&
product
.
tbl_country_name
&&
product
.
tbl_country_name
!==
''
)
{
tags
.
is_global
=
true
;
}
...
...
Please
register
or
login
to post a comment