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-02-25 16:03:03 +0800
Commit
522a67daf1817a2b9780edc150b9e07c762a013c
2 parents
4b995c33
ee8f4521
Merge branch 'feature/cart' into 'release/5.4.1'
购物车样式问题 See merge request
!308
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
public/scss/cart/_index-new.css
utils/cart-process.js
public/scss/cart/_index-new.css
View file @
522a67d
...
...
@@ -60,6 +60,7 @@
height
:
35px
;
box-sizing
:
content-box
;
flex
:
1
;
position
:
relative
;
}
.nav-item.active
{
...
...
@@ -527,6 +528,7 @@
color
:
#444
;
font-size
:
29px
;
border-radius
:
4px
;
padding
:
0px
;
}
}
}
...
...
utils/cart-process.js
View file @
522a67d
...
...
@@ -28,6 +28,7 @@ const formatPromotionTitle = (promo) => {
let
match
=
regPromoTitle
.
exec
(
promo
.
promotion_title
);
let
promotionTitle
=
match
!==
null
&&
match
.
length
>
1
?
match
[
1
]
:
promo
.
promotion_title
;
promotionTitle
.
replace
(
'¥'
,
'¥'
);
return
`
$
{
title
}
【
$
{
promotionTitle
}
】`
;
};
const
formatPromotionOpt
=
(
promo
)
=>
{
...
...
Please
register
or
login
to post a comment