Authored by ZhongW

网销优化

@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <td>说明:</td> 14 <td>说明:</td>
15 <td colspan="2"> 15 <td colspan="2">
16 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> 16 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br>
17 - 2、Excel表头为:<span style="color: #67D267;">SKN、模块ID(品牌设置:1)、排序值</span><br> 17 + 2、Excel表头为:<span style="color: #67D267;">SKN、模块ID(品牌排序:1、店铺排序:5)、排序值</span><br>
18 3、第一行为表头内容,第二行开始为正式内容<br> 18 3、第一行为表头内容,第二行开始为正式内容<br>
19 4、每个文件控制在2500行以内<br> 19 4、每个文件控制在2500行以内<br>
20 5、<a href="/ajax/link/searchSort">下载样例</a> 20 5、<a href="/ajax/link/searchSort">下载样例</a>
@@ -31,12 +31,12 @@ @@ -31,12 +31,12 @@
31 <a class="netsale-position" href="javascript:;" name="position9"></a> 31 <a class="netsale-position" href="javascript:;" name="position9"></a>
32 <a id="editProductName" class="btn btn-default" href="javascript:;" style="position: absolute;left: 40%;top: 20%;">去编辑商品名称</a> 32 <a id="editProductName" class="btn btn-default" href="javascript:;" style="position: absolute;left: 40%;top: 20%;">去编辑商品名称</a>
33 <div class="panel-btns" style="display: none;"> 33 <div class="panel-btns" style="display: none;">
34 - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-plus"></i></a> 34 + <a href="" class="panel-minimize tooltips maximize" data-toggle="tooltip" title=""><i class="fa fa-plus"></i></a>
35 </div> 35 </div>
36 <h2 class="panel-title">上架后补全信息</h2> 36 <h2 class="panel-title">上架后补全信息</h2>
37 </div> 37 </div>
38 38
39 - <div class="panel-body" > 39 + <div class="panel-body" style="display: none;" >
40 <%include 'partials/add-info'%> 40 <%include 'partials/add-info'%>
41 <%include 'partials/editor-recommend'%> 41 <%include 'partials/editor-recommend'%>
42 <%include 'partials/model'%> 42 <%include 'partials/model'%>
@@ -2,12 +2,12 @@ @@ -2,12 +2,12 @@
2 <div class="panel-heading"> 2 <div class="panel-heading">
3 <a class="netsale-position" href="javascript:;" name="position8"></a> 3 <a class="netsale-position" href="javascript:;" name="position8"></a>
4 <div class="panel-btns" style="display: none;"> 4 <div class="panel-btns" style="display: none;">
5 - <a href="" class="panel-minimize tooltips" data-toggle="tooltip" title=""><i class="fa fa-minus"></i></a> 5 + <a href="" class="panel-minimize tooltips maximize" data-toggle="tooltip" title=""><i class="fa fa-plus"></i></a>
6 </div> 6 </div>
7 <h2 class="panel-title">搜索关键词</h2> 7 <h2 class="panel-title">搜索关键词</h2>
8 </div> 8 </div>
9 9
10 - <div class="panel-body"> 10 + <div class="panel-body" style="display: none;">
11 <div class="form-group"> 11 <div class="form-group">
12 <label class="col-sm-1 control-label height40" for="searchKeys">商品关键词</label> 12 <label class="col-sm-1 control-label height40" for="searchKeys">商品关键词</label>
13 <div class="col-sm-6"> 13 <div class="col-sm-6">
@@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
23 </div> 23 </div>
24 </div> 24 </div>
25 </div> 25 </div>
26 - <div class="panel-footer"> 26 + <div class="panel-footer" style="display: none;">
27 <button class="btn btn-primary" id="save-searchKey">保存</button> 27 <button class="btn btn-primary" id="save-searchKey">保存</button>
28 </div> 28 </div>
29 </div> 29 </div>
@@ -69,3 +69,32 @@ $('.shops_id').click(function (){ @@ -69,3 +69,32 @@ $('.shops_id').click(function (){
69 } 69 }
70 }) 70 })
71 }); 71 });
  72 +
  73 +
  74 +// LocalStorage.setItem("router",);
  75 +$('.panel-heading').hover(function() {
  76 + $(this).find('.panel-btns').fadeIn('fast');
  77 +}, function() {
  78 + $(this).find('.panel-btns').fadeOut('fast');
  79 +});
  80 +
  81 +$('.panel .panel-close').click(function() {
  82 + $(this).closest('.panel').fadeOut(200);
  83 + return false;
  84 +});
  85 +
  86 +// Minimize Panel
  87 +$('.panel .panel-minimize').click(function() {
  88 + var t = $(this);
  89 + var p = t.closest('.panel');
  90 + if (!$(this).hasClass('maximize')) {
  91 + p.find('.panel-body, .panel-footer').slideUp(200);
  92 + t.addClass('maximize');
  93 + t.find('i').removeClass('fa-minus').addClass('fa-plus');
  94 + } else {
  95 + p.find('.panel-body, .panel-footer').slideDown(200);
  96 + t.removeClass('maximize');
  97 + t.find('i').removeClass('fa-plus').addClass('fa-minus');
  98 + }
  99 + return false;
  100 +});