From de2b6a52b1a62f7b8c48e44518ef2ab099e3ebd5 Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Mon, 2 Sep 2019 17:11:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E5=92=8C=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/echarts/permission.vue | 2 +- src/views/dashboard/index.vue | 1 - src/views/orderauthor/author/draft/ruleForm.vue | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/echarts/permission.vue b/src/views/dashboard/echarts/permission.vue index 378f5c8b1..9bc1e78c2 100644 --- a/src/views/dashboard/echarts/permission.vue +++ b/src/views/dashboard/echarts/permission.vue @@ -27,7 +27,7 @@ export default { data() { return { option: { - backgroundColor: '#f0f0f0', + backgroundColor: '#fefefe', title: { text: '', subtext: '', diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index c241beda8..578ac8cce 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -91,6 +91,5 @@ export default { .perssmin-card { display: flex; justify-content: center; - // margin-top: 20px; } diff --git a/src/views/orderauthor/author/draft/ruleForm.vue b/src/views/orderauthor/author/draft/ruleForm.vue index 5536eaf46..d10468e60 100644 --- a/src/views/orderauthor/author/draft/ruleForm.vue +++ b/src/views/orderauthor/author/draft/ruleForm.vue @@ -20,7 +20,7 @@ :data="ruleList" border style="width: 100%" - :height="height-300" + :height="height-400" > @@ -89,7 +89,7 @@ export default { }, computed: { height() { - return this.$store.state.app.height - 62; + return this.$store.state.app.height - 65; } }, mounted() { From 827bb6e870bdefe676c97dc7aeafb68d9c64efa7 Mon Sep 17 00:00:00 2001 From: ival <610568032@qq.com> Date: Mon, 2 Sep 2019 17:24:42 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=92=8C=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/pay/index.vue | 5 +++++ src/views/exam/index.vue | 5 +---- src/views/exam/list/examList.vue | 6 +----- src/views/orderauthor/author/draft/ruleForm.vue | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/views/components/pay/index.vue b/src/views/components/pay/index.vue index b6850ff89..cb725cb63 100644 --- a/src/views/components/pay/index.vue +++ b/src/views/components/pay/index.vue @@ -77,6 +77,11 @@ export default { return ''; }, height() { + if (/\/dp\//.test(this.$route.path) || + /\/plan\//.test(this.$route.path)) { + return this.$store.state.app.height; + } + return this.$store.state.app.height - 61; } }, diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue index 136152d90..ddbd2d71c 100644 --- a/src/views/exam/index.vue +++ b/src/views/exam/index.vue @@ -27,7 +27,7 @@ export default { data() { return { listShow: true, - widthLeft: 450 + widthLeft: Number(localStore.get('LeftWidth')) || 450 }; }, computed: { @@ -43,9 +43,6 @@ export default { this.listShow = val; } }, - mounted() { - this.widthLeft = Number(localStore.get('LeftWidth')); - }, methods: { refresh() { this.$refs && this.$refs.examlList && this.$refs.examlList.refresh(); diff --git a/src/views/exam/list/examList.vue b/src/views/exam/list/examList.vue index 2c3c7b0ec..2bad8fddc 100644 --- a/src/views/exam/list/examList.vue +++ b/src/views/exam/list/examList.vue @@ -2,7 +2,6 @@
试题列表 -
- +