Browse Source

修复一些问题,新增标签商城多选

tushan 1 year ago
parent
commit
5f5f064cc8
88 changed files with 249 additions and 25 deletions
  1. 2 2
      app/BaseController.php
  2. 17 2
      app/PluginsBase.php
  3. 2 1
      app/controller/Api.php
  4. 9 1
      app/controller/LinkStore.php
  5. 1 1
      app/controller/User.php
  6. 3 0
      app/controller/admin/Index.php
  7. 95 0
      app/model/CardModel.php
  8. 1 1
      auto_install.json
  9. 4 1
      install.sql
  10. 1 0
      public/dist/assets/about.1706520491627.css
  11. 1 0
      public/dist/assets/about.1706520491627.js
  12. BIN
      public/dist/assets/add.1706520491627.png
  13. 1 0
      public/dist/assets/add.1706520491627.svg
  14. 1 0
      public/dist/assets/addCard.1706520491627.css
  15. 1 0
      public/dist/assets/addCard.1706520491627.js
  16. 1 0
      public/dist/assets/addSearchEngine.1706520491627.css
  17. 0 0
      public/dist/assets/addSearchEngine.1706520491627.js
  18. 1 0
      public/dist/assets/addicon.1706520491627.css
  19. 0 0
      public/dist/assets/addicon.1706520491627.js
  20. 0 0
      public/dist/assets/appSide.1706520491627.css
  21. 0 0
      public/dist/assets/appSide.1706520491627.js
  22. 1 0
      public/dist/assets/arc.1706520491627.svg
  23. 0 0
      public/dist/assets/auth.1706520491627.svg
  24. BIN
      public/dist/assets/avatar.1706520491627.png
  25. 1 0
      public/dist/assets/class.1706520491627.svg
  26. 0 0
      public/dist/assets/clienthome.1706520491627.svg
  27. 1 0
      public/dist/assets/close.1706520491627.svg
  28. 1 0
      public/dist/assets/controller.1706520491627.css
  29. 0 0
      public/dist/assets/controller.1706520491627.js
  30. 1 0
      public/dist/assets/custom.1706520491627.css
  31. 0 0
      public/dist/assets/custom.1706520491627.js
  32. 1 0
      public/dist/assets/del.1706520491627.svg
  33. 1 0
      public/dist/assets/deskTopMouse.1706520491627.css
  34. 1 0
      public/dist/assets/deskTopMouse.1706520491627.js
  35. 0 0
      public/dist/assets/dialog.1706520491627.js
  36. 1 0
      public/dist/assets/edit.1706520491627.js
  37. 14 0
      public/dist/assets/edit.1706520491627.svg
  38. 1 0
      public/dist/assets/help.1706520491627.css
  39. 0 0
      public/dist/assets/help.1706520491627.js
  40. 1 0
      public/dist/assets/href.1706520491627.js
  41. 0 0
      public/dist/assets/iconGroup.1706520491627.css
  42. 0 0
      public/dist/assets/iconGroup.1706520491627.js
  43. 1 0
      public/dist/assets/iconGroupBox.1706520491627.css
  44. 0 0
      public/dist/assets/iconGroupBox.1706520491627.js
  45. 0 0
      public/dist/assets/index.1706520491627.css
  46. 0 0
      public/dist/assets/index.1706520491627.js
  47. 0 0
      public/dist/assets/index.17065204916272.css
  48. 7 0
      public/dist/assets/index.17065204916272.js
  49. 0 0
      public/dist/assets/index.17065204916273.css
  50. 0 0
      public/dist/assets/index.17065204916273.js
  51. 0 0
      public/dist/assets/index.17065204916274.css
  52. 14 0
      public/dist/assets/index.17065204916274.js
  53. 13 0
      public/dist/assets/jquery.1706520491627.js
  54. 0 0
      public/dist/assets/kong.1706520491627.svg
  55. 6 0
      public/dist/assets/lajitong.1706520491627.svg
  56. 1 0
      public/dist/assets/layout.1706520491627.css
  57. 0 0
      public/dist/assets/layout.1706520491627.js
  58. 1 0
      public/dist/assets/layout.1706520491627.svg
  59. 1 0
      public/dist/assets/linkstore.1706520491627.css
  60. 0 0
      public/dist/assets/linkstore.1706520491627.js
  61. 0 0
      public/dist/assets/mouseMenu.1706520491627.js
  62. 1 0
      public/dist/assets/net.1706520491627.js
  63. 1 0
      public/dist/assets/net.1706520491627.svg
  64. 1 0
      public/dist/assets/onlineMall.1706520491627.css
  65. 0 0
      public/dist/assets/onlineMall.1706520491627.js
  66. 1 0
      public/dist/assets/open.1706520491627.svg
  67. 1 0
      public/dist/assets/openType.1706520491627.css
  68. 1 0
      public/dist/assets/openType.1706520491627.js
  69. 1 0
      public/dist/assets/reload.1706520491627.svg
  70. 9 0
      public/dist/assets/search.1706520491627.svg
  71. 1 0
      public/dist/assets/searchEngine.1706520491627.css
  72. 0 0
      public/dist/assets/searchEngine.1706520491627.js
  73. 1 0
      public/dist/assets/setting.1706520491627.css
  74. 0 0
      public/dist/assets/setting.1706520491627.js
  75. 1 0
      public/dist/assets/setting.1706520491627.svg
  76. 1 0
      public/dist/assets/theme.1706520491627.css
  77. 0 0
      public/dist/assets/theme.1706520491627.js
  78. 1 0
      public/dist/assets/user.1706520491627.css
  79. 0 0
      public/dist/assets/user.1706520491627.js
  80. 0 0
      public/dist/assets/user.17065204916272.js
  81. 3 0
      public/dist/assets/wapp.1706520491627.svg
  82. 1 0
      public/dist/assets/webApp.1706520491627.css
  83. 0 0
      public/dist/assets/webApp.1706520491627.js
  84. BIN
      public/dist/assets/wiki.1706520491627.png
  85. 1 1
      public/dist/index.html
  86. 2 2
      public/index.php
  87. 10 10
      public/install.php
  88. 1 3
      route/app.php

+ 2 - 2
app/BaseController.php

@@ -98,8 +98,8 @@ class BaseController
      */
     public function getUser(bool $must = false)
     {
-        $id = $this->request->header("Userid");
-        $token = $this->request->header("Token", '');
+        $id = $this->request->header("Userid", $this->request->cookie('Userid',''));
+        $token = $this->request->header("Token", $this->request->cookie('Token',''));
         if ($id && $token) {
             if ($this->user_temp) return $this->user_temp;
             $user = TokenModel::where("user_id", $id)->where('token', $token)->field("user_id,token,create_time")->find();

+ 17 - 2
app/PluginsBase.php

@@ -2,7 +2,6 @@
 
 namespace app;
 
-use app\model\CardModel;
 use think\App;
 use think\View;
 
@@ -10,17 +9,22 @@ class PluginsBase
 {
     public ?View $view = null;
     public ?\think\Request $request = null;
+    public ?App $app = null;
 
     function __construct(App $app)
     {
         $this->request = $app->request;
         // 视图对象
         $this->view = new View($app);
+        $this->app = $app;
         $this->_initialize();
     }
-    function _initialize(){
+
+    function _initialize()
+    {
 
     }
+
     function assign($key, $view)
     {
         $this->view->assign($key, $view);
@@ -32,6 +36,17 @@ class PluginsBase
         return $this->view->fetch($view, $opt);
     }
 
+    public function getAdmin()
+    {
+        $info = new BaseController($this->app);
+        return $info->getAdmin();
+    }
+    public function getUser(bool $must = false)
+    {
+        $info = new BaseController($this->app);
+        return $info->getUser($must);
+    }
+
     public function success($msg, $data = []): \think\response\Json
     {
         if (is_array($msg)) {

+ 2 - 1
app/controller/Api.php

@@ -23,6 +23,7 @@ class Api extends BaseController
         }
         return $this->success("ok", [
             'email' => $this->Setting('email', ''),
+            'qqGroup' => $this->Setting("qqGroup", ''),
             "recordNumber" => $this->Setting("recordNumber", ''),
             "auth" => $auth
         ]);
@@ -150,7 +151,7 @@ class Api extends BaseController
                     if (count($list) > 0) {
                         $href = $list->href;
                         if ($this->hasOnlyPath($href)) {
-                            if ($href[0]!='/') {
+                            if ($href[0] != '/') {
                                 $href = "/" . $href;
                             }
                             $href = $realUrl . $href;

+ 9 - 1
app/controller/LinkStore.php

@@ -139,7 +139,15 @@ class LinkStore extends BaseController
         }
         return $this->success('处理完毕!');
     }
-
+    function moveFolder(): \think\response\Json
+    {
+        is_demo_mode(true);
+        $this->getAdmin();
+        $ids = $this->request->post('link', []);
+        $area = $this->request->post('area', '');
+        LinkStoreModel::where('id', 'in', $ids)->update(['area'=>$area]);
+        return $this->success('处理完毕!');
+    }
     public function del(): \think\response\Json
     {
         is_demo_mode(true);

+ 1 - 1
app/controller/User.php

@@ -36,7 +36,7 @@ class User extends BaseController
         $token = renderToken($user);
         $agent = $this->request->header("User-Agent");
         $agent = mb_substr($agent, 0, 250);
-        $auth = ["user_id" => $info['id'], 'token' => $token, 'create_time' => time(), 'ip' => $this->request->ip(), 'user_agent' => $agent];
+        $auth = ["user_id" => $info['id'], 'token' => $token, 'create_time' => time(), 'ip' => getRealIp(), 'user_agent' => $agent];
         $add = TokenModel::insert($auth);
         unset($auth['user_agent']);
         unset($auth['ip']);

+ 3 - 0
app/controller/admin/Index.php

@@ -259,6 +259,9 @@ class Index extends BaseController
                     'url' => $config['url'],
                     'window' => $config['window'],
                 ];
+                if (isset($config['setting'])) {
+                    $data['setting'] = $config['setting'];
+                }
                 $find = CardModel::where('name_en', $info['name_en'])->find();
                 if ($find) {
                     $find->force()->save($data);

+ 95 - 0
app/model/CardModel.php

@@ -2,6 +2,10 @@
 
 namespace app\model;
 
+use think\db\exception\DataNotFoundException;
+use think\db\exception\DbException;
+use think\db\exception\ModelNotFoundException;
+use think\facade\Cache;
 use think\Model;
 
 class CardModel extends Model
@@ -41,4 +45,95 @@ class CardModel extends Model
         }
         return false;
     }
+
+    /**
+     * 获取单个配置信息
+     * @param string $cardName
+     * @param string $key
+     * @param string $default
+     * @return mixed|string|null
+     */
+    public static function config(string $cardName = '', string $key = '', string $default = '')
+    {
+        $card = self::where('name_en', $cardName)->value('dict_option');
+        if ($card) {
+            try {
+                $json = json_decode($card, true);
+                if (isset($json[$key])) {
+                    return $json[$key];
+                }
+            } catch (\Exception $e) {
+            }
+
+            if ($default) {
+                return $default;
+            }
+            return null;
+        }
+        return null;
+    }
+
+    /**
+     * 获取整个配置信息 返回数组对象
+     * @param string $cardName
+     * @return mixed|string|null
+     */
+    public static function configs(string $cardName = '')
+    {
+        $card = self::where('name_en', $cardName)->value('dict_option');
+        if ($card) {
+            try {
+                return json_decode($card, true);
+            } catch (\Exception $e) {
+            }
+            return [];
+        }
+        return [];
+    }
+
+    /**
+     * 保存配置信息,完整的配置数组
+     * @param string $cardName
+     * @param array $option
+     * @return bool
+     * @throws DataNotFoundException
+     * @throws DbException
+     * @throws ModelNotFoundException
+     */
+    public static function saveConfigs(string $cardName = '', array $option = []): bool
+    {
+        $card = self::where('name_en', $cardName)->find();
+        if ($card) {
+            try {
+                $json = json_encode($option);
+                $card->save(['dict_option' => $json]);
+                return true;
+            } catch (\Exception $e) {
+            }
+        }
+        return false;
+    }
+
+
+    /**
+     * 保存单个配置信息,不存在则创建
+     * @param string $cardName
+     * @param string $key
+     * @param $value
+     * @return bool
+     * @throws DataNotFoundException
+     * @throws DbException
+     * @throws ModelNotFoundException
+     */
+    public static function saveConfig(string $cardName = '', string $key = '', $value=''): bool
+    {
+        $card = self::where('name_en', $cardName)->find();
+        if ($card) {
+            $config = self::configs($cardName);
+            $config[$key] = $value;
+            $card->save(['dict_option' => json_encode($config)]);
+            return true;
+        }
+        return false;
+    }
 }

+ 1 - 1
auto_install.json

@@ -7,7 +7,7 @@
     }
   ],
   "success_url": "/install.php",
-  "php_versions": "73,74",
+  "php_versions": "74",
   "db_config": "",
   "admin_username": "",
   "admin_password": "",

+ 4 - 1
install.sql

@@ -12,10 +12,13 @@ create table card
     url         varchar(255)  null comment '卡片地址',
     `window`    varchar(255)  null comment '窗口地址',
     update_time datetime      null,
-    install_num int default 0 null
+    install_num int default 0 null,
+    setting     varchar(200)  null comment '设置页面的url',
+    dict_option longtext      null comment '配置的参数'
 )
     comment '卡片数据表';
 
+
 create table config
 (
     user_id int  null,

+ 1 - 0
public/dist/assets/about.1706520491627.css

@@ -0,0 +1 @@
+.about>div{border-radius:8px;background-color:#fff;padding:15px;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:text;-moz-user-select:text;user-select:text}.about>div:hover{color:#6495ed}.about>div>span{font-size:13px}

+ 1 - 0
public/dist/assets/about.1706520491627.js

@@ -0,0 +1 @@
+import{r as a,X as e,c as l,d as s,e as t,x as u,m}from"./index.1706520491627.js";const r={class:"about"},n={key:0,class:"labelItem"},o=t("span",null,"联系邮箱",-1),c={class:"ml-4 text-yellow-500"},d={key:1,class:"labelItem mt-3"},p=t("span",null,"QQ交流群",-1),i={class:"ml-4 text-yellow-500"},v={key:2,class:"labelItem mt-3"},b=t("span",null,"备案号",-1),q={class:"ml-4 text-blue-500"},x={__name:"about",setup(x){const y=a({email:"",recordNumber:"",qq:""});return e({url:"/api/site"}).then((a=>{1===a.code&&(y.value=a.data)})),(a,e)=>(l(),s("div",r,[y.value.email?(l(),s("div",n,[o,t("span",c,u(y.value.email),1)])):m("",!0),y.value.qqGroup?(l(),s("div",d,[p,t("span",i,u(y.value.qqGroup),1)])):m("",!0),y.value.recordNumber?(l(),s("div",v,[b,t("span",q,u(y.value.recordNumber),1)])):m("",!0)]))}};export{x as default};

BIN
public/dist/assets/add.1706520491627.png


+ 1 - 0
public/dist/assets/add.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M25 40H7C5.34315 40 4 38.6569 4 37V11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V24.9412" stroke="#9013fe" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M4 11C4 9.34315 5.34315 8 7 8H41C42.6569 8 44 9.34315 44 11V20H4V11Z" fill="none" stroke="#9013fe" stroke-width="4"/><path d="M32 35H44" stroke="#9013fe" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M38 29V41" stroke="#9013fe" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><circle r="2" transform="matrix(-1.31134e-07 -1 -1 1.31134e-07 10 14)" fill="#9013fe"/><circle r="2" transform="matrix(-1.31134e-07 -1 -1 1.31134e-07 16 14)" fill="#9013fe"/></svg>

+ 1 - 0
public/dist/assets/addCard.1706520491627.css

@@ -0,0 +1 @@
+.addCardBox[data-v-fdb9e830]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(auto-fill,1fr);gap:15px}@media (max-width: 768px){.addCardBox[data-v-fdb9e830]{grid-template-columns:1fr}}.addCardBox>.cardItem[data-v-fdb9e830]{width:100%;height:100%;padding:15px;border-radius:10px;background-color:#44444b1a}.addCardBox>.cardItem>iframe[data-v-fdb9e830]{border-radius:12px;border:none;outline:none;width:100%;height:180px}.addCardWindow[data-v-fdb9e830]{position:relative;width:100%;height:100%;overflow-y:scroll;padding-bottom:20px}

+ 1 - 0
public/dist/assets/addCard.1706520491627.js

@@ -0,0 +1 @@
+import{_ as a,r as e,u as s,X as t,b as n,c as l,d as i,g as d,m as r,e as c,F as o,f as u,h as m,x as p,a1 as f,j as x,aa as v,k as _,T as y,af as g,L as k,D as b,E as h}from"./index.1706520491627.js";const w={class:"addCardWindow"},C={class:"addCardBox mt-2"},j={class:"cardItem"},z={class:"text-center text-base text-black"},I={class:"text-center text-gray-700 text-sm",style:{height:"40px",display:"flex","align-items":"center","justify-content":"center"}},L=["src"],B={class:"mt-4 flex justify-between"},D=(a=>(b("data-v-fdb9e830"),a=a(),h(),a))((()=>c("span",{class:"iconfont icon-redu text-red-500 text-lg"},null,-1)));var E=a({__name:"addCard",setup(a){const b=e(!1),h=s(),E=e([]);t({url:"/card/index"}).then((a=>{1===a.code&&(E.value=a.data,b.value=!0)}));return(a,e)=>{const s=n("el-empty"),F=n("el-button");return l(),i("div",w,[b.value&&0===E.value.length?(l(),d(s,{key:0,description:"目前还没有卡片应用哟!"})):r("",!0),c("div",C,[(l(!0),i(o,null,u(E.value,((a,e)=>(l(),d(y,{key:e},{default:m((()=>[c("div",j,[c("h3",z,p(a.name),1),c("div",I,[c("span",null,p(a.tips),1)]),c("iframe",{src:a.url,class:"mt-2"},null,8,L),c("div",B,[c("div",null,[D,f(" "+p(x(v)(a.install_num)),1)]),_(F,{onClick:e=>(async a=>{let e={sort:99999,id:g(),name:a.name,name_en:a.name_en,size:"2x4",src:a.src,url:a.url,window:a.window,type:"component",component:"plugins",app:1,tips:a.tips,version:a.version,origin_id:a.id};if(h.state.link.find((e=>{const{name_en:s=!1}=e;if(s&&s===a.name_en)return!0})))return k.error("您已添加过了!请勿重复添加相同卡片!"),!1;h.state.link.push(e),h.commit("updateLink"),await t({url:"/card/install_num",method:"post",data:{id:a.id}})})(a),size:"small",round:"",style:{"background-color":"rgba(243,243,243,0.45)"}},{default:m((()=>[f("添加 ")])),_:2},1032,["onClick"])])])])),_:2},1024)))),128))])])}}},[["__scopeId","data-v-fdb9e830"]]);export{E as default};

+ 1 - 0
public/dist/assets/addSearchEngine.1706520491627.css

@@ -0,0 +1 @@
+.searchEngineUserManager{position:absolute;top:10px;left:0;overflow-y:scroll;width:100%;height:calc(100% - 10px);padding:0 0 20px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.searchEngineUserManager>.myEngine{min-height:80px}.search-add-ico{position:absolute;border-radius:30px;right:11px;top:-11px;width:22px;height:22px;background-color:#008bd7;display:flex;justify-content:center;align-items:center;cursor:pointer}.search-del-ico{position:absolute;border-radius:30px;right:11px;top:-11px;width:22px;height:22px;background-color:#d70000;display:flex;justify-content:center;align-items:center;cursor:pointer}.searchEngineTitle{position:fixed;top:8px;width:230px;height:20px;left:15px;color:#0d0c22;font-size:15px}.customEngineName{width:105px;border-radius:4px;padding:6px 10px;font-size:12px;outline:none}.customEngineUrl{border-radius:4px;padding:6px 10px;font-size:12px;outline:none;flex:1}.addCustom{width:80px;flex-shrink:0;background:#04a3ff;padding:0 10px;outline:none;border:none;color:#fff;font-size:12px}@media (max-width: 500px){.addCustom{width:100%}}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/addSearchEngine.1706520491627.js


+ 1 - 0
public/dist/assets/addicon.1706520491627.css

@@ -0,0 +1 @@
+.selectCom{background-color:#7c94b0a6!important;color:#fff!important}.addIconBottom{display:grid;grid-template-columns:repeat(3,1fr)}@media (min-width: 500px){.addIconBottom{display:none}}.addIconBottom>div{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#000;height:50px}.addIconBottom>.selectCom{background-color:transparent!important;color:#1664ff!important}.addiconframe{height:100%;width:100%;display:flex}@media (max-width: 500px){.addiconframe{display:block}}.addiconframe>.left{width:145px;height:calc(100% + 28px);transform:translateY(-28px)}@media (max-width: 500px){.addiconframe>.left{display:none}}.addiconframe>.left .titleTop{height:80px;color:#000}.addiconframe>.left>.add-body>.add-type{cursor:pointer;display:flex;align-items:center;border-radius:5px;padding:8px 10px;font-size:15px;width:100%;color:#000;transition:all .3s}.addiconframe>.left>.add-body>.add-type>.iconfont{font-size:18px}.addiconframe>.left>.add-body>.add-type>span:not(.iconfont){margin-left:5px}.addiconframe>.right{width:calc(100% - 145px);padding:0 15px}@media (max-width: 500px){.addiconframe>.right{position:relative;width:100%;height:calc(100% - 55px);overflow-y:scroll}}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/addicon.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/appSide.1706520491627.css


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/appSide.1706520491627.js


+ 1 - 0
public/dist/assets/arc.1706520491627.svg

@@ -0,0 +1 @@
+<svg t="1704989608955" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2460" width="128" height="128"><path d="M512 512m-442.7 0a442.7 442.7 0 1 0 885.4 0 442.7 442.7 0 1 0-885.4 0Z" fill="#9BBFFD" p-id="2461"></path><path d="M512 512m-263 0a263 263 0 1 0 526 0 263 263 0 1 0-526 0Z" fill="#377FFC" p-id="2462"></path></svg>

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/auth.1706520491627.svg


BIN
public/dist/assets/avatar.1706520491627.png


+ 1 - 0
public/dist/assets/class.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="6" y="28" width="36" height="14" rx="4" stroke="#ff0000" stroke-width="4"/><path d="M20 7H10C7.79086 7 6 8.79086 6 11V17C6 19.2091 7.79086 21 10 21H20" stroke="#ff0000" stroke-width="4" stroke-linecap="round"/><circle cx="34" cy="14" r="8" fill="none" stroke="#ff0000" stroke-width="4"/><circle cx="34" cy="14" r="3" fill="#ff0000"/></svg>

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/clienthome.1706520491627.svg


+ 1 - 0
public/dist/assets/close.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14 14L34 34" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M14 34L34 14" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>

+ 1 - 0
public/dist/assets/controller.1706520491627.css

@@ -0,0 +1 @@
+.control-menu-item{display:flex;align-items:center;margin:5px 10px;padding:8px 10px;border-radius:6px;transition:all .3s;cursor:pointer}.control-menu-item:hover{background-color:#f3f4f6}.control-menu-item>.icons{padding:4px;border-radius:6px;display:block;font-size:17px}@media (max-width: 480px){.control-menu-item>.icons{font-size:20px}}.control-menu-item>.names{margin-left:3px;font-size:12px}.closeController{position:absolute;width:100%;bottom:30px;display:flex;align-items:center}.closeController>svg{margin-left:20px;width:25px;height:25px;cursor:pointer}.selectControl{background-color:#ebf3fd!important;color:#0095ff!important}.controller{z-index:201;min-width:360px;border-bottom-left-radius:50px;background-color:#fff;transform:translateZ(0)}.controller>.el-drawer__body{padding:0!important;height:100%}.controller .control-model{display:flex;height:100%}.controller .control-model .control-menu{min-width:72px;max-width:140px;height:100%}.controller .control-model .control-setting{flex:1;height:100%}.controller .control-model .control-setting .control-setting-top{width:100%;height:100px}.controller .control-model .control-setting .control-box{border-radius:10px 0 0;background-color:#f7f7f7;width:100%;height:calc(100% - 100px);padding:10px}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/controller.1706520491627.js


+ 1 - 0
public/dist/assets/custom.1706520491627.css

@@ -0,0 +1 @@
+.customBox{width:100%}.iconsel{position:absolute;color:#fff;width:60px;height:60px;font-size:20px;display:flex;align-items:center;justify-content:center;border-radius:var(--iconRadius);background-color:#0000001a}.colors-picker{width:30px;height:30px;background-color:#0ff;border-radius:4px}.input_div>.el-input__wrapper,.input_div>.el-textarea__inner{background-color:#e1e1e157;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.el-input__count,.el-input__count-inner{background-color:transparent!important}.bgColorPicker{display:flex;gap:15px;margin-right:15px;flex-wrap:wrap}.bgColorPicker>li{border:1px solid rgba(255,255,255,.47);width:32px;height:32px;border-radius:3px;display:flex;justify-content:center;align-items:center}.bgColorPicker>li>div{width:22px;height:22px;border-radius:2px;border:1px solid #8c939d}.touming{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAANJJREFUWEftlz0OAWEQhp9NREejonIHFWdwBx3ncAAH4BouoFO5AI2KSqWiYgoKmdeur/lWMpNs8052Z/Jk/rYgsxWZ41O7BKbAwKGyA1aC1ljoe8Cer/ZJYCkSWANz8SVL2rNNJBAEUghYQXWdijoAR1FsTaGfgIvjuwPXl151DoyAiQg0E3of6Dg+C/5uz0ggCNSOQOyCIBAE7BzrOfO7AbTFzN8K/fa8orw2N/0cyygI/CWBoaj2hdDttGuJi+jnLij7wUn2V13HyQHKXsyewAONol4hxQbtygAAAABJRU5ErkJggg==) no-repeat center / cover}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/custom.1706520491627.js


+ 1 - 0
public/dist/assets/del.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 15H40L37 44H11L8 15Z" fill="#2F88FF" stroke="#333" stroke-width="4" stroke-linejoin="round"/><path d="M20.002 25.0024V35.0026" stroke="#FFF" stroke-width="4" stroke-linecap="round"/><path d="M28.0024 24.9995V34.9972" stroke="#FFF" stroke-width="4" stroke-linecap="round"/><path d="M12 14.9999L28.3242 3L36 15" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>

+ 1 - 0
public/dist/assets/deskTopMouse.1706520491627.css

@@ -0,0 +1 @@
+.layoutSet{padding:0 10px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;grid-gap:10px;margin-bottom:10px}.layoutSet>div{cursor:pointer;width:100%;height:25px;line-height:25px;padding:0 10px;font-size:13px;border-radius:30px;background-color:#ffffffa4}.layoutSet>div:hover{background-color:#fff}.mouseMenu{position:fixed;width:120px;z-index:999;background-color:transparent;border-radius:3px 10px 10px;padding:10px 0}.mouseMenu:before{content:"";position:absolute;width:100%;height:100%;top:0;border-radius:3px 10px 10px;left:0;background:rgba(243,243,243,.7);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(40px);z-index:-1}.mouseMenu .mhover:hover{background-color:#fff}.mouseMenu .mouseItem{padding:0 10px;display:flex;align-items:center;min-height:35px;cursor:pointer}.mouseMenu .mouseItem>img{width:15px;height:15px}.mouseMenu .mouseItem>span{margin-left:5px;font-size:13px}

+ 1 - 0
public/dist/assets/deskTopMouse.1706520491627.js

@@ -0,0 +1 @@
+import{u as s,r as e,ae as o,q as t,o as l,c as n,d as a,e as i,l as u,p as m,m as p,af as d}from"./index.1706520491627.js";import{_ as c}from"./edit.1706520491627.js";import{b as r}from"./href.1706520491627.js";import"./dialog.1706520491627.js";const v=["onClick"],k=[i("img",{src:"/dist/assets/add.1706520491627.svg"},null,-1),i("span",null,"添加图标",-1)],g=["onClick"],f=[i("img",{src:"/dist/assets/class.1706520491627.svg"},null,-1),i("span",null,"创建分类",-1)],C=["onClick"],h=[i("img",{src:c},null,-1),i("span",null,"批量编辑",-1)],x=["onClick"],w=[i("img",{src:"/dist/assets/reload.1706520491627.svg"},null,-1),i("span",null,"刷新页面",-1)],I=["onClick"],M=[i("img",{src:"/dist/assets/setting.1706520491627.svg"},null,-1),i("span",null,"设置",-1)],j={__name:"deskTopMouse",setup(c){const j=s(),b=e(!1),y=o({top:"0px",left:"0px"}),L=()=>{r("tab://setting"),b.value=!1},T=()=>{let s={id:d(),size:"2x2",component:"iconGroup",name:"创建分组",type:"component",url:"iconGroup",children:[]};j.state.link.push(s),j.commit("updateLink"),b.value=!1},_=()=>{j.state.editStatus=!0,b.value=!1},E=()=>{r("tab://addicon"),b.value=!1},G=()=>{t.emit("reload"),b.value=!1},q=s=>{y.top=s.top+"px",y.left=s.left+"px",b.value=!0},z=s=>{b.value&&(b.value=!1)};return window.addEventListener("mousedown",z),t.on("deskTopMouse",q),l((()=>{window.removeEventListener("mousedown",z),t.off("deskTopMouse",q)})),(s,e)=>b.value?(n(),a("div",{key:0,class:"mouseMenu",style:m(y),onMousedown:e[0]||(e[0]=u((()=>{}),["stop"])),onContextmenu:e[1]||(e[1]=u((()=>{}),["prevent"]))},[i("div",{onClick:u(E,["stop"]),class:"mouseItem mhover"},k,8,v),i("div",{onClick:u(T,["stop"]),class:"mouseItem mhover"},f,8,g),i("div",{onClick:u(_,["stop"]),class:"mouseItem mhover"},h,8,C),i("div",{onClick:u(G,["stop"]),class:"mouseItem mhover"},w,8,x),i("div",{onClick:u(L,["stop"]),class:"mouseItem mhover"},M,8,I)],36)):p("",!0)}};export{j as default};

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/dialog.1706520491627.js


+ 1 - 0
public/dist/assets/edit.1706520491627.js

@@ -0,0 +1 @@
+var s="/dist/assets/edit.1706520491627.svg";export{s as _};

+ 14 - 0
public/dist/assets/edit.1706520491627.svg

@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none"
+  xmlns="http://www.w3.org/2000/svg">
+  <path
+    d="M20.0708 9.58588L15.8282 5.34324C15.0472 4.56219 13.7808 4.56219 12.9998 5.34324L7.34292 11.0001C6.56188 11.7811 6.56188 13.0475 7.34292 13.8285L11.5856 18.0712"
+    stroke="#fe13d8" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" />
+  <path
+    d="M28.9287 37.4143L33.1714 41.6569C33.9524 42.438 35.2187 42.438 35.9998 41.6569L41.6566 36.0001C42.4377 35.219 42.4377 33.9527 41.6566 33.1717L37.414 28.929"
+    stroke="#fe13d8" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" />
+  <rect x="34.6064" y="4.9082" width="12" height="42" rx="2" transform="rotate(45 34.6064 4.9082)" fill="none"
+    stroke="#fe13d8" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" />
+  <circle cx="24" cy="24" r="2" fill="#fe13d8" />
+  <circle cx="20" cy="28" r="2" fill="#fe13d8" />
+  <circle cx="28" cy="20" r="2" fill="#fe13d8" />
+</svg>

+ 1 - 0
public/dist/assets/help.1706520491627.css

@@ -0,0 +1 @@
+.help-card[data-v-7ad5c140]{width:100%;height:100%;border-radius:10px;overflow:scroll}.help-card[data-v-7ad5c140]::-webkit-scrollbar{display:none}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/help.1706520491627.js


+ 1 - 0
public/dist/assets/href.1706520491627.js

@@ -0,0 +1 @@
+import{q as e,P as n}from"./index.1706520491627.js";import{a as i}from"./dialog.1706520491627.js";const t={"tab://setting":()=>{e.emit("openController")},"tab://addSearchEngine":(n={})=>{n.size={width:window.innerWidth<500?"380px":"600px",height:"400px",top:window.innerHeight>700?"260px":"15vh"},n.component="addSearchEngine",e.emit("openPlugin",n)},"tab://addicon":(n={})=>{n.full=!1,n.size={width:window.innerWidth<500?"calc(100% - 15px)":"1000px",height:window.innerWidth>500?"550px":window.innerHeight-200+"px"},n.component="addicon",e.emit("openPlugin",n)},"tab://editAll":(e={})=>{setTimeout((()=>{n.state.editStatus=!0}),100)}};window.openCard=function(e){const{width:n=null,height:t=null,minHeight:o=null,minWidth:l=null}=e;new i({width:null==n?window.innerWidth<1250?850:1200:n,height:null==t?window.innerHeight<750?550:700:t,title:e.name,ico:e.src,url:e.url,minHeight:o,minWidth:l}).open()};const o=e=>{window.openCard({name:e.name,src:e.src,url:e.window})},l=(e,i=0)=>{const t=n.getters.find(e);if(t){const{app:e=0}=t;if(1===e){let e="";e=(/^http/.test(t.url),t.url),window.openCard({name:t.name,src:t.src,url:e})}else r(t.url)}},a=e=>{let n=document.createElement("a");n.href=e,n.target="_blank",n.click(),n.remove()},r=(e,i=!1)=>{if(t[e])t[e]();else if(i)a(e);else if(n.state.config.openType.linkOpen)a(e);else{let n=document.createElement("a");n.href=e,n.click(),n.remove()}};export{t as C,a,r as b,o,l as r};

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/iconGroup.1706520491627.css


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/iconGroup.1706520491627.js


+ 1 - 0
public/dist/assets/iconGroupBox.1706520491627.css

@@ -0,0 +1 @@
+.model{position:relative;width:calc(((var(--iconWidth) + 26px) * 8) + 60px);height:calc(4 * (var(--iconWidth) + 35px) + 60px);display:flex;align-items:center;justify-content:center;transform:translateY(-30px)!important}@media (max-width: 900px){.model{width:calc(((var(--iconWidth) + 26px) * 4) + 60px)}}#iconGroupBox{position:fixed;width:100vw;height:100vh;z-index:10;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);transition:all .5s;background-color:#3d3d3da1;display:flex;flex-direction:column;align-items:center;justify-content:center}#iconGroupBox .groupName{margin-bottom:30px;transform:translateY(-30px)}#iconGroupBox .groupName>.el-input{width:200px;height:35px;background-color:transparent}#iconGroupBox .groupName>.el-input>.el-input__wrapper{border-radius:10px;background-color:#8b8b8b53;border:3px solid rgba(255,255,255,.53);box-shadow:none!important}#iconGroupBox .groupName>.el-input>.el-input__wrapper>.el-input__inner{text-align:center;color:#fff}#iconGroupBox .iconGroupItem{overflow-y:scroll;transition:all .3s;transform:translateZ(0);width:-moz-max-content;width:max-content;height:calc(4 * (var(--iconWidth) + 40px));border-radius:var(--iconRadius);display:grid;padding:20px;background-color:#ffffff7d;grid-template-columns:repeat(8,var(--iconWidth));grid-column-gap:26px;grid-row-gap:5px;grid-auto-flow:dense;grid-template-rows:repeat(auto-fit,calc(var(--iconWidth) + 35px))}#iconGroupBox .iconGroupItem::-webkit-scrollbar{display:none}@media (max-width: 900px){#iconGroupBox .iconGroupItem{grid-template-columns:repeat(4,var(--iconWidth))}}.groupBox-enter-active,.groupBox-leave-active{transition:opacity .5s ease}.groupBox-enter-from,.groupBox-leave-to{opacity:0}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/iconGroupBox.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.1706520491627.css


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.17065204916272.css


File diff suppressed because it is too large
+ 7 - 0
public/dist/assets/index.17065204916272.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.17065204916273.css


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.17065204916273.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/index.17065204916274.css


File diff suppressed because it is too large
+ 14 - 0
public/dist/assets/index.17065204916274.js


File diff suppressed because it is too large
+ 13 - 0
public/dist/assets/jquery.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/kong.1706520491627.svg


+ 6 - 0
public/dist/assets/lajitong.1706520491627.svg

@@ -0,0 +1,6 @@
+<svg t="1696515581824" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
+     p-id="15507" width="128" height="128">
+    <path d="M186.402712 269.676475h651.194576a34.711864 34.711864 0 0 1 34.486237 38.634305l-76.817356 676.881356a34.711864 34.711864 0 0 1-34.486237 30.789423H263.220068a34.711864 34.711864 0 0 1-34.486237-30.789423l-76.817356-676.881356a34.711864 34.711864 0 0 1 34.486237-38.634305zM754.983051 121.491525h173.559322a34.711864 34.711864 0 0 1 34.711864 34.711865v17.355932a34.711864 34.711864 0 0 1-34.711864 34.711864H95.457627a34.711864 34.711864 0 0 1-34.711864-34.711864V156.20339a34.711864 34.711864 0 0 1 34.711864-34.711865h173.559322V34.711864a34.711864 34.711864 0 0 1 34.711865-34.711864h416.542372a34.711864 34.711864 0 0 1 34.711865 34.711864v86.779661z m-86.779661 0V86.779661a17.355932 17.355932 0 0 0-17.355932-17.355932H373.152542a17.355932 17.355932 0 0 0-17.355932 17.355932v34.711864h312.40678z"
+          fill="#fff" p-id="15508" data-spm-anchor-id="a313x.search_index.0.i5.a03d3a81KVu5ly"
+          class="selected"></path>
+</svg>

+ 1 - 0
public/dist/assets/layout.1706520491627.css

@@ -0,0 +1 @@
+.manager-menu{position:fixed;height:calc(100vh - 30px);width:145px;left:15px;top:15px;border-radius:12px;overflow:hidden}.manager-menu>ul{border-right:none!important}.Manager{background-color:#eee}.manager-view{margin-left:160px;width:calc(100% - 160px);min-height:100vh;background-color:#eee;padding:15px}.el-menu-item{min-width:100%!important}.clientHome{width:60px;height:60px}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/layout.1706520491627.js


+ 1 - 0
public/dist/assets/layout.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M23 20L23 6L6 6L6 20L23 20Z" fill="none" stroke="#0d8fec" stroke-width="4" stroke-linejoin="round"/><path d="M42 42V28L25 28L25 42H42Z" fill="none" stroke="#0d8fec" stroke-width="4" stroke-linejoin="round"/><path d="M31 6V20H42V6H31Z" fill="none" stroke="#0d8fec" stroke-width="4" stroke-linejoin="round"/><path d="M6 28L6 42H17V28H6Z" fill="none" stroke="#0d8fec" stroke-width="4" stroke-linejoin="round"/></svg>

+ 1 - 0
public/dist/assets/linkstore.1706520491627.css

@@ -0,0 +1 @@
+.logoiconRadius{height:55px;width:55px;border-radius:12px;border:2px solid #eeeeee}.bgColorPicker{display:flex;gap:15px;margin-right:15px}.bgColorPicker>li{border:1px solid #ccc;width:32px;height:32px;border-radius:3px;display:flex;justify-content:center;align-items:center}.bgColorPicker>li>div{width:22px;height:22px;border-radius:2px;border:1px solid #8c939d}.touming{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAANJJREFUWEftlz0OAWEQhp9NREejonIHFWdwBx3ncAAH4BouoFO5AI2KSqWiYgoKmdeur/lWMpNs8052Z/Jk/rYgsxWZ41O7BKbAwKGyA1aC1ljoe8Cer/ZJYCkSWANz8SVL2rNNJBAEUghYQXWdijoAR1FsTaGfgIvjuwPXl151DoyAiQg0E3of6Dg+C/5uz0ggCNSOQOyCIBAE7BzrOfO7AbTFzN8K/fa8orw2N/0cyygI/CWBoaj2hdDttGuJi+jnLij7wUn2V13HyQHKXsyewAONol4hxQbtygAAAABJRU5ErkJggg==) no-repeat center / cover}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/linkstore.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/mouseMenu.1706520491627.js


+ 1 - 0
public/dist/assets/net.1706520491627.js

@@ -0,0 +1 @@
+var s="/dist/assets/net.1706520491627.svg";export{s as _};

+ 1 - 0
public/dist/assets/net.1706520491627.svg

@@ -0,0 +1 @@
+<svg t="1705409061788" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3608" width="128" height="128"><path d="M511.5 82c-236.6 0-429 192.4-429 429 0 236.5 192.5 429 429 429 236.6 0 429-192.4 429-429 0-236.5-192.4-429-429-429z m377.6 403.8H734.3c-4-139.9-41.4-259.9-97.5-331.9C776.5 203 879 332 889.1 485.8z m-402.8-349v349h-147c5.5-175.5 68.6-322.6 147-349z m0 399.4v349c-78.4-26.4-141.4-173.5-147-349h147z m50.5 349v-349h147c-5.6 175.5-68.6 322.6-147 349z m0-399.4v-349c78.4 26.4 141.4 173.5 147 349h-147zM386.3 153.9c-56.1 72-93.5 192-97.5 331.9H133.9C144.1 332 246.5 203 386.3 153.9zM133.9 536.2h154.8c4 139.9 41.4 259.9 97.5 331.9C246.5 819 144.1 690 133.9 536.2z m502.8 331.9c56.1-72 93.5-192 97.5-331.9H889C879 690 776.5 819 636.7 868.1z" fill="#2c2c2c" p-id="3609"></path></svg>

+ 1 - 0
public/dist/assets/onlineMall.1706520491627.css

@@ -0,0 +1 @@
+.onlinemall{position:relative;width:100%;height:100%}.iconSearch{height:40px}.iconSearch>.el-input__wrapper{border-radius:30px}.iconSearch>.el-input__wrapper>input{font-size:14px;text-indent:10px!important}.linkscroll{position:relative;overflow-y:auto;width:100%;height:calc(100% - 100px)}.linkscroll::-webkit-scrollbar{display:none}.linklist{grid-gap:10px}.linklist>div{height:100px;border-radius:8px;background-color:#44444b1a;padding:10px}.linklist>div>.links{display:flex}.linklist>div>.links>.linklogo{flex-shrink:0;border-radius:8px;width:40px;height:40px;display:block}.linklist>div>.links>.linkTips{margin-left:10px;display:flex;color:#0d0c22;flex-direction:column}.linklist>div>.links>.linkTips>div{text-overflow:ellipsis;height:32px;overflow:hidden}.background-orange{background-color:#0080ff!important;color:#f3f3f3}.linkarea{width:100%;height:40px;display:flex;align-items:center;overflow-y:scroll;color:#0d0c22}.linkarea>div{cursor:pointer;flex-shrink:0;padding:3px 10px;font-size:12px;border-radius:20px;display:flex;background-color:#44444b1a}.iconSearch>.is-focus{box-shadow:0 0 0 1px #04a3ff!important}.iconSearch>.el-input__wrapper{background-color:#44444b1a;box-shadow:0 0 0 1px transparent}.iconSearch>.el-input__wrapper>input::-moz-placeholder{color:#505050}.iconSearch>.el-input__wrapper>input::placeholder{color:#505050}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/onlineMall.1706520491627.js


+ 1 - 0
public/dist/assets/open.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M21 43C16.2742 41.2327 12.3325 35.1851 10.3597 31.6428C9.50794 30.1134 9.95664 28.2347 11.3236 27.1411C12.8473 25.9222 15.0438 26.0438 16.4236 27.4236L18 29V17.5C18 16.1193 19.1193 15 20.5 15C21.8807 15 23 16.1193 23 17.5V23.5C23 22.1193 24.1193 21 25.5 21C26.8807 21 28 22.1193 28 23.5V25.5C28 24.1193 29.1193 23 30.5 23C31.8807 23 33 24.1193 33 25.5V27.5C33 26.1193 34.1193 25 35.5 25C36.8807 25 38 26.1193 38 27.5V35.368C38 36.4383 37.7354 37.496 37.1185 38.3707C36.0949 39.8219 34.255 42.0336 32 43C28.5 44.5 25.3701 44.6343 21 43Z" fill="#2F88FF" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M12 9L15 12" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M19 4L20 10" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M27 8L25 11" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>

+ 1 - 0
public/dist/assets/openType.1706520491627.css

@@ -0,0 +1 @@
+.openType>div{border-radius:6px;background-color:#fff;padding:10px;display:flex;align-items:center;justify-content:space-between}.openType>div>span{font-size:13px}

+ 1 - 0
public/dist/assets/openType.1706520491627.js

@@ -0,0 +1 @@
+import{u as e,b as l,c as n,d as a,e as o,k as s,j as p}from"./index.1706520491627.js";const u={class:"openType space-y-2"},t=o("span",null,"搜索新页面打开",-1),c=o("span",null,"标签新页面打开",-1),d=o("span",null,"进入程序自动聚焦搜索",-1),m=o("span",null,"搜索词联想功能",-1),i=o("span",null,"图标快捷搜索展示",-1),g={__name:"openType",setup(g){const f=e(),V=()=>{f.commit("updateConfig")};return(e,g)=>{const r=l("el-switch");return n(),a("div",u,[o("div",null,[t,s(r,{onChange:V,modelValue:p(f).state.config.openType.searchOpen,"onUpdate:modelValue":g[0]||(g[0]=e=>p(f).state.config.openType.searchOpen=e),class:"ml-2"},null,8,["modelValue"])]),o("div",null,[c,s(r,{onChange:V,modelValue:p(f).state.config.openType.linkOpen,"onUpdate:modelValue":g[1]||(g[1]=e=>p(f).state.config.openType.linkOpen=e),class:"ml-2"},null,8,["modelValue"])]),o("div",null,[d,s(r,{onChange:V,modelValue:p(f).state.config.openType.autofocus,"onUpdate:modelValue":g[2]||(g[2]=e=>p(f).state.config.openType.autofocus=e),class:"ml-2"},null,8,["modelValue"])]),o("div",null,[m,s(r,{onChange:V,modelValue:p(f).state.config.openType.searchRecommend,"onUpdate:modelValue":g[3]||(g[3]=e=>p(f).state.config.openType.searchRecommend=e),class:"ml-2"},null,8,["modelValue"])]),o("div",null,[i,s(r,{onChange:V,modelValue:p(f).state.config.openType.searchLink,"onUpdate:modelValue":g[4]||(g[4]=e=>p(f).state.config.openType.searchLink=e),class:"ml-2"},null,8,["modelValue"])])])}}};export{g as default};

+ 1 - 0
public/dist/assets/reload.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M42 8V24" stroke="#ff4800" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M6 24L6 40" stroke="#ff4800" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519" stroke="#ff4800" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>

+ 9 - 0
public/dist/assets/search.1706520491627.svg

@@ -0,0 +1,9 @@
+<svg width="22" height="22" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
+          <path
+            d="M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z"
+            fill="none" stroke="#747474" stroke-width="4" stroke-linejoin="round" />
+          <path d="M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431"
+            stroke="#747474" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" />
+          <path d="M33.2216 33.2217L41.7069 41.707" stroke="#747474" stroke-width="4" stroke-linecap="round"
+            stroke-linejoin="round" />
+        </svg>

+ 1 - 0
public/dist/assets/searchEngine.1706520491627.css

@@ -0,0 +1 @@
+.searchEngineLogo[data-v-73d46173]{width:40px;height:40px;border-radius:12px;border:2px solid #eeeeee;padding:5px;margin:auto}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/searchEngine.1706520491627.js


+ 1 - 0
public/dist/assets/setting.1706520491627.css

@@ -0,0 +1 @@
+.el-card{border-radius:8px!important}.avatar-uploader .avatar{width:100px;height:100px;display:block;border-radius:12px}.avatar-uploader .el-upload{border:1px dashed var(--el-border-color);border-radius:6px;cursor:pointer;position:relative;overflow:hidden;transition:var(--el-transition-duration-fast)}.avatar-uploader .el-upload:hover{border-color:var(--el-color-primary)}.el-icon.avatar-uploader-icon{font-size:28px;color:#8c939d;width:100px;height:100px;text-align:center}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/setting.1706520491627.js


+ 1 - 0
public/dist/assets/setting.1706520491627.svg

@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 4L18 10H10V18L4 24L10 30V38H18L24 44L30 38H38V30L44 24L38 18V10H30L24 4Z" fill="none" stroke="#5105ff" stroke-width="4" stroke-linejoin="round"/><path d="M24 30C27.3137 30 30 27.3137 30 24C30 20.6863 27.3137 18 24 18C20.6863 18 18 20.6863 18 24C18 27.3137 20.6863 30 24 30Z" fill="none" stroke="#5105ff" stroke-width="4" stroke-linejoin="round"/></svg>

+ 1 - 0
public/dist/assets/theme.1706520491627.css

@@ -0,0 +1 @@
+.theme-control{position:relative;overflow-y:scroll;height:100%}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/theme.1706520491627.js


+ 1 - 0
public/dist/assets/user.1706520491627.css

@@ -0,0 +1 @@
+.user-control{position:relative;height:100%;overflow-y:scroll}.user-control [userBox]{border-radius:10px;background-color:#fff;padding:10px;display:flex;flex-direction:column;align-items:center}.user-control [userBox]>div{width:100%;display:flex;flex-direction:column;align-items:center;font-size:13px}.user-control [userBox]>div>.iconfont{font-size:30px}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/user.1706520491627.js


File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/user.17065204916272.js


+ 3 - 0
public/dist/assets/wapp.1706520491627.svg

@@ -0,0 +1,3 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg t="1686753105122" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1718"
+     width="48" height="48"><path d="M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z m256.717 460.186a151.962 151.962 0 0 1-87.347 65.74 83.251 83.251 0 0 1-24.474 4.096 29.082 29.082 0 0 1 0-58.163 15.667 15.667 0 0 0 6.451-1.229 91.443 91.443 0 0 0 55.91-40.96 75.264 75.264 0 0 0 11.06-39.628c0-45.978-42.496-83.866-94.31-83.866a105.267 105.267 0 0 0-51.2 13.414 81.92 81.92 0 0 0-43.725 70.452v244.224a138.445 138.445 0 0 1-72.704 120.422 159.642 159.642 0 0 1-79.77 20.48c-84.378 0-153.6-63.488-153.6-142.029a136.192 136.192 0 0 1 19.763-69.837 151.962 151.962 0 0 1 87.347-65.74 85.914 85.914 0 0 1 24.474-4.096 29.082 29.082 0 1 1 0 58.163 15.667 15.667 0 0 0-6.451 1.229 95.949 95.949 0 0 0-55.91 40.96 75.264 75.264 0 0 0-11.06 39.628c0 45.978 42.496 83.866 94.925 83.866a105.267 105.267 0 0 0 51.2-13.414 81.92 81.92 0 0 0 43.622-70.452V390.35a138.752 138.752 0 0 1 72.807-120.525 151.245 151.245 0 0 1 79.155-21.504c84.378 0 153.6 63.488 153.6 142.029a136.192 136.192 0 0 1-19.763 69.837z" fill="#FF7E05" p-id="1719" data-spm-anchor-id="a313x.7781069.0.i0" class=""></path></svg>

+ 1 - 0
public/dist/assets/webApp.1706520491627.css

@@ -0,0 +1 @@
+.manager-webApp{min-height:calc(100vh - 30px)}.webappItem{min-height:calc(100vh - 123px)}.card-box{display:grid;grid-template-columns:repeat(4,minmax(300px,450px));grid-template-rows:repeat(auto-fill,max-content);gap:20px}@media (max-width: 1700px){.card-box{grid-template-columns:repeat(3,minmax(300px,500px))}}@media (max-width: 1300px){.card-box{grid-template-columns:repeat(2,minmax(300px,600px))}}@media (max-width: 1000px){.card-box{grid-template-columns:repeat(1,1fr)}}.card-box .card-box-item{box-shadow:0 0 5px #e7e7e7;border-radius:10px;padding:20px;height:100%}.card-box .card-box-item .card-box-item-logo{width:60px;height:60px;border-radius:12px;box-shadow:0 0 5px #f5f5f5}.card-swipe{width:100%;display:flex;height:-moz-max-content;height:max-content;justify-content:center;background:#fff;padding:15px 0;border-radius:10px}.card-swipe .card-swipe-item{width:-moz-max-content;width:max-content;overflow:hidden;border:3px solid #ffffff;box-shadow:0 0 5px #d2d1d1;border-radius:50px}.card-swipe .card-swipe-item>button{padding:5px 20px;height:40px;width:100px;background:#fff;font-size:14px;border-radius:50px;transition:all .2s}.selSwipe{background:#04a3ff!important;color:#fff}

File diff suppressed because it is too large
+ 0 - 0
public/dist/assets/webApp.1706520491627.js


BIN
public/dist/assets/wiki.1706520491627.png


+ 1 - 1
public/dist/index.html

@@ -1 +1 @@
-<!doctype html><html lang="zh"><head><meta charset="UTF-8"/><link href="{$favicon}" rel="icon"/><meta name="version" content="{$version}"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>{$title}</title>{$customHead|raw}<meta content="{$keywords}" name="keywords"/><meta content="{$description}" name="description"/><script type="module" crossorigin src="/dist/assets/index.1706205343582.js"></script><link rel="stylesheet" href="/dist/assets/index.17062053435824.css"></head><body><div id="app"></div></body></html>
+<!doctype html><html lang="zh"><head><meta charset="UTF-8"/><link href="{$favicon}" rel="icon"/><meta name="version" content="{$version}"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>{$title}</title>{$customHead|raw}<meta content="{$keywords}" name="keywords"/><meta content="{$description}" name="description"/><script type="module" crossorigin src="/dist/assets/index.1706520491627.js"></script><link rel="stylesheet" href="/dist/assets/index.17065204916274.css"></head><body><div id="app"></div></body></html>

+ 2 - 2
public/index.php

@@ -10,8 +10,8 @@
 // +----------------------------------------------------------------------
 // [ 应用入口文件 ]
 namespace think;
-define('app_version', '1.3.7');
-define('app_version_code', 37);
+define('app_version', '1.3.9');
+define('app_version_code', 39);
 require __DIR__ . '/../vendor/autoload.php';
 
 // 执行HTTP应用并响应

+ 10 - 10
public/install.php

@@ -5,11 +5,11 @@ function params($key, $default_value = '')
 }
 
 $run = true;
- if (file_exists('./installed.lock')) {//如果没有安装的就提示安装
-     header('Location: /');
-     $run = false;
-     return false;//阻止后续执行
- }
+if (file_exists('./installed.lock')) {//如果没有安装的就提示安装
+    header('Location: /');
+    $run = false;
+    return false;//阻止后续执行
+}
 if (!$run) {
     exit();
 }
@@ -17,7 +17,7 @@ if (!$run) {
 $phpVersion = phpversion();
 // 检查是否大于7.4
 $php_version = false;
-if (version_compare($phpVersion, '7.3', '>')) {
+if (version_compare($phpVersion, '7.4', '>')) {
     $php_version = true;
 }
 $fileinfo_ext = false;
@@ -57,10 +57,10 @@ function isDatabaseVersionValid($conn): bool
     if (strpos($serverInfo, 'MariaDB') !== false) {
         preg_match('/^(\d+\.\d+\.\d+)/', $serverInfo, $matches);
         $mariaDbVersion = $matches[1];
-        if (version_compare(trim($mariaDbVersion), '10.2.7', '>=')) {//验证MariaDB数据库版本是否大于10.2.7
+        if (version_compare(trim($mariaDbVersion), '10.2.3', '>=')) {//验证MariaDB数据库版本是否大于10.2.3
             return true;
         }else{
-            $error = '<div style="text-align: center">数据库相关错误,详细信息如下</div>' . "<div style='margin-top:15px;text-align: center'>MariaDB版本低于10.2.7,请升级MariaDB版本至10.2.7及以上!</div>";
+            $error = '<div style="text-align: center">数据库相关错误,详细信息如下</div>' . "<div style='margin-top:15px;text-align: center'>MariaDB版本低于10.2.3,请升级MariaDB版本至10.2.3及以上!</div>";
             return false;
         }
     }
@@ -326,8 +326,8 @@ EOF;
                     style="color: red">却</b>安装最新版的代码,否则导致有些服务异常)
         </label>
         <input type='submit' value='安装' style="margin-top: 30px">
-        <div style='margin-top: 30px;font-size: 14px;line-height: 24px;display: flex;flex-direction: column;align-items: center'>
-            温馨提示:如果您在安装阶段出现问题或对安装方式不知如何操作,可联系我们为您提供解决方法或辅助您安装,本服务不收费
+        <div style='margin-top: 30px;font-size: 14px;line-height: 24px;display: flex;flex-direction: column;align-items: center;text-align: center'>
+            <b style="font-size: 18px">温馨提示</b>如果您在安装阶段出现问题或对安装方式(特别是Nas部署用户)不知如何操作,可联系我们为您提供解决方法或辅助您安装,本服务不收费
             <a target='_blank'
                style='text-decoration: none;color: #ffffff;padding: 5px 15px;background: #1e9fff;border-radius: 30px;margin-top: 10px;'
                href='https://mtab.cc'>点我跳转至官网,点击右下角客服即可联系</a>

+ 1 - 3
route/app.php

@@ -22,9 +22,7 @@ Route::group("/plugins", function () {
                 $router = $pluginsDir . $item . '/route.php';
                 if (file_exists($router)) {
                     $_ENV['plugins_dir_name'] = $pluginsDir . $item;
-                    if (\app\model\CardModel::cardStatus($pluginsDirName)) {
-                        include_once $router;
-                    }
+                    include_once $router;
                     break;
                 }
             }

Some files were not shown because too many files changed in this diff