Browse Source

修改首页弹出框的展示

xian 5 years ago
parent
commit
334731f98a
1 changed files with 27 additions and 11 deletions
  1. 27 11
      watero-rst-web/src/main/webapp/WEB-INF/views/home/pc_index.ftl

+ 27 - 11
watero-rst-web/src/main/webapp/WEB-INF/views/home/pc_index.ftl

@@ -99,18 +99,33 @@
     </div>
 
     <div id="selectTodo" class="menu_dropdown bk_2" style="display:none">
-        <div>
-            <div>订单</div>
-            <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesStatus=0',1,'',this)"  ><span>(</span><span id="toBeConfirmedOrder" style="color: #f00">0</span><span>)待确认订单数量</span></a><br>
-            <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesShippingStatus=0',1,'',this)"  ><span>(</span><span id="toBeAnnounced" style="color: #f00">0</span><span>)待通知配货数量</span></a><br>
-            <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesShippingStatus=11',1,'',this)"  ><span>(</span><span id="toBeDelivered" style="color: #f00">0</span><span>)待发货数量</span></a><br>
-            <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?1=1',1,'today',this)"  ><span>(</span><span id="allToDayOrder" style="color: #f00">0</span><span>)今日订单总数</span></a><br>
+        <ul>
+            <li style="margin-top: 10px;width: 200px;margin-left: 10px;">
+                <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesStatus=0',1,'',this)">
+                    <span style="color: red">待确认订单数量(<span id="toBeConfirmedOrder" style="color: #f00">0</span>)</span>
+                </a>
+            </li>
+            <li style="margin-top: 10px;width: 200px;margin-left: 10px;">
+                <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesShippingStatus=0',1,'',this)">
+                    <span style="color: red">待通知配货数量(<span id="toBeAnnounced" style="color: #f00">0</span>)</span>
+                </a>
+            </li>
+            <li style="margin-top: 10px;width: 200px;margin-left: 10px;">
+                <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?salesShippingStatus=11',1,'',this)">
+                    <span style="color: red">待发货数量(<span id="toBeDelivered" style="color: #f00">0</span>)</span>
+                </a>
+            </li>
+            <li style="margin-top: 10px;width: 200px;margin-left: 10px;">
+                <a onclick="toOrserList('${path}/admin/salesOrder/list_order_page?1=1',1,'today',this)">
+                    <span style="color: red">今日订单总数(<span id="allToDayOrder" style="color: #f00">0</span>)</span>
+                </a>
+            </li>
             <#--<div>客诉</div>-->
             <#--<a onclick="toOrserList('${path}/admin/customer/select_customer_list?customerIsSolve=2&isFirst=1',2,'')"  ><span>(</span><span id="notSolvedCustomer" style="color: #f00">0</span><span>)未解决客诉数量</span></a><br>-->
             <#--<a onclick="toOrserList('${path}/admin/customer/select_customer_list?backStatus=4&isFirst=1',2,'')"  ><span>(</span><span id="amountReceivedCustomer" style="color: #f00">0</span><span>)需要向工厂确认是否已签收的产品数量</span></a><br>-->
             <#--<a onclick="toOrserList('${path}/admin/customer/select_customer_list?backStatus=3&isFirst=1',2,'')"  ><span>(</span><span id="noEntryCustomer" style="color: #f00">0</span><span>)需要填写Efast订单号的客诉数量</span></a><br>-->
             <#--<a onclick="toOrserList('${path}/admin/customer/select_customer_list?backStatus=1&isFirst=1',2,'')"  ><span>(</span><span id="notSendCustomer" style="color: #f00">0</span><span>)录入三天后未寄回的客诉数量</span></a>-->
-        </div>
+        </ul>
     </div>
 </section>
 
@@ -129,12 +144,13 @@
     function toDoShow(){
         //页面层
         layer.open({
-            title: '待办事项',
             type: 1,
-            area: ['300px', '175px'], //宽高
-            content: $("#selectTodo").html(),
+            shade: false,
             offset: 'rb',
-            shade: 0
+            /*closeBtn: 0, 是否展示关闭按钮*/
+            title: false,
+            area: ['300px', '175px'], //宽高
+            content: $("#selectTodo").html()
         });
     }
     function toDoShow2(playSingle,outbound){