|
@@ -89,7 +89,6 @@ class NewsaleController extends AbstractAction |
|
@@ -89,7 +89,6 @@ class NewsaleController extends AbstractAction |
89
|
'cartUrl' => Helpers::url('/product/newsale/selectHotrank', null),
|
89
|
'cartUrl' => Helpers::url('/product/newsale/selectHotrank', null),
|
90
|
);
|
90
|
);
|
91
|
|
91
|
|
92
|
- // print_r($data);
|
|
|
93
|
$this->_view->display('hotrank', $data);
|
92
|
$this->_view->display('hotrank', $data);
|
94
|
}
|
93
|
}
|
95
|
|
94
|
|
|
@@ -105,7 +104,7 @@ class NewsaleController extends AbstractAction |
|
@@ -105,7 +104,7 @@ class NewsaleController extends AbstractAction |
105
|
if ($this->isAjax()) {
|
104
|
if ($this->isAjax()) {
|
106
|
$sort = $this->get('sort', null);
|
105
|
$sort = $this->get('sort', null);
|
107
|
$tab_id = $this->get('tab_id', null);
|
106
|
$tab_id = $this->get('tab_id', null);
|
108
|
- $limit = $this->get('limit', 50);
|
107
|
+ $limit = $this->get('limit', 34);
|
109
|
$page = $this->get('page', 1);
|
108
|
$page = $this->get('page', 1);
|
110
|
|
109
|
|
111
|
// 获取性别
|
110
|
// 获取性别
|
|
@@ -115,11 +114,10 @@ class NewsaleController extends AbstractAction |
|
@@ -115,11 +114,10 @@ class NewsaleController extends AbstractAction |
115
|
$result = \Product\NewsaleModel::selectTopData($data);
|
114
|
$result = \Product\NewsaleModel::selectTopData($data);
|
116
|
}
|
115
|
}
|
117
|
|
116
|
|
118
|
- // print_r($result);
|
|
|
119
|
if (empty($result)) {
|
117
|
if (empty($result)) {
|
120
|
echo ' ';
|
118
|
echo ' ';
|
121
|
} else {
|
119
|
} else {
|
122
|
- $this->_view->display('hotList', $result);
|
120
|
+ $this->_view->display('hotlist', $result);
|
123
|
}
|
121
|
}
|
124
|
}
|
122
|
}
|
125
|
|
123
|
|