浏览代码

配置当前工程页面调整。

jiaxiaoqiang 4 月之前
父节点
当前提交
a9606ed360

+ 4 - 4
src/views/modules/project-config/com/function-col.vue

@@ -37,15 +37,15 @@ onMounted(() => {
   <div class="function-col">
     <TitleHeader> 添加功能模块</TitleHeader>
     <el-scrollbar class="collapse-container">
-      <el-collapse v-model="activeNames" @change="handleChange">
+      <el-collapse v-model="activeNames" @change="handleChange" accordion>
         <el-collapse-item
           :name="funType.id"
           v-for="(funType, index) in allMokuaiDataList"
           :key="funType.id"
           :title="funType?.moduleName"
         >
-          <el-scrollbar :height="500">
-            <div class="drag-container">
+          <el-scrollbar max-height="400px">
+            <div class="drag-container-scroll">
               <div
                 class="drag-item"
                 v-for="(dragData, index) in funType.functions"
@@ -75,7 +75,7 @@ onMounted(() => {
   height: calc(100vh - $main-header-height - 65px);
   overflow-y: auto;
 }
-.drag-container {
+.drag-container-scroll {
   display: flex;
   flex-direction: column;
   justify-content: start;

+ 7 - 4
src/views/modules/project-config/com/project-message.vue

@@ -79,6 +79,9 @@ const clickTestProjectItem = (item) => {
       <div class="btn">
         <span>-</span>
         <span>+</span>
+        <span class="edit">
+          <svg-icon icon-class="homeIcon2" />
+        </span>
       </div>
     </div>
 
@@ -167,11 +170,11 @@ const clickTestProjectItem = (item) => {
         text-align: center;
         line-height: 16px;
         border-radius: 0px 0px 0px 0px;
-        border: 2px solid #ffffff;
+        border: 1px solid #ffffff;
         color: var(--hj-white-1);
-        &:nth-of-type(2) {
-          margin-left: 12px;
-        }
+        //&:nth-of-type(2) {
+        margin-left: 8px;
+        //}
       }
     }
   }

+ 3 - 0
src/views/modules/project-config/project-config.vue

@@ -190,4 +190,7 @@ const onSelectTestPro = (pro) => {
   line-height: 16px;
   text-align: left;
 }
+:deep(.el-collapse-item__wrap) {
+  border: 0;
+}
 </style>