Showing
6 changed files
with
74 additions
and
1 deletions
@@ -10,7 +10,13 @@ | @@ -10,7 +10,13 @@ | ||
10 | <li><% pageName %></li> | 10 | <li><% pageName %></li> |
11 | </ul> | 11 | </ul> |
12 | <div style="margin-top: 4px"> | 12 | <div style="margin-top: 4px"> |
13 | - <h4 style="line-height: 30px;font-size: 24px"><% pageName %></h4> | 13 | + <h4 style="line-height: 30px;font-size: 24px"> |
14 | + <%if subPageName%> | ||
15 | + <%subPageName%> | ||
16 | + <%else%> | ||
17 | + <%pageName%> | ||
18 | + <%/if%> | ||
19 | + </h4> | ||
14 | </div> | 20 | </div> |
15 | </div> | 21 | </div> |
16 | </div> | 22 | </div> |
code/apps/shop/controllers/shopCategory.js
0 → 100644
1 | +module.exports = function (app){ | ||
2 | + app.get("/shop/shopCategory/index", "shop.ShopCategory.Index", function (req,res){ | ||
3 | + this.$extend={ | ||
4 | + moduleName:"店铺管理", | ||
5 | + pageName:"店铺销售类目管理" | ||
6 | + } | ||
7 | + }); | ||
8 | + | ||
9 | + app.get("/shop/shopCategory/info", "shop.ShopCategory.Info", function (rs,req,res){ | ||
10 | + this.$extend={ | ||
11 | + moduleName:"店铺管理", | ||
12 | + pageName:"店铺销售类目管理", | ||
13 | + subPageName:"店铺销售类目详情" | ||
14 | + } | ||
15 | + }); | ||
16 | + | ||
17 | + app.get("/shop/shopCategory/edit", "shop.ShopCategory.Edit", function (rs,req,res){ | ||
18 | + this.$extend={ | ||
19 | + moduleName:"店铺管理", | ||
20 | + pageName:"店铺销售类目管理", | ||
21 | + subPageName:"店铺销售类目编辑" | ||
22 | + } | ||
23 | + }); | ||
24 | + | ||
25 | + //店铺列表(公共) | ||
26 | + app.post("",""); | ||
27 | + | ||
28 | +} | ||
29 | + |
code/apps/shop/views/ShopCategory/Edit.html
0 → 100644
code/apps/shop/views/ShopCategory/Index.html
0 → 100644
1 | +<%include '../../../common/views/__ui/header'%> | ||
2 | +<%include '../../../common/views/__partail/ListHeader'%> | ||
3 | + | ||
4 | +<div class="contentpanel"> | ||
5 | + <div style="margin-bottom: 20px"> | ||
6 | + <div class="form-group"> | ||
7 | + <select id="shop-select" name="shop-select" style="width: 300px;" class="form-control"> | ||
8 | + <option value="-1">请选择店铺</option> | ||
9 | + </select> | ||
10 | + </div> | ||
11 | + </div> | ||
12 | + | ||
13 | + <div style="margin-bottom: 20px"> | ||
14 | + <a class="add btn btn-success"><i class="fa fa-plus"></i> 新增销售类目</a> | ||
15 | + </div> | ||
16 | + | ||
17 | + <div style="margin-bottom: 20px"> | ||
18 | + </div> | ||
19 | + | ||
20 | +</div> | ||
21 | + | ||
22 | +<%include '../../../common/views/__ui/footer'%> |
code/apps/shop/views/ShopCategory/Info.html
0 → 100644
-
Please register or login to post a comment