Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
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
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
9f383aaa32863ce87a93f4860f2d05340c995df4
1 parent
31c0d15c
优惠券列表
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
static/sass/cart/_select-coupon.scss
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
static/sass/cart/_select-coupon.scss
View file @
9f383aa
...
...
@@ -49,7 +49,7 @@
.not-use
{
display
:
block
;
width
:
pxToRem
(
560px
);
margin
:
pxToRem
(
30px
)
auto
;
margin
:
pxToRem
(
30px
)
auto
0
;
text-align
:
center
;
font-size
:
pxToRem
(
32px
);
line-height
:
2
.5
;
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
9f383aa
...
...
@@ -555,8 +555,8 @@ class CartModel
$notAvailableRes
=
self
::
searchCoupon
(
$uid
,
$val
[
'couponCode'
]);
// 处理可用的优惠券
if
(
$val
[
'isValidity'
]
===
'N'
||
(
isset
(
$notAvailableRes
[
'code'
])
&&
$notAvailableRes
[
'code'
]
!==
200
))
{
// $val['notAvailable'] = true;
continue
;
$val
[
'notAvailable'
]
=
true
;
// continue;
}
$result
[]
=
$val
;
}
...
...
Please
register
or
login
to post a comment