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
hf
9 years ago
Commit
d47db60f52dc6f4a28bd8e5edee99216a5c79b25
2 parents
59b63317
1f3d91c6
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
library/LibModels/Wap/Passport/LoginData.php
static/sass/product/_comments-consults.scss
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
library/LibModels/Wap/Passport/LoginData.php
View file @
d47db60
...
...
@@ -76,10 +76,11 @@ class LoginData
$param
[
'openId'
]
=
$openId
;
$param
[
'source_type'
]
=
$sourceType
;
$param
[
'nickname'
]
=
$nickname
;
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
if
(
!
empty
(
$shoppingKey
))
{
$param
[
'shopping_key'
]
=
$shoppingKey
;
}
$param
[
'client_secret'
]
=
Sign
::
getSign
(
$param
);
return
Yohobuy
::
get
(
Yohobuy
::
API_URL
,
$param
);
}
...
...
static/sass/product/_comments-consults.scss
View file @
d47db60
...
...
@@ -4,6 +4,12 @@
border-bottom
:
1px
solid
$borderC
;
padding
:
0
pxToRem
(
28px
);
.user-name
{
display
:
inline-block
;
float
:
left
;
max-width
:
9rem
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
font-size
:
pxToRem
(
24px
);
line-height
:
pxToRem
(
62px
);
color
:
$mainFontC
;
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
d47db60
...
...
@@ -684,7 +684,7 @@ class CartModel
// 缩略图
foreach
(
$val
[
'images_list'
]
as
$image
)
{
$thumbImageList
[]
=
array
(
'img'
=>
Helpers
::
getImageUrl
(
$image
[
'image_url'
],
80
,
106
)
'img'
=>
Helpers
::
getImageUrl
(
$image
[
'image_url'
],
60
,
60
)
);
}
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
d47db60
...
...
@@ -276,10 +276,10 @@ class IndexController extends AbstractAction
$this
->
setNavHeader
(
'确认订单'
,
Helpers
::
url
(
'/cart/index/index'
),
false
);
// 不显示右上角home按钮
// 购物车商品为空跳转到购物车页面
$cartType
=
$this
->
get
(
'cartType'
,
'
ordinary
'
);
$cartType
=
$this
->
get
(
'cartType'
,
''
);
$cookieData
=
$this
->
getCookie
(
'order-info'
,
null
);
$orderInfo
=
array
();
if
(
!
empty
(
$cookieData
))
{
if
(
empty
(
$cartType
)
&&
!
empty
(
$cookieData
))
{
$orderInfo
=
json_decode
(
$cookieData
,
true
);
$cartType
=
$orderInfo
[
'cartType'
];
}
...
...
Please
register
or
login
to post a comment