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
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
58d954915d5116d50f4366a93306683295bf6da7
2 parents
66f02a01
fe2ccc9e
resolve conflict
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
static/js/cart/good.js
static/sass/cart/_good.scss
template/m.yohobuy.com/partials/cart/good.phtml
static/js/cart/good.js
View file @
58d9549
...
...
@@ -75,7 +75,9 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
},
function
()
{
tip
.
show
(
'网络异常'
);
});
}).
on
(
'touchstart'
,
'.icon-del'
,
function
(
e
)
{
});
$
(
'.icon-del'
).
on
(
'touchstart'
,
function
(
e
)
{
var
$this
=
$
(
this
);
e
.
stopPropagation
();
...
...
@@ -112,6 +114,7 @@ $('.cart-goods').on('touchstart', '.checkbox', function() {
}
},
function
()
{
tip
.
show
(
'网络异常'
);
window
.
location
.
reload
();
});
});
});
...
...
static/sass/cart/_good.scss
View file @
58d9549
...
...
@@ -33,6 +33,11 @@
text-align
:
center
;
top
:
72%
;
color
:
#fff
;
span
{
display
:
inline-block
;
@include
transform
(
scale
(
0
.833
));
}
}
.gift-tag
{
...
...
template/m.yohobuy.com/partials/cart/good.phtml
View file @
58d9549
...
...
@@ -13,10 +13,10 @@
<img class="thumb lazy" data-original="{{thumb}}">
</a>
{{#if isAdvanceBuy}}
<p class="few-tag plus-tag">
加价购
</p>
<p class="few-tag plus-tag">
<span>加价购</span>
</p>
{{/if}}
{{#if isGift}}
<p class="few-tag gift-tag">
赠品
</p>
<p class="few-tag gift-tag">
<span>赠品</span>
</p>
{{/if}}
<div class="deps show">
...
...
Please
register
or
login
to post a comment