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
Rock Zhang
9 years ago
Commit
9f5500cc905ad9016d4009c80d7a0af1937c714b
1 parent
0caeafc4
修复收藏的品牌中价格显示问题;修改sale顶部baner的位置码,Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
static/sass/me/_fav.scss
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
static/sass/me/_fav.scss
View file @
9f5500c
...
...
@@ -310,7 +310,6 @@
line-height
:
pxToRem
(
65px
);
text-align
:
center
;
font-size
:
pxToRem
(
22px
);
color
:
#fff
;
.price-discount
{
span
{
...
...
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
9f5500c
...
...
@@ -251,7 +251,7 @@ class UserModel
$product
[
'link'
]
=
isset
(
$one
[
'goods'
][
0
])
?
Helpers
::
url
(
'/product/pro_'
.
$one
[
'product_id'
]
.
'_'
.
$one
[
'goods'
][
0
][
'id'
]
.
'/'
.
$one
[
'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'
]
:
0
;
$product
[
'discount'
]
=
!
empty
(
$one
[
'sales_price'
])
?
'¥'
.
$one
[
'sales_price'
]
:
0
;
$product
[
'discount'
]
=
(
$one
[
'market_price'
]
>
$one
[
'sales_price'
])
?
'¥'
.
$one
[
'sales_price'
]
:
false
;
$brand
[
'productList'
][]
=
$product
;
}
...
...
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
View file @
9f5500c
...
...
@@ -23,16 +23,16 @@ class NewsaleModel
/* 男生频道取新品到着及折扣专区数据的位置码 */
const
CODE_TOP_NEW_BOYS
=
'3cf2c1be5217fbab6009ce83959e1e12'
;
const
CODE_TOP_SALE_BOYS
=
'
e9c9be32d72e2906d404a72ee24cb523
'
;
const
CODE_TOP_SALE_BOYS
=
'
153180b9a88c0b565848850c523bb637
'
;
/* 女生频道取新品到着及折扣专区数据的位置码 */
const
CODE_TOP_NEW_GIRLS
=
'1cf7f9f10e2a2670e73d05c568793ad9'
;
const
CODE_TOP_SALE_GIRLS
=
'
785c0e6aab746949073c4ffb9d5106ac
'
;
const
CODE_TOP_SALE_GIRLS
=
'
0b2d133419a0f7c381306fd3522365e1
'
;
/* 潮童频道取新品到着及折扣专区数据的位置码 */
const
CODE_TOP_NEW_KIDS
=
'57457adececa6c748b29c90cad0ae940'
;
const
CODE_TOP_SALE_KIDS
=
'
ad1bb67a6007819c86f737d74172fd2e
'
;
const
CODE_TOP_SALE_KIDS
=
'
de23648d28ee1e8a3f087a9dbac506f8
'
;
/* 创意生活频道取新品到着及折扣专区数据的位置码 */
const
CODE_TOP_NEW_LIFESTYLE
=
'04953a61cbf1db426a681e55d496d2fe'
;
const
CODE_TOP_SALE_LIFESTYLE
=
'
8132c7db3adbeb7b0d0002de9691c753
'
;
const
CODE_TOP_SALE_LIFESTYLE
=
'
01269e498ff5b07756e0733ec0e88c75
'
;
/**
* 获取新品到着的焦点图资源数据
...
...
Please
register
or
login
to post a comment