From a46348ad86f5df632c58bed5866a70f798b75d5e Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 12 四月 2024 17:33:37 +0800 Subject: [PATCH] 测试完成 --- src/views/repositoryai/templateku/index.vue | 37 +++++++++++++++++++++++++++++++++---- 1 files changed, 33 insertions(+), 4 deletions(-) diff --git a/src/views/repositoryai/templateku/index.vue b/src/views/repositoryai/templateku/index.vue index e09b99f..33bd771 100644 --- a/src/views/repositoryai/templateku/index.vue +++ b/src/views/repositoryai/templateku/index.vue @@ -168,7 +168,13 @@ @selection-change="handleSelectionChange" > <el-table-column type="selection" width="50" align="center" /> - <el-table-column label="搴忓彿" fixed align="center" key="id" prop="id" /> + <el-table-column + label="搴忓彿" + fixed + align="center" + key="id" + prop="id" + /> <el-table-column label="妯$増鍚嶇О" fixed @@ -603,7 +609,12 @@ this.multiple = !selection.length; }, /** 鏂板鎸夐挳鎿嶄綔 */ - handleAdd() {}, + handleAdd() { + this.$router.push({ + path: "/knowledge/templateku/configurat/", + query: { id: null }, + }); + }, /** 鍒犻櫎鎸夐挳鎿嶄綔 */ handleDelete(row) { @@ -786,8 +797,8 @@ // display: flex; margin-top: 20px; margin: 20px; - padding: 30px; - background: #edf1f7; + padding: 20px; + background: #fff; border: 1px solid #dcdfe6; -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04); @@ -932,6 +943,24 @@ font-size: 20px; cursor: pointer; } +::v-deep .el-tree { + position: relative; + cursor: default; + border-radius: 5px; + background: #eff8fe; + color: #606266; + border: 1px solid #bbe1fa; + // border: 1px solid #dcdfe6; + -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), + 0 0 6px 0 rgba(0, 0, 0, 0.04); +} +::v-deep + .el-tree--highlight-current + .el-tree-node.is-current + > .el-tree-node__content { + background-color: #7799fb; + color: #fff; +} ::v-deep .el-button--mini.is-circle { padding: 7px; margin: 0; -- Gitblit v1.9.3