From 709c250c349faaec675f13227363e4f54793539b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 06 八月 2020 15:40:27 +0800
Subject: [PATCH] build: 添加app分类脚本

---
 src/pages/desktop/index/mock/userData.json |  124 ++++++++++++++++++-----------------------
 1 files changed, 55 insertions(+), 69 deletions(-)

diff --git a/src/pages/desktop/index/mock/userData.json b/src/pages/desktop/index/mock/userData.json
index 5e2e466..fee5e06 100644
--- a/src/pages/desktop/index/mock/userData.json
+++ b/src/pages/desktop/index/mock/userData.json
@@ -5,147 +5,133 @@
     "docks": [
       {
         "id": "5",
+        "name": "gb28181",
         "src": "../../images/app-mid/GB-config.png",
-        "alt": "GB28281閰嶇疆",
+        "alt": "GB28181閰嶇疆",
         "type": "2",
         "url": "/view/gb28181",
-        "name": "GB28281閰嶇疆"
+        "title": "GB28181閰嶇疆",
+        "width": 600,
+        "height": 900
       },
       {
         "id": "12",
+        "name": "cameraVideo",
         "src": "../../images/app-mid/monitor.png",
-        "alt": "瀹炴椂鐩戞帶-鍦ㄧ嚎鎾斁",
+        "alt": "瀹炴椂鐩戞帶",
         "type": "2",
         "url": "/view/cameraVideo",
-        "name": "瀹炴椂鐩戞帶-鍦ㄧ嚎鎾斁"
+        "title": "瀹炴椂鐩戞帶",
+        "width": 1528,
+        "height": 915
       },
       {
         "id": "9",
-        "src": "../../images/app-mid/algorithm-manage.png",
-        "alt": "绠楁硶绠$悊",
+        "name": "algorithmManage",
+        "src": "../../images/app-mid/algorithm-store.png",
+        "alt": "搴旂敤涓績",
         "type": "2",
-        "url": "/view/algorithmManage",
-        "name": "绠楁硶绠$悊"
+        "url": "/view/ai",
+        "title": "搴旂敤涓績",
+        "width": 1528,
+        "height": 915
       },
       {
         "id": "1",
+        "name": "cameraAccess",
         "src": "../../images/app-mid/camera-access.png",
         "alt": "camera-access",
         "type": "2",
-        "url": "/view/camera",
-        "name": "鎽勫儚鏈烘帴鍏�"
+        "url": "/view/cameraAccess",
+        "title": "鎽勫儚鏈洪厤缃�",
+        "width": 1876,
+        "height": 900
       },
       {
         "id": "2",
+        "name": "dataStack",
         "src": "../../images/app-mid/datastack-config.png",
         "alt": "datastack-config",
         "type": "2",
-        "url": "/view/datastack",
-        "name": "鏁版嵁鏍堥厤缃�"
-      },
-      {
-        "id": "3",
-        "src": "../../images/app-mid/DVR-access.png",
-        "alt": "DVR",
-        "type": "2",
-        "url": "/view/DVR",
-        "name": "纭洏褰曞儚鏈烘帴鍏�"
+        "url": "/view/cameraAccess?dataStack=1",
+        "title": "鏁版嵁鏍堥厤缃�",
+        "width": 1876,
+        "height": 750
       },
       {
         "id": "4",
+        "name": "datapush",
         "src": "../../images/app-mid/data-push.png",
         "alt": "data-push",
         "type": "2",
         "url": "/view/datapush",
-        "name": "鏁版嵁鎺ㄩ��"
-      },
-      {
-        "id": "6",
-        "src": "../../images/app-mid/scene-config.png",
-        "alt": "鍦烘櫙閰嶇疆",
-        "type": "2",
-        "url": "/view/scene",
-        "name": "鍦烘櫙閰嶇疆"
+        "title": "鏁版嵁鎺ㄩ��"
       },
       {
         "id": "7",
+        "name": "library",
         "src": "../../images/app-mid/library.png",
         "alt": "姣斿搴撶鐞�",
         "type": "2",
-        "url": "/view/gb28181",
-        "name": "姣斿搴撶鐞�"
-      },
-      {
-        "id": "8",
-        "src": "../../images/app-mid/poll.png",
-        "alt": "杞绠$悊",
-        "type": "2",
-        "url": "/view/poll",
-        "name": "杞绠$悊"
-      },
-      {
-        "id": "10",
-        "src": "../../images/app-mid/algorithm-store.png",
-        "alt": "绠楁硶鍟嗗煄",
-        "type": "2",
-        "url": "/view/algorithmStore",
-        "name": "绠楁硶鍟嗗煄"
+        "url": "/view/library",
+        "title": "姣斿搴撶鐞�",
+        "width": 1542,
+        "height": 800
       },
       {
         "id": "11",
+        "name": "analysisPower",
         "src": "../../images/app-mid/hashrate-manage.png",
         "alt": "绠楀姏绠$悊",
         "type": "2",
         "url": "/view/analysisPower",
-        "name": "绠楀姏绠$悊"
+        "title": "绠楀姏绠$悊",
+        "width": 1720,
+        "height": 800
       },
       {
         "id": "13",
+        "name": "search",
         "src": "../../images/app-mid/search.png",
-        "alt": "妫�绱�-缁熻鏌ヨ",
+        "alt": "缁熻鏌ヨ",
         "type": "2",
         "url": "/view/search",
-        "name": "妫�绱�-缁熻鏌ヨ"
-      },
-      {
-        "id": "14",
-        "src": "../../images/app-mid/360.png",
-        "alt": "鍏ㄦ櫙瑙嗛",
-        "type": "2",
-        "url": "/view/panoramicVideo",
-        "name": "鍏ㄦ櫙瑙嗛"
+        "title": "缁熻鏌ヨ",
+        "width": 1663,
+        "height": 890
       },
       {
         "id": "15",
+        "name": "syslog",
         "src": "../../images/app-mid/log-manage.png",
         "alt": "鏃ュ織绠$悊",
         "type": "2",
         "url": "/view/syslog",
-        "name": "鏃ュ織绠$悊"
-      },
-      {
-        "id": "16",
-        "src": "../../images/app-mid/device.png",
-        "alt": "璁惧绠$悊",
-        "type": "2",
-        "url": "/view/device",
-        "name": "璁惧绠$悊"
+        "title": "鏃ュ織绠$悊",
+        "width": 1246,
+        "height": 590
       },
       {
         "id": "17",
+        "name": "settings",
         "src": "../../images/app-mid/settings.png",
         "alt": "绯荤粺璁剧疆",
         "type": "2",
         "url": "/view/settings",
-        "name": "绯荤粺璁剧疆"
+        "title": "绯荤粺璁剧疆",
+        "width": 1450,
+        "height": 808
       },
       {
         "id": "18",
+        "name": "vindicate",
         "src": "../../images/app-mid/vindicate.png",
         "alt": "绯荤粺缁存姢",
         "type": "2",
         "url": "/view/vindicate",
-        "name": "绯荤粺缁存姢"
+        "title": "绯荤粺缁存姢",
+        "width": 758,
+        "height": 534
       }
     ]
   }

--
Gitblit v1.8.0