From 16e807bce00ee7cb3ee71beb0532b35020b8c5ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?=
<42510293+ziyujiahao@users.noreply.github.com>
Date: Tue, 23 Nov 2021 15:34:42 +0800
Subject: [PATCH] =?UTF-8?q?feat(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20=E4=BB=AA?=
=?UTF-8?q?=E8=A1=A8=E6=9D=BF=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE=E7=A7=BB?=
=?UTF-8?q?=E5=8A=A8=E7=AB=AF=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* feat:仪表板移动端布局
* feat(仪表板): 仪表板支持设置移动端布局
---
frontend/package.json | 1 +
frontend/src/components/DeDrag/index.vue | 20 +-
.../components/Editor/ComponentWrapper.vue | 37 ++--
.../canvas/components/Editor/EditBar.vue | 9 -
.../components/Editor/MobileCheckBar.vue | 86 +++++++++
.../canvas/components/Editor/index.vue | 172 +++--------------
.../components/canvas/components/Toolbar.vue | 138 ++++++++------
.../canvas/custom-component/UserView.vue | 20 --
.../canvas/custom-component/component-list.js | 24 +++
frontend/src/components/canvas/utils/utils.js | 16 +-
frontend/src/main.js | 6 +-
frontend/src/store/index.js | 72 +++++---
frontend/src/styles/deicon/demo_index.html | 29 ++-
frontend/src/styles/deicon/iconfont.css | 10 +-
frontend/src/styles/deicon/iconfont.js | 2 +-
frontend/src/styles/deicon/iconfont.json | 7 +
frontend/src/styles/deicon/iconfont.ttf | Bin 19504 -> 19748 bytes
frontend/src/styles/deicon/iconfont.woff | Bin 11916 -> 12084 bytes
frontend/src/styles/deicon/iconfont.woff2 | Bin 10096 -> 10228 bytes
.../src/views/panel/edit/ComponentWait.vue | 90 +++++++++
.../views/panel/edit/ComponentWaitItem.vue | 88 +++++++++
frontend/src/views/panel/edit/index.vue | 173 ++++++++++++------
frontend/src/views/panel/list/PanelList.vue | 15 --
23 files changed, 666 insertions(+), 349 deletions(-)
create mode 100644 frontend/src/components/canvas/components/Editor/MobileCheckBar.vue
create mode 100644 frontend/src/views/panel/edit/ComponentWait.vue
create mode 100644 frontend/src/views/panel/edit/ComponentWaitItem.vue
diff --git a/frontend/package.json b/frontend/package.json
index c40395ad4f..fce213e62e 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -49,6 +49,7 @@
"vue-codemirror": "^4.0.6",
"vue-fullscreen": "^2.5.2",
"vue-i18n": "7.3.2",
+ "vue-proportion-directive": "^1.1.0",
"vue-router": "3.0.6",
"vue-to-pdf": "^1.0.0",
"vue-uuid": "2.0.2",
diff --git a/frontend/src/components/DeDrag/index.vue b/frontend/src/components/DeDrag/index.vue
index 49adf6b611..20dd0b5074 100644
--- a/frontend/src/components/DeDrag/index.vue
+++ b/frontend/src/components/DeDrag/index.vue
@@ -29,7 +29,8 @@
]"
:style="mainSlotStyle"
>
-