作者 anyv
1 个管道 的构建 通过 耗费 2 秒

分页

... ... @@ -24,6 +24,10 @@ class ClassifyController extends WeChatBaseController{
$data_label = Db::name('label') -> select();
//获取默认分类商品
$data_goods = Db::name('goods') -> alias('a') -> join('classification b','a.classify_id = b.id','LEFT') -> where("a.type = 1 and a.classify_id =".$data_classify[0]['id']) -> select();
dump($data_goods);die;
foreach($data_goods as $key => $val){
}
$this -> assign('data_goods',$data_goods);
$this -> assign('data_label',$data_label);
$this -> assign('data_classify',$data_classify);
... ...
... ... @@ -63,7 +63,6 @@
<div class="in_hotName txt-cut"><span>{$vo.name}</span>{$vo.book_name}</div>
<div class="in_cam_shopPrice">
<div class="in_hotPrice1"><span>265</span>.00</div>
<div class="in_cam_shopY">¥200.00</div>
</div>
</div>
</div>
... ...