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
xuqi
9 years ago
Commit
9d487498d853041cdf75975b5c5b170fb5e1d725
2 parents
9d457d0c
291f08f3
Merge branch 'develop/wap' of
http://git.dev.yoho.cn/web/yohobuy
into develop/wap
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
static/sass/product/_recommend-for-you.scss
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Category/controllers/Brand.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Info.php
static/sass/product/_recommend-for-you.scss
View file @
9d48749
...
...
@@ -43,7 +43,7 @@
width
:
100%
;
white-space
:
nowrap
;
margin-top
:
pxToRem
(
20px
);
color
:
gray
;
color
:
#444
;
}
.price
{
...
...
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
9d48749
...
...
@@ -375,7 +375,7 @@ class IndexController extends AbstractAction
// 设置网站标题
$this
->
setTitle
(
'选择地址'
);
$this
->
setNavHeader
(
'选择地址'
,
Helpers
::
url
(
'/cart/index/orderEnsure'
));
$this
->
setNavHeader
(
'选择地址'
,
Helpers
::
url
(
'/cart/index/orderEnsure'
)
,
false
);
$uid
=
$this
->
getUid
(
true
);
$address
=
UserModel
::
getAddressData
(
$uid
);
...
...
@@ -397,7 +397,7 @@ class IndexController extends AbstractAction
// 设置网站标题
$this
->
setTitle
(
'选择优惠券'
);
$this
->
setNavHeader
(
'选择优惠券'
,
Helpers
::
url
(
'/cart/index/orderEnsure'
));
$this
->
setNavHeader
(
'选择优惠券'
,
Helpers
::
url
(
'/cart/index/orderEnsure'
)
,
false
);
$this
->
_view
->
display
(
'select-coupon'
,
array
(
'selectCouponPage'
=>
true
,
...
...
@@ -410,8 +410,6 @@ class IndexController extends AbstractAction
*/
public
function
orderSubAction
()
{
$result
=
array
();
if
(
$this
->
isAjax
())
{
$uid
=
$this
->
getUid
(
true
);
$addressId
=
$this
->
post
(
'addressId'
,
null
);
...
...
yohobuy/m.yohobuy.com/application/modules/Category/controllers/Brand.php
View file @
9d48749
...
...
@@ -18,7 +18,7 @@ class BrandController extends AbstractAction
public
function
indexAction
()
{
$this
->
setTitle
(
'品牌一览'
);
$this
->
setNavHeader
(
'品牌一览'
,
'/boys?go=1&t='
.
time
());
$this
->
setNavHeader
(
'品牌一览'
,
'/boys?go=1&t='
.
time
()
,
false
);
/* 判断参数是否有效 */
$channel
=
null
;
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Info.php
View file @
9d48749
...
...
@@ -146,6 +146,10 @@ class InfoController extends AbstractAction
}
}
}
// 更多商品链接
elseif
(
isset
(
$value
[
'link'
]))
{
$build
[
'link'
]
=
$value
[
'link'
][
'data'
][
0
][
'url'
];
}
$data
[
'detail'
][
'content'
][]
=
$build
;
}
...
...
@@ -313,6 +317,10 @@ class InfoController extends AbstractAction
}
}
}
// 更多商品链接
elseif
(
isset
(
$value
[
'link'
]))
{
$build
[
'link'
]
=
$value
[
'link'
][
'data'
][
0
][
'url'
];
}
$data
[
'detail'
][
'content'
][]
=
$build
;
}
...
...
@@ -445,6 +453,10 @@ class InfoController extends AbstractAction
}
}
}
// 更多商品链接
elseif
(
isset
(
$value
[
'link'
]))
{
$build
[
'link'
]
=
$value
[
'link'
][
'data'
][
0
][
'url'
];
}
// 内容详情
if
(
array
()
!==
$build
)
{
...
...
Please
register
or
login
to post a comment