瀏覽代碼

部分优化

huangsanjia 3 年之前
父節點
當前提交
7ff6f4ac01
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. 1 1
      application/admin/view/order/task.html
  2. 6 0
      public/assets/js/backend/order.js

+ 1 - 1
application/admin/view/order/task.html

@@ -80,7 +80,7 @@
             <div id="head">
                 <table class="tg" style="width: 800px;">
                     <thead>
-                    <div id="qrcode" style="margin:0 0 -50px 650px;width: 80px;height: 80px;">
+                    <div id="qrcode" style="margin:0 0 -450px 500px;width: 80px;height: 80px;">
                         <img src="" id="myImage" alt=""/>
                     </div>
                     <tr>

+ 6 - 0
public/assets/js/backend/order.js

@@ -63,6 +63,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
             });
             table.on('post-body.bs.table',function(){
                 $(".btn-editone").data("area",["100%","100%"]);
+            });
+            table.on('post-body.bs.table',function(){
+                $(".btn-add").data("area",["100%","100%"]);
+            });
+            table.on('post-body.bs.table',function(){
+                $(".btn-edit").data("area",["100%","100%"]);
             })
             // 为表格绑定事件
             Table.api.bindevent(table);