Authored by dongjunjie

店铺装修

@@ -11,22 +11,7 @@ var ENUM = { @@ -11,22 +11,7 @@ var ENUM = {
11 900: '驳回' 11 900: '驳回'
12 } 12 }
13 }; 13 };
14 -new common.dropDown({  
15 - el: "#brand-name",  
16 - ajax: "brand"  
17 -});  
18 -new common.dropDown({  
19 - el: "#supplier-name",  
20 - ajax: "supplier"  
21 -});  
22 -new common.dropDown({  
23 - el: "#shop-name",  
24 - ajax: "shopsRest"  
25 -});  
26 14
27 -new common.dropDown({  
28 - el: "#status"  
29 -});  
30 var g = new common.grid({ 15 var g = new common.grid({
31 el: '#basicTable', 16 el: '#basicTable',
32 parms: function() { 17 parms: function() {
@@ -79,12 +79,11 @@ exports.res = [ @@ -79,12 +79,11 @@ exports.res = [
79 route: '/supplier/shop/decoration', 79 route: '/supplier/shop/decoration',
80 method: 'GET', 80 method: 'GET',
81 src: '/store/decoration-index', 81 src: '/store/decoration-index',
82 - view: 'pages/store/index', 82 + view: 'pages/store/shop',
83 data: { 83 data: {
84 pagetitle: { 84 pagetitle: {
85 - level1title: '店铺装修管理',  
86 - level2title: '店铺装修管理',  
87 - level3title: '店铺装修管理' 85 + level1title: '店铺管理',
  86 + level2title: '店铺装修管理'
88 }, 87 },
89 checkStatus: true, 88 checkStatus: true,
90 selectShop: true, 89 selectShop: true,
1 -<div class="tabheader">  
2 - <ul class="nav nav-tabs">  
3 - <li class="active"><a href="#">店铺装修(PC端)</a></li>  
4 - <li><a href="#">店铺装修(移动端)</a></li>  
5 - </ul>  
6 -</div>  
7 -  
8 <div class="pageheader"> 1 <div class="pageheader">
9 <div class="media"> 2 <div class="media">
10 - <div class="pageicon pull-left">  
11 - <i class="fa fa-th-list"></i>  
12 - </div> 3 + {{#pagetitle}}
13 <div class="media-body"> 4 <div class="media-body">
14 <ul class="breadcrumb"> 5 <ul class="breadcrumb">
15 <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li> 6 <li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
16 - <li><a href="">店铺管理</a></li>  
17 - <li>店铺装修管理</li> 7 + <li><a href="">{{level1title}}</a></li>
  8 + <li>{{level2title}}</li>
18 </ul> 9 </ul>
19 -  
20 - <div>  
21 - <div class="col-sm-4">  
22 - <h4>选择模板</h4>  
23 - </div>  
24 - <div class="col-sm-8">  
25 - <label class="radio-inline"><input type="radio" name="brandLevel" value="1">基础模板</label>  
26 - <label class="radio-inline"><input type="radio" name="brandLevel" value="2">模板2</label>  
27 - </div>  
28 - </div>  
29 </div> 10 </div>
  11 + {{/pagetitle}}
30 </div> 12 </div>
31 </div> 13 </div>
32 14
33 -<div class="contentpanel">  
34 - <div class="panel panel-default">  
35 - <div class="panel-body">  
36 - <div class="rows" id="template">  
37 - <div class="g-wrapper">  
38 - <div class="g-header g-border">  
39 -  
40 - </div>  
41 - <div class="g-menus">  
42 -  
43 - </div>  
44 - <div class="g-body">  
45 - <div class="g-left g-border">  
46 - <h4></h4>  
47 - <ul>  
48 - <li><a><img src="http://img02.static.yohobuy.com/cms/2016/02/01/11/028d3c33dec085371ecbca5943de80e789.jpg"/></a></li>  
49 - <li><a><img src="http://img02.static.yohobuy.com/cms/2016/02/01/11/028d3c33dec085371ecbca5943de80e789.jpg"/></a></li>  
50 - <li><a><img src="http://img02.static.yohobuy.com/cms/2016/02/01/11/028d3c33dec085371ecbca5943de80e789.jpg"/></a></li>  
51 - </ul>  
52 - </div>  
53 - <div class="g-content g-border">  
54 - <!--奖券发放-->  
55 - <div style="background-color: red;height: 100px"></div>  
56 - <!--广告位-->  
57 - <div class="g-slide">  
58 - <div class="g-slide-left"></div>  
59 - <div class="g-slide-right">  
60 - <div class="g-slide-top"></div>  
61 - <div class="g-slide-bottom"></div>  
62 - </div>  
63 - </div>  
64 -  
65 - </div>  
66 - <div class="clear"></div>  
67 - </div>  
68 - </div> 15 +<div class="contentpanel" style="margin-top: 15px">
  16 + <div class="panel">
  17 + <div class="panel-body nopadding">
  18 + <input type="hidden" id="url" value="/supplier/store/indexPage">
  19 + {{#basicTab}}
  20 + <div id="basicTab" class="dataTables_wrapper no-footer"></div>
  21 + {{/basicTab}}
  22 + <div id="basicTable" class="dataTables_wrapper no-footer">
69 </div> 23 </div>
70 </div> 24 </div>
71 </div> 25 </div>
72 -</div>  
  26 +</div>
  27 +
  28 +<input type="hidden" id="gridurl" value="{{gridurl}}">
  29 +<input type="hidden" id="authority" value="{{authority}}" />
  30 +