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
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
6 years ago
Commit
cda2fb87b9ede7cd5d22a75d082c4fc4bf02c1c1
1 parent
120d52ca
活动模版商品组优化
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
7 deletions
apps/activity/views/partial/feature/product-new-item.hbs
apps/activity/views/partial/feature/product-old-style.hbs
public/scss/feature/product.scss
apps/activity/views/partial/feature/product-new-item.hbs
View file @
cda2fb8
...
...
@@ -8,11 +8,6 @@
<img
class=
"rigtopimg lazy"
data-original=
"
{{
image2
conf
.
rigTopImg
q
=
85
}}
"
>
{{/if}}
<img
class=
"product-detail-img product-detail-img-new lazy"
data-original=
"
{{
image2
productimg
q
=
85
}}
"
>
<div
class=
""
>
{{#if
conf
.
leftDownImg
}}
<img
class=
"leftdownimg lazy"
data-original=
"
{{
image2
conf
.
leftDownImg
q
=
85
}}
"
>
{{/if}}
</div>
<a
class=
"new-brand-name
{{#
isEqualOr
conf
.
showBrandUrl
'1'
}}
product-brand
{{else}}
product-detail
{{/
isEqualOr
}}
"
href=
"
{{
brandurl
}}
"
>
<span
class=
"brand-name"
{{#if
conf
.
fontColor
}}
style=
"color:
{{
conf
.
fontColor
}}
;"
{{/if}}
>
{{
brandname
}}
</span>
</a>
...
...
apps/activity/views/partial/feature/product-old-style.hbs
View file @
cda2fb8
...
...
@@ -19,6 +19,11 @@
<img
class=
"rigtopimg"
src=
"
{{
image2
rigTopImg
q
=
85
}}
"
>
{{/if}}
<img
class=
"product-detail-img lazy"
src=
""
>
<div
class=
"sales-imgs-old"
>
{{#if
leftDownImg
}}
<img
class=
"leftdownimg lazy"
data-original=
"
{{
image2
leftDownImg
q
=
85
}}
"
>
{{/if}}
</div>
</div>
{{#
isEqualOr
showPrdName
'1'
}}
<p
class=
"product-name"
></p>
...
...
public/scss/feature/product.scss
View file @
cda2fb8
...
...
@@ -167,15 +167,21 @@
color
:
#000
;
}
.
leftdownimg
{
.
sales-imgs-old
{
position
:
absolute
;
right
:
0
;
top
:
0
;
bottom
:
28px
;
width
:
100%
;
height
:
auto
;
z-index
:
1
;
}
.leftdownimg
{
width
:
auto
;
max-width
:
100%
;
height
:
26px
;
}
.vip-price-text
{
margin-right
:
10px
;
font-weight
:
500
;
...
...
Please
register
or
login
to post a comment