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
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
936017b5087ce0f214351e2a4481089c3e1c80d6
2 parents
6ef0d24e
7e762cac
Merge branch 'develop' into beta
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
web-static/sass/home/_index-pliffy.scss
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/models/Home/Order.php
web-static/sass/home/_index-pliffy.scss
View file @
936017b
...
...
@@ -348,6 +348,9 @@
.tpl-brands
{
margin-top
:
-8px
!
important
;
}
}
.boys
,
.lifestyle
{
.goods-container
{
.good-info
{
width
:
188px
;
...
...
@@ -357,7 +360,6 @@
}
}
}
}
...
...
@@ -486,6 +488,8 @@
}
}
}
}
.boys
,
.lifestyle
{
.goods-container
{
.good-info
{
width
:
222px
!
important
;
...
...
@@ -495,7 +499,6 @@
}
}
}
}
}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
936017b
...
...
@@ -800,6 +800,11 @@ class HomeController extends AbstractAction
$this
->
error
();
}
/* 判断订单是否已付款, 已付款跳到订单详情页 */
if
(
!
empty
(
$orderDetail
[
'isPay'
]))
{
$this
->
go
(
Helpers
::
url
(
'/home/orderdetail'
,
array
(
'order_code'
=>
$orderCode
))
);
}
$hasWxShare
=
strpos
(
$this
->
server
(
'HTTP_USER_AGENT'
,
''
),
'MicroMessenger'
)
!==
false
;
if
(
$hasWxShare
)
{
$tools
=
new
JsApiPay
();
...
...
yohobuy/m.yohobuy.com/application/models/Home/Order.php
View file @
936017b
...
...
@@ -152,6 +152,7 @@ class OrderModel
$result
[
'price'
]
=
$orderDetail
[
'data'
][
'amount'
];
// 实付金额
$result
[
'goodsAmount'
]
=
$orderDetail
[
'data'
][
'payment_amount'
];
// 商品总金额没有人民币符号
$result
[
'orderCount'
]
=
$count
;
// 订单总件数
$result
[
'isPay'
]
=
$orderDetail
[
'data'
][
'payment_status'
]
===
'Y'
;
}
}
...
...
Please
register
or
login
to post a comment