From 66963ca3ac938242d427895d11630e19bed93182 Mon Sep 17 00:00:00 2001 From: wanglin <1013335014@qq.com> Date: Sat, 26 Jun 2021 00:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=8A=82=E7=82=B9=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E8=AE=BE=E7=BD=AE=E5=8F=8A=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/.DS_Store | Bin 6148 -> 6148 bytes web/src/assets/.DS_Store | Bin 6148 -> 6148 bytes web/src/assets/icon-font/.DS_Store | Bin 6148 -> 6148 bytes web/src/assets/icon-font/demo_index.html | 75 +++++- web/src/assets/icon-font/iconfont.css | 18 +- web/src/assets/icon-font/iconfont.js | 2 +- web/src/assets/icon-font/iconfont.json | 21 ++ web/src/assets/icon-font/iconfont.ttf | Bin 5380 -> 6004 bytes web/src/assets/icon-font/iconfont.woff | Bin 3296 -> 3728 bytes web/src/assets/icon-font/iconfont.woff2 | Bin 2724 -> 3024 bytes web/src/components/ImgUpload/index.vue | 64 ++--- web/src/config/index.js | 82 ++++++- web/src/pages/Edit/components/BaseStyle.vue | 194 ++++++++++++++- web/src/pages/Edit/components/Color.vue | 5 + web/src/pages/Edit/components/Edit.vue | 52 ++-- .../pages/Edit/components/NodeHyperlink.vue | 94 ++++++++ web/src/pages/Edit/components/NodeIcon.vue | 106 ++++++++ web/src/pages/Edit/components/NodeImage.vue | 85 +++++-- web/src/pages/Edit/components/NodeNote.vue | 84 +++++++ web/src/pages/Edit/components/NodeTag.vue | 152 ++++++++++++ web/src/pages/Edit/components/Outline.vue | 5 + web/src/pages/Edit/components/Sidebar.vue | 7 +- web/src/pages/Edit/components/Style.vue | 5 + web/src/pages/Edit/components/Theme.vue | 104 ++++++++ web/src/pages/Edit/components/Toolbar.vue | 228 +++++++++++------- 25 files changed, 1215 insertions(+), 168 deletions(-) create mode 100644 web/src/pages/Edit/components/NodeHyperlink.vue create mode 100644 web/src/pages/Edit/components/NodeNote.vue create mode 100644 web/src/pages/Edit/components/NodeTag.vue create mode 100644 web/src/pages/Edit/components/Theme.vue diff --git a/web/src/.DS_Store b/web/src/.DS_Store index 81a5b725c87d0ae64b8d743462e3345dc8cd336f..25d3418b20c97d67000f64c16680e8e7b1f87af5 100644 GIT binary patch delta 81 zcmZoMXfc=|#>B)qu~2NHo+2aD#(>?7lMO^zCiAn*;V?Ha(NQoqFrK`bC3dq2hcL^; kh9{fZIruq%8a4}Zd}p4_FXG6-00fK-3@n=?MAk3^0A9Hhb^rhX delta 177 zcmZoMXfc=|#>B!ku~2NHo+2a5#(>?7ixrre7+EIsFwN&Mvar-qFg7-uyqPIhnw_D5 zA(0`OAsa}hGo&V!7Z)VuvOFr1jI!PKB3UR`ZyrlVkFZd9wIP;G8*prc@7Y*t&# z$sw+4XzQ7fTUk|IQ(HG<@geb48@Zj7_DWo%A^!0=OpFl=WJfcn8r4- LfparE$6tN`t-%w; diff --git a/web/src/assets/icon-font/demo_index.html b/web/src/assets/icon-font/demo_index.html index 00979aec..ea7a7ac3 100644 --- a/web/src/assets/icon-font/demo_index.html +++ b/web/src/assets/icon-font/demo_index.html @@ -54,6 +54,24 @@
    +
  • + +
    导出
    +
    &#xe63d;
    +
  • + +
  • + +
    标签
    +
    &#xe63c;
    +
  • + +
  • + +
    流程-备注
    +
    &#xe65b;
    +
  • +
  • 超链接
    @@ -144,9 +162,9 @@
    @font-face {
       font-family: 'iconfont';
    -  src: url('iconfont.woff2?t=1622956585729') format('woff2'),
    -       url('iconfont.woff?t=1622956585729') format('woff'),
    -       url('iconfont.ttf?t=1622956585729') format('truetype');
    +  src: url('iconfont.woff2?t=1624540474886') format('woff2'),
    +       url('iconfont.woff?t=1624540474886') format('woff'),
    +       url('iconfont.ttf?t=1624540474886') format('truetype');
     }
     

    第二步:定义使用 iconfont 的样式

    @@ -172,6 +190,33 @@
      +
    • + +
      + 导出 +
      +
      .icondaochu +
      +
    • + +
    • + +
      + 标签 +
      +
      .iconbiaoqian +
      +
    • + +
    • + +
      + 流程-备注 +
      +
      .iconflow-Mark +
      +
    • +
    • @@ -307,6 +352,30 @@
        +
      • + +
        导出
        +
        #icondaochu
        +
      • + +
      • + +
        标签
        +
        #iconbiaoqian
        +
      • + +
      • + +
        流程-备注
        +
        #iconflow-Mark
        +
      • +
      • -
        +
        点击此处选择图片、或拖动图片到此
        -
        +
        @@ -33,11 +31,19 @@ \ No newline at end of file diff --git a/web/src/pages/Edit/components/NodeIcon.vue b/web/src/pages/Edit/components/NodeIcon.vue index e69de29b..0377d747 100644 --- a/web/src/pages/Edit/components/NodeIcon.vue +++ b/web/src/pages/Edit/components/NodeIcon.vue @@ -0,0 +1,106 @@ + + + + + \ No newline at end of file diff --git a/web/src/pages/Edit/components/NodeImage.vue b/web/src/pages/Edit/components/NodeImage.vue index dd6389d9..600598af 100644 --- a/web/src/pages/Edit/components/NodeImage.vue +++ b/web/src/pages/Edit/components/NodeImage.vue @@ -1,6 +1,15 @@ \ No newline at end of file diff --git a/web/src/pages/Edit/components/NodeNote.vue b/web/src/pages/Edit/components/NodeNote.vue new file mode 100644 index 00000000..39493e66 --- /dev/null +++ b/web/src/pages/Edit/components/NodeNote.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/web/src/pages/Edit/components/NodeTag.vue b/web/src/pages/Edit/components/NodeTag.vue new file mode 100644 index 00000000..e8bf3694 --- /dev/null +++ b/web/src/pages/Edit/components/NodeTag.vue @@ -0,0 +1,152 @@ + + + + + \ No newline at end of file diff --git a/web/src/pages/Edit/components/Outline.vue b/web/src/pages/Edit/components/Outline.vue index 77866dcc..21ae846f 100644 --- a/web/src/pages/Edit/components/Outline.vue +++ b/web/src/pages/Edit/components/Outline.vue @@ -7,6 +7,11 @@ + + diff --git a/web/src/pages/Edit/components/Toolbar.vue b/web/src/pages/Edit/components/Toolbar.vue index dbb312c3..32efc9fe 100644 --- a/web/src/pages/Edit/components/Toolbar.vue +++ b/web/src/pages/Edit/components/Toolbar.vue @@ -1,92 +1,146 @@