wupengfei 3 年之前
父节点
当前提交
cba8d832f7
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      application/store/view/audit_desc/index.html
  2. 3 1
      application/store/view/live/index.html

+ 1 - 1
application/store/view/audit_desc/index.html

@@ -41,7 +41,7 @@
 <script>
     function btn_confirm(msg,fun,id) {
         layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
-            var url = "/store/live_cate/"+fun;
+            var url = "/store/audit_desc/"+fun;
             layer.closeAll();
             $.ajax({
                 type: "post",

+ 3 - 1
application/store/view/live/index.html

@@ -12,6 +12,7 @@
         <thead>
         <tr>
             <th class='list-table-check-td think-checkbox'><input data-auto-none data-check-target='.list-check-box' type='checkbox'></th>
+            <th class='list-table-sort-td'><button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button></th>
             <th class='text-left nowrap'>标题</th>
             <th class='text-left nowrap'>封面</th>
             <th class='text-left nowrap'>开始时间</th>
@@ -23,6 +24,7 @@
         {foreach $list as $key=>$vo}
         <tr>
             <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
+            <td class='list-table-sort-td'><input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input"></td>
             <td class='text-left nowrap'>{$vo.name|default=''}</td>
             <td class='text-left nowrap'><img data-tips-image="{$vo.cover|default=''}"  src="{$vo.cover|default=''}" height="50" width="117px"></td>
             <td class='text-left nowrap'>{$vo.start_at|format_datetime}</td>
@@ -44,7 +46,7 @@
 <script>
     function btn_confirm(msg,fun,id) {
         layer.confirm('请确定是否'+msg, {btn: ['确定', '取消'], title: "提示"}, function () {
-            var url = "/store/audit_desc/"+fun;
+            var url = "/store/live/"+fun;
             layer.closeAll();
             $.ajax({
                 type: "post",