فهرست منبع

fix 后台前端bug修改与优化

magicblack 1 ماه پیش
والد
کامیت
d409109457
41فایلهای تغییر یافته به همراه522 افزوده شده و 141 حذف شده
  1. 5 5
      application/admin/view_new/actor/index.html
  2. 1 1
      application/admin/view_new/actor/info.html
  3. 1 1
      application/admin/view_new/admin/index.html
  4. 1 1
      application/admin/view_new/art/index.html
  5. 4 4
      application/admin/view_new/art/info.html
  6. 4 4
      application/admin/view_new/card/index.html
  7. 4 4
      application/admin/view_new/cash/index.html
  8. 1 1
      application/admin/view_new/cj/index.html
  9. 3 3
      application/admin/view_new/collect/index.html
  10. 1 1
      application/admin/view_new/collect/info.html
  11. 1 1
      application/admin/view_new/comment/index.html
  12. 1 1
      application/admin/view_new/group/index.html
  13. 80 46
      application/admin/view_new/index/index.html
  14. 2 2
      application/admin/view_new/manga/info.html
  15. 5 5
      application/admin/view_new/role/index.html
  16. 1 1
      application/admin/view_new/role/info.html
  17. 1 1
      application/admin/view_new/template/ads.html
  18. 1 1
      application/admin/view_new/template/index.html
  19. 3 3
      application/admin/view_new/timming/index.html
  20. 10 17
      application/admin/view_new/topic/index.html
  21. 3 3
      application/admin/view_new/topic/info.html
  22. 1 1
      application/admin/view_new/ulog/index.html
  23. 1 1
      application/admin/view_new/vod/index.html
  24. 21 7
      application/admin/view_new/vod/info.html
  25. 7 7
      application/admin/view_new/voddowner/index.html
  26. 8 8
      application/admin/view_new/vodplayer/index.html
  27. 2 2
      application/admin/view_new/vodserver/index.html
  28. 5 5
      application/admin/view_new/website/index.html
  29. 2 2
      application/admin/view_new/website/info.html
  30. 3 0
      static_new/css/admin_style.css
  31. 328 0
      static_new/css/update.css
  32. BIN
      static_new/images/nav/[email protected]
  33. BIN
      static_new/images/nav/[email protected]
  34. BIN
      static_new/images/nav/[email protected]
  35. BIN
      static_new/images/nav/[email protected]
  36. BIN
      static_new/images/nav/[email protected]
  37. BIN
      static_new/images/nav/[email protected]
  38. BIN
      static_new/images/nav/[email protected]
  39. BIN
      static_new/images/nav/[email protected]
  40. BIN
      static_new/images/nav/[email protected]
  41. 11 2
      static_new/js/admin_common.js

+ 5 - 5
application/admin/view_new/actor/index.html

@@ -91,11 +91,11 @@
                 <th >{:lang('actor')}</th>
                 <th width="150">{:lang('area')}</th>
                 <th width="150">{:lang('sex')}</th>
-                <th width="40">{:lang('level')}</th>
-                <th width="40">{:lang('height')}</th>
-                <th width="40">{:lang('weight')}</th>
-                <th width="120">{:lang('update_time')}</th>
-                <th width="120">{:lang('opt')}</th>
+                <th width="50">{:lang('level')}</th>
+                <th width="50">{:lang('height')}</th>
+                <th width="50">{:lang('weight')}</th>
+                <th width="180">{:lang('update_time')}</th>
+                <th width="150">{:lang('opt')}</th>
             </tr>
             </thead>
 

+ 1 - 1
application/admin/view_new/actor/info.html

@@ -186,7 +186,7 @@
                     <div class="layui-form-item">
                         <label class="layui-form-label">{:lang('content')}:</label>
                         <div class="layui-input-block">
-                            <textarea id="actor_content" name="actor_content" type="text/plain" style="width:99%;height:300px">{$info.actor_content|mac_url_content_img}</textarea>
+                            <textarea id="actor_content" name="actor_content" type="text/plain" style="width:100%;height:300px">{$info.actor_content|mac_url_content_img}</textarea>
                         </div>
                     </div>
                     

+ 1 - 1
application/admin/view_new/admin/index.html

@@ -3,7 +3,7 @@
 
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
         </div>

+ 1 - 1
application/admin/view_new/art/index.html

@@ -109,7 +109,7 @@
                 <th width="50">{:lang('level')}</th>
                 <th width="50">{:lang('browse')}</th>
                 <th width="80">{:lang('author')}</th>
-                <th width="100">{:lang('update_time')}</th>
+                <th width="180">{:lang('update_time')}</th>
                 <th width="140">{:lang('opt')}</th>
             </tr>
             </thead>

+ 4 - 4
application/admin/view_new/art/info.html

@@ -175,7 +175,7 @@
                     </div>
                     <div class="layui-form-item">
                         <div class="layui-input-block">
-                            <textarea id="art_pic_screenshot" name="art_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.art_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
+                            <textarea class="layui-textarea" id="art_pic_screenshot" name="art_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.art_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
                             <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                                 <legend>{:lang('screenshot_preview')}</legend>
                             </fieldset>
@@ -208,7 +208,7 @@
                         <div class="layui-input-inline w200"><input type="text" name="art_note[]" class="layui-input" value="{$vo.note}" placeholder="{:lang('page_note')}"></div>
                         <div class="layui-input-inline w200"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">上移</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">下移</a>&nbsp;<br></div>
                         <div class="p10 m20"></div>
-                        <div class="layui-input-block"><textarea id="art_content{$key}" name="art_content[]" type="text/plain" style="width:99%;height:250px">{$vo.content|mac_url_content_img}</textarea></div>
+                        <div class="layui-input-block"><textarea id="art_content{$key}" name="art_content[]" type="text/plain" style="width:100%;height:250px">{$vo.content|mac_url_content_img}</textarea></div>
                         <script>ueArray[{$key}] = editor_getEditor('art_content{$key}');</script>
                     </div>
                     {/volist}
@@ -505,7 +505,7 @@
 
         $('.j-editor-add').on('click',function(){
             content_arr_len++;
-            var tpl='<div class="layui-form-item" data-i="'+content_arr_len+'"><label class="layui-form-label">{:lang('page_content')}'+(content_arr_len)+':</label><div class="layui-input-inline w200"><input type="text" name="art_title[]" class="layui-input" placeholder="{:lang('page_title')}"></div><div class="layui-input-inline w200"><input type="text" name="art_note[]" class="layui-input" placeholder="{:lang('页备注')}"></div><div class="layui-input-inline w200 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">上移</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">下移</a>&nbsp;<br></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="art_content'+(content_arr_len)+'" name="art_content[]" type="text/plain" style="width:99%;height:250px"></textarea></div></div>';
+            var tpl='<div class="layui-form-item" data-i="'+content_arr_len+'"><label class="layui-form-label">{:lang('page_content')}'+(content_arr_len)+':</label><div class="layui-input-inline w200"><input type="text" name="art_title[]" class="layui-input" placeholder="{:lang('page_title')}"></div><div class="layui-input-inline w200"><input type="text" name="art_note[]" class="layui-input" placeholder="{:lang('页备注')}"></div><div class="layui-input-inline w200 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">上移</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">下移</a>&nbsp;<br></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="art_content'+(content_arr_len)+'" name="art_content[]" type="text/plain" style="width:100%;height:250px"></textarea></div></div>';
             $(".contents").append(tpl);
             ueArray[content_arr_len] = editor_getEditor( 'art_content'+content_arr_len );
 
@@ -556,4 +556,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 4 - 4
application/admin/view_new/card/index.html

@@ -2,8 +2,8 @@
 <div class="page-container p10">
 
     <div class="my-toolbar-box" >
-        <div class=" mb10">
-            <form class="layui-form " method="post"  id="searchForm" action="{:url('index')}">
+        <div class="mb-2">
+            <form class="layui-form space-x-1 space-y-1" method="post"  id="searchForm" action="{:url('index')}">
                 <div class="layui-input-inline w150">
                     <select name="sale_status">
                         <option value="">{:lang('select_sale_status')}</option>
@@ -35,8 +35,8 @@
             </form>
         </div>
 
-        <div class="layui-btn-group">
-            <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe" data-width="100%" data-height="100%"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
+            <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe" data-width="600px" data-height="400px"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
             <a data-href="{:url('del')}?ids=1&all=1" class="layui-btn layui-btn-primary j-ajax" confirm="{:lang('clear_confirm')}"><i class="layui-icon">&#xe640;</i>{:lang('clear')}</a>
 

+ 4 - 4
application/admin/view_new/cash/index.html

@@ -2,8 +2,8 @@
 <div class="page-container p10">
 
     <div class="my-toolbar-box" >
-        <div class=" mb10">
-            <form class="layui-form " method="post" action="{:url('index')}">
+        <div class="mb-2">
+            <form class="layui-form space-x-1 space-y-1" method="post" action="{:url('index')}">
                 <div class="layui-input-inline w150">
                     <select name="status">
                         <option value="">{:lang('select_status')}</option>
@@ -18,7 +18,7 @@
             </form>
         </div>
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
             <a data-href="{:url('del')}?ids=1&all=1" class="layui-btn layui-btn-primary j-ajax" confirm="{:lang('clear_confirm')}"><i class="layui-icon">&#xe640;</i>{:lang('clear')}</a>
             <a data-href="{:url('audit')}" class="layui-btn layui-btn-primary j-page-btns confirm" confirm="{:lang('audit_confirm')}"><i class="layui-icon">&#xe640;</i>{:lang('audit')}</a>
@@ -99,4 +99,4 @@
     });
 </script>
 </body>
-</html>
+</html>

+ 1 - 1
application/admin/view_new/cj/index.html

@@ -2,7 +2,7 @@
 <div class="page-container p10">
 
     <div class="my-toolbar-box" >
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" data-full="1" class="layui-btn layui-btn-primary j-iframe" data-width="600px" data-height="400px"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('import')}" class="layui-btn layui-btn-primary layui-upload" ><i class="layui-icon">&#xe654;</i>{:lang('import')}</a>
         </div>

+ 3 - 3
application/admin/view_new/collect/index.html

@@ -4,8 +4,8 @@
 
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
-            <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe" data-full="1"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
+            <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe" data-width="800px" data-height="610px"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
             <a data-href="{:url('clearbind')}" class="layui-btn layui-btn-primary j-page-btns confirm" data-checkbox="false" data-ajax="yes"><i class="layui-icon">&#xe640;</i>{:lang('admin/collect/clear_bind')}</a>
 
@@ -80,4 +80,4 @@
     });
 </script>
 </body>
-</html>
+</html>

+ 1 - 1
application/admin/view_new/collect/info.html

@@ -154,4 +154,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 1 - 1
application/admin/view_new/comment/index.html

@@ -37,7 +37,7 @@
             </form>
         </div>
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
             <a data-href="{:url('index/select')}?tab=comment&col=comment_status&tpl=select_status&url=comment/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('status')}</a>
             <a data-href="{:url('del')}?all=1" class="layui-btn layui-btn-primary j-ajax" confirm="{:lang('clear_confirm')}"><i class="layui-icon">&#xe640;</i>{:lang('clear')}</a>

+ 1 - 1
application/admin/view_new/group/index.html

@@ -3,7 +3,7 @@
 
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
         </div>

+ 80 - 46
application/admin/view_new/index/index.html

@@ -54,6 +54,12 @@
             {:lang('admin/index/index/name')}
         </div>
         <ul class="layout-right" lay-filter="">
+            <li class="nav-item" id="update-notification" style="display: none;">
+                <a href="javascript:;" onclick="showUpdateDialog()" title="有新版本可用">
+                    <i class="layui-icon layui-icon-refresh-1"></i>
+                    <span>更新</span>
+                </a>
+            </li>
             <li class="nav-item">
                 <a href="__ROOT__/" target="_blank"><i class="layui-icon layui-icon-home"></i></a>
             </li>
@@ -173,6 +179,12 @@
             </ul>
             <div class="bottom-nav">
                 <ul class="layui-nav layui-layout-right layui-form flex gap-1 items-center h-[60px]" lay-filter="demo">
+                    <li class="nav-item" id="update-notification"  style="display: none;">
+                        <a href="javascript:;" onclick="showUpdateDialog()" title="有新版本可用">
+                            <i class="layui-icon layui-icon-refresh-2"></i>
+                            <span>更新</span>
+                        </a>
+                    </li>
                     <li class="layui-nav-item" >
                         <a href="javascript:;">{:lang('admin/index/index/menu_opt')}</a>
                         <dl class="layui-nav-child">
@@ -335,52 +347,15 @@
                     var newVMatch = response.match(newVRegex);
                     var newV = newVMatch ? newVMatch[1] : '未找到new_v';
                     if (newV > MAC_VERSION) {
-                        var package = 'maccms10_update';
-                        // js 判断是否移动端
-                        var area = ['460px', '638px']
-                        var agent = navigator.userAgent.toLowerCase();
-                        var isMobile = /android|iphone|ipod|ipad|ios/.test(agent)
-                        if (isMobile) {
-                            area = ['95%', '638px']
-                        }
-                        layer.open({
-                            type: 1,
-                            area, // 宽高
-                            title: false, // 不显示标题栏
-                            closeBtn: 0,
-                            btn: ['关闭'],
-                            btnAlign: 'c',
-                            shadeClose: true, // 点击遮罩关闭层
-                            skin: 'skin_updae_from', // 加上边框
-                            content: `
-                                <div class="updae_from">
-                                    <img class="update_bg" src="__STATIC__/images/[email protected]" alt="" srcset="">
-                                    <div class="update_content">
-                                    <div class="update_title">
-                                        <p>更新提示</p>
-                                        <p>${newV}>>></p>
-                                    </div>
-                                    <a class="group_link" target="_blank" href="https://t.me/maccms_channel">Telegram群   https://t.me/maccms_channel</a>
-                                    <a class="group_link" target="_blank"
-                                        href="https://github.com/magicblack">Github源码   https://github.com/magicblack</a>
-                                    <div class="flex-col flex my-[20px] gap-1">
-                                        <a class="j-iframe text-[#53D19C]" title="点击进入升级"
-                                        data-href="${ADMIN_PATH}/admin/update/step1.html?file=${package}">
-                                        【点击进入在线升级】
-                                        </a>
-                                        <a href="https://github.com/magicblack/maccms_down/raw/master/maccms10_update.zip">
-                                        【下载离线升级包线路1】
-                                        </a>
-                                        <a href="https://cdn.jsdelivr.net/gh/magicblack/maccms_down@master/maccms10_update.zip">
-                                        【下载离线升级包线路2】
-                                        </a>
-                                    </div>
-                                    <div class="update_list">
-                                        ${update_content}
-                                    </div>
-                                </div>
-                            `
-                        });
+                        // 存储更新信息到全局变量,供showUpdateDialog函数使用
+                        window.updateInfo = {
+                            newV: newV,
+                            update_content: update_content,
+                            package: 'maccms10_update'
+                        };
+                        // 显示更新按钮而不是直接弹窗(在两个位置都显示)
+                        $('.layout-right #update-notification').show().addClass('show');
+                        $('.bottom-nav #update-notification').show().addClass('show');
                     }
                 },
                 error: function (xhr, status, error) {
@@ -613,6 +588,65 @@
             }
         });
     }
+
+    // 显示更新对话框的函数
+    function showUpdateDialog() {
+        if (!window.updateInfo) {
+            layer.msg('没有可用的更新信息', { time: 2000 });
+            return;
+        }
+
+        var newV = window.updateInfo.newV;
+        var update_content = window.updateInfo.update_content;
+        var package = window.updateInfo.package;
+
+        // js 判断是否移动端
+        var area = ['460px', '638px']
+        var agent = navigator.userAgent.toLowerCase();
+        var isMobile = /android|iphone|ipod|ipad|ios/.test(agent)
+        if (isMobile) {
+            area = ['95%', '638px']
+        }
+
+        layer.open({
+            type: 1,
+            area, // 宽高
+            title: false, // 不显示标题栏
+            closeBtn: 0,
+            btn: ['关闭'],
+            btnAlign: 'c',
+            shadeClose: true, // 点击遮罩关闭层
+            skin: 'skin_updae_from', // 加上边框
+            content: `
+                <div class="updae_from">
+                    <img class="update_bg" src="__STATIC__/images/[email protected]" alt="" srcset="">
+                    <div class="update_content">
+                    <div class="update_title">
+                        <p>更新提示</p>
+                        <p>${newV}>>></p>
+                    </div>
+                    <a class="group_link" target="_blank" href="https://t.me/maccms_channel">Telegram群   https://t.me/maccms_channel</a>
+                    <a class="group_link" target="_blank"
+                        href="https://github.com/magicblack">Github源码   https://github.com/magicblack</a>
+                    <div class="flex-col flex my-[20px] gap-1">
+                        <a class="j-iframe text-[#53D19C]" title="点击进入升级"
+                        data-href="${ADMIN_PATH}/admin/update/step1.html?file=${package}">
+                        【点击进入在线升级】
+                        </a>
+                        <a href="https://github.com/magicblack/maccms_down/raw/master/maccms10_update.zip">
+                        【下载离线升级包线路1】
+                        </a>
+                        <a href="https://cdn.jsdelivr.net/gh/magicblack/maccms_down@master/maccms10_update.zip">
+                        【下载离线升级包线路2】
+                        </a>
+                    </div>
+                    <div class="update_list">
+                        ${update_content}
+                    </div>
+                </div>
+            `
+        });
+    }
 </script>
 
 </body>

+ 2 - 2
application/admin/view_new/manga/info.html

@@ -171,7 +171,7 @@
                     <div class="layui-form-item">
                         <label class="layui-form-label">漫画简介:</label>
                         <div class="layui-input-block">
-                            <textarea id="manga_content" name="manga_content" type="text/plain" style="width:99%;height:250px">{$info.manga_content|mac_url_content_img}</textarea>
+                            <textarea class="layui-textarea" id="manga_content" name="manga_content" type="text/plain" style="width:100%;height:250px">{$info.manga_content|mac_url_content_img}</textarea>
                         </div>
                     </div>
 
@@ -407,4 +407,4 @@
 </script>
 
 </body>
-</html>
+</html>

+ 5 - 5
application/admin/view_new/role/index.html

@@ -79,11 +79,11 @@
                 <th >{:lang('vod_name')}</th>
                 <th width="150">{:lang('role_name')}</th>
                 <th width="150">{:lang('actor_name')}</th>
-                <th width="40">{:lang('sort')}</th>
-                <th width="40">{:lang('hits')}</th>
-                <th width="40">{:lang('level')}</th>
-                <th width="120">{:lang('update_time')}</th>
-                <th width="80">{:lang('opt')}</th>
+                <th width="50">{:lang('sort')}</th>
+                <th width="50">{:lang('hits')}</th>
+                <th width="50">{:lang('level')}</th>
+                <th width="180">{:lang('update_time')}</th>
+                <th width="150">{:lang('opt')}</th>
             </tr>
             </thead>
 

+ 1 - 1
application/admin/view_new/role/info.html

@@ -118,7 +118,7 @@
                     <div class="layui-form-item">
                         <label class="layui-form-label">{:lang('content')}:</label>
                         <div class="layui-input-block">
-                            <textarea id="role_content" name="role_content" type="text/plain" style="width:99%;height:300px">{$info.role_content|mac_url_content_img}</textarea>
+                            <textarea id="role_content" name="role_content" type="text/plain" style="width:100%;height:300px">{$info.role_content|mac_url_content_img}</textarea>
                         </div>
                     </div>
                     

+ 1 - 1
application/admin/view_new/template/ads.html

@@ -1,7 +1,7 @@
 {include file="../../../application/admin/view_new/public/head" /}
 <div class="page-container p10">
     <div class="my-btn-box lh30" >
-        <div class="layui-btn-group fl">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-full="1" data-href="{:url('info')}?fpath={$curpath}&fname=" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
         </div>
         <div class="page-filter fr" >

+ 1 - 1
application/admin/view_new/template/index.html

@@ -1,7 +1,7 @@
 {include file="../../../application/admin/view_new/public/head" /}
 <div class="page-container p10">
     <div class="my-btn-box lh30" >
-        <div class="layui-btn-group fl">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-full="1" data-href="{:url('info')}?fpath={$curpath}&fname=" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
         </div>
         <div class="page-filter fr" >

+ 3 - 3
application/admin/view_new/timming/index.html

@@ -2,7 +2,7 @@
 <div class="page-container p10">
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('index/select')}?tab=vod&col=status&tpl=select_state&url=timming/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('status')}</a>
         </div>
@@ -34,7 +34,7 @@
                 </td>
                 <td>{$vo.runtime|mac_day}</td>
                 <td>
-                    <a class="layui-badge-rim" target="_blank" href="{php}echo $GLOBALS['config']['site']['install_dir'];{/php}api.php/timming/index.html?enforce=1&name={$vo['name']|rawurlencode}" title="{:lang('test')}">{:lang('test')}</a>
+                    <a class="layui-badge-rim" style="height: 32px;line-height: 32px;padding: 0 15px;" target="_blank" href="{php}echo $GLOBALS['config']['site']['install_dir'];{/php}api.php/timming/index.html?enforce=1&name={$vo['name']|rawurlencode}" title="{:lang('test')}">{:lang('test')}</a>
                     <a class="layui-badge-rim j-iframe" data-href="{:url('info')}?id={$vo['name']|rawurlencode}" href="javascript:;" title="{:lang('edit')}">{:lang('edit')}</a>
                     <a class="layui-badge-rim j-tr-del" data-href="{:url('del')}?ids={$vo['name']|rawurlencode}" href="javascript:;" title="{:lang('del')}">{:lang('del')}</a>
                 </td>
@@ -51,4 +51,4 @@
 
 </script>
 </body>
-</html>
+</html>

+ 10 - 17
application/admin/view_new/topic/index.html

@@ -15,24 +15,17 @@
                     </select>
                 </div>
                 <div class="layui-input-inline">
-                    <input type="text" autocomplete="off" placeholder="{:lang('wd')}" class="layui-input" name="wd"
-                           value="{$param['wd']|mac_filter_xss}">
+                    <input type="text" autocomplete="off" placeholder="{:lang('wd')}" class="layui-input" name="wd" value="{$param['wd']|mac_filter_xss}">
                 </div>
                 <button class="layui-btn mgl-20 j-search">{:lang('btn_search')}</button>
             </form>
         </div>
         <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
-            <a data-full="1" data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i
-                    class="layui-icon">&#xe654;</i>{:lang('add')}</a>
+            <a data-full="1" data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('del')}" class="layui-btn layui-btn-primary j-page-btns confirm"><i class="layui-icon">&#xe640;</i>{:lang('del')}</a>
-            <a data-href="{:url('index/select')}?tab=topic&col=topic_level&tpl=select_level&url=topic/field"
-               data-width="270" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i
-                    class="layui-icon">&#xe620;</i>{:lang('level')}</a>
-            <a data-href="{:url('index/select')}?tab=topic&col=topic_status&tpl=select_status&url=topic/field"
-               data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i
-                    class="layui-icon">&#xe620;</i>{:lang('status')}</a>
-            <a class="layui-btn layui-btn-primary j-iframe" data-href="{:url('images/opt?tab=topic')}"
-               href="javascript:;" title="{:lang('pic_sync')}"><i class="layui-icon">&#xe620;</i>{:lang('pic_sync')}</a>
+            <a data-href="{:url('index/select')}?tab=topic&col=topic_level&tpl=select_level&url=topic/field" data-width="270" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('level')}</a>
+            <a data-href="{:url('index/select')}?tab=topic&col=topic_status&tpl=select_status&url=topic/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i  class="layui-icon">&#xe620;</i>{:lang('status')}</a>
+            <a class="layui-btn layui-btn-primary j-iframe" data-href="{:url('images/opt?tab=topic')}" href="javascript:;" title="{:lang('pic_sync')}"><i class="layui-icon">&#xe620;</i>{:lang('pic_sync')}</a>
         </div>
     </div>
 
@@ -42,11 +35,11 @@
             <tr>
                 <th width="25"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
                 <th width="100">{:lang('id')}</th>
-                <th>{:lang('name')}</th>
-                <th width="30">{:lang('hits')}</th>
-                <th width="30">{:lang('score')}</th>
-                <th width="30">{:lang('level')}</th>
-                <th width="30">{:lang('browse')}</th>
+                <th >{:lang('name')}</th>
+                <th width="50">{:lang('hits')}</th>
+                <th width="60">{:lang('score')}</th>
+                <th width="50">{:lang('level')}</th>
+                <th width="50">{:lang('browse')}</th>
                 <th width="150">{:lang('update_time')}</th>
                 <th width="140">{:lang('opt')}</th>
             </tr>

+ 3 - 3
application/admin/view_new/topic/info.html

@@ -105,7 +105,7 @@
                         <input type="text" class="layui-input" value="{$info.topic_rel_vod}" placeholder="{:lang('vod')}id,{:lang('multi_separate_tip')}" name="topic_rel_vod">
                     </div>
                     <div class="layui-input-inline">
-                        <a class="layui-btn j-iframe" data-href="{:url('vod/data')}?select=1&input=topic_rel_vod" href="javascript:;" title="{:lang('search_data')}">{:lang('search_data')}</a>
+                        <a class="layui-btn j-iframe" data-href="{:url('vod/data')}?select=1&input=topic_rel_vod" href="javascript:;" title="{:lang('search_data')}" data-width="1500px" data-height="650px">{:lang('search_data')}</a>
                     </div>
                 </div>
                 <div class="layui-form-item">
@@ -114,7 +114,7 @@
                         <input type="text" class="layui-input" value="{$info.topic_rel_art}" placeholder="{:lang('art')}id,{:lang('multi_separate_tip')}" name="topic_rel_art">
                     </div>
                     <div class="layui-input-inline">
-                        <a class="layui-btn j-iframe" data-href="{:url('art/data')}?select=1&input=topic_rel_art" href="javascript:;" title="{:lang('search_data')}">{:lang('search_data')}</a>
+                        <a class="layui-btn j-iframe" data-href="{:url('art/data')}?select=1&input=topic_rel_art" href="javascript:;" title="{:lang('search_data')}" data-width="1500px" data-height="650px">{:lang('search_data')}</a>
                     </div>
                 </div>
 
@@ -156,7 +156,7 @@
                 <div class="layui-form-item">
                     <label class="layui-form-label">{:lang('content')}:</label>
                     <div class="layui-input-block">
-                        <textarea id="topic_content" name="topic_content" type="text/plain" style="width:99%;height:300px">{$info.topic_content|mac_url_content_img}</textarea>
+                        <textarea id="topic_content" name="topic_content" type="text/plain" style="width:100%;height:300px">{$info.topic_content|mac_url_content_img}</textarea>
                     </div>
                 </div>
             </div>

+ 1 - 1
application/admin/view_new/ulog/index.html

@@ -46,7 +46,7 @@
                 <th width="50">{:lang('model')}</th>
                 <th width="50">{:lang('genre')}</th>
                 <th width="50">{:lang('points')}</th>
-                <th width="80">{:lang('related')}id-sid-nid</th>
+                <th width="100">{:lang('related')}id-sid-nid</th>
                 <th>{:lang('data_name')}</th>
                 <th width="140">{:lang('log_time')}</th>
                 <th width="100">{:lang('opt')}</th>

+ 1 - 1
application/admin/view_new/vod/index.html

@@ -198,7 +198,7 @@
         <table class="layui-table" lay-size="sm">
             <thead>
             <tr>
-                <th width="25"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
+                <th width="30"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
                 <th width="60">{:lang('id')}</th>
                 <th id="table_th_vod_name">{:lang('name')}</th>
                 <th width="50">{:lang('hits')}</th>

+ 21 - 7
application/admin/view_new/vod/info.html

@@ -300,7 +300,7 @@
                     </div>
                     <div class="layui-form-item">
                         <div class="layui-input-block">
-                            <textarea id="vod_pic_screenshot" name="vod_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.vod_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
+                            <textarea class="layui-textarea" id="vod_pic_screenshot" name="vod_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.vod_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
                             <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                                 <legend>{:lang('screenshot_preview')}</legend>
                             </fieldset>
@@ -337,7 +337,7 @@
                             <div class="layui-input-inline w150"><input type="text" name="vod_play_note[]" class="layui-input" value="{$vo.note}" placeholder="{:lang('remarks')}"></div>
                             <div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a><br></div>
                             <div class="p10 m20"> </div>
-                            <div class="layui-input-block "><textarea id="vod_play_url{$key}" name="vod_play_url[]" type="text/plain" style="width:100%;height:150px">{$vo.url|mac_str_correct=###,'#',chr(13)}</textarea></div>
+                            <div class="layui-input-block "><textarea class="layui-textarea" id="vod_play_url{$key}" name="vod_play_url[]" type="text/plain" style="width:100%;height:150px">{$vo.url|mac_str_correct=###,'#',chr(13)}</textarea></div>
                         </div>
                         {/volist}
                     </div>
@@ -360,7 +360,7 @@
                             <div class="layui-input-inline w150"><input type="text" name="vod_down_note[]" class="layui-input" value="{$vo.note}" placeholder="{:lang('remarks')}"></div>
                             <div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a><br></div>
                             <div class="p10"> </div>
-                            <div class="layui-input-block"><textarea id="vod_down_url{$key}" name="vod_down_url[]" type="text/plain" style="width:100%;height:150px">{$vo.url|mac_str_correct=###,'#',chr(13)}</textarea></div>
+                            <div class="layui-input-block"><textarea class="layui-textarea" id="vod_down_url{$key}" name="vod_down_url[]" type="text/plain" style="width:100%;height:150px">{$vo.url|mac_str_correct=###,'#',chr(13)}</textarea></div>
                         </div>
                         {/volist}
                     </div>
@@ -374,7 +374,7 @@
                     <div class="layui-form-item">
                         <label class="layui-form-label">{:lang('content')}:</label>
                         <div class="layui-input-block">
-                            <textarea id="vod_content" name="vod_content" type="text/plain" style="width:99%;height:250px">{$info.vod_content|mac_url_content_img}</textarea>
+                            <textarea id="vod_content" name="vod_content" type="text/plain" style="width:100%;height:250px">{$info.vod_content|mac_url_content_img}</textarea>
                         </div>
                     </div>
         </div>
@@ -390,6 +390,7 @@
                                 <input type="text" class="layui-input" value="{$info.vod_down}" placeholder="" id="vod_down" name="vod_down">
                             </div>
                             <button class="layui-btn" type="button" id="btn_rnd">{:lang('rnd_make')}</button>
+							<button class="layui-btn" type="button" id="btn_zero">{:lang('reset_zero')}</button>
                         </div>
 
                         <div class="layui-form-item">
@@ -696,6 +697,19 @@
             $("#vod_score_all").val( rndNum(1000) );
             $("#vod_score_num").val( rndNum(100) );
         });
+		//归零添加
+        $("#btn_zero").click(function(){
+            $("#vod_hits").val( '0' );
+            $("#vod_hits_month").val( '0' );
+            $("#vod_hits_week").val( '0' );
+            $("#vod_hits_day").val( '0' );
+            $("#vod_up").val( '0' );
+            $("#vod_down").val( '0' );
+            $("#vod_score").val( '0' );
+            $("#vod_score_all").val( '0' );
+            $("#vod_score_num").val( '0' );
+        });
+		//归零结束
 
         var is_load=0;
         $('#btn_douban').click(function(){
@@ -893,7 +907,7 @@
 
         $('.j-player-add').on('click',function(){
             players_arr_len++;
-            var tpl='<div class="layui-form-item" data-i="'+players_arr_len+'"><label class="layui-form-label">{:lang('play')}'+(players_arr_len)+':</label><div class="layui-input-inline w150"><select name="vod_play_from[]"><option value="no">{:lang('admin/vod/select_player')}.</option>'+player_select+'</select></div><div class="layui-input-inline w150"><select name="vod_play_server[]" ><option value="no">{:lang('admin/vod/select_server')}.</option>'+server_select+'</select></div><div class="layui-input-inline w150"><input type="text" name="vod_play_note[]" class="layui-input" placeholder="{:lang('remarks')}" ></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(players_arr_len)+'" name="vod_play_url[]" class="layui-textarea " style="width:99%;height:250px"></textarea></div></div>';
+            var tpl='<div class="layui-form-item" data-i="'+players_arr_len+'"><label class="layui-form-label">{:lang('play')}'+(players_arr_len)+':</label><div class="layui-input-inline w150"><select name="vod_play_from[]"><option value="no">{:lang('admin/vod/select_player')}.</option>'+player_select+'</select></div><div class="layui-input-inline w150"><select name="vod_play_server[]" ><option value="no">{:lang('admin/vod/select_server')}.</option>'+server_select+'</select></div><div class="layui-input-inline w150"><input type="text" name="vod_play_note[]" class="layui-input" placeholder="{:lang('remarks')}" ></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(players_arr_len)+'" name="vod_play_url[]" class="layui-textarea " style="width:100%;height:250px"></textarea></div></div>';
             $("#player_list").append(tpl);
 
             form.render('select');
@@ -901,7 +915,7 @@
         });
         $('.j-downer-add').on('click',function(){
             downers_arr_len++;
-            var tpl='<div class="layui-form-item" data-i="'+downers_arr_len+'"><label class="layui-form-label">{:lang('down')}'+(downers_arr_len)+':</label><div class="layui-input-inline w150"><select name="vod_down_from[]"><option value="no">{:lang('admin/vod/select_downer')}.</option>'+downer_select+'</select></div><div class="layui-input-inline w150"><select name="vod_down_server[]" ><option value="no">{:lang('admin/vod/select_server')}.</option>'+server_select+'</select></div><div class="layui-input-inline w150"><input type="text" name="vod_down_note[]" class="layui-input" placeholder="{:lang('remarks')}"></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(downers_arr_len)+'" name="vod_down_url[]" class="layui-textarea" style="width:99%;height:250px"></textarea></div></div>';
+            var tpl='<div class="layui-form-item" data-i="'+downers_arr_len+'"><label class="layui-form-label">{:lang('down')}'+(downers_arr_len)+':</label><div class="layui-input-inline w150"><select name="vod_down_from[]"><option value="no">{:lang('admin/vod/select_downer')}.</option>'+downer_select+'</select></div><div class="layui-input-inline w150"><select name="vod_down_server[]" ><option value="no">{:lang('admin/vod/select_server')}.</option>'+server_select+'</select></div><div class="layui-input-inline w150"><input type="text" name="vod_down_note[]" class="layui-input" placeholder="{:lang('remarks')}"></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-xz">{:lang('admin/vod/correct')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-order">{:lang('admin/vod/reverse_order')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-dn">{:lang('admin/vod/del_prefix')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-upload">{:lang('upload')}</a></div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(downers_arr_len)+'" name="vod_down_url[]" class="layui-textarea" style="width:100%;height:250px"></textarea></div></div>';
             $("#downer_list").append(tpl);
 
             form.render('select');
@@ -909,7 +923,7 @@
         });
         $('.j-plot-add').on('click',function(){
             plot_arr_len++;
-            var tpl='<div class="layui-form-item" data-i="'+plot_arr_len+'"><label class="layui-form-label">{:lang('admin/vod/plot')}'+(plot_arr_len)+':</label><div class="layui-input-inline w500"><input type="text" name="vod_plot_name[]" class="layui-input" placeholder="{:lang('admin/vod/plot_name')}"></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;</div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(plot_arr_len)+'" name="vod_plot_detail[]" class="layui-textarea" style="width:99%;height:250px"></textarea></div></div>';
+            var tpl='<div class="layui-form-item" data-i="'+plot_arr_len+'"><label class="layui-form-label">{:lang('admin/vod/plot')}'+(plot_arr_len)+':</label><div class="layui-input-inline w500"><input type="text" name="vod_plot_name[]" class="layui-input" placeholder="{:lang('admin/vod/plot_name')}"></div><div class="layui-input-inline w400 p10"><a href="javascript:void(0)" class="j-editor-clear">{:lang('clear')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-remove">{:lang('del')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-up">{:lang('admin/vod/move_up')}</a>&nbsp;<a href="javascript:void(0)" class="j-editor-down">{:lang('admin/vod/move_down')}</a>&nbsp;</div><div class="p10 m20"></div><div class="layui-input-block"><textarea id="vod_content'+(plot_arr_len)+'" name="vod_plot_detail[]" class="layui-textarea" style="width:100%;height:250px"></textarea></div></div>';
             $("#plot_list").append(tpl);
         });
         $(document).on('click', '.del_screenshot', function() {

+ 7 - 7
application/admin/view_new/voddowner/index.html

@@ -2,7 +2,7 @@
 <div class="page-container p10">
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a data-href="{:url('index/select')}?tab=vod&col=status&tpl=select_state&url=voddowner/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('status')}</a>
             <a data-href="{:url('index/select')}?tab=vod&col=ps&tpl=select_state&url=voddowner/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('status_parse')}</a>
@@ -15,16 +15,16 @@
             <thead>
             <tr>
                 <th width="25"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
-                <th width="40">{:lang('sort')}</th>
-                <th width="40">{:lang('code')}</th>
+                <th width="60">{:lang('sort')}</th>
+                <th width="60">{:lang('code')}</th>
                 <th width="130">{:lang('name')}</th>
-                <th width="100">{:lang('status')}</th>
-                <th width="100">{:lang('status_parse')}</th>
-                <th width="100">{:lang('target')}</th>
+                <th width="60">{:lang('status')}</th>
+                <th width="80">{:lang('status_parse')}</th>
+                <th width="80">{:lang('target')}</th>
                 <th width="130">{:lang('admin/vodplayer/alone_api_url')}</th>
                 <th width="130">{:lang('remarks')}</th>
                 <th>{:lang('tip')}</th>
-                <th width="140">{:lang('opt')}</th>
+                <th width="150">{:lang('opt')}</th>
             </tr>
             </thead>
 

+ 8 - 8
application/admin/view_new/vodplayer/index.html

@@ -2,7 +2,7 @@
 <div class="page-container p10">
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
             <a href="{:url('import')}" class="layui-btn layui-btn-primary" ><i class="layui-icon">&#xe654;</i>{:lang('import')}</a>
             <a data-href="{:url('index/select')}?tab=vod&col=status&tpl=select_state&url=vodplayer/field" data-width="470" data-height="100" data-checkbox="1" class="layui-btn layui-btn-primary j-select"><i class="layui-icon">&#xe620;</i>{:lang('status')}</a>
@@ -16,16 +16,16 @@
             <thead>
             <tr>
                 <th width="25"><input type="checkbox" lay-skin="primary" lay-filter="allChoose"></th>
-                <th width="40">{:lang('sort')}</th>
-                <th width="40">{:lang('code')}</th>
+                <th width="60">{:lang('sort')}</th>
+                <th width="60">{:lang('code')}</th>
                 <th width="130">{:lang('name')}</th>
-                <th width="50">{:lang('status')}</th>
-                <th width="50">{:lang('status_parse')}</th>
-                <th width="50">{:lang('target')}</th>
+                <th width="60">{:lang('status')}</th>
+                <th width="80">{:lang('status_parse')}</th>
+                <th width="80">{:lang('target')}</th>
                 <th width="130">{:lang('admin/vodplayer/alone_api_url')}</th>
                 <th width="130">{:lang('remarks')}</th>
                 <th >{:lang('tip')}</th>
-                <th width="130">{:lang('opt')}</th>
+                <th width="200">{:lang('opt')}</th>
             </tr>
             </thead>
 
@@ -42,7 +42,7 @@
                 <td>{$vo.des}</td>
                 <td>{$vo.tip}</td>
                 <td>
-                    <a class="layui-badge-rim" href="{:url('export?id='.$vo['from'])}" title="{:lang('export')}">{:lang('export')}</a>
+                    <a class="layui-badge-rim" href="{:url('export?id='.$vo['from'])}" title="{:lang('export')}" style="padding: 0 15px;">{:lang('export')}</a>
                     <a class="layui-badge-rim j-iframe" data-href="{:url('info?id='.$vo['from'])}" href="javascript:;" title="{:lang('edit')}">{:lang('edit')}</a>
                     <a class="layui-badge-rim j-tr-del" data-href="{:url('del?ids='.$vo['from'])}" href="javascript:;" title="{:lang('del')}">{:lang('del')}</a>
                 </td>

+ 2 - 2
application/admin/view_new/vodserver/index.html

@@ -2,7 +2,7 @@
 <div class="page-container p10">
     <div class="my-toolbar-box">
 
-        <div class="layui-btn-group">
+        <div class="flex gap-5 overflow-x-auto overflow-y-hidden">
             <a data-href="{:url('info')}" class="layui-btn layui-btn-primary j-iframe"><i class="layui-icon">&#xe654;</i>{:lang('add')}</a>
         </div>
 
@@ -18,7 +18,7 @@
                 <th width="150">{:lang('name')}</th>
                 <th>{:lang('remarks')}</th>
                 <th>{:lang('tip')}</th>
-                <th width="100">{:lang('opt')}</th>
+                <th width="150">{:lang('opt')}</th>
             </tr>
             </thead>
 

+ 5 - 5
application/admin/view_new/website/index.html

@@ -105,11 +105,11 @@
                 <th width="50">{:lang('id')}</th>
                 <th >{:lang('name')}</th>
                 <th width="350">{:lang('url')}</th>
-                <th width="50">{:lang('hits')}</th>
-                <th width="50">{:lang('referer')}</th>
-                <th width="30">{:lang('level')}</th>
-                <th width="30">{:lang('browse')}</th>
-                <th width="120">{:lang('update_time')}</th>
+                <th width="60">{:lang('hits')}</th>
+                <th width="60">{:lang('referer')}</th>
+                <th width="60">{:lang('level')}</th>
+                <th width="60">{:lang('browse')}</th>
+                <th width="180">{:lang('update_time')}</th>
                 <th width="260">{:lang('opt')}</th>
             </tr>
             </thead>

+ 2 - 2
application/admin/view_new/website/info.html

@@ -165,7 +165,7 @@
                     </div>
                     <div class="layui-form-item">
                         <div class="layui-input-block">
-                            <textarea id="website_pic_screenshot" name="website_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.website_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
+                            <textarea class="layui-textarea" id="website_pic_screenshot" name="website_pic_screenshot" placeholder="{:lang('screenshot_tip')}" type="text/plain" style="width:100%;height:150px;">{$info.website_pic_screenshot|mac_str_correct=###,'#',chr(13)}</textarea>
                             <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
                                 <legend>{:lang('screenshot_preview')}</legend>
                             </fieldset>
@@ -188,7 +188,7 @@
                     <div class="layui-form-item">
                         <label class="layui-form-label">{:lang('content')}:</label>
                         <div class="layui-input-block">
-                            <textarea id="website_content" name="website_content" type="text/plain" style="width:99%;height:300px">{$info.website_content|mac_url_content_img}</textarea>
+                            <textarea id="website_content" name="website_content" type="text/plain" style="width:100%;height:300px">{$info.website_content|mac_url_content_img}</textarea>
                         </div>
                     </div>
                 </div>

+ 3 - 0
static_new/css/admin_style.css

@@ -354,6 +354,9 @@ body {
 .layui-layout-admin .layui-footer {
     height: 50px;
     line-height: 50px;
+	background-color: #ffffff;
+    box-sizing: border-box;
+    border-top: 1px solid #e6e7eb;
 }
 
 .layui-header,

+ 328 - 0
static_new/css/update.css

@@ -50,4 +50,332 @@
 
 .skin_updae_from {
   border-radius: 8px;
+}
+
+/* 更新按钮样式 - 移动端(顶部导航栏) */
+.layout-right #update-notification {
+  position: relative;
+  margin-right: 8px;
+}
+
+.layout-right #update-notification a {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  gap: 4px;
+  padding: 6px 12px;
+  border-radius: 16px;
+  background: linear-gradient(135deg, #00d4aa 0%, #0099cc 100%);
+  color: white !important;
+  text-decoration: none;
+  transition: all 0.3s ease;
+  box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
+  border: none;
+  font-size: 12px;
+  font-weight: 500;
+  min-height: 32px;
+  white-space: nowrap;
+  position: relative;
+  overflow: hidden;
+  backdrop-filter: blur(10px);
+  text-align: center;
+}
+
+.layout-right #update-notification a::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
+  border-radius: 20px;
+  opacity: 0;
+  transition: opacity 0.3s ease;
+}
+
+.layout-right #update-notification a:hover::before {
+  opacity: 1;
+}
+
+.layout-right #update-notification a:hover {
+  box-shadow: 0 8px 25px rgba(0, 212, 170, 0.5);
+  background: linear-gradient(135deg, #40cc92 0%, #0088b3 100%);
+}
+
+.layout-right #update-notification a:active {
+  transform: translateY(0);
+  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
+}
+
+/* 移动端特殊优化 */
+@media (max-width: 768px) {
+  .layout-right #update-notification {
+    margin-right: 4px;
+  }
+
+  .layout-right #update-notification a {
+    padding: 6px 10px;
+    font-size: 12px;
+    min-height: 32px;
+    border-radius: 16px;
+    gap: 4px;
+    max-width: 80px;
+  }
+
+  .layout-right #update-notification a:hover {
+    transform: none;
+    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
+  }
+
+  .layout-right #update-notification i {
+    font-size: 13px;
+  }
+
+  .layout-right #update-notification span {
+    font-size: 12px;
+    font-weight: 500;
+  }
+}
+
+/* 超小屏幕优化 */
+@media (max-width: 480px) {
+  .layout-right #update-notification {
+    margin-right: 2px;
+  }
+
+  .layout-right #update-notification a {
+    padding: 0px 8px;
+    font-size: 11px;
+    right: -55px;
+    min-height: 28px;
+    border-radius: 14px;
+    gap: 3px;
+    min-width: 36px;
+    max-width: 70px;
+    top: -13px;
+    padding-top: 26px;
+  }
+
+  .layout-right #update-notification a:hover {
+    transform: none;
+    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
+  }
+
+  .layout-right #update-notification i {
+    font-size: 12px;
+  }
+
+  .layout-right #update-notification span {
+    font-size: 11px;
+  }
+
+  /* 超小屏幕隐藏小红点,避免过于拥挤 */
+  .layout-right #update-notification::after {
+    display: none;
+  }
+}
+
+/* 触摸设备优化 */
+@media (hover: none) and (pointer: coarse) {
+
+  .layout-right #update-notification a:hover {
+    /* 触摸设备禁用悬停效果 */
+    transform: none;
+    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
+  }
+
+  .layout-right #update-notification a:active {
+    transform: scale(0.95);
+    background: linear-gradient(135deg, #40cc92 0%, #0088b3 100%);
+  }
+}
+
+/* PC端更新按钮样式(bottom-nav) */
+.bottom-nav #update-notification {
+  position: relative;
+  margin-right: 8px;
+}
+
+.bottom-nav #update-notification a {
+  display: flex;
+  align-items: center;
+  gap: 8px;
+  padding: 10px 20px;
+  border-radius: 25px;
+  background: linear-gradient(135deg, #00d4aa 0%, #0099cc 100%);
+  color: white !important;
+  text-decoration: none;
+  transition: all 0.3s ease;
+  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.4);
+  border: none;
+  font-size: 14px;
+  font-weight: 500;
+  min-height: 40px;
+  position: relative;
+  overflow: hidden;
+  backdrop-filter: blur(10px);
+}
+
+.bottom-nav #update-notification a::before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
+  border-radius: 25px;
+  opacity: 0;
+  transition: opacity 0.3s ease;
+}
+
+.bottom-nav .layui-layout-right {
+  top: -1px;
+
+}
+
+.bottom-nav #update-notification a:hover::before {
+  opacity: 1;
+}
+
+.bottom-nav #update-notification a:hover {
+  transform: translateY(-3px);
+  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.5);
+  background: linear-gradient(135deg, #40cc92 0%, #0088b3 100%);
+}
+
+.bottom-nav #update-notification a:active {
+  transform: translateY(0);
+  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
+}
+
+/* 图标样式 */
+#update-notification i {
+  color: white !important;
+  font-size: 13px;
+  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
+  transition: transform 0.3s ease;
+}
+
+.bottom-nav #update-notification i {
+  font-size: 16px;
+}
+
+/* 文字样式 */
+#update-notification span {
+  color: white !important;
+  font-weight: 500;
+  letter-spacing: 0.3px;
+  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
+  line-height: 1;
+  display: inline-block;
+  vertical-align: middle;
+  text-align: center;
+}
+
+/* 悬停时图标旋转效果 */
+#update-notification a:hover i {
+  transform: rotate(180deg);
+}
+
+/* 更新按钮显示时的动画效果 */
+#update-notification.show {
+  animation: slideInRight 0.5s ease-out;
+}
+
+@keyframes slideInRight {
+  from {
+    opacity: 0;
+    transform: translateX(30px);
+  }
+
+  to {
+    opacity: 1;
+    transform: translateX(0);
+  }
+}
+
+/* 更新按钮上的小红点 - 通用 */
+#update-notification::after {
+  content: '';
+  position: absolute;
+  width: 6px;
+  height: 6px;
+  background: #ff6b6b;
+  border-radius: 50%;
+  animation: blink 2s infinite;
+  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.3);
+  z-index: 1;
+}
+
+/* 移动端小红点位置 */
+.layout-right #update-notification::after {
+  top: 8px;
+  right: 8px;
+  width: 6px;
+  height: 6px;
+}
+
+/* 移动端小红点位置调整 */
+@media (max-width: 768px) {
+  .layout-right #update-notification::after {
+    top: 10px;
+    right: 10px;
+    width: 7px;
+    height: 7px;
+  }
+}
+
+/* PC端小红点位置 */
+.bottom-nav #update-notification::after {
+  top: 8px;
+  right: 10px;
+}
+
+@keyframes blink {
+
+  0%,
+  50% {
+    opacity: 1;
+    transform: scale(1);
+  }
+
+  51%,
+  100% {
+    opacity: 0.4;
+    transform: scale(0.8);
+  }
+}
+
+@keyframes pulse {
+  0% {
+    transform: scale(1);
+  }
+
+  50% {
+    transform: scale(1.02);
+  }
+
+  100% {
+    transform: scale(1);
+  }
+}
+
+/* 更新按钮呼吸灯效果 */
+@keyframes breathe {
+
+  0%,
+  100% {
+    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
+  }
+
+  50% {
+    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.6);
+  }
+}
+
+.layout-right #update-notification a,
+.bottom-nav #update-notification a {
+  animation: breathe 3s ease-in-out infinite;
 }

BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


BIN
static_new/images/nav/[email protected]


+ 11 - 2
static_new/js/admin_common.js

@@ -240,6 +240,12 @@ layui.define(['element', 'form'], function (exports) {
         } else {
             _form = $(this).parents('form');
         }
+
+        var $form = _form;
+        var $button = $form.find('[lay-submit]');
+
+        $button.prop('disabled', true);
+
         // CKEditor专用
         if (typeof (CKEDITOR) != 'undefined') {
             for (instance in CKEDITOR.instances) {
@@ -249,8 +255,8 @@ layui.define(['element', 'form'], function (exports) {
         layer.msg('数据提交中...', { time: 500000 });
         $.ajax({
             type: "POST",
-            url: _form.attr('action'),
-            data: _form.serialize(),
+            url: $form.attr('action'),
+            data: $form.serialize(),
             success: function (res) {
                 var msg = '<span class="success_layer_icon"></span>' + res.msg;
                 if (res.code == 1) {
@@ -278,10 +284,13 @@ layui.define(['element', 'form'], function (exports) {
                             layer.closeAll();
                             onSubmitResult(res);
                         }
+                    } else {
+                        $button.prop('disabled', false);
                     }
                 });
             },
             error: function (xhr, status, error) {
+                $button.prop('disabled', false);
                 layer.msg('<span class="error_layer_icon"></span>' + '请求失败', { time: 800, skin: 'error_layer' });
             }
         });