diff --git a/frontend/src/components/canvas/components/RectangleAttr.vue b/frontend/src/components/canvas/components/RectangleAttr.vue index 8a81315021..ad64cbef2b 100644 --- a/frontend/src/components/canvas/components/RectangleAttr.vue +++ b/frontend/src/components/canvas/components/RectangleAttr.vue @@ -32,6 +32,14 @@ + + + + +
+ +
+ @@ -194,8 +202,8 @@ export default { } .el-card-main { height: 34px; - z-index: 1000000000; - width: 300px; + z-index: 10; + width: 400px; position: absolute; } diff --git a/frontend/src/components/canvas/custom-component/component-list.js b/frontend/src/components/canvas/custom-component/component-list.js index a0faccdad4..0e1d8d6a0b 100644 --- a/frontend/src/components/canvas/custom-component/component-list.js +++ b/frontend/src/components/canvas/custom-component/component-list.js @@ -122,7 +122,8 @@ const list = [ borderStyle: 'solid', borderWidth: 1, borderColor: '#000000', - backgroundColor: '#ffffff' + backgroundColor: '#ffffff', + borderRadius: 0 } }, { diff --git a/frontend/src/styles/deicon/demo_index.html b/frontend/src/styles/deicon/demo_index.html index f6b2332ee2..cb7ad72f2f 100644 --- a/frontend/src/styles/deicon/demo_index.html +++ b/frontend/src/styles/deicon/demo_index.html @@ -54,6 +54,18 @@
    +
  • + +
    弧形框
    +
    
    +
  • + +
  • + +
    弧形框
    +
    
    +
  • +
  • 透明
    @@ -294,9 +306,9 @@
    @font-face {
       font-family: 'iconfont';
    -  src: url('iconfont.woff2?t=1626919869905') format('woff2'),
    -       url('iconfont.woff?t=1626919869905') format('woff'),
    -       url('iconfont.ttf?t=1626919869905') format('truetype');
    +  src: url('iconfont.woff2?t=1626927148990') format('woff2'),
    +       url('iconfont.woff?t=1626927148990') format('woff'),
    +       url('iconfont.ttf?t=1626927148990') format('truetype');
     }
     

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

    @@ -322,6 +334,24 @@
      +
    • + +
      + 弧形框 +
      +
      .icon-weibiaoti-1 +
      +
    • + +
    • + +
      + 弧形框 +
      +
      .icon-weibiaoti- +
      +
    • +
    • @@ -682,6 +712,22 @@
        +
      • + +
        弧形框
        +
        #icon-weibiaoti-1
        +
      • + +
      • + +
        弧形框
        +
        #icon-weibiaoti-
        +
      • +