ZaiZai il y a 10 mois
Parent
commit
9525e3c3fc

+ 10 - 0
src/styles/view/project/edit-formula.scss

@@ -55,6 +55,16 @@
     }
     .hc-formula-reset-fun {
         position: relative;
+        .hc-div-new-card-box.reset-fun-left-card,
+        .hc-div-new-card-box.reset-fun-right-card {
+            border: 1px dashed #bbbbbb;
+            border-radius: 6px;
+            .el-card.hc-card-box.hc-new-card-box {
+                --el-card-border-radius: 6px;
+                --el-card-bg-color: transparent;
+                box-shadow: none;
+            }
+        }
     }
     //没有滚动条,拉满
     .hc-project-list-edit-formula-card.is-no-scroll {

+ 11 - 2
src/views/project/list/edit-formula.vue

@@ -45,8 +45,17 @@
                     </div>
                 </div>
                 <!-- 重置函数 -->
-                <div class="hc-formula-reset-fun border-dashed-card mb-14px">
-                    1111
+                <div class="hc-formula-reset-fun mb-14px">
+                    <hc-body split padding="0">
+                        <template #left>
+                            <hc-card class="reset-fun-left-card">
+                                自定义左边的区域
+                            </hc-card>
+                        </template>
+                        <hc-card class="reset-fun-right-card">
+                            其它内容
+                        </hc-card>
+                    </hc-body>
                 </div>
             </div>
             <template #action>