From ef0a928e87e2b743bfec0ab8fbc5f395075a942b Mon Sep 17 00:00:00 2001 From: bwcx_jzy Date: Thu, 16 Sep 2021 10:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E5=80=BC=E5=90=8E=E8=87=AA=E5=8A=A8=E9=80=89=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=87=E4=BB=B6=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=98=AF=E5=90=A6=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web-vue/src/components/customSelect/index.vue | 185 +++++++++--------- web-vue/src/pages/build/list-info.vue | 50 +---- .../node/node-layout/project/project-file.vue | 14 +- web-vue/src/pages/node/terminal.vue | 4 +- 4 files changed, 112 insertions(+), 141 deletions(-) diff --git a/web-vue/src/components/customSelect/index.vue b/web-vue/src/components/customSelect/index.vue index e608541b3..d56228790 100644 --- a/web-vue/src/components/customSelect/index.vue +++ b/web-vue/src/components/customSelect/index.vue @@ -4,7 +4,7 @@
- - - - - - + > + + + + +
@@ -30,92 +30,95 @@
- \ No newline at end of file + } + this.selectInput = ""; + this.selected = v; + }, + setSelectOpen(v) { + this.selectFocus = v; + if (this.inputFocus || this.selectFocus) { + this.selectOpen = true; + return; + } + this.selectOpen = false; + }, + visibleInput(v) { + this.inputFocus = v; + if (this.inputFocus || this.selectFocus) { + this.selectOpen = true; + return; + } + this.selectOpen = false; + }, + }, +}; + diff --git a/web-vue/src/pages/build/list-info.vue b/web-vue/src/pages/build/list-info.vue index 76d7cdd64..07419cf4b 100644 --- a/web-vue/src/pages/build/list-info.vue +++ b/web-vue/src/pages/build/list-info.vue @@ -75,32 +75,17 @@ - - - - - - {{ group }} - + + - - - - 添加分组 - + 分组名称: + + + {{ item.name }}[{{ item.gitUrl }}] @@ -121,7 +106,7 @@ - 标签(TAG): + 标签(TAG):
刷新目录 - 控制台 + 控制台
{ if (res.code === 200) { - setTimeout(()=> { + setTimeout(() => { this.fileContent = res.data; - }, 300) + }, 300); } }); }, diff --git a/web-vue/src/pages/node/terminal.vue b/web-vue/src/pages/node/terminal.vue index ebe8b007c..db653fddd 100644 --- a/web-vue/src/pages/node/terminal.vue +++ b/web-vue/src/pages/node/terminal.vue @@ -82,8 +82,8 @@ export default { disableStdin: false, rendererType: "canvas", theme: { - foreground: "#7e9192", //字体 - background: "#002833", //背景色 + // foreground: "#7e9192", //字体 + // background: "#002833", //背景色 cursor: "help", //设置光标 lineHeight: 16, },