Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
uedxwg
9 years ago
Commit
403c94d19cfbcd9633993632cebb0e995596fc09
1 parent
4c73fb50
'添加活动参与'
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
13 deletions
static/sass/cart/_index.scss
template/m.yohobuy.com/partials/cart/cart-content.phtml
static/sass/cart/_index.scss
View file @
403c94d
...
...
@@ -116,11 +116,26 @@
color
:
#8f8f8f
;
}
}
.price-compute
{
.activity
{
padding
:
20rem
/
$pxConvertRem
;
border-bottom
:
1px
solid
#e0e0e0
;
font-size
:
26rem
/
$pxConvertRem
;
h1
{
font-size
:
32rem
/
$pxConvertRem
;
}
li
:before
{
content
:
""
;
display
:
inline-block
;
width
:
4px
;
height
:
4px
;
background-color
:
#000
;
border-radius
:
50%
;
margin-right
:
8rem
/
$pxConvertRem
;
}
}
.price-compute
{
padding
:
20rem
/
$pxConvertRem
;
border-top
:
1px
solid
#e0e0e0
;
font-size
:
28rem
/
$pxConvertRem
;
.title
{
display
:
inline-block
;
...
...
template/m.yohobuy.com/partials/cart/cart-content.phtml
View file @
403c94d
...
...
@@ -33,18 +33,21 @@
{{/if}}
</ul>
{{/if}}
<div class="activity">
<h1>以参与活动</h1>
<ul>
{{# promotionInfo}}
<li>{{name}}</li>
{{/ promotionInfo}}
</ul>
</div>
<div class="price-compute">
<p class="sum-price">
<span class="title">总价</span>
<span id="good-totalprice">¥{{price}}</span>
<p>
<span>总价(¥{{price}})<i>-</i></span>
<span>活动价(¥{{activityPrice}})</span>
</p>
<p class="activity-price">
<span class="title">
活动价
<i class="minus">-</i>
</span>
<span id="good-activityPrice">¥{{activityPrice}}</span>
<p>
<span><i>=</i>商品总计金额 (¥{{sumPrice}})</span>
</p>
</div>
...
...
Please
register
or
login
to post a comment