正在显示
1 个修改的文件
包含
16 行增加
和
8 行删除
| @@ -162,6 +162,10 @@ class BTemplateLogic extends BaseLogic | @@ -162,6 +162,10 @@ class BTemplateLogic extends BaseLogic | ||
| 162 | "products"=>[ | 162 | "products"=>[ |
| 163 | "category"=>[ | 163 | "category"=>[ |
| 164 | [ | 164 | [ |
| 165 | + "id"=>"all", | ||
| 166 | + "title"=>"全部", | ||
| 167 | + ], | ||
| 168 | + [ | ||
| 165 | "id"=>"hot", | 169 | "id"=>"hot", |
| 166 | "title"=>"热销产品", | 170 | "title"=>"热销产品", |
| 167 | ], | 171 | ], |
| @@ -186,6 +190,10 @@ class BTemplateLogic extends BaseLogic | @@ -186,6 +190,10 @@ class BTemplateLogic extends BaseLogic | ||
| 186 | "news"=>[ | 190 | "news"=>[ |
| 187 | "category"=>[ | 191 | "category"=>[ |
| 188 | [ | 192 | [ |
| 193 | + "id"=>"all", | ||
| 194 | + "name"=>"全部", | ||
| 195 | + ], | ||
| 196 | + [ | ||
| 189 | "id"=>"new", | 197 | "id"=>"new", |
| 190 | "name"=>"最新", | 198 | "name"=>"最新", |
| 191 | ], | 199 | ], |
| @@ -194,6 +202,10 @@ class BTemplateLogic extends BaseLogic | @@ -194,6 +202,10 @@ class BTemplateLogic extends BaseLogic | ||
| 194 | "blogs"=>[ | 202 | "blogs"=>[ |
| 195 | "category"=>[ | 203 | "category"=>[ |
| 196 | [ | 204 | [ |
| 205 | + "id"=>"all", | ||
| 206 | + "name"=>"全部", | ||
| 207 | + ], | ||
| 208 | + [ | ||
| 197 | "id"=>"new", | 209 | "id"=>"new", |
| 198 | "name"=>"最新", | 210 | "name"=>"最新", |
| 199 | ], | 211 | ], |
| @@ -202,16 +214,12 @@ class BTemplateLogic extends BaseLogic | @@ -202,16 +214,12 @@ class BTemplateLogic extends BaseLogic | ||
| 202 | "productCategory"=>[ | 214 | "productCategory"=>[ |
| 203 | "category"=>[ | 215 | "category"=>[ |
| 204 | [ | 216 | [ |
| 205 | - "id"=>1, | ||
| 206 | - "title"=>"分类1", | ||
| 207 | - ], | ||
| 208 | - [ | ||
| 209 | - "id"=>2, | ||
| 210 | - "title"=>"分类2", | 217 | + "id"=>"all", |
| 218 | + "title"=>"全部", | ||
| 211 | ], | 219 | ], |
| 212 | [ | 220 | [ |
| 213 | - "id"=>3, | ||
| 214 | - "title"=>"分类3", | 221 | + "id"=>"recommend", |
| 222 | + "title"=>"推荐", | ||
| 215 | ], | 223 | ], |
| 216 | ], | 224 | ], |
| 217 | ] | 225 | ] |
-
请 注册 或 登录 后发表评论