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
yyq
8 years ago
Commit
5f2436433e2beedb5fa48580ab26d86dd570a5bb
2 parents
e26a81d7
8ab053b0
Merge branch 'feature/deliveryType' into release/5.2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
web-static/sass/order/_ensure.css
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
template/www.yohobuy.com/actions/cart/index/order-ensure.phtml
View file @
5f24364
...
...
@@ -142,6 +142,10 @@
<h3>送货时间</h3>
<ul>
<li class="pay-type-tips">
温馨提示:快递公司会尽力按您选择的送货时间配送,如遇特殊情况(天气、环境等)无法按您要求的时间配送,还请您谅解。
</li>
{{#each delivery}}
<li>
<input {{#if checked}}checked{{/if}} value={{id}} class="radio" name="pay-time-radio" type="radio" id="{{id}}"/>
...
...
@@ -149,9 +153,7 @@
</li>
{{/each}}
<li class="pay-dashed-hr pay-type-tips">声明:我们会努力按照您指定的时间配送,但因为天气、交通等各类因素影响,您的订单有可能会有延误现象,敬请谅解!</li>
<li>
<li class="delivery-second-confirm">
<span>送货前是否联系:</span>
<input value="Y" class="radio" name="call-me" type="radio" id=""/>
<label for="">是</label>
...
...
web-static/sass/order/_ensure.css
View file @
5f24364
...
...
@@ -422,7 +422,12 @@
.pay-type-tips
{
color
:
#999
;
padding-left
:
15px
;
padding-bottom
:
10px
;
}
.delivery-second-confirm
{
padding-top
:
10px
;
border-top
:
1px
dashed
#ccc
;
}
div
.pay-type-legend
{
...
...
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
View file @
5f24364
...
...
@@ -773,7 +773,7 @@ class CartModel
// 默认
if
(
!
isset
(
$result
[
'defaultDelivery'
]))
{
$result
[
'defaultDelivery'
]
=
'
只工作日送货(双休日、节假日不送)
'
;
$result
[
'defaultDelivery'
]
=
'
送货时间不限
'
;
if
(
isset
(
$result
[
'delivery'
][
0
]))
{
$result
[
'delivery'
][
0
][
'checked'
]
=
true
;
}
...
...
Please
register
or
login
to post a comment