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
毕凯
9 years ago
Commit
062253b8824951635dcc95e7ac399f432c755d5e
2 parents
59b1064b
399fe691
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into feature/homeOrder
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/models/Index/Side.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Index/Side.php
View file @
062253b
...
...
@@ -104,7 +104,7 @@ class SideModel
'textCn'
=>
'查看全部'
,
'textEn'
=>
''
,
'back'
=>
false
,
'isSelect'
=>
(
$guangChoosed
===
'
all
'
)
?
true
:
false
,
'isSelect'
=>
(
$guangChoosed
===
'
lifestyle'
||
$guangChoosed
===
'kids
'
)
?
true
:
false
,
'url'
=>
Helpers
::
url
(
''
,
array
(
'gender'
=>
'1,2,3'
),
'guang'
)
),
2
=>
array
(
...
...
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
062253b
...
...
@@ -239,8 +239,8 @@ class UserModel
$product
=
array
();
$product
[
'link'
]
=
isset
(
$val
[
'goodsId'
])
?
Helpers
::
url
(
'/product/pro_'
.
$val
[
'product_skn'
]
.
'_'
.
$val
[
'goodsId'
]
.
'/'
.
$val
[
'cnAlphabet'
]
.
'.html'
)
:
''
;
$product
[
'imgUrl'
]
=
(
isset
(
$one
[
'default_images'
])
&&
!
empty
(
$one
[
'default_images'
]))
?
Images
::
getImageUrl
(
$one
[
'default_images'
],
235
,
314
)
:
''
;
$product
[
'price'
]
=
!
empty
(
$one
[
'market_price'
])
?
'¥'
.
$one
[
'market_price'
]
.
'.00'
:
0
;
$product
[
'discount'
]
=
!
empty
(
$one
[
'sales_price'
])
?
'¥'
.
$one
[
'sales_price'
]
.
'.00'
:
0
;
$product
[
'price'
]
=
!
empty
(
$one
[
'market_price'
])
?
'¥'
.
$one
[
'market_price'
]
:
0
;
$product
[
'discount'
]
=
!
empty
(
$one
[
'sales_price'
])
?
'¥'
.
$one
[
'sales_price'
]
:
0
;
$brand
[
'productList'
][]
=
$product
;
}
...
...
Please
register
or
login
to post a comment