From c3a530db59d9c1bd1af474c97c1e20b1f440767d Mon Sep 17 00:00:00 2001 From: liudianxin Date: Tue, 28 Apr 2020 19:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE+=E6=97=B6=E7=A9=BA+=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E8=B6=85=E9=95=BF=E7=BC=A9=E8=BF=9B+select?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.css | 40 +++--- src/components/codes.vue | 8 +- src/components/table-um.vue | 30 ++-- src/pages/example_code.vue | 67 --------- src/pages/fwzc_fwcs.vue | 272 +++++++++++++++++++++++++++++++----- src/pages/index.vue | 2 +- static/data.json | 104 ++++++++++++++ 7 files changed, 380 insertions(+), 143 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 110273c..27feed0 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -139,32 +139,10 @@ div{ box-sizing: border-box; border-bottom: 1px solid #edf0ff; } -.r_yhgl { - background: #fff; - border-radius: 8px; - box-shadow: 0px 3px 6px 0px #f4f7fc; -} -.r_yhgl_table { +.padding_table { padding: 0 20px; } /* 设置抽屉的样式 */ -.user-dialog, -.r_yhgl .el-dialog__wrapper{ - width: 100vw; - height: 100vh; - top: 0; - left: 0; - z-index: 999; -} -.r_yhgl .el-drawer{ - height: calc(100% - 134px)!important; - top: 114px!important; - outline: none!important; - border-radius: 8px; -} -.r_yhgl .el-drawer.rtl{ - right: 20px; -} .el-drawer__header{ display: none; } @@ -457,4 +435,20 @@ width: 620px!important; } .el-popper[x-placement^=top] .popper__arrow::after { border-top-color: transparent; +} +/* 单选激活样式 */ +.el-radio__input.is-checked .el-radio__inner { + border-color: #838383; + background-color: #fff; +} +.el-radio__input.is-checked+.el-radio__label { + color: #1a2236; + font-weight: 700; +} +.el-radio__inner::after { + width: 8px; + height: 8px; +} +.el-radio__input.is-checked .el-radio__inner::after { + background-color: #e56600; } \ No newline at end of file diff --git a/src/components/codes.vue b/src/components/codes.vue index 36f6386..a293cd0 100644 --- a/src/components/codes.vue +++ b/src/components/codes.vue @@ -25,7 +25,7 @@ export default { mounted() { this.aceEditor = ace.edit(this.$refs.ace, { - maxLines: 40, + maxLines: 36, minLines: 10, fontSize: 14, mode: this.acemodePath, @@ -60,9 +60,9 @@ export default { \ No newline at end of file diff --git a/src/pages/example_code.vue b/src/pages/example_code.vue index 3dd8363..741f995 100644 --- a/src/pages/example_code.vue +++ b/src/pages/example_code.vue @@ -36,71 +36,4 @@ export default { \ No newline at end of file diff --git a/src/pages/fwzc_fwcs.vue b/src/pages/fwzc_fwcs.vue index 9fabf64..43957e7 100644 --- a/src/pages/fwzc_fwcs.vue +++ b/src/pages/fwzc_fwcs.vue @@ -1,7 +1,7 @@ @@ -64,10 +155,12 @@