From 405eeb045cfecff07b80a33582033be6cc52ed33 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期三, 14 十二月 2022 14:36:06 +0800 Subject: [PATCH] 样式修改 --- src/components/illdetail/index.vue | 14 ++++++++++---- 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/components/illdetail/index.vue b/src/components/illdetail/index.vue index fee547e..fc24c26 100644 --- a/src/components/illdetail/index.vue +++ b/src/components/illdetail/index.vue @@ -130,7 +130,7 @@ <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" - :mycode='mycode' + :mycode="mycode" ></MyFilePicture> <MySovleProblem v-else-if="activeIndex === 3" @@ -198,10 +198,10 @@ }, methods: { changeComponent(index) { - this.activeIndex = index; + this.activeIndex = index; }, }, - props: ["info","mycode"], + props: ["info", "mycode"], }; </script> <style lang="scss" scoped> @@ -222,6 +222,12 @@ display: flex; // justify-content: space-between; line-height: 20px; + + .data-detail { + line-height: 1.8; + max-width: 240px; + display: inline-grid; + } } border: 1px solid #17324c; @@ -268,7 +274,7 @@ height: 600px; position: relative; .show-wrap { - overflow: scroll; + overflow: auto; height: 600px; } } -- Gitblit v1.8.0