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
梁志锋
9 years ago
Commit
da7a41e2f50cf83c5f529d3697ded9e35af03d61
1 parent
0986f55a
购物车功能
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
1 deletions
static/sass/shopping-cart/_good.scss
yohobuy/m.yohobuy.com/application/controllers/ShoppingCart.php
static/sass/shopping-cart/_good.scss
View file @
da7a41e
...
...
@@ -151,6 +151,45 @@
}
}
}
.good-detail-img
{
// position: relative;
//height: 368rem / $pxConvertRem;
//.good-islike {
// position: absolute;
// width: 60rem / $pxConvertRem;
// height: 60rem / $pxConvertRem;
// top: 0rem / $pxConvertRem;
// right: 0rem / $pxConvertRem;
// line-height: 60rem / $pxConvertRem;
// font-size: 30rem / $pxConvertRem;
// text-align: center;
// color: #b0b0b0;
// text-decoration: none;
//}
//
//.good-like {
// color: #d72928;
//}
//img {
// display: block;
// width: 100%;
// height: 368rem / $pxConvertRem;
//}
.few-tag
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
height
:
28rem
/
$pxConvertRem
;
background
:
#ffac5b
;
font-size
:
18rem
/
$pxConvertRem
;
color
:
#fff
;
line-height
:
28rem
/
$pxConvertRem
;
text-align
:
center
;
}
}
}
.shopping-cart-good
:last-child
{
...
...
yohobuy/m.yohobuy.com/application/controllers/ShoppingCart.php
View file @
da7a41e
...
...
@@ -25,7 +25,7 @@ class ShoppingCartController extends AbstractAction
'shoppingCartPage'
=>
true
,
'shoppingCart'
=>
CartModel
::
getCartData
(
$uid
,
$shoppingKey
)
);
print_r
(
$data
);
//
print_r($data);
// 渲染模板
$this
->
_view
->
display
(
'index'
,
$data
);
}
...
...
Please
register
or
login
to post a comment