Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
3af3fb971eaefaebbcef1a4fbb73322a52d66783
2 parents
6fbd6ce1
c4e23c70
Review by:谢巍光
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
static/js/product/list.js
static/sass/me/_order.scss
template/m.yohobuy.com/partials/me/order/good.phtml
static/js/product/list.js
View file @
3af3fb9
...
...
@@ -425,6 +425,13 @@ if ($brandHeader.length > 0) {
success
:
function
(
data
)
{
if
(
data
.
code
===
200
)
{
$this
.
toggleClass
(
'coled'
);
//提示
if
(
opt
===
'ok'
)
{
tip
.
show
(
'添加收藏成功'
);
}
else
{
tip
.
show
(
'取消收藏成功'
);
}
}
else
if
(
data
.
code
===
400
)
{
location
.
href
=
data
.
data
;
//未登录跳转登录页
}
else
{
...
...
static/sass/me/_order.scss
View file @
3af3fb9
...
...
@@ -204,6 +204,7 @@
position
:
absolute
;
top
:
20rem
/
$pxConvertRem
;
right
:
30rem
/
$pxConvertRem
;
text-align
:
right
;
}
.price
{
...
...
@@ -216,4 +217,8 @@
text-align
:
right
;
line-height
:
45rem
/
$pxConvertRem
;
}
.appear-date
{
color
:
#f00
;
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/me/order/good.phtml
View file @
3af3fb9
<div class="order-good" data-id=
{{id}}
>
<div class="order-good" data-id=
"{{id}}"
>
<div class="thumb-wrap">
<img class="thumb lazy" data-original=
{{thumb}}
>
<img class="thumb lazy" data-original=
"{{thumb}}"
>
<p class="tag{{#if gift}} gift-tag{{/if}}{{#if advanceBuy}} advance-buy-tag{{/if}}"></p>
</div>
<div class="deps">
...
...
@@ -25,6 +25,9 @@
<span class="count">
×{{count}}
</span>
{{#if appearDate}}
<span class="appear-date">上市期:{{appearDate}}</span>
{{/if}}
</p>
</div>
</div>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment