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
郝肖肖
8 years ago
Commit
2d9c6fcd19e5ed76fbc22a331daed8cffba2e8e0
1 parent
1e9623d0
购物车 失效商品不可以单击
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
4 deletions
apps/shopping/controllers/pay.js
apps/shopping/views/partial/cart/statement.hbs
apps/shopping/views/partial/cart/stepper.hbs
public/scss/shopping/_cart-products.css
public/tpl/shopping/cart-content.hbs
apps/shopping/controllers/pay.js
View file @
2d9c6fc
...
...
@@ -167,7 +167,7 @@ const weixinPayState = (req, res) => {
code
:
200
,
data
:
{
href
:
helpers
.
urlFormat
(
'/shopping/pay/callback/wechat'
,
Object
.
assign
(
payParams
,
{
sign
:
md5
(
paySign
.
raw
(
Object
.
assign
({
tradeStatus
:
"Y"
},
payParams
)))
sign
:
md5
(
paySign
.
raw
(
Object
.
assign
({
tradeStatus
:
'Y'
},
payParams
)))
}))
}
});
...
...
apps/shopping/views/partial/cart/statement.hbs
View file @
2d9c6fc
...
...
@@ -15,7 +15,9 @@
</div>
<div
id=
"remove_selected"
class=
"action hoverable"
>
删除选中的商品
</div>
<div
id=
"send_favorite"
class=
"action hoverable"
>
移入收藏夹
</div>
<div
id=
"remove_invalid"
class=
"action hoverable"
>
清除失效商品
</div>
{{#if
invalidPros
}}
<div
id=
"remove_invalid"
class=
"action hoverable"
>
清除失效商品
</div>
{{/if}}
<div
class=
"selected-num"
>
已选
<span>
{{
selectedNum
}}
</span>
件
</div>
<div
class=
"checkout-total"
>
<div
class=
"total-title"
>
商品金额:
</div>
...
...
apps/shopping/views/partial/cart/stepper.hbs
View file @
2d9c6fc
...
...
@@ -5,7 +5,7 @@
<div
class=
"num"
>
<input
type=
"text"
class=
"input"
value=
{{
buy_number
}}
readonly="readonly"
/>
</div>
<div
class=
"plus action"
>
<div
class=
"plus action
{{#
isEqual
off_shelves
1
}}
disable
{{/
isEqual
}}
"
>
<span
class=
"iconfont"
>

</span>
</div>
<div
class=
"warning"
>
...
...
public/scss/shopping/_cart-products.css
View file @
2d9c6fc
...
...
@@ -264,6 +264,7 @@ $hoverColor: #379ed6;
a
{
color
:
#999
!important
;
cursor
:
default
!important
;
}
.stepper
{
...
...
public/tpl/shopping/cart-content.hbs
View file @
2d9c6fc
...
...
@@ -61,7 +61,7 @@
<div
class=
"num"
>
<input
type=
"text"
class=
"input"
value=
{{
buy_number
}}
readonly
/>
</div>
<div
class=
"plus action"
>
<div
class=
"plus action
{{#
isEqual
off_shelves
1
}}
disable
{{/
isEqual
}}
"
>
<span
class=
"iconfont"
>

</span>
</div>
<div
class=
"warning"
>
...
...
Please
register
or
login
to post a comment