Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
b96b5b4dceec2698bb0e38bbb619d17f707041ed
1 parent
e44ad454
update for close jit window when click body
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
3 deletions
apps/me/views/partial/returns-list.hbs
public/js/me/order-detail.page.js
public/js/me/order/countdown.js
public/scss/me/order/_express.css
public/tpl/me/express.hbs
apps/me/views/partial/returns-list.hbs
View file @
b96b5b4
...
...
@@ -2,7 +2,6 @@
<div
class=
"order"
>
{{#
returnsList
}}
{{>
common
/
subtitle
}}
{{#if
list
}}
<div
class=
"table"
>
<ul
class=
"header"
>
<li
class=
"info"
>
商品信息
</li>
...
...
@@ -10,6 +9,7 @@
<li
class=
"op"
>
操作
</li>
</ul>
</div>
{{#if
list
}}
{{#
list
}}
<div
class=
"table"
>
{{>
order
/
order-header
}}
...
...
public/js/me/order-detail.page.js
View file @
b96b5b4
...
...
@@ -54,6 +54,17 @@ if ($('.left-time').length) {
countDown
.
start
();
}
$
(
'body'
).
on
(
'click'
,
function
(
e
)
{
if
(
$
(
e
.
target
).
hasClass
(
'show-package'
))
{
return
false
;
}
e
.
preventDefault
();
if
(
!
$
(
'.package-list'
).
hasClass
(
'hide'
))
{
$
(
'.package-list'
).
addClass
(
'hide'
);
}
});
$
(
'.show-package'
).
on
(
'click'
,
function
()
{
$
(
this
).
next
(
'.package-list'
).
toggleClass
(
'hide'
);
...
...
public/js/me/order/countdown.js
View file @
b96b5b4
...
...
@@ -29,7 +29,7 @@ module.exports = {
var
timeStr
=
min
+
'分'
;
if
(
src
<=
0
)
{
if
(
parseInt
(
src
,
10
)
<=
0
)
{
timeStr
=
'已失效'
;
$
(
'.hide-when-invalid'
).
hide
();
$
(
'.user-order .table .common-column .pay-operation .left-time'
).
css
(
'margin-left'
,
'0'
);
...
...
public/scss/me/order/_express.css
View file @
b96b5b4
...
...
@@ -69,4 +69,8 @@
left
:
3px
;
}
}
.check-all
:hover
{
@extend
.blue;
}
}
...
...
public/tpl/me/express.hbs
View file @
b96b5b4
...
...
@@ -14,7 +14,7 @@
{{#
sub_express_deatil
}}
{{#if
@first
}}
<div
class=
"tip"
>
<p>
以上为最新跟踪信息
<a
href=
'/me/order/detail?orderCode=
{{
order_code
}}
'
target=
"_blank"
>
查看全部
</a></p>
<p>
以上为最新跟踪信息
<a
class=
"check-all"
href=
'/me/order/detail?orderCode=
{{
order_code
}}
'
target=
"_blank"
>
查看全部
</a></p>
</div>
{{/if}}
{{/
sub_express_deatil
}}
...
...
Please
register
or
login
to post a comment