From ccdf5cc8e9bc83f6952bd3abd0ae65a0d18b6010 Mon Sep 17 00:00:00 2001 From: dengj <209192278@qq.com> Date: Mon, 18 Dec 2023 18:02:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=93=E6=B4=81=20:=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=9B=8F=E5=BD=A2=E5=8F=8Acheckbox=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 22 ++- src/router/index.js | 9 ++ src/views/tunnel/index.vue | 2 + src/views/user/index.vue | 256 +++++++++++++++++++++++++++++++++++ 4 files changed, 284 insertions(+), 5 deletions(-) create mode 100644 src/views/user/index.vue diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 323c29f..8540b3c 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -186,7 +186,7 @@ body, background-image: url("../images/topAndDown/sp_dbbj.png"); .el-carousel__mask { - display: none; + display: none } .el-carousel { @@ -526,16 +526,28 @@ input[type="number"] { width: 40px !important; height: 40px !important; border-radius: 25px !important; + border: 4px solid #05FEFF!important; + background-color: transparent!important; } .el-checkbox__input.is-checked .el-checkbox__inner { - width: 25px; - height: 25px; - background-color: #05FEFF !important; + //background-color: #05FEFF !important; } .el-checkbox__input.is-checked .el-checkbox__inner::after { - display: none; + //display: none; + width: 18px; + height: 18px; + border-width: 3px; + //border-left: 0; + //border-top: 0; + border-radius: 25px; + top: 6px; + left:6px; + //left: 12px; + font-size: 30px; + background: #05FEFF; + border-color: transparent!important; } //取消 确定按钮 diff --git a/src/router/index.js b/src/router/index.js index eaa1354..eaf44cd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -50,6 +50,15 @@ const routes = [ breadcrumb: true } }, + { + path: '/user', + name: 'user', + component: () => import('@/views/user/index.vue'), + meta: { + title: 'user', + breadcrumb: true + } + }, { path: '/tunnel/:siteId(\\d+)', name: 'tunnel', diff --git a/src/views/tunnel/index.vue b/src/views/tunnel/index.vue index f3f4e7f..48e2a87 100644 --- a/src/views/tunnel/index.vue +++ b/src/views/tunnel/index.vue @@ -163,6 +163,8 @@ const manageSelect = (index) => { router.push("/site"); } else if (index === 1) { router.push("/tunnel/1"); + }else if (index === 2) { + router.push("/user"); } }; const handleCommand=(item)=>{ diff --git a/src/views/user/index.vue b/src/views/user/index.vue new file mode 100644 index 0000000..d01563d --- /dev/null +++ b/src/views/user/index.vue @@ -0,0 +1,256 @@ + + + + + + 返回 + + + + + 全选 + + + 删除 + + + + + + + + + + + 搜索 + + 用户管理 + 添加用户 + + + + + + + + + + 修改 + + + + + + + + + + + + \ No newline at end of file