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
毕凯
9 years ago
Commit
7c16525b32d9ab7c9fdf63eea6ac1a645b0d72e0
1 parent
5ef04dc4
增加赠品页面
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
static/sass/cart/_gift-advance-good.scss
template/m.yohobuy.com/actions/cart/index/gift-advance.phtml
template/m.yohobuy.com/partials/cart/gift-advance-good.phtml
static/sass/cart/_gift-advance-good.scss
View file @
7c16525
...
...
@@ -43,7 +43,7 @@
background
:
#a1ce4e
;
&
:before
{
content
:
'
赠品
'
;
content
:
'
加价购
'
;
display
:
block
;
font-size
:
12px
;
line-height
:
25rem
/
$pxConvertRem
;
...
...
@@ -56,6 +56,7 @@
}
.name
{
margin-bottom
:
20rem
/
$pxConvertRem
;
width
:
440rem
/
$pxConvertRem
;
font-size
:
28rem
/
$pxConvertRem
;
}
...
...
@@ -114,7 +115,7 @@
background
:
#f8f8f8
;
}
.
advance
-block
.tag
{
.
gift
-block
.tag
{
background
:
#eb76aa
;
&
:before
{
content
:
'加价购'
;
...
...
template/m.yohobuy.com/actions/cart/index/gift-advance.phtml
View file @
7c16525
...
...
@@ -11,7 +11,12 @@
{
{/
advanceBuy
}
}
{
{else
}
}
{
{#
freebie
}
}
{
{>
cart/gift-advance-good
}
}
<div
class=
"advance-block gift-block"
data-promotion-id=
"{{promotionId}}"
>
<p
class=
"title"
>
{
{title
}
}</p>
{
{#goods
}
}
{
{>
cart/gift-advance-good
}
}
{
{/goods
}
}
</div>
{
{/
freebie
}
}
{
{/if
}
}
...
...
template/m.yohobuy.com/partials/cart/gift-advance-good.phtml
View file @
7c16525
...
...
@@ -7,11 +7,13 @@
<p class="name row">{{name}}</p>
<p class="row">
<span class="price">
¥{{
price
}}
¥{{
#if price}}{{price}}{{else}}{{marketPrice}}{{/if
}}
</span>
{{#if price}}
<span class="price market-price">
¥{{marketPrice}}
</span>
{{/if}}
<span class="count">
×{{count}}
</span>
...
...
Please
register
or
login
to post a comment