Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b2f023a
authored
Apr 13, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整付款时间显示
parent
6bd0cfff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
resources/views/detail/changeOrder.blade.php
resources/views/detail/changeOrder.blade.php
View file @
5b2f023a
...
...
@@ -177,7 +177,11 @@
@if ($order_info['status'] == 2)
<div
class=
"checked_section"
>
<div
class=
"checked_left"
>
<p>
交易状态:
审核通过,请联系客户及时付款!订单付款时间截止至:{{date('Y-m-d H:i:s', $order_info['pay_time'])}}
</p>
<p>
交易状态:
审核通过,请联系客户及时付款!
@if ($order_info['pay_time'])
<span>
订单付款时间截止至:{{date('Y-m-d H:i:s', $order_info['pay_time'])}}
</span>
@endif
</p>
@if ($order_info['adjust_count']
<
2
)
<
a
class=
"btn btn-default"
href=
"{{URL('adjustPrice', ['order_id'=>$order_info['order_id']])}}"
>
再次调价
</a><span
class=
"warn-tip"
>
每笔订单仅有一次“再次调价”机会
</span>
...
...
@@ -212,9 +216,13 @@
var
currency
=
"{{$order_info['currency']}}"
;
var
order_pay_type
=
"{{$order_info['order_pay_type']}}"
;
var
rest_time
=
"{{$order_info['pay_time']
- time()
}}"
;
var
rest_time
=
"{{$order_info['pay_time']
? $order_info['pay_time'] - time() : NULL
}}"
;
countDown
(
rest_time
);
if
(
rest_time
)
{
countDown
(
rest_time
);
}
else
{
$
(
'.checked_right'
).
hide
();
}
// 倒计时
function
countDown
(
times
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment