Authored by 梁志锋

购物车功能

... ... @@ -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 {
... ...
... ... @@ -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);
}
... ...