Browse Source

同步自适应

Tree 3 weeks ago
parent
commit
37ed5d9b09
37 changed files with 1438 additions and 290 deletions
  1. 1 0
      public/assets/css/style.css
  2. 1 1
      public/assets/scss/_utilities.scss
  3. 154 0
      public/js/table-wrapper.js
  4. 56 56
      resources/views/admin/Withdrawal/verify_finish.blade.php
  5. 80 80
      resources/views/admin/Withdrawal/waitWithdrawal.blade.php
  6. 2 0
      resources/views/admin/administrator.blade.php
  7. 1 1
      resources/views/admin/blacklist/index.blade.php
  8. 130 0
      resources/views/admin/channel/channel_new.blade.php
  9. 19 0
      resources/views/admin/channel/recharge_game.blade.php
  10. 1 1
      resources/views/admin/code/query.blade.php
  11. 3 1
      resources/views/admin/custom/userall.blade.php
  12. 3 3
      resources/views/admin/global/dk_userlist.blade.php
  13. 2 2
      resources/views/admin/global/reward_list.blade.php
  14. 3 3
      resources/views/admin/global/user_list.blade.php
  15. 7 5
      resources/views/admin/global/userlist.blade.php
  16. 6 6
      resources/views/admin/global/userlist.blade.php1
  17. 2 2
      resources/views/admin/global/win_loser_list.blade.php
  18. 212 2
      resources/views/admin/index.blade.php
  19. 283 104
      resources/views/admin/livedata/game_info.blade.php
  20. 2 2
      resources/views/admin/mail/back_mailRecord.blade.php
  21. 2 2
      resources/views/admin/mail/list.blade.php
  22. 2 2
      resources/views/admin/mail/mailRecord.blade.php
  23. 1 1
      resources/views/admin/protect/protect_config_info.blade.php
  24. 1 0
      resources/views/admin/recharge/list.blade.php
  25. 100 0
      resources/views/admin/reward_code/history.blade.php
  26. 136 0
      resources/views/admin/reward_code/index.blade.php
  27. 1 1
      resources/views/admin/subordinate/list.blade.php
  28. 2 2
      resources/views/admin/user/bind_list.blade.php
  29. 2 2
      resources/views/admin/user/daily_binding.blade.php
  30. 2 2
      resources/views/admin/user/purchase.blade.php
  31. 1 1
      resources/views/admin/user/score.blade.php
  32. 1 1
      resources/views/admin/user/score_change.blade.php
  33. 1 1
      resources/views/admin/user/spreaders.blade.php
  34. 4 4
      resources/views/admin/user/user_list.blade.php
  35. 1 1
      resources/views/admin/user/verification.blade.php
  36. 2 0
      resources/views/admin/web_channel_config/edit.blade.php
  37. 211 1
      resources/views/base/base.blade.php

+ 1 - 0
public/assets/css/style.css

@@ -9981,6 +9981,7 @@ pre code {
 
 .table .table {
   background-color: #fff;
+  overflow-x: scroll;
 }
 
 .table-sm th,

+ 1 - 1
public/assets/scss/_utilities.scss

@@ -45,7 +45,7 @@
   @include justify-content(stretch);
   >.card{
     width: 100%;
-    min-width: 100%;
+    //min-width: 100%;
   }
 }
 

+ 154 - 0
public/js/table-wrapper.js

@@ -0,0 +1,154 @@
+/**
+ * 为所有 table.table-bordered 添加可滚动父元素(仅在移动设备上)
+ * 在页面加载时自动执行
+ */
+(function() {
+    'use strict';
+
+    /**
+     * 检测是否为移动设备
+     */
+    function isMobileDevice() {
+        // 方法1:检查 User Agent
+        const userAgent = navigator.userAgent || navigator.vendor || window.opera;
+        const mobileRegex = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mobile/i;
+
+        // 方法2:检查触摸支持
+        const hasTouchScreen = (('ontouchstart' in window) ||
+                                (navigator.maxTouchPoints > 0) ||
+                                (navigator.msMaxTouchPoints > 0));
+
+        // 方法3:检查屏幕宽度
+        const isSmallScreen = window.innerWidth <= 991;
+
+        // 综合判断:User Agent 匹配 或 (有触摸支持 且 屏幕较小)
+        return mobileRegex.test(userAgent) || (hasTouchScreen && isSmallScreen);
+    }
+
+    function wrapTablesWithScroll() {
+        const isMobile = isMobileDevice();
+
+        // 查找所有 class 包含 "table table-bordered" 的表格
+        const tables = document.querySelectorAll('table.table.table-bordered');
+        let wrappedCount = 0;
+
+        tables.forEach(function(table) {
+            // 检查是否已经被包裹
+            const parent = table.parentElement;
+
+            // 如果父元素已经有 overflow-x 样式或 table-responsive 类,跳过
+            if (parent && (
+                parent.style.overflowX === 'auto' ||
+                parent.classList.contains('table-responsive') ||
+                window.getComputedStyle(parent).overflowX === 'auto'
+            )) {
+                return;
+            }
+
+            // 判断是否需要包裹
+            let needWrap = false;
+
+            if (isMobile) {
+                // 移动设备:始终包裹
+                needWrap = true;
+            } else {
+                // 桌面设备:检查表格实际宽度
+                const tableWidth = table.scrollWidth || table.offsetWidth;
+                const parentWidth = parent ? (parent.clientWidth || parent.offsetWidth) : window.innerWidth;
+
+                // 调试信息
+                console.log(`表格检测 - scrollWidth: ${table.scrollWidth}, offsetWidth: ${table.offsetWidth}, parentWidth: ${parentWidth}`);
+
+                // 如果表格宽度超过 1000px 或超过父容器宽度,则需要包裹
+                if (tableWidth > 1000 || tableWidth > parentWidth) {
+                    needWrap = true;
+                    console.log(`需要包裹:tableWidth=${tableWidth}, 阈值=1000`);
+                }
+            }
+
+            if (!needWrap) {
+                return;
+            }
+
+            // 创建包裹元素
+            const wrapper = document.createElement('div');
+            wrapper.style.overflowX = 'auto';
+            wrapper.style.webkitOverflowScrolling = 'touch'; // iOS 平滑滚动
+
+            // 在表格前插入包裹元素
+            table.parentNode.insertBefore(wrapper, table);
+
+            // 将表格移入包裹元素
+            wrapper.appendChild(table);
+
+            wrappedCount++;
+        });
+
+        if (wrappedCount > 0) {
+            const deviceType = isMobile ? '移动设备' : '桌面设备(宽表格)';
+            console.log(`✓ ${deviceType}:已为 ${wrappedCount} 个表格添加横向滚动功能`);
+        } else if (!isMobile) {
+            console.log('✓ 桌面设备:所有表格宽度正常,无需添加滚动');
+        }
+
+        return wrappedCount;
+    }
+
+    // 执行函数(多次尝试,确保表格完全渲染)
+    function executeWrap() {
+        // 立即执行一次
+        wrapTablesWithScroll();
+
+        // 延迟执行,等待表格完全渲染
+        setTimeout(wrapTablesWithScroll, 100);
+        setTimeout(wrapTablesWithScroll, 500);
+        setTimeout(wrapTablesWithScroll, 1000);
+    }
+
+    // 页面加载完成后执行
+    if (document.readyState === 'loading') {
+        document.addEventListener('DOMContentLoaded', executeWrap);
+    } else {
+        // DOM 已经加载完成,直接执行
+        executeWrap();
+    }
+
+    // 监听窗口大小变化
+    let resizeTimer;
+    window.addEventListener('resize', function() {
+        clearTimeout(resizeTimer);
+        resizeTimer = setTimeout(wrapTablesWithScroll, 250);
+    });
+
+    // 监听动态添加的内容(使用 MutationObserver)
+    const observer = new MutationObserver(function(mutations) {
+        let shouldWrap = false;
+
+        mutations.forEach(function(mutation) {
+            mutation.addedNodes.forEach(function(node) {
+                if (node.nodeType === 1) { // 元素节点
+                    // 检查新添加的节点是否是 table 或包含 table
+                    if (node.matches && node.matches('table.table.table-bordered')) {
+                        shouldWrap = true;
+                    } else if (node.querySelectorAll) {
+                        const tables = node.querySelectorAll('table.table.table-bordered');
+                        if (tables.length > 0) {
+                            shouldWrap = true;
+                        }
+                    }
+                }
+            });
+        });
+
+        if (shouldWrap) {
+            setTimeout(wrapTablesWithScroll, 100);
+        }
+    });
+
+    // 开始观察
+    observer.observe(document.body, {
+        childList: true,
+        subtree: true
+    });
+
+})();

+ 56 - 56
resources/views/admin/Withdrawal/verify_finish.blade.php

@@ -52,25 +52,25 @@
 
 
                                         <option value="100" @if ($withdraw == 100)
-                                        selected
-                                            @endif>100{{ __('auto.以下(不含100)') }}
+                                            selected
+                                                @endif>100{{ __('auto.以下(不含100)') }}
                                         </option>
 
 
                                         <option value="500" @if ($withdraw == 500)
-                                        selected
-                                            @endif>100-500({{ __('auto.含500)') }}
+                                            selected
+                                                @endif>100-500({{ __('auto.含500)') }}
                                         </option>
 
 
                                         <option value="1000" @if ($withdraw == 1000)
-                                        selected
-                                            @endif>500-1000({{ __('auto.含1000)') }}
+                                            selected
+                                                @endif>500-1000({{ __('auto.含1000)') }}
                                         </option>
 
                                         <option value="1001" @if ($withdraw == 1001)
-                                        selected
-                                            @endif>1000{{ __('auto.以上(不含') }}1000)
+                                            selected
+                                                @endif>1000{{ __('auto.以上(不含') }}1000)
                                         </option>
 
                                     </select>
@@ -78,35 +78,35 @@
                                     <spen style="padding-left: 10px">{{ __('auto.当前状态筛选:') }}</spen>
                                     <select class="form-control" name="state" value="" style="color: black">
                                         <option value="100" @if ($state == 100)
-                                        selected
-                                            @endif>{{ __('auto.全部') }}
+                                            selected
+                                                @endif>{{ __('auto.全部') }}
                                         </option>
                                         <option value="2" @if ($state == 2)
-                                        selected
-                                            @endif>{{ __('auto.已完成') }}
+                                            selected
+                                                @endif>{{ __('auto.已完成') }}
                                         </option>
                                         <option value="-1" @if ($state == -1)
-                                        selected
-                                            @endif>{{ __('auto.已拒绝') }}
+                                            selected
+                                                @endif>{{ __('auto.已拒绝') }}
                                         </option>
                                         <option value="1" @if ($state == 1)
-                                        selected
-                                            @endif>{{ __('auto.审核中') }}
+                                            selected
+                                                @endif>{{ __('auto.审核中') }}
                                         </option>
                                         <option value="5" @if ($state == 5)
-                                        selected
-                                            @endif>{{ __('auto.处理中') }}
+                                            selected
+                                                @endif>{{ __('auto.处理中') }}
                                         <option value="4" @if ($state == 4)
-                                        selected
-                                            @endif>{{ __('auto.系统回收') }}
+                                            selected
+                                                @endif>{{ __('auto.系统回收') }}
                                         </option>
                                         <option value="6" @if ($state == 6)
-                                        selected
-                                            @endif>{{ __('auto.第三方订单失败') }}
+                                            selected
+                                                @endif>{{ __('auto.第三方订单失败') }}
                                         </option>
                                         <option value="7" @if ($state == 7)
-                                        selected
-                                            @endif>{{ __('auto.三方账单清算中') }}
+                                            selected
+                                                @endif>{{ __('auto.三方账单清算中') }}
                                     </select>
                                     <spen style="padding-left: 10px">{{ __('auto.渠道搜索:') }}</spen>
                                     <select class="form-control" name="Channel" value="" style="color: black">
@@ -123,8 +123,8 @@
                                         <option value="">{{ __('auto.全部') }}</option>
                                         @foreach($agents as $val)
                                             <option value="{{$val->id}}" @if ($agent == $val->id)
-                                            selected
-                                                @endif>{{$val->name}}</option>
+                                                selected
+                                                    @endif>{{$val->name}}</option>
                                         @endforeach
 
                                     </select>
@@ -188,8 +188,8 @@
                                         <option value="">{{ __('auto.请选择') }}</option>
                                         @foreach($ChannelPackageName as $val)
                                             <option value="{{$val}}" @if ($PackgeName == $val)
-                                            selected
-                                                @endif>{{$val}}</option>
+                                                selected
+                                                    @endif>{{$val}}</option>
                                         @endforeach
                                     </select>
                                     <a href="/admin/withdrawal/list?isEmpty=1"
@@ -223,7 +223,7 @@
                                     <th>{{ __('auto.订单完成时间') }}({{ __('auto.中国') }})</th>
                                     <th>{{ __('auto.审核备注') }}</th>
                                     <th>{{ __('auto.回调备注') }}</th>
-{{--                                    <th>{{ __('auto.返回值') }}</th>--}}
+                                    {{--                                    <th>{{ __('auto.返回值') }}</th>--}}
                                 </tr>
                                 </thead>
                                 <tbody class="search_checkbox">
@@ -259,7 +259,7 @@
                                         </td>
                                         <td>
                                             @if ($item->PixType ==1)
-                                                 {{$item->PixNum}}
+                                                {{$item->PixNum}}
                                             @else
                                                 {{$item->EmailAddress}}
                                             @endif
@@ -271,27 +271,27 @@
                                             {!! $item->States !!}
                                             @if($item->State == 5)
                                                 <a class="layer-switch"
-                                                 data-remind="{{ __('auto.你确定要设为茶叶成功吗?') }}"
-                                                 href="/admin/withdrawal/compensate_notify/{{$item->RecordID}}">
-                                                {{ __('auto.设为茶叶成功') }}
+                                                   data-remind="{{ __('auto.你确定要设为茶叶成功吗?') }}"
+                                                   href="/admin/withdrawal/compensate_notify/{{$item->RecordID}}">
+                                                    {{ __('auto.设为茶叶成功') }}
                                                 </a>
                                             @endif
 
                                             @if($item->State == 5 || ($item->State == 6 && $item->WithDraw<40))
-                                            <br>
-                                            <a class="layer-switch"
-                                               data-remind="{{ __('auto.你确定要重制茶叶状态么?') }}"
-                                               href="/admin/withdrawal/init_data/{{$item->RecordID}}">
-                                                重置状态到审核(谨慎操作)
-                                            </a>
+                                                <br>
+                                                <a class="layer-switch"
+                                                   data-remind="{{ __('auto.你确定要重制茶叶状态么?') }}"
+                                                   href="/admin/withdrawal/init_data/{{$item->RecordID}}">
+                                                    重置状态到审核(谨慎操作)
+                                                </a>
                                             @endif
                                             @if($item->State == 6 && $item->WithDraw < 30)
-                                            <br>
-                                            <a class="btn btn-sm btn-gradient-info btn-icon-text sync-account-info"
-                                               data-record-id="{{$item->RecordID}}"
-                                               href="javascript:void(0);">
-                                                {{ __('auto.同步最新提款账号信息') }}
-                                            </a>
+                                                <br>
+                                                <a class="btn btn-sm btn-gradient-info btn-icon-text sync-account-info"
+                                                   data-record-id="{{$item->RecordID}}"
+                                                   href="javascript:void(0);">
+                                                    {{ __('auto.同步最新提款账号信息') }}
+                                                </a>
                                             @endif
                                         </td>
 
@@ -321,13 +321,13 @@
                                             : ''}}</td>
                                         <td>{{$item->remarks}}</td>
                                         <td>{{$item->remark}}</td>
-{{--                                        <td>--}}
-{{--                                            <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"--}}
-{{--                                                    onclick="update('{{$item->OrderId}}')">--}}
-{{--                                                {{ __('auto.查看') }}--}}
-{{--                                                <i class="mdi mdi-file-check btn-icon-append"></i>--}}
-{{--                                            </button>--}}
-{{--                                        </td>--}}
+                                        {{--                                        <td>--}}
+                                        {{--                                            <button type="button" class="btn btn-sm btn-gradient-dark btn-icon-text"--}}
+                                        {{--                                                    onclick="update('{{$item->OrderId}}')">--}}
+                                        {{--                                                {{ __('auto.查看') }}--}}
+                                        {{--                                                <i class="mdi mdi-file-check btn-icon-append"></i>--}}
+                                        {{--                                            </button>--}}
+                                        {{--                                        </td>--}}
                                     </tr>
                                 @endforeach
                                 </tbody>
@@ -529,7 +529,7 @@
         $(document).on('click', '.sync-account-info', function() {
             var recordId = $(this).data('record-id');
             var $btn = $(this);
-            
+
             if (!recordId) {
                 layer.msg('订单ID不存在');
                 return false;
@@ -539,7 +539,7 @@
                 btn: ['确定', '取消']
             }, function(index) {
                 $btn.prop('disabled', true).text('同步中...');
-                
+
                 $.ajax({
                     type: 'POST',
                     url: '/admin/withdrawal/sync_account_info/' + recordId,
@@ -561,10 +561,10 @@
                         $btn.prop('disabled', false).text('{{ __('auto.同步最新提款账号信息') }}');
                     }
                 });
-                
+
                 layer.close(index);
             });
-            
+
             return false;
         });
     </script>

+ 80 - 80
resources/views/admin/Withdrawal/waitWithdrawal.blade.php

@@ -26,12 +26,12 @@
                     <div class="card">
                         <div class="card-body">
                             <h4 class="card-title">{{ __('auto.茶叶订单审核') }}</h4>
-                                @if ($specialCs)
-                                    &nbsp;&nbsp;{{ __('auto.全员可审核新订单状态:') }}{{$normalCsOpen=="open"?__('auto.开启'):__('auto.关闭')}}
+                            @if ($specialCs)
+                                &nbsp;&nbsp;{{ __('auto.全员可审核新订单状态:') }}{{$normalCsOpen=="open"?__('auto.开启'):__('auto.关闭')}}
                                 <button class="btn btn-gradient-dark btn-sm"
                                         onclick="switchNormalCs()">{{ __('auto.切换') }}
                                 </button>
-                                @endif
+                            @endif
 
                             <form class="well form-inline margin-top-20" method="get"
                                   action='{{$api_url}}'>
@@ -39,14 +39,14 @@
                                     @csrf
                                     <spen style="padding-left: 10px">{{ __('auto.会员ID:') }}</spen>
                                     <input class="form-control" type="text" name="GameID" id="GameID"
-                                           style="width: 10%; " value="{{$GameID}}">
+                                           value="{{$GameID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.额度查询:') }}</spen>
                                     <input class="form-control" type="text" name="withdraw_search" id="GameID"
-                                           style="width: 10%; " value="{{$withdraw_search}}">
+                                           value="{{$withdraw_search}}">
 
                                     <spen style="padding-left: 10px">{{ __('auto.订单号查询:') }}</spen>
                                     <input class="form-control" type="text" name="orderID" id="orderID"
-                                           style="width: 10%; " value="{{$orderID}}">
+                                           value="{{$orderID}}">
 
                                     <spen style="padding-left: 10px">{{ __('auto.额度筛选:') }}</spen>
                                     <select class="form-control" name="withdraw" value="" style="color: black">
@@ -54,25 +54,25 @@
 
 
                                         <option value="100" @if ($withdraw == 100)
-                                        selected
-                                            @endif>100{{ __('auto.以下(不含100)') }}
+                                            selected
+                                                @endif>100{{ __('auto.以下(不含100)') }}
                                         </option>
 
 
                                         <option value="500" @if ($withdraw == 500)
-                                        selected
-                                            @endif>100-500({{ __('auto.含500)') }}
+                                            selected
+                                                @endif>100-500({{ __('auto.含500)') }}
                                         </option>
 
 
                                         <option value="1000" @if ($withdraw == 1000)
-                                        selected
-                                            @endif>500-1000({{ __('auto.含1000)') }}
+                                            selected
+                                                @endif>500-1000({{ __('auto.含1000)') }}
                                         </option>
 
                                         <option value="1001" @if ($withdraw == 1001)
-                                        selected
-                                            @endif>1000{{ __('auto.以上(不含') }}1000)
+                                            selected
+                                                @endif>1000{{ __('auto.以上(不含') }}1000)
                                         </option>
 
                                     </select>
@@ -90,35 +90,35 @@
                                     <spen style="padding-left: 10px">{{ __('auto.当前状态筛选:') }}</spen>
                                     <select class="form-control" name="state" value="" style="color: black">
                                         <option value="100" @if ($state == 100)
-                                        selected
-                                            @endif>{{ __('auto.全部') }}
+                                            selected
+                                                @endif>{{ __('auto.全部') }}
                                         </option>
                                         <option value="2" @if ($state == 2)
-                                        selected
-                                            @endif>{{ __('auto.已完成') }}
+                                            selected
+                                                @endif>{{ __('auto.已完成') }}
                                         </option>
                                         <option value="-1" @if ($state == -1)
-                                        selected
-                                            @endif>{{ __('auto.已拒绝') }}
+                                            selected
+                                                @endif>{{ __('auto.已拒绝') }}
                                         </option>
                                         <option value="1" @if ($state == 1)
-                                        selected
-                                            @endif>{{ __('auto.审核中') }}
+                                            selected
+                                                @endif>{{ __('auto.审核中') }}
                                         </option>
                                         <option value="5" @if ($state == 5)
-                                        selected
-                                            @endif>{{ __('auto.处理中') }}
+                                            selected
+                                                @endif>{{ __('auto.处理中') }}
 
                                         <option value="6" @if ($state == 6)
-                                        selected
-                                            @endif>{{ __('auto.第三方订单失败') }}
+                                            selected
+                                                @endif>{{ __('auto.第三方订单失败') }}
                                         </option>
                                         <option value="7" @if ($state == 7)
-                                        selected
-                                            @endif>{{ __('auto.三方账单清算中') }}
+                                            selected
+                                                @endif>{{ __('auto.三方账单清算中') }}
                                         <option value="4" @if ($state == 4)
-                                        selected
-                                            @endif>{{ __('auto.系统回收') }}
+                                            selected
+                                                @endif>{{ __('auto.系统回收') }}
 
 
                                     </select><br>
@@ -151,8 +151,8 @@
                                         <option value="">{{ __('auto.请选择') }}</option>
                                         @foreach($ChannelPackageName as $val)
                                             <option value="{{$val}}" @if ($PackgeName == $val)
-                                            selected
-                                                @endif>{{$val}}</option>
+                                                selected
+                                                    @endif>{{$val}}</option>
                                         @endforeach
                                     </select>
 
@@ -184,8 +184,8 @@
                                              viewBox="0 0 1024 1024" version="1.1"
                                              xmlns="http://www.w3.org/2000/svg" p-id="4118" width="14">
                                             <path
-                                                d="M541.866667 285.866667l345.6 345.6c17.066667 17.066667 17.066667 42.666667 0 59.733333-8.533333 8.533333-19.2 12.8-29.866667 12.8H168.533333c-23.466667 0-42.666667-19.2-42.666666-42.666667 0-10.666667 4.266667-21.333333 12.8-29.866666l343.466666-345.6c17.066667-17.066667 42.666667-17.066667 59.733334 0z"
-                                                p-id="4119" fill="#707072">
+                                                    d="M541.866667 285.866667l345.6 345.6c17.066667 17.066667 17.066667 42.666667 0 59.733333-8.533333 8.533333-19.2 12.8-29.866667 12.8H168.533333c-23.466667 0-42.666667-19.2-42.666666-42.666667 0-10.666667 4.266667-21.333333 12.8-29.866666l343.466666-345.6c17.066667-17.066667 42.666667-17.066667 59.733334 0z"
+                                                    p-id="4119" fill="#707072">
 
                                             </path>
                                         </svg>
@@ -194,8 +194,8 @@
                                              viewBox="0 0 1024 1024" version="1.1"
                                              xmlns="http://www.w3.org/2000/svg" p-id="3148" width="14">
                                             <path
-                                                d="M482.133333 738.133333L136.533333 392.533333c-17.066667-17.066667-17.066667-42.666667 0-59.733333 8.533333-8.533333 19.2-12.8 29.866667-12.8h689.066667c23.466667 0 42.666667 19.2 42.666666 42.666667 0 10.666667-4.266667 21.333333-12.8 29.866666L541.866667 738.133333c-17.066667 17.066667-42.666667 17.066667-59.733334 0z"
-                                                p-id="3149" fill="#707071">
+                                                    d="M482.133333 738.133333L136.533333 392.533333c-17.066667-17.066667-17.066667-42.666667 0-59.733333 8.533333-8.533333 19.2-12.8 29.866667-12.8h689.066667c23.466667 0 42.666667 19.2 42.666666 42.666667 0 10.666667-4.266667 21.333333-12.8 29.866666L541.866667 738.133333c-17.066667 17.066667-42.666667 17.066667-59.733334 0z"
+                                                    p-id="3149" fill="#707071">
 
                                             </path>
                                         </svg>
@@ -212,15 +212,15 @@
                                 </tr>
                                 </thead>
                                 <tbody class="search_checkbox">
-{{--                                <h4>--}}
-{{--                                    {{ __('auto.申请金额:') }}--}}
-{{--                                    {{$applyUserCount->userCount ?? 0}} {{ __('auto.人') }} {{$applyUserCount->count ?? 0}}--}}
-{{--                                    {{ __('auto.笔') }}&nbsp;&nbsp;{{ __('auto.总计:') }}{{$applyUserCount->WithDraw ?? 0}} &nbsp;&nbsp;--}}
-{{--                                    {{ __('auto.实际到账:') }}--}}
-{{--                                    {{$overUserCount->userCount ?? 0}} {{ __('auto.人') }}&nbsp;&nbsp;--}}
-{{--                                    {{$overUserCount->count ?? 0}} {{ __('auto.笔') }}&nbsp;&nbsp;--}}
-{{--                                    {{$overUserCount->WithDraw ?? 0}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--}}
-{{--                                </h4>--}}
+                                {{--                                <h4>--}}
+                                {{--                                    {{ __('auto.申请金额:') }}--}}
+                                {{--                                    {{$applyUserCount->userCount ?? 0}} {{ __('auto.人') }} {{$applyUserCount->count ?? 0}}--}}
+                                {{--                                    {{ __('auto.笔') }}&nbsp;&nbsp;{{ __('auto.总计:') }}{{$applyUserCount->WithDraw ?? 0}} &nbsp;&nbsp;--}}
+                                {{--                                    {{ __('auto.实际到账:') }}--}}
+                                {{--                                    {{$overUserCount->userCount ?? 0}} {{ __('auto.人') }}&nbsp;&nbsp;--}}
+                                {{--                                    {{$overUserCount->count ?? 0}} {{ __('auto.笔') }}&nbsp;&nbsp;--}}
+                                {{--                                    {{$overUserCount->WithDraw ?? 0}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--}}
+                                {{--                                </h4>--}}
 
                                 @foreach($list as $k=>$item)
                                     <tr>
@@ -279,48 +279,48 @@
                                             onblur="remarks(this,{{$item->RecordID}})"
                                             style="vertical-align: top">{{$item->remarks}}</td>
                                         <td>
-{{--                                            @if (empty(hidden()) || hidden() == 'general_administrator' || hidden() == 'customer_service1' || hidden() == 'customer_service2')--}}
-                                                @if ($item->State == 1)
+                                            {{--                                            @if (empty(hidden()) || hidden() == 'general_administrator' || hidden() == 'customer_service1' || hidden() == 'customer_service2')--}}
+                                            @if ($item->State == 1)
+                                                <button type="button"
+                                                        class="btn btn-sm btn-gradient-success btn-icon-text"
+                                                        onclick="update({{$item->RecordID}},'agree')">
+                                                    {{ __('auto.通过') }}
+                                                    <i class="mdi mdi-file-check btn-icon-append"></i>
+                                                </button>
+                                                <button type="button"
+                                                        class="btn btn-sm btn-gradient-dark btn-icon-text"
+                                                        onclick="update({{$item->RecordID}},'turn_down')">
+                                                    {{ __('auto.拒绝') }}
+                                                    <i class="mdi mdi-file-check btn-icon-append"></i>
+                                                </button>
+                                                <button type="button" class="btn btn-sm btn-dribbble btn-icon-text"
+                                                        onclick="update({{$item->RecordID}},'refuse')">
+                                                    {{ __('auto.清退') }}
+                                                    <i class="mdi mdi-file-check btn-icon-append"></i>
+                                                </button>
+                                                <button type="button"
+                                                        class="btn btn-sm btn-gradient-dark btn-icon-text"
+                                                        onclick="recovery({{$item->RecordID}},'recovery')">
+                                                    {{ __('auto.回收') }}
+                                                    <i class="mdi mdi-file-check btn-icon-append"></i>
+                                                </button>
+                                                @if ($item->locking == 1)
                                                     <button type="button"
-                                                            class="btn btn-sm btn-gradient-success btn-icon-text"
-                                                            onclick="update({{$item->RecordID}},'agree')">
-                                                        {{ __('auto.通过') }}
+                                                            class="btn btn-sm btn-facebook  btn-icon-text"
+                                                            onclick="locking({{$item->RecordID}})">
+                                                        {{ __('auto.解锁') }}
                                                         <i class="mdi mdi-file-check btn-icon-append"></i>
                                                     </button>
+                                                @else
                                                     <button type="button"
-                                                            class="btn btn-sm btn-gradient-dark btn-icon-text"
-                                                            onclick="update({{$item->RecordID}},'turn_down')">
-                                                        {{ __('auto.拒绝') }}
-                                                        <i class="mdi mdi-file-check btn-icon-append"></i>
-                                                    </button>
-                                                    <button type="button" class="btn btn-sm btn-dribbble btn-icon-text"
-                                                            onclick="update({{$item->RecordID}},'refuse')">
-                                                        {{ __('auto.清退') }}
+                                                            class="btn btn-sm btn-google btn-icon-text"
+                                                            onclick="locking({{$item->RecordID}})">
+                                                        {{ __('auto.锁定') }}
                                                         <i class="mdi mdi-file-check btn-icon-append"></i>
                                                     </button>
-                                                    <button type="button"
-                                                            class="btn btn-sm btn-gradient-dark btn-icon-text"
-                                                            onclick="recovery({{$item->RecordID}},'recovery')">
-                                                        {{ __('auto.回收') }}
-                                                        <i class="mdi mdi-file-check btn-icon-append"></i>
-                                                    </button>
-                                                    @if ($item->locking == 1)
-                                                        <button type="button"
-                                                                class="btn btn-sm btn-facebook  btn-icon-text"
-                                                                onclick="locking({{$item->RecordID}})">
-                                                            {{ __('auto.解锁') }}
-                                                            <i class="mdi mdi-file-check btn-icon-append"></i>
-                                                        </button>
-                                                    @else
-                                                        <button type="button"
-                                                                class="btn btn-sm btn-google btn-icon-text"
-                                                                onclick="locking({{$item->RecordID}})">
-                                                            {{ __('auto.锁定') }}
-                                                            <i class="mdi mdi-file-check btn-icon-append"></i>
-                                                        </button>
-                                                    @endif
                                                 @endif
-{{--                                            @endif--}}
+                                            @endif
+                                            {{--                                            @endif--}}
                                         </td>
 
                                     </tr>

+ 2 - 0
resources/views/admin/administrator.blade.php

@@ -28,6 +28,7 @@
                                     {{ __('messages.添加管理员') }}
                                 </button>
                             </p>
+                            <div class="table-responsive">
                             <table class="table table-bordered">
                                 <thead>
                                 <tr>
@@ -104,6 +105,7 @@
                                 @endforeach
                                 </tbody>
                             </table>
+                            </div>
                             <div class="box-footer clearfix" id = "pages">
                                 {{ __('messages.总共') }} <b>{{ $admins->appends([
 

+ 1 - 1
resources/views/admin/blacklist/index.blade.php

@@ -27,7 +27,7 @@
                             </div>
                             <form class="well form-inline margin-top-20" method="get" action=''>
                                 <span style="padding-left: 10px" >{{ __('auto.用户GameID:') }}</span>
-                                <input class="form-control" type="text" name="GameID" style="width: 10%; " value="{{$request->GameID}}">
+                                <input class="form-control" type="text" name="GameID" value="{{$request->GameID}}">
                                 <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}"/>&nbsp;&nbsp;
                                 <a href="/admin/blacklist" class="btn btn-sm btn-gradient-warning btn-icon-text">{{ __('auto.清空') }}</a>
                             </form>

+ 130 - 0
resources/views/admin/channel/channel_new.blade.php

@@ -0,0 +1,130 @@
+@extends('base.base')
+@section('base')
+    <!-- 内容区域 -->
+    <div class="main-panel">
+        <div class="content-wrapper">
+            <div class="page-header">
+                <h3 class="page-title">
+                     <span class="page-title-icon bg-gradient-primary text-white mr-2">
+                        <i class="mdi mdi-flash"></i>
+                    </span>
+                    {{ __('auto.快速创建渠道') }}
+                </h3>
+                <nav aria-label="breadcrumb">
+                    <ol class="breadcrumb">
+                        <li class="breadcrumb-item"><a href="#">{{ __('auto.快速创建渠道') }}</a></li>
+                        <li class="breadcrumb-item active" aria-current="page">{{ __('auto.渠道管理') }}</li>
+                    </ol>
+                </nav>
+            </div>
+            <div class="row">
+                <div class="col-lg-12 grid-margin stretch-card">
+                    <div class="card">
+                        <div class="card-body">
+                            <h4 class="card-title">{{ __('auto.快速创建渠道') }}</h4>
+                            <p class="card-description">
+                                {{ __('auto.此功能会自动创建渠道并分配权限') }}
+                            </p>
+                            <form class="forms-sample" id="form">
+                                <div class="form-group">
+                                    <label for="packageName">{{ __('auto.包名') }} (PackageName) <span class="text-danger">*</span></label>
+                                    <input type="text" class="form-control" name="packageName" id="packageName"
+                                           value="{{ $defaultPackageName }}"
+                                           placeholder="{{ __('auto.请输入包名') }}" required>
+                                    <small class="form-text text-muted">{{ __('auto.默认值为最后一个包名数字+1') }}</small>
+                                </div>
+
+                                <div class="form-group">
+                                    <label for="channelName">{{ __('auto.渠道名称') }} <span class="text-danger">*</span></label>
+                                    <input type="text" class="form-control" name="channelName" id="channelName"
+                                           value="{{ $defaultChannelName }}"
+                                           placeholder="{{ __('auto.请输入渠道名称') }}" required>
+                                    <small class="form-text text-muted">{{ __('auto.默认值为最后一个渠道名数字+1') }}</small>
+                                </div>
+
+                                <div class="form-group">
+                                    <label for="adminSign">{{ __('auto.权限群组') }} <span class="text-danger">*</span></label>
+                                    <select class="form-control" name="adminSign" id="adminSign" required>
+                                        <option value="dk">dk (Aries)</option>
+                                        <option value="xidu">xidu ({{ __('auto.自营') }})</option>
+                                        <option value="aresbigs">aresbigs (msea{{ __('auto.代投') }})</option>
+                                    </select>
+                                    <small class="form-text text-muted">{{ __('auto.选择该渠道所属的权限群组') }}</small>
+                                </div>
+
+                                <div class="alert alert-info" role="alert">
+                                    <strong>{{ __('auto.说明') }}:</strong>
+                                    <ul class="mb-0">
+                                        <li>dk (Aries): {{ __('auto.联运通道,渠道名会自动添加 USA_ 前缀') }}</li>
+                                        <li>xidu ({{ __('auto.自营') }}): {{ __('auto.自营渠道,渠道名会自动添加 NEW_ 前缀') }}</li>
+                                        <li>aresbigs (msea{{ __('auto.代投') }}): {{ __('auto.代投渠道,渠道名会自动添加 NEW_ 前缀') }}</li>
+                                    </ul>
+                                </div>
+
+                                <button type="button" onclick="commit()" class="btn btn-gradient-primary btn-icon-text">
+                                    <i class="mdi mdi-flash btn-icon-prepend"></i>
+                                    {{ __('auto.快速创建') }}
+                                </button>
+                                <button type="button" onclick="cancel()" class="btn btn-gradient-warning btn-icon-text">
+                                    <i class="mdi mdi-close btn-icon-prepend"></i>
+                                    {{ __('auto.取消') }}
+                                </button>
+                            </form>
+
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+    <script>
+
+        function commit(){
+            var packageName = $('#packageName').val().trim();
+            var channelName = $('#channelName').val().trim();
+            var adminSign = $('#adminSign').val();
+
+            if(!packageName){
+                layer.msg('{{ __('auto.请输入包名') }}');
+                return false;
+            }
+
+            if(!channelName){
+                layer.msg('{{ __('auto.请输入渠道名称') }}');
+                return false;
+            }
+
+            var data = {
+                packageName: packageName,
+                channelName: channelName,
+                adminSign: adminSign
+            };
+
+            layer.confirm('{{ __('auto.确认创建渠道吗') }}?', {
+                btn: ['{{ __('auto.确认') }}', '{{ __('auto.取消') }}']
+            }, function(index){
+                layer.close(index);
+                var loadingIndex = layer.load(1, {shade: [0.3, '#000']});
+
+                myRequest("/admin/channel/quick_create_channel","post", data,function(res){
+                    layer.close(loadingIndex);
+                    if(res.code == 200){
+                        layer.msg(res.msg || '{{ __('auto.创建成功') }}', {icon: 1});
+                        setTimeout(function(){
+                            var index = parent.layer.getFrameIndex(window.name);
+                            parent.layer.close(index);
+                        }, 1500);
+                    } else {
+                        layer.msg(res.msg || '{{ __('auto.创建失败') }}', {icon: 2});
+                    }
+                });
+            });
+        }
+
+        function cancel() {
+            var index = parent.layer.getFrameIndex(window.name);
+            parent.layer.close(index);
+        }
+
+    </script>
+@endsection

+ 19 - 0
resources/views/admin/channel/recharge_game.blade.php

@@ -45,6 +45,10 @@
                                 <button class="btn-sm btn-gradient-dark" onclick="addNewPlatform();return false;">
                                     {{ __('auto.添加新渠道') }}
                                 </button>
+                                &nbsp;
+                                <button class="btn-sm btn-gradient-primary" onclick="quickCreateChannel();return false;">
+                                    {{ __('auto.快速创建渠道') }}
+                                </button>
 
 
                             </form>
@@ -143,6 +147,21 @@
             });
         }
 
+        // 快速创建渠道
+        function quickCreateChannel() {
+            layer.open({
+                type: 2,
+                title: '{{ __('auto.快速创建渠道') }}',
+                shadeClose: true,
+                shade: 0.8,
+                area: ['60%', '70%'],
+                content: '/admin/channel/quick_create_channel',
+                end: function() {
+                    window.location.reload();
+                }
+            });
+        }
+
         // 开放游戏默认配置
         function defaultOpenGamesFunc() {
             layer.open({

+ 1 - 1
resources/views/admin/code/query.blade.php

@@ -26,7 +26,7 @@
                             <form class="well form-inline margin-top-20" method="get" action='/admin/code/query'>
 
                                 <spen style="padding-left: 10px" >{{ __('auto.手机号:') }}</spen>
-                                <input class="form-control" type="number" name="PhoneNum" id="PhoneNum" style="width: 10%; " value="{{$PhoneNum}}" >
+                                <input class="form-control" type="number" name="PhoneNum" id="PhoneNum" value="{{$PhoneNum}}" >
 
                                 <input type="submit" class="btn btn-sm btn-gradient-dark btn-icon-text" value="{{ __('auto.搜索') }}" />&nbsp;&nbsp;
                             </form>

+ 3 - 1
resources/views/admin/custom/userall.blade.php

@@ -28,7 +28,7 @@
                                 <div>
                                     @csrf
                                     <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                    <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$gameID}}" >
+                                    <input class="form-control" type="text" name="GameID" id="GameID" value="{{$gameID}}" >
 
                                     <spen style="padding-left: 10px" >{{ __('auto.分配召回时间:') }}</spen>
                                     <input type="datetime-local"  step="01" name="cstart_time" id="cstart_time" class="form-control" value="{{$cstartTime}}" onclick="cstart_times()"/>
@@ -74,6 +74,7 @@
 
 
                             </form>
+                            <div style="overflow-x:auto;">
                             <table class="table table-bordered">
                                 <thead>
                                 <tr>
@@ -165,6 +166,7 @@
                                 @endforeach
                                 </tbody>
                             </table>
+                            </div>
                             <div class="box-footer clearfix" id = "pages">
                                 {{ __('auto.总共') }} <b>{{ $list->appends([
                                         'list'=>$list,

+ 3 - 3
resources/views/admin/global/dk_userlist.blade.php

@@ -59,13 +59,13 @@
                                     @csrf
                                     <spen style="padding-left: 10px">{{ __('auto.会员ID:') }}</spen>
                                     <input class="form-control" type="text" name="GameID"
-                                           placeholder="{{ __('auto.请输入数字') }}" style="width: 10%; " value="{{$GameID}}">
+                                           placeholder="{{ __('auto.请输入数字') }}" value="{{$GameID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.上级ID:') }}</spen>
                                     <input class="form-control" type="text" name="SpreaderID" id="SpreaderID"
-                                           placeholder="{{ __('auto.请输入数字') }}" style="width: 10%; " value="{{$SpreaderID}}">
+                                           placeholder="{{ __('auto.请输入数字') }}" value="{{$SpreaderID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.昵称:') }}</spen>
                                     <input class="form-control" type="text" name="NickName" id="Compellation"
-                                           style="width: 10%; " value="{{$NickName}}">
+                                           value="{{$NickName}}">
                                     <spen style="padding-left: 10px">{{ __('auto.注册时间:') }}</spen>
                                     <input type="datetime-local" step="01" name="start_time" id="start_time"
                                            class="form-control" value="{{$start_time}}" onclick="start_times()"/>

+ 2 - 2
resources/views/admin/global/reward_list.blade.php

@@ -27,10 +27,10 @@
                                     @csrf
                                     <spen style="padding-left: 10px">{{ __('auto.会员ID:') }}</spen>
                                     <input class="form-control" type="text" name="UserID" id="UserID"
-                                           style="width: 10%; " value="{{$UserID}}">
+                                           value="{{$UserID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.上级id:') }}</spen>
                                     <input class="form-control" type="text" name="SpreaderID" id="SpreaderID"
-                                           style="width: 10%; " value="{{$SpreaderID}}">
+                                           value="{{$SpreaderID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.选择类型:') }}</spen>
                                     <select class="form-control" name="Type" value="" style="color: black">
                                         <option value="1" @if ($Type == 1)

+ 3 - 3
resources/views/admin/global/user_list.blade.php

@@ -31,13 +31,13 @@
                                        value="{{$MachineID}}">
                                 <span style="padding-left: 10px">{{ __('auto.手机号:') }}</span>
                                 <input class="form-control" type="text" name="RegisterMobile" id="RegisterMobile"
-                                       style="width: 10%; " value="{{$RegisterMobile}}">
+                                       value="{{$RegisterMobile}}">
                                 <span style="padding-left: 10px">{{ __('auto.上级ID:') }}</span>
                                 <input class="form-control" type="text" name="SpreaderID" id="SpreaderID"
-                                       style="width: 10%; " value="{{$SpreaderID}}">
+                                       value="{{$SpreaderID}}">
                                 <span style="padding-left: 10px">{{ __('auto.姓名:') }}</span>
                                 <input class="form-control" type="text" name="Compellation" id="Compellation"
-                                       style="width: 10%; " value="{{$Compellation}}">
+                                       value="{{$Compellation}}">
                                 <span style="padding-left: 10px">{{ __('auto.注册时间:') }}</span>
                                 <input type="datetime-local" step="01" name="start_time" id="start_time"
                                        class="form-control" value="{{$start_time}}" onclick="start_times()" />

+ 7 - 5
resources/views/admin/global/userlist.blade.php

@@ -34,15 +34,15 @@
                                 <div>
                                     @csrf
                                     <span style="padding-left: 10px" >{{ __('auto.会员ID:') }}</span>
-                                    <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$gameID}}" >
+                                    <input class="form-control" type="text" name="GameID" id="GameID"  value="{{$gameID}}" >
                                     <span style="padding-left: 10px" >{{ __('auto.设备ID:') }}</span>
-                                    <input class="form-control" type="text" name="MachineID" id="MachineID" style="width: 10%; " value="{{$MachineID}}" >
+                                    <input class="form-control" type="text" name="MachineID" id="MachineID" value="{{$MachineID}}" >
                                     <span style="padding-left: 10px" >{{ __('auto.手机号:') }}</span>
-                                    <input class="form-control" type="text" name="PhoneNum" id="RegisterMobile" style="width: 10%; " value="{{$phoneNum}}" >
+                                    <input class="form-control" type="text" name="PhoneNum" id="RegisterMobile" value="{{$phoneNum}}" >
                                     <span style="padding-left: 10px" >{{ __('auto.上级ID:') }}</span>
-                                    <input class="form-control" type="text" name="SpreaderID" id="SpreaderID" style="width: 10%; " value="{{$spreaderID}}" >
+                                    <input class="form-control" type="text" name="SpreaderID" id="SpreaderID" value="{{$spreaderID}}" >
                                     <span style="padding-left: 10px" >{{ __('auto.昵称:') }}</span>
-                                    <input class="form-control" type="text" name="NickName" id="Compellation" style="width: 10%; " value="{{$nickName}}">
+                                    <input class="form-control" type="text" name="NickName" id="Compellation" value="{{$nickName}}">
                                     <span style="padding-left: 10px" >{{ __('auto.注册时间:') }}</span>
                                     <input type="datetime-local"  step="01" name="start_time" id="start_time" class="form-control" value="{{$startTime}}" onclick="start_times()"/>
                                     <input type="datetime-local"  step="01" name="end_time" id='end_time' class="form-control" value="{{$endTime}}" onclick="end_times()"/><br>
@@ -135,6 +135,7 @@
 
 
                             </form>
+
                             <table class="table table-bordered">
                                 <thead>
                                 <tr>
@@ -257,6 +258,7 @@
                                 @endforeach
                                 </tbody>
                             </table>
+                            </div>
                             <div class="box-footer clearfix" id = "pages">
                                 {{ __('auto.总共') }} <b>{{ $list->appends([
                                         'list'=>$list,

+ 6 - 6
resources/views/admin/global/userlist.blade.php1

@@ -34,18 +34,18 @@
                                 <div>
                                     @csrf
                                     <spen style="padding-left: 10px" >会员ID:</spen>
-                                    <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$GameID}}" >
+                                    <input class="form-control" type="text" name="GameID" id="GameID" value="{{$GameID}}" >
                                     <spen style="padding-left: 10px" >手机号:</spen>
-                                    <input class="form-control" type="text" name="RegisterMobile" id="RegisterMobile" style="width: 10%; " value="{{$RegisterMobile}}" >
+                                    <input class="form-control" type="text" name="RegisterMobile" id="RegisterMobile" value="{{$RegisterMobile}}" >
                                     <spen style="padding-left: 10px" >上级ID:</spen>
-                                    <input class="form-control" type="text" name="SpreaderID" id="SpreaderID" style="width: 10%; " value="{{$SpreaderID}}" >
+                                    <input class="form-control" type="text" name="SpreaderID" id="SpreaderID" value="{{$SpreaderID}}" >
                                     <spen style="padding-left: 10px" >昵称:</spen>
-                                    <input class="form-control" type="text" name="Compellation" id="Compellation" style="width: 10%; " value="{{$Compellation}}">
+                                    <input class="form-control" type="text" name="Compellation" id="Compellation" value="{{$Compellation}}">
                                     <spen style="padding-left: 10px" >注册时间:</spen>
                                     <input type="datetime-local"  step="01" name="start_time" id="start_time" class="form-control" value="{{$start_time}}" onclick="start_times()"/>
                                     <input type="datetime-local"  step="01" name="end_time" id='end_time' class="form-control" value="{{$end_time}}" onclick="end_times()"/><br>
                                     <spen style="padding-left: 10px" >渠道名称:</spen>
-{{--                                    <input class="form-control" type="text" name="mobile" style="width: 10%; " value="暂时无法使用"  disabled>--}}
+{{--                                    <input class="form-control" type="text" name="mobile" value="暂时无法使用"  disabled>--}}
                                     <select class="form-control" name="channel" value="{{$channel}}" style="color: black">
                                         <option value="">全部渠道</option>
                                         @foreach($channels as $key=>$val)
@@ -58,7 +58,7 @@
 
                                     <input type="hidden" name="user_tab" value="{{$user_tab}}">
                                     <spen style="padding-left: 10px" >当前在线状态:</spen>
-                                    <input class="form-control" type="text" name="mobile" style="width: 10%; " value="暂时无法使用"  disabled>
+                                    <input class="form-control" type="text" name="mobile" value="暂时无法使用"  disabled>
                                     <spen style="padding-left: 10px" >VIP筛选:</spen>
 
                                     <select class="form-control" name="vip" value="{{$vip}}" style="color: black">

+ 2 - 2
resources/views/admin/global/win_loser_list.blade.php

@@ -41,10 +41,10 @@
                                     <input type="hidden" name="Jump" value="{{$Jump}}">
                                     <spen style="padding-left: 10px">{{ __('auto.会员ID:') }}</spen>
                                     <input class="form-control" type="text" name="UserID" id="UserID"
-                                           style="width: 10%; " value="{{$GameID}}">
+                                           value="{{$GameID}}">
                                     <spen style="padding-left: 10px">{{ __('auto.战绩搜索:') }}</spen>
                                     <input class="form-control" type="text" name="UniqueCode" id="UniqueCode"
-                                           style="width: 10%; " value="{{$UniqueCode}}">
+                                           value="{{$UniqueCode}}">
                                     <spen style="padding-left: 10px">{{ __('auto.游戏选择:') }}</spen>
                                     <select class="form-control" name="searchGame" value="" style="color: black">
                                         <option value="">{{ __('auto.全部') }}</option>

+ 212 - 2
resources/views/admin/index.blade.php

@@ -34,6 +34,148 @@
         color: #343a40;
         background: transparent;
     }
+
+    /* 移动端响应式优化 */
+    @media screen and (max-width: 991px) {
+      /* 侧边栏遮罩层 */
+      .sidebar-overlay {
+        position: fixed;
+        top: 70px;
+        left: 0;
+        right: 0;
+        bottom: 0;
+        background-color: rgba(0, 0, 0, 0.5);
+        z-index: 998;
+        opacity: 0;
+        visibility: hidden;
+        transition: opacity 0.25s ease-out, visibility 0.25s ease-out;
+      }
+
+      .sidebar-overlay.active {
+        opacity: 1;
+        visibility: visible;
+      }
+
+      /* 侧边栏在移动端默认隐藏,通过汉堡菜单切换 */
+      .sidebar-offcanvas {
+        position: fixed !important;
+        height: calc(100vh - 70px) !important;
+        max-height: calc(100vh - 70px) !important;
+        top: 70px !important;
+        bottom: 0 !important;
+        overflow-y: auto !important;
+        overflow-x: hidden !important;
+        left: -280px;
+        width: 260px !important;
+        -webkit-transition: all 0.25s ease-out;
+        -o-transition: all 0.25s ease-out;
+        transition: all 0.25s ease-out;
+        background: #fff;
+        z-index: 999;
+        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
+      }
+
+      .sidebar-offcanvas.active {
+        left: 0;
+      }
+
+      /* 确保侧边栏内部元素不限制滚动 */
+      .sidebar-offcanvas .nav {
+        height: auto !important;
+        max-height: none !important;
+      }
+
+      /* 侧边栏滚动条优化 */
+      .sidebar-offcanvas::-webkit-scrollbar {
+        width: 5px;
+        height: 5px;
+      }
+
+      .sidebar-offcanvas::-webkit-scrollbar-track {
+        background: #f1f1f1;
+      }
+
+      .sidebar-offcanvas::-webkit-scrollbar-thumb {
+        background: #888;
+        border-radius: 3px;
+      }
+
+      .sidebar-offcanvas::-webkit-scrollbar-thumb:hover {
+        background: #555;
+      }
+
+      /* 主内容区域占满屏幕 */
+      .page-body-wrapper {
+        padding-left: 0 !important;
+        min-height: 100vh;
+        background-color: #f2edf3;
+      }
+
+      #mainiframe {
+        width: 100% !important;
+        min-height: calc(100vh - 70px);
+        background-color: #f2edf3;
+      }
+
+      /* 导航栏优化 */
+      .navbar-toggler {
+        display: block !important;
+      }
+
+      .navbar-brand-wrapper {
+        width: 70px !important;
+      }
+
+      /* 搜索框隐藏 */
+      .search-field {
+        display: none !important;
+      }
+
+      /* 导航菜单图标间距 */
+      .navbar-nav-right .nav-item {
+        margin-left: 0.5rem;
+      }
+
+      /* 下拉菜单优化 */
+      .navbar-nav .dropdown-menu {
+        position: absolute;
+        right: 0;
+        left: auto;
+      }
+
+      /* 菜单项优化 */
+      .sidebar .nav .nav-item .nav-link {
+        padding: 1rem 1.5rem;
+      }
+
+      .sidebar .nav .nav-item .nav-link .menu-title {
+        font-size: 0.875rem;
+      }
+
+      .sidebar .nav.sub-menu {
+        padding: 0;
+      }
+
+      .sidebar .nav.sub-menu .nav-item {
+        padding-left: 0;
+      }
+    }
+
+    @media screen and (max-width: 576px) {
+      /* 更小屏幕的额外优化 */
+      .navbar-nav-right .nav-item {
+        margin-left: 0.25rem;
+      }
+
+      .navbar-nav-right .nav-link i {
+        font-size: 1.1rem;
+      }
+
+      .sidebar-offcanvas {
+        width: 240px !important;
+        left: -250px;
+      }
+    }
   </style>
 </head>
 <body>
@@ -107,7 +249,7 @@
     <!-- partial -->
     <div class="container-fluid page-body-wrapper">
       <!-- partial:partials/_sidebar.html -->
-      <nav class="sidebar sidebar-offcanvas" id="sidebar" style="overflow:auto;max-height: calc(100vh - 70px);width:{{session('admin')->locale=="zh_CN"?"230px":"250px"}}">
+      <nav class="sidebar sidebar-offcanvas" id="sidebar" style="overflow-y:auto;overflow-x:hidden;max-height: calc(100vh - 70px);width:{{session('admin')->locale=="zh_CN"?"230px":"250px"}}">
       <ul class="nav">
 {{--        <li class="nav-item nav-profile">--}}
 {{--          <a href="#" class="nav-link">--}}
@@ -321,7 +463,8 @@
         if (!regex.test(currentURL)) {
             newURL = currentURL + param + "=" + value;
         }
-        window.history.replaceState(null, null, newURL.slice(0, -1));
+        currentURL=currentURL.trimEnd("#");
+        window.history.replaceState(null, null, newURL);
     }
 
     document.addEventListener('DOMContentLoaded', function () {
@@ -400,6 +543,73 @@
            content: '/edit/info/'+id
        });
    }
+
+   // 移动端侧边栏优化
+   $(document).ready(function() {
+       function adjustSidebar() {
+           if ($(window).width() <= 991) {
+               var $sidebar = $('#sidebar');
+               var navbarHeight = $('.navbar').outerHeight() || 70;
+               var windowHeight = $(window).height();
+               var sidebarHeight = windowHeight - navbarHeight;
+
+               $sidebar.css({
+                   'height': sidebarHeight + 'px',
+                   'max-height': sidebarHeight + 'px',
+                   'overflow-y': 'auto',
+                   'overflow-x': 'hidden'
+               });
+           }
+       }
+
+       adjustSidebar();
+       $(window).on('resize', adjustSidebar);
+
+       // 点击侧边栏外部区域关闭菜单
+       if ($(window).width() <= 991) {
+           // 创建遮罩层
+           var $overlay = $('<div class="sidebar-overlay"></div>');
+           $('body').append($overlay);
+
+           // 监听侧边栏状态变化
+           var observer = new MutationObserver(function(mutations) {
+               mutations.forEach(function(mutation) {
+                   if (mutation.attributeName === 'class') {
+                       var $sidebar = $('#sidebar');
+                       if ($sidebar.hasClass('active')) {
+                           $overlay.addClass('active');
+                       } else {
+                           $overlay.removeClass('active');
+                       }
+                   }
+               });
+           });
+
+           var sidebarElement = document.getElementById('sidebar');
+           if (sidebarElement) {
+               observer.observe(sidebarElement, {
+                   attributes: true
+               });
+           }
+
+           // 点击遮罩层关闭侧边栏
+           $overlay.on('click', function() {
+               $('#sidebar').removeClass('active');
+               $('body').removeClass('sidebar-icon-only');
+           });
+
+           // 点击汉堡菜单按钮
+           $('.navbar-toggler').on('click', function() {
+               setTimeout(function() {
+                   if ($('#sidebar').hasClass('active')) {
+                       $overlay.addClass('active');
+                   } else {
+                       $overlay.removeClass('active');
+                   }
+               }, 50);
+           });
+       }
+   });
 </script>
 <!-- plugins:js -->
 <script src="/assets/vendors/js/vendor.bundle.base.js"></script>

+ 283 - 104
resources/views/admin/livedata/game_info.blade.php

@@ -1,5 +1,165 @@
 @extends('base.base')
 @section('base')
+    <style>
+        /* 移动端优化样式 */
+        @media screen and (max-width: 991px) {
+            /* 让卡片内的表格可以横向滚动 */
+            .card-body {
+                overflow-x: auto !important;
+                -webkit-overflow-scrolling: touch !important;
+            }
+
+            /* 表格基础样式 */
+            .table-bordered {
+                font-size: 0.75rem !important;
+                margin-bottom: 1rem !important;
+                min-width: 600px; /* 确保表格有最小宽度才能滚动 */
+            }
+
+            .table-bordered td,
+            .table-bordered th {
+                white-space: nowrap !important;
+                padding: 0.4rem 0.5rem !important;
+                vertical-align: middle !important;
+            }
+
+            /* 固定第一列 */
+            .table-bordered td:first-child,
+            .table-bordered th:first-child {
+                position: sticky;
+                left: auto;
+                background: #fff;
+                z-index: 2;
+                box-shadow: 2px 0 5px rgba(0,0,0,0.05);
+            }
+
+            .table-bordered thead th:first-child {
+                z-index: 3;
+                background: #f8f9fa;
+            }
+
+            /* 处理使用float的单元格内容 */
+            .table-bordered td > div[style*="float"] {
+                display: inline-block;
+                float: left;
+                margin-right: 0.5rem;
+            }
+
+            /* 清除浮动 */
+            .table-bordered td > div::after {
+                content: "";
+                display: table;
+                clear: both;
+            }
+        }
+
+        @media screen and (max-width: 576px) {
+            .table-bordered {
+                font-size: 0.7rem !important;
+            }
+
+            .table-bordered td,
+            .table-bordered th {
+                padding: 0.3rem 0.4rem !important;
+            }
+        }
+    </style>
+
+    <style>
+        /* 移动端优化样式 */
+        @media screen and (max-width: 991px) {
+            /* 卡片内容区域可横向滚动 */
+            .card-body {
+                overflow-x: auto !important;
+                -webkit-overflow-scrolling: touch !important;
+            }
+
+            /* 表格基础样式 */
+            .table-bordered {
+                font-size: 0.75rem !important;
+                margin-bottom: 1rem !important;
+                width: max-content !important;
+                min-width: 100% !important;
+            }
+
+            .table-bordered td,
+            .table-bordered th {
+                white-space: nowrap !important;
+                padding: 0.5rem !important;
+                vertical-align: middle !important;
+            }
+
+            /* 嵌套表格样式 */
+            .nested-table {
+                width: 100%;
+                margin: 0;
+            }
+
+            .nested-table td {
+                padding: 0.3rem !important;
+                font-size: 0.7rem !important;
+                border: none !important;
+            }
+
+            .nested-table .label-row td {
+                font-weight: 500;
+                color: #666;
+            }
+
+            .nested-table .value-row td {
+                font-weight: 600;
+                color: #000;
+            }
+        }
+    </style>
+
+    <style>
+        /* 移动端优化样式 */
+        @media screen and (max-width: 991px) {
+            /* 卡片内容区域可横向滚动 */
+            .card-body {
+                overflow-x: auto !important;
+                -webkit-overflow-scrolling: touch !important;
+            }
+
+            /* 表格基础样式 */
+            .table-bordered {
+                font-size: 0.75rem !important;
+                margin-bottom: 1rem !important;
+                width: max-content !important;
+                min-width: 100% !important;
+            }
+
+            .table-bordered td,
+            .table-bordered th {
+                white-space: nowrap !important;
+                padding: 0.5rem !important;
+                vertical-align: middle !important;
+            }
+
+            /* 嵌套表格样式 */
+            .nested-table {
+                width: 100%;
+                margin: 0;
+            }
+
+            .nested-table td {
+                padding: 0.3rem !important;
+                font-size: 0.7rem !important;
+                border: none !important;
+            }
+
+            .nested-table .label-row td {
+                font-weight: 500;
+                color: #666;
+            }
+
+            .nested-table .value-row td {
+                font-weight: 600;
+                color: #000;
+            }
+        }
+    </style>
 
     <!-- 内容区域 -->
     <div class="main-panel">
@@ -54,7 +214,7 @@
                                 @foreach($alldata['plays'] as $item)
                                     <tr>
                                         <td><a href="{{$item['url']}}" target="_blank">{{$item['name']}}</a></td>
-                                        <td><?php echo $item['package'] ?></td>
+                                        <td>{{ $item['package'] ?? '' }}</td>
                                         <td>
                                             @if($item['status']==200)
                                                 <span class="text-success">{{ __('auto.运行中') }}</span>
@@ -139,59 +299,69 @@
                                         </thead>
                                         <tbody>
                                         <tr>
-                                            <td style="height: 120px;width:23% ">
-                                                <div style="padding-bottom: 15%;">
-                                                    <div style="width: 33%;float:left;">{{ __('auto.今日新增') }}</div>
-                                                    <div style="width: 33%;float:left;">{{ __('auto.即时日环比') }}</div>
-                                                    <div style="width: 34%;float:left;">{{ __('auto.昨日总新增') }}</div>
-                                                </div>
-                                                <div style="padding-bottom: 3%;">
-                                                    <div style="width: 33%;float:left;">{{$data['today_register']}}</div>
-                                                    <div style="width: 33%;float:left;">{{$data['new_rhb']}}</div>
-                                                    <div style="width: 33%;float:left;">{{$data['yesterday_register']}}</div>
-                                                </div>
+                                            <td width="23%">
+                                                <table class="nested-table table-sm table-borderless">
+                                                    <tr class="label-row">
+                                                        <td width="33%">{{ __('auto.今日新增') }}</td>
+                                                        <td width="33%">{{ __('auto.即时日环比') }}</td>
+                                                        <td width="34%">{{ __('auto.昨日总新增') }}</td>
+                                                    </tr>
+                                                    <tr class="value-row">
+                                                        <td>{{$data['today_register']}}</td>
+                                                        <td>{{$data['new_rhb']}}</td>
+                                                        <td>{{$data['yesterday_register']}}</td>
+                                                    </tr>
+                                                </table>
                                             </td>
-                                            <td style="height: 120px;width:23% ">
-                                                <div style="padding-bottom: 15%;">
-                                                    <div style="width: 33%;float:left;">{{ __('auto.今日参游') }}</div>
-                                                    <div style="width: 33%;float:left;">{{ __('auto.日对比') }}</div>
-                                                    <div style="width: 34%;float:left;">{{ __('auto.昨日参游') }}</div>
-                                                </div>
-                                                <div style="padding-bottom: 3%;">
-                                                    <div style="width: 33%;float:left;">{{$data['today_play_rate']}}%</div>
-                                                    <div style="width: 33%;float:left;">{{$data['play_rhb']}}</div>
-                                                    <div style="width: 33%;float:left;">{{$data['yesterday_play_rate']}}%</div>
-                                                </div>
+                                            <td width="23%">
+                                                <table class="nested-table table-sm table-borderless">
+                                                    <tr class="label-row">
+                                                        <td width="33%">{{ __('auto.今日参游') }}</td>
+                                                        <td width="33%">{{ __('auto.日对比') }}</td>
+                                                        <td width="34%">{{ __('auto.昨日参游') }}</td>
+                                                    </tr>
+                                                    <tr class="value-row">
+                                                        <td>{{$data['today_play_rate']}}%</td>
+                                                        <td>{{$data['play_rhb']}}</td>
+                                                        <td>{{$data['yesterday_play_rate']}}%</td>
+                                                    </tr>
+                                                </table>
                                             </td>
-                                            <td style="height: 120px;">
-                                                <div style="padding-bottom: 15%;">
-                                                    <div style="width: 50%;float:left;">{{ __('auto.本日') }}</div>
-                                                    <div style="width: 50%;float:left;">{{ __('auto.日环比') }}</div>
-                                                </div>
-                                                <div style="padding-bottom: 3%">
-                                                    <div style="width: 50%;float:left;">{{$data['today_live']}}</div>
-                                                    <div style="width: 50%;float:left;">{{$data['live_rhb']}}</div>
-                                                </div>
+                                            <td width="18%">
+                                                <table class="nested-table table-sm table-borderless">
+                                                    <tr class="label-row">
+                                                        <td width="50%">{{ __('auto.本日') }}</td>
+                                                        <td width="50%">{{ __('auto.日环比') }}</td>
+                                                    </tr>
+                                                    <tr class="value-row">
+                                                        <td>{{$data['today_live']}}</td>
+                                                        <td>{{$data['live_rhb']}}</td>
+                                                    </tr>
+                                                </table>
                                             </td>
-                                            <td style="height: 120px;">
-                                                <div style="padding-bottom: 15%;">
-                                                    <div style="width: 50%;float:left;">{{ __('auto.本周') }}</div>
-                                                    <div style="width: 50%;float:left;">{{ __('auto.周环比') }}</div>
-                                                </div>
-                                                <div style="padding-bottom: 3%">
-                                                    <div style="width: 50%;float:left;">{{$data['week_login']}}</div>
-                                                    <div style="width: 50%;float:left;">{{$data['week_rhb']}}</div>
-                                                </div>
+                                            <td width="18%">
+                                                <table class="nested-table table-sm table-borderless">
+                                                    <tr class="label-row">
+                                                        <td width="50%">{{ __('auto.本周') }}</td>
+                                                        <td width="50%">{{ __('auto.周环比') }}</td>
+                                                    </tr>
+                                                    <tr class="value-row">
+                                                        <td>{{$data['week_login']}}</td>
+                                                        <td>{{$data['week_rhb']}}</td>
+                                                    </tr>
+                                                </table>
                                             </td>
-                                            <td style="height: 120px;">
-                                                <div style="padding-bottom: 15%;">
-                                                    <div style="width: 50%;float:left;">{{ __('auto.本月') }}</div>
-                                                    <div style="width: 50%;float:left;">{{ __('auto.月环比') }}</div>
-                                                </div>
-                                                <div style="padding-bottom: 3%">
-                                                    <div style="width: 50%;float:left;">{{$data['month_login']}}</div>
-                                                    <div style="width: 50%;float:left;">{{$data['month_rhb']}}</div>
-                                                </div>
+                                            <td width="18%">
+                                                <table class="nested-table table-sm table-borderless">
+                                                    <tr class="label-row">
+                                                        <td width="50%">{{ __('auto.本月') }}</td>
+                                                        <td width="50%">{{ __('auto.月环比') }}</td>
+                                                    </tr>
+                                                    <tr class="value-row">
+                                                        <td>{{$data['month_login']}}</td>
+                                                        <td>{{$data['month_rhb']}}</td>
+                                                    </tr>
+                                                </table>
                                             </td>
                                         </tr>
                                         </tbody>
@@ -212,65 +382,74 @@
                                             </thead>
                                             <tbody>
                                             <tr>
-                                                <td style="height: 120px;width: ">
-                                                    <div style="padding-bottom: 15%;">
-                                                        <div style="width: 33%;float:left;">{{ __('auto.今日充值') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.即时环比') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.昨日总额') }}</div>
-                                                    </div>
-                                                    <div style="padding-bottom: 3%;">
-                                                        <div style="width: 33%;float:left;">{{$data['today_pay_sum']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['pay_sum_rhb']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['yesterday_pay_sum']}}</div>
-                                                    </div>
+                                                <td width="22%">
+                                                    <table class="nested-table table-sm table-borderless">
+                                                        <tr class="label-row">
+                                                            <td width="33%">{{ __('auto.今日充值') }}</td>
+                                                            <td width="33%">{{ __('auto.即时环比') }}</td>
+                                                            <td width="34%">{{ __('auto.昨日总额') }}</td>
+                                                        </tr>
+                                                        <tr class="value-row">
+                                                            <td>{{$data['today_pay_sum']}}</td>
+                                                            <td>{{$data['pay_sum_rhb']}}</td>
+                                                            <td>{{$data['yesterday_pay_sum']}}</td>
+                                                        </tr>
+                                                    </table>
                                                 </td>
-                                                <td style="height: 120px;">
-                                                    <div style="padding-bottom: 15%;">
-                                                        <div style="width: 33%;float:left;">{{ __('auto.本日') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.即时环比') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.昨日总数') }}</div>
-                                                    </div>
-                                                    <div style="padding-bottom: 3%">
-                                                        <div style="width: 33%;float:left;">{{$data['today_pay_count']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['pay_count_rhb']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['yesterday_pay_count']}}</div>
-                                                    </div>
+                                                <td width="21%">
+                                                    <table class="nested-table table-sm table-borderless">
+                                                        <tr class="label-row">
+                                                            <td width="33%">{{ __('auto.本日') }}</td>
+                                                            <td width="33%">{{ __('auto.即时环比') }}</td>
+                                                            <td width="34%">{{ __('auto.昨日总数') }}</td>
+                                                        </tr>
+                                                        <tr class="value-row">
+                                                            <td>{{$data['today_pay_count']}}</td>
+                                                            <td>{{$data['pay_count_rhb']}}</td>
+                                                            <td>{{$data['yesterday_pay_count']}}</td>
+                                                        </tr>
+                                                    </table>
                                                 </td>
-                                                <td style="height: 120px;">
-                                                    <div style="padding-bottom: 20%;">
-                                                        <div style="width: 33%;float:left;">d0</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.即时环比') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.昨日') }}d0</div>
-                                                    </div>
-                                                    <div style="padding-bottom: 3%">
-                                                        <div style="width: 33%;float:left;">{{$data['d0_day_pay_count']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['d0_day_pay_rhb']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['d0_yday_pay_count']}}</div>
-                                                    </div>
+                                                <td width="21%">
+                                                    <table class="nested-table table-sm table-borderless">
+                                                        <tr class="label-row">
+                                                            <td width="33%">d0</td>
+                                                            <td width="33%">{{ __('auto.即时环比') }}</td>
+                                                            <td width="34%">{{ __('auto.昨日') }}d0</td>
+                                                        </tr>
+                                                        <tr class="value-row">
+                                                            <td>{{$data['d0_day_pay_count']}}</td>
+                                                            <td>{{$data['d0_day_pay_rhb']}}</td>
+                                                            <td>{{$data['d0_yday_pay_count']}}</td>
+                                                        </tr>
+                                                    </table>
                                                 </td>
-                                                <td style="height: 120px;">
-                                                    <div style="padding-bottom: 15%;">
-                                                        <div style="width: 33%;float:left;">{{ __('auto.本日') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.即时环比') }}</div>
-                                                        <div style="width: 33%;float:left;">{{ __('auto.昨日总新') }}</div>
-                                                    </div>
-                                                    <div style="padding-bottom: 3%">
-                                                        <div style="width: 33%;float:left;">{{$data['day_pay_count']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['day_pay_rhb']}}</div>
-                                                        <div style="width: 33%;float:left;">{{$data['yday_pay_count']}}</div>
-                                                    </div>
+                                                <td width="21%">
+                                                    <table class="nested-table table-sm table-borderless">
+                                                        <tr class="label-row">
+                                                            <td width="33%">{{ __('auto.本日') }}</td>
+                                                            <td width="33%">{{ __('auto.即时环比') }}</td>
+                                                            <td width="34%">{{ __('auto.昨日总新') }}</td>
+                                                        </tr>
+                                                        <tr class="value-row">
+                                                            <td>{{$data['day_pay_count']}}</td>
+                                                            <td>{{$data['day_pay_rhb']}}</td>
+                                                            <td>{{$data['yday_pay_count']}}</td>
+                                                        </tr>
+                                                    </table>
                                                 </td>
 
-                                                <td style="height: 120px;">
-                                                    <div style="padding-bottom: 20%;">
-                                                        <div style="width: 50%;float:left;">d0_ltv</div>
-                                                        <div style="width: 50%;float:left;">{{ __('auto.昨日') }}ltv</div>
-                                                    </div>
-                                                    <div style="padding-bottom: 3%">
-
-                                                        <div style="width: 50%;float:left;">{{$data['d0_day_pay']['ltv_now']}}</div>
-                                                        <div style="width: 50%;float:left;">{{$data['yes_day_pay']['ltv_now']}}</div>
-                                                    </div>
+                                                <td width="15%">
+                                                    <table class="nested-table table-sm table-borderless">
+                                                        <tr class="label-row">
+                                                            <td width="50%">d0_ltv</td>
+                                                            <td width="50%">{{ __('auto.昨日') }}ltv</td>
+                                                        </tr>
+                                                        <tr class="value-row">
+                                                            <td>{{$data['d0_day_pay']['ltv_now']}}</td>
+                                                            <td>{{$data['yes_day_pay']['ltv_now']}}</td>
+                                                        </tr>
+                                                    </table>
                                                 </td>
                                             </tr>
                                             </tbody>

+ 2 - 2
resources/views/admin/mail/back_mailRecord.blade.php

@@ -27,10 +27,10 @@
                                 <div>
                                     @csrf
                                     <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                    <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$GameID}}" >
+                                    <input class="form-control" type="text" name="GameID" id="GameID" value="{{$GameID}}" >
 
                                     <spen style="padding-left: 10px" >{{ __('auto.额度查询:') }}</spen>
-                                    <input class="form-control" type="text" name="amount" id="GameID" style="width: 10%; " value="{{$amount}}" >
+                                    <input class="form-control" type="text" name="amount" id="GameID" value="{{$amount}}" >
                                     <spen style="padding-left: 10px" >{{ __('auto.额度筛选:') }}</spen>
                                     <select class="form-control" name="amount_search" value="" style="color: black">
                                         <option value="">{{ __('auto.全部') }}</option>

+ 2 - 2
resources/views/admin/mail/list.blade.php

@@ -29,10 +29,10 @@
                                     @endforeach
                                 </select>
                                 <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$GameID}}" >
+                                <input class="form-control" type="text" name="GameID" id="GameID" value="{{$GameID}}" >
 
                                 <spen style="padding-left: 10px" >{{ __('auto.额度查询:') }}</spen>
-                                <input class="form-control" type="text" name="amount" id="GameID" style="width: 10%; " value="{{$amount}}" >
+                                <input class="form-control" type="text" name="amount" id="GameID" value="{{$amount}}" >
                                 <spen style="padding-left: 10px" >{{ __('auto.额度筛选:') }}</spen>
                                 <select class="form-control" name="amount_search" value="" style="color: black">
                                     <option value="">{{ __('auto.全部') }}</option>

+ 2 - 2
resources/views/admin/mail/mailRecord.blade.php

@@ -27,9 +27,9 @@
                                 <div>
                                     @csrf
                                     <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                    <input class="form-control" type="text" name="GameID" id="GameID" style="width: 10%; " value="{{$GameID}}" >
+                                    <input class="form-control" type="text" name="GameID" id="GameID" value="{{$GameID}}" >
                                     <spen style="padding-left: 10px" >{{ __('auto.额度查询:') }}</spen>
-                                    <input class="form-control" type="text" name="amount" id="GameID" style="width: 10%; " value="{{$amount}}" >
+                                    <input class="form-control" type="text" name="amount" id="GameID" value="{{$amount}}" >
                                     <spen style="padding-left: 10px" >{{ __('auto.额度筛选:') }}</spen>
                                     <select class="form-control" name="amount_search" value="" style="color: black">
                                         <option value="">{{ __('auto.全部') }}</option>

+ 1 - 1
resources/views/admin/protect/protect_config_info.blade.php

@@ -21,7 +21,7 @@
                 <div class="col-lg-12 grid-margin stretch-card">
                     <div class="card">
                         <div class="card-body">
-                            <h4 class="card-title">触底保护配置列表</h4>
+                            <h4 class="card-title">保护配置列表</h4>
                             <table class="table table-bordered">
                                 <thead>
                                 <tr>

+ 1 - 0
resources/views/admin/recharge/list.blade.php

@@ -195,6 +195,7 @@
                                 </tr>
                                 </thead>
                                 <tbody>
+
                                 @if (hidden() != 'service')
                                     <div>
                                         @if (!empty($chargeMoney))

+ 100 - 0
resources/views/admin/reward_code/history.blade.php

@@ -0,0 +1,100 @@
+@extends('base.base')
+@section('base')
+<div class="main-panel">
+    <div class="content-wrapper">
+        <div class="page-header">
+            <h3 class="page-title">
+                <span class="page-title-icon bg-gradient-primary text-white mr-2">
+                    <i class="mdi mdi-history"></i>
+                </span>
+                Reward Code Claim Records
+            </h3>
+        </div>
+
+        <div class="row mb-3">
+            <div class="col-12 grid-margin stretch-card">
+                <div class="card">
+                    <div class="card-body">
+                        <form class="form-inline" id="search-form" method="get" action="">
+                            <div class="form-group mr-3">
+                                <label class="mr-2">Code</label>
+                                <input type="text" class="form-control" name="code" value="{{ $code ?? '' }}" placeholder="Filter by Code">
+                            </div>
+                            <div class="form-group mr-3">
+                                <label class="mr-2">UserID</label>
+                                <input type="text" class="form-control" name="user_id" value="{{ $user_id ?? '' }}" placeholder="Filter by UserID">
+                            </div>
+                            <div class="form-group mr-3">
+                                <label class="mr-2">GameID</label>
+                                <input type="text" class="form-control" name="game_id" value="{{ $game_id ?? '' }}" placeholder="Filter by GameID">
+                            </div>
+                            <div class="form-group mr-3">
+                                <label class="mr-2">Start Date</label>
+                                <input type="date" class="form-control" name="start_date" value="{{ $start_date ?? '' }}">
+                            </div>
+                            <div class="form-group mr-3">
+                                <label class="mr-2">End Date</label>
+                                <input type="date" class="form-control" name="end_date" value="{{ $end_date ?? '' }}">
+                            </div>
+                            <button type="submit" class="btn btn-sm btn-gradient-primary mr-2">Search</button>
+                            <button type="button" class="btn btn-sm btn-gradient-warning" onclick="resetSearch()">Reset</button>
+                        </form>
+                    </div>
+                </div>
+            </div>
+        </div>
+
+        <div class="row">
+            <div class="col-lg-12 grid-margin stretch-card">
+                <div class="card">
+                    <div class="card-body">
+                        <h4 class="card-title">Claim Records List</h4>
+                        <div class="table-responsive">
+                            <table class="table table-bordered">
+                                <thead>
+                                <tr>
+                                    <th>ID</th>
+                                    <th>Code</th>
+                                    <th>UserID</th>
+                                    <th>GameID</th>
+                                    <th>NickName</th>
+                                    <th>Amount</th>
+                                    <th>Client IP</th>
+                                    <th>Created At</th>
+                                </tr>
+                                </thead>
+                                <tbody>
+                                @forelse($list as $item)
+                                    <tr>
+                                        <td>{{ $item->id }}</td>
+                                        <td><strong>{{ $item->code }}</strong></td>
+                                        <td>{{ $item->UserID }}</td>
+                                        <td>{{ $item->GameID }}</td>
+                                        <td>{{ $item->NickName }}</td>
+                                        <td>{{ number_format($item->amount, 2) }}</td>
+                                        <td>{{ $item->client_ip }}</td>
+                                        <td>{{ $item->created_at }}</td>
+                                    </tr>
+                                @empty
+                                    <tr>
+                                        <td colspan="8" class="text-center text-muted">No records found</td>
+                                    </tr>
+                                @endforelse
+                                </tbody>
+                            </table>
+                        </div>
+                        <div class="mt-3">
+                            {{ $list->appends(request()->all())->links() }}
+                        </div>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+<script>
+    function resetSearch() {
+        window.location.href = window.location.pathname;
+    }
+</script>
+@endsection

+ 136 - 0
resources/views/admin/reward_code/index.blade.php

@@ -0,0 +1,136 @@
+@extends('base.base')
+
+@section('base')
+    <div class="main-panel">
+        <div class="content-wrapper">
+            <div class="page-header">
+                <h3 class="page-title">
+                <span class="page-title-icon bg-gradient-primary text-white mr-2">
+                    <i class="mdi mdi-tag-text-outline"></i>
+                </span>
+                    {{ __('auto.Reward Code Management') }}
+                </h3>
+            </div>
+
+            <form class="form-inline mb-3" method="get" action="">
+                <div class="form-group mr-2">
+                    <label class="mr-1">{{ __('auto.Code') }}</label>
+                    <input type="text" name="code" class="form-control" value="{{ $code ?? '' }}" placeholder="e.g. AB12">
+                </div>
+                <div class="form-group mr-2">
+                    <label class="mr-1">{{ __('auto.Status') }}</label>
+                    <select name="status" class="form-control">
+                        <option value="">{{ __('auto.All') }}</option>
+                        <option value="1" @if($status==='1') selected @endif>{{ __('auto.Enabled') }}</option>
+                        <option value="0" @if($status==='0') selected @endif>{{ __('auto.Disabled') }}</option>
+                    </select>
+                </div>
+                <div class="form-group mr-2">
+                    <label class="mr-1">{{ __('auto.Expired') }}</label>
+                    <select name="expired" class="form-control">
+                        <option value="">{{ __('auto.All') }}</option>
+                        <option value="0" @if($expired==='0') selected @endif>{{ __('auto.Active') }}</option>
+                        <option value="1" @if($expired==='1') selected @endif>{{ __('auto.Expired') }}</option>
+                    </select>
+                </div>
+                <button type="submit" class="btn btn-primary">{{ __('auto.Search') }}</button>
+            </form>
+
+            @if(session('success'))
+                <div class="alert alert-success">{{ session('success') }}</div>
+            @endif
+
+            <div class="card mb-4">
+                <div class="card-header">{{ __('auto.Create Reward Code') }}</div>
+                <div class="card-body">
+                    <form method="post" action="/admin/reward-code">
+                        @csrf
+                        <div class="form-row">
+                            <div class="form-group col-md-2">
+                                <label>{{ __('auto.Total Amount') }}</label>
+                                <input type="number" name="total_amount" class="form-control" min="0.01" step="0.01" required>
+                            </div>
+                            <div class="form-group col-md-2">
+                                <label>{{ __('auto.Min Amount') }}</label>
+                                <input type="number" name="min_amount" class="form-control" min="0.01" step="0.01" required>
+                            </div>
+                            <div class="form-group col-md-2">
+                                <label>{{ __('auto.Max Amount') }}</label>
+                                <input type="number" name="max_amount" class="form-control" min="0.01" step="0.01" required>
+                            </div>
+                            <div class="form-group col-md-2">
+                                <label>{{ __('auto.Total Count') }}</label>
+                                <input type="number" name="total_count" class="form-control" min="1" required>
+                            </div>
+                            <div class="form-group col-md-2">
+                                <label>{{ __('auto.Expire At') }}</label>
+                                <input type="datetime-local" name="expire_at" class="form-control">
+                            </div>
+                        </div>
+                        <div class="form-row">
+                            <div class="form-group col-md-12">
+                                <label>{{ __('auto.Remark') }}</label>
+                                <input type="text" name="remark" class="form-control" maxlength="255">
+                            </div>
+                        </div>
+                        <button type="submit" class="btn btn-success">{{ __('auto.Create One Code') }}</button>
+                        <small class="text-muted ml-2">{{ __('auto.Total amount must be >= min * total count; min <= max.') }}</small>
+                    </form>
+                </div>
+            </div>
+
+            <div class="card">
+                <div class="card-header">{{ __('auto.Reward Code List') }}</div>
+                <div class="card-body table-responsive">
+                    <table class="table table-bordered table-sm">
+                        <thead>
+                        <tr>
+                            <th>{{ __('auto.ID') }}</th>
+                            <th>{{ __('auto.Code') }}</th>
+                            <th>{{ __('auto.Status') }}</th>
+                            <th>{{ __('auto.Expire At') }}</th>
+                            <th>{{ __('auto.Total Amount') }}</th>
+                            <th>{{ __('auto.Claimed Amount') }}</th>
+                            <th>{{ __('auto.Total Count') }}</th>
+                            <th>{{ __('auto.Claimed Count') }}</th>
+                            <th>{{ __('auto.Min') }}</th>
+                            <th>{{ __('auto.Max') }}</th>
+                            <th>{{ __('auto.Remark') }}</th>
+                            <th>{{ __('auto.Created At') }}</th>
+                            <th>{{ __('auto.Action') }}</th>
+                        </tr>
+                        </thead>
+                        <tbody>
+                        @foreach($list as $item)
+                            <tr>
+                                <td>{{ $item->id }}</td>
+                                <td><strong><a href="/admin/reward-code/history?code={{ $item->code }}" class="text-primary">{{ $item->code }}</a></strong></td>
+                                <td>{{ $item->status ? __('auto.Enabled') : __('auto.Disabled') }}</td>
+                                <td>{{ $item->expire_at }}</td>
+                                <td>{{ $item->total_amount }}</td>
+                                <td>{{ $item->claimed_amount }}</td>
+                                <td>{{ $item->total_count }}</td>
+                                <td>{{ $item->claimed_count }}</td>
+                                <td>{{ $item->min_amount }}</td>
+                                <td>{{ $item->max_amount }}</td>
+                                <td>{{ $item->remark }}</td>
+                                <td>{{ $item->created_at }}</td>
+                                <td>
+                                    <form method="post" action="/admin/reward-code/{{ $item->id }}/status" style="display:inline-block;">
+                                        @csrf
+                                        <input type="hidden" name="status" value="{{ $item->status ? 0 : 1 }}">
+                                        <button type="submit" class="btn btn-sm {{ $item->status ? 'btn-warning' : 'btn-success' }}">
+                                            {{ $item->status ? __('auto.Disable') : __('auto.Enable') }}
+                                        </button>
+                                    </form>
+                                </td>
+                            </tr>
+                        @endforeach
+                        </tbody>
+                    </table>
+                    {{ $list->links() }}
+                </div>
+            </div>
+        </div>
+    </div>
+@endsection

+ 1 - 1
resources/views/admin/subordinate/list.blade.php

@@ -25,7 +25,7 @@
                             <form class="well form-inline margin-top-20" method="get" action='/admin/subordinate/list'>
                                 <div>
                                     <spen style="padding-left: 10px" >{{ __('auto.游戏ID:') }}</spen>
-                                    <input class="form-control" type="text" name="game_id" style="width: 10%; " value="{{$game_id}}" placeholder="{{ __('auto.输入游戏') }}ID">
+                                    <input class="form-control" type="text" name="game_id" value="{{$game_id}}" placeholder="{{ __('auto.输入游戏') }}ID">
                                     <spen style="padding-left: 10px" >{{ __('auto.用户昵称:') }}</spen>
                                     <input class="form-control" type="text" name="nickname" style="width: 15%; " value="{{$nickname}}" placeholder="{{ __('auto.请输入用户昵称') }}">
                                     <spen style="padding-left: 10px" >{{ __('auto.注册时间:') }}</spen>

+ 2 - 2
resources/views/admin/user/bind_list.blade.php

@@ -29,9 +29,9 @@
                                 <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;
 
                                 <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                <input class="form-control" type="text" name="UserID" style="width: 10%; " value="{{$UserID}}" >
+                                <input class="form-control" type="text" name="UserID" value="{{$UserID}}" >
                                 <spen style="padding-left: 10px" >{{ __('auto.上级ID:') }}</spen>
-                                <input class="form-control" type="text" name="SpreaderID" style="width: 10%; " value="{{$SpreaderID}}" >
+                                <input class="form-control" type="text" name="SpreaderID" value="{{$SpreaderID}}" >
                                 <span>{{ __('auto.排序') }}</span>
                                 @component('components.select', [
                                 'name' => 'sort', 'options' => [

+ 2 - 2
resources/views/admin/user/daily_binding.blade.php

@@ -29,9 +29,9 @@
                                 <input type="datetime-local"  step="01" name="end_time" class="form-control" value="{{$end_time}}" id="end_time" onclick="end_times()"/>&nbsp;&nbsp;
 
                                 <spen style="padding-left: 10px" >{{ __('auto.会员ID:') }}</spen>
-                                <input class="form-control" type="text" name="GameID" style="width: 10%; " value="{{$GameID}}" >
+                                <input class="form-control" type="text" name="GameID" value="{{$GameID}}" >
                                 <spen style="padding-left: 10px" >{{ __('auto.上级ID:') }}</spen>
-                                <input class="form-control" type="text" name="SpreaderID" style="width: 10%; " value="{{$spreaderID}}" >
+                                <input class="form-control" type="text" name="SpreaderID" value="{{$spreaderID}}" >
                                 <span>{{ __('auto.选择创建时间') }}</span>
                                 <select name="date" id="" class="form-control">
                                     <option value="">{{ __('auto.请选择') }}</option>

+ 2 - 2
resources/views/admin/user/purchase.blade.php

@@ -24,9 +24,9 @@
                             <h4 class="card-title">{{ __('auto.购买记录') }}</h4>
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/purchase/{{$user_id}}'>
                                 {{ __('auto.商品名称:') }}
-                                <input class="form-control" type="text" name="order_title" style="width: 10%; " value="{{$order_title}}" placeholder="{{ __('auto.请输入商品名称') }}">
+                                <input class="form-control" type="text" name="order_title" value="{{$order_title}}" placeholder="{{ __('auto.请输入商品名称') }}">
                                 <spen style="padding-left: 10px" >{{ __('auto.订单号:') }}</spen>
-                                <input class="form-control" type="text" name="order_sn" style="width: 10%; " value="" placeholder="{{ __('auto.请输入订单号') }}">
+                                <input class="form-control" type="text" name="order_sn" value="" placeholder="{{ __('auto.请输入订单号') }}">
                                 <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
                                 <input type="date"  step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
                                 <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;

+ 1 - 1
resources/views/admin/user/score.blade.php

@@ -24,7 +24,7 @@
                             <h4 class="card-title">{{ __('auto.金豆记录') }}</h4>
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/score/{{$user_id}}'>
                                 <spen style="padding-left: 10px" >{{ __('auto.变化原因:') }}</spen>
-                                <input class="form-control" type="text" name="describe" style="width: 10%; " value="{{$describe}}" placeholder="{{ __('auto.输入变化原因') }}">
+                                <input class="form-control" type="text" name="describe" value="{{$describe}}" placeholder="{{ __('auto.输入变化原因') }}">
                                 <span style="padding-left: 10px" >{{ __('auto.游戏:') }}</span >
                                 <select class="form-control" name="game" value="">
                                     <option value="">{{ __('auto.请选择游戏') }}</option>

+ 1 - 1
resources/views/admin/user/score_change.blade.php

@@ -24,7 +24,7 @@
                             <h4 class="card-title">{{ __('auto.会员金额变化明细') }}</h4>
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/score_change'>
                                 <spen style="padding-left: 10px">{{ __('auto.变化原因:') }}</spen>
-                                {{--                                <input class="form-control" type="text" name="describe" style="width: 10%; " value="{{$describe}}" placeholder="{{ __('auto.输入变化原因') }}">--}}
+                                {{--                                <input class="form-control" type="text" name="describe" value="{{$describe}}" placeholder="{{ __('auto.输入变化原因') }}">--}}
                                 <select name="describe" id="" class="form-control">
                                     <option value="">{{ __('auto.请选择原因') }}</option>
                                     <option value="-1" @if (-1 == $describe)

+ 1 - 1
resources/views/admin/user/spreaders.blade.php

@@ -24,7 +24,7 @@
                             <h4 class="card-title">{{ __('auto.全民推广查询') }}</h4>
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/spreader'>
                                 {{ __('auto.推广员编号:') }}
-                                <input class="form-control" type="text" name="game_id" style="width: 10%; " value="{{$game_id}}" placeholder="{{ __('auto.请输入推广员编号') }}">
+                                <input class="form-control" type="text" name="game_id" value="{{$game_id}}" placeholder="{{ __('auto.请输入推广员编号') }}">
                                 <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
                                 <input type="date"  step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
                                 <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;

+ 4 - 4
resources/views/admin/user/user_list.blade.php

@@ -25,13 +25,13 @@
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/list'>
                                 <div>
                                     <spen style="padding-left: 10px" >{{ __('auto.用户编号:') }}</spen>
-                                    <input class="form-control" type="text" name="user_id" style="width: 10%; " value="{{$user_id}}" placeholder="{{ __('auto.请输入用户编号') }}">
+                                    <input class="form-control" type="text" name="user_id" value="{{$user_id}}" placeholder="{{ __('auto.请输入用户编号') }}">
                                     <spen style="padding-left: 10px" >{{ __('auto.游戏ID:') }}</spen>
-                                    <input class="form-control" type="text" name="game_id" style="width: 10%; " value="{{$game_id}}" placeholder="{{ __('auto.输入游戏') }}ID">
+                                    <input class="form-control" type="text" name="game_id" value="{{$game_id}}" placeholder="{{ __('auto.输入游戏') }}ID">
                                     <spen style="padding-left: 10px" >{{ __('auto.用户名:') }}</spen>
-                                    <input class="form-control" type="text" name="nickname" style="width: 10%; " value="{{$nickname}}" placeholder="{{ __('auto.输入用户名') }}">
+                                    <input class="form-control" type="text" name="nickname" value="{{$nickname}}" placeholder="{{ __('auto.输入用户名') }}">
                                     <spen style="padding-left: 10px" >{{ __('auto.手机号:') }}</spen>
-                                    <input class="form-control" type="text" name="mobile" style="width: 10%; " value="{{$mobile}}" placeholder="{{ __('auto.输入手机号') }}">
+                                    <input class="form-control" type="text" name="mobile" value="{{$mobile}}" placeholder="{{ __('auto.输入手机号') }}">
                                     <spen style="padding-left: 10px" >{{ __('auto.注册时间:') }}</spen>
                                     <input type="date"  step="01" name="start_time" class="form-control" value="{{$start_time}}" />
                                     <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />

+ 1 - 1
resources/views/admin/user/verification.blade.php

@@ -24,7 +24,7 @@
                             <h4 class="card-title">{{ __('auto.核销列表') }}</h4>
                             <form class="well form-inline margin-top-20" method="get" action='/admin/user/verif'>
                                 <spen style="padding-left: 10px" >{{ __('auto.用户编号:') }}</spen>
-                                <input class="form-control" type="text" name="user_id" style="width: 10%; " value="{{$user_id}}" placeholder="{{ __('auto.请输入用户编号') }}">
+                                <input class="form-control" type="text" name="user_id" value="{{$user_id}}" placeholder="{{ __('auto.请输入用户编号') }}">
                                 <spen style="padding-left: 10px" >{{ __('auto.选择时间:') }}</spen>
                                 <input type="date"  step="01" name="start_time" class="form-control" value="{{$start_time}}" />&nbsp;&nbsp;
                                 <input type="date"  step="01" name="end_time" class="form-control" value="{{$end_time}}" />&nbsp;&nbsp;

+ 2 - 0
resources/views/admin/web_channel_config/edit.blade.php

@@ -94,6 +94,8 @@
                                     <label>PlatformName --- {{__('auto.平台名称')}}</label>
                                     <select class="form-control" name="PlatformName">
                                         <option value="" @if($info->PlatformName == '') selected @endif>None</option>
+                                        <option value="ios" @if($info->PlatformName == 'ios') selected @endif>iOS线上包</option>
+                                        <option value="iosjump" @if($info->PlatformName == 'iosjump') selected @endif>iOS落地页+线上包</option>
                                         <option value="fb" @if($info->PlatformName == 'fb') selected @endif>Facebook (fb)</option>
                                         <option value="kwai" @if($info->PlatformName == 'kwai') selected @endif>海外快手 (kwai)</option>
                                         <option value="tt" @if($info->PlatformName == 'tt') selected @endif>Tiktok (tt)</option>

+ 211 - 1
resources/views/base/base.blade.php

@@ -26,11 +26,21 @@
     <script src="/assets/js/function.js"></script>
 
     <style>
+        /* 基础样式 */
+        html, body {
+            background-color: #f2edf3;
+        }
 
         .main-panel {
             max-width: 100%;
             overflow-x: scroll;
+            background-color: #f2edf3;
+        }
+
+        .content-wrapper {
+            background-color: #f2edf3;
         }
+
         .stretch-card > .card {
             width: 100%;
 
@@ -43,7 +53,7 @@
         /*    background-color: #F5F5F5;*/
         /*}*/
 
-        /*!*定义滚动条轨道 内阴影+圆*!*/
+        /*!*定义滚动条轨道 内阴影+圆*!*/
         /*::-webkit-scrollbar-track {*/
         /*    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
         /*    border-radius: 10px;*/
@@ -57,6 +67,202 @@
         /*    background-color: #b66dff;*/
         /*}*/
 
+        /* 表格响应式容器 */
+        .table-responsive {
+            display: block;
+            width: 100%;
+            overflow-x: auto;
+            -webkit-overflow-scrolling: touch;
+        }
+
+        /* 移动端响应式优化 */
+        @media screen and (max-width: 991px) {
+            /* 内容区域优化 */
+            html, body {
+                background-color: #f2edf3 !important;
+                min-height: 100vh;
+            }
+
+            .main-panel {
+                background-color: #f2edf3 !important;
+                min-height: 100vh;
+                width: 100% !important;
+            }
+
+            .content-wrapper {
+                padding: 1.5rem 1rem !important;
+                background-color: #f2edf3 !important;
+                min-height: 100vh;
+                width: 100% !important;
+            }
+
+            /* 修复row容器宽度 */
+            .row {
+                margin-left: 0 !important;
+                margin-right: 0 !important;
+                width: 100% !important;
+            }
+
+            /* 修复列宽度 */
+            .col-lg-12, .grid-margin {
+                padding-left: 0 !important;
+                padding-right: 0 !important;
+                width: 100% !important;
+            }
+
+            .stretch-card {
+                width: 100% !important;
+            }
+
+            .page-header {
+                flex-direction: column;
+                align-items: flex-start !important;
+                margin-bottom: 1rem;
+            }
+
+            .page-header .breadcrumb {
+                margin-top: 0.5rem;
+                font-size: 0.8rem;
+            }
+
+            .page-title {
+                font-size: 1.1rem !important;
+            }
+
+            .card {
+                margin-bottom: 1rem;
+                width: 100% !important;
+                background-color: #fff !important;
+            }
+
+            .card-body {
+                padding: 1rem !important;
+                width: 100% !important;
+                background-color: #fff !important;
+            }
+
+            .card-title {
+                font-size: 0.95rem !important;
+                margin-bottom: 0.75rem !important;
+            }
+
+            /* 按钮适配 */
+            .btn-sm {
+                font-size: 0.75rem !important;
+                padding: 0.375rem 0.75rem !important;
+            }
+
+            .btn-icon-text i {
+                font-size: 0.875rem !important;
+            }
+
+            /* 表格优化 - 保持水平滚动 */
+            .table-responsive {
+                margin: 0 -1rem;
+                padding: 0 1rem;
+            }
+
+            .table-bordered {
+                font-size: 0.8rem;
+                margin-bottom: 1rem;
+            }
+
+            .table-bordered th,
+            .table-bordered td {
+                padding: 0.5rem !important;
+                white-space: nowrap;
+                vertical-align: middle;
+            }
+
+            /* ID列固定 */
+            .table-bordered th:first-child,
+            .table-bordered td:first-child {
+                position: sticky;
+                left: 0;
+                background: #fff;
+                z-index: 2;
+                box-shadow: 2px 0 3px rgba(0,0,0,0.05);
+            }
+
+            .table-bordered thead th:first-child {
+                z-index: 3;
+                background: #f8f9fa;
+            }
+
+            /* 头像优化 */
+            .avatar {
+                max-width: 30px !important;
+                max-height: 30px !important;
+                border-radius: 50%;
+            }
+
+            /* 操作列按钮优化 */
+            .table-bordered td:last-child {
+                min-width: 200px;
+            }
+
+            .table-bordered td:last-child button {
+                margin: 2px;
+                padding: 0.25rem 0.5rem !important;
+                font-size: 0.7rem !important;
+            }
+
+            /* 分页优化 */
+            .box-footer {
+                font-size: 0.75rem;
+                padding: 0.5rem 0;
+            }
+
+            .pagination {
+                flex-wrap: wrap;
+                justify-content: center;
+                margin-top: 0.5rem;
+            }
+
+            .page-item {
+                margin: 2px;
+            }
+
+            .page-link {
+                padding: 0.375rem 0.75rem;
+                font-size: 0.75rem;
+            }
+        }
+
+        /* 更小屏幕优化 */
+        @media screen and (max-width: 576px) {
+            .content-wrapper {
+                padding: 1rem 0.5rem !important;
+            }
+
+            .page-title {
+                font-size: 1rem !important;
+            }
+
+            .card-body {
+                padding: 0.75rem !important;
+            }
+
+            .table-bordered {
+                font-size: 0.75rem;
+            }
+
+            .table-bordered th,
+            .table-bordered td {
+                padding: 0.4rem !important;
+            }
+
+            .btn-sm {
+                font-size: 0.7rem !important;
+                padding: 0.3rem 0.6rem !important;
+            }
+
+            .table-bordered td:last-child button {
+                font-size: 0.65rem !important;
+                padding: 0.2rem 0.4rem !important;
+            }
+        }
+
     </style>
 </head>
 
@@ -82,6 +288,10 @@
 
 
 <!-- End custom js for this page-->
+
+<!-- 表格滚动包裹脚本 -->
+<script src="/js/table-wrapper.js"></script>
+
 </body>
 
 </html>