From f96e393e62b4c7496f7ace44b6aa5abb69ae58df Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期一, 11 九月 2023 21:54:55 +0800
Subject: [PATCH] bug修改
---
src/components/illdetail/index.vue | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/src/components/illdetail/index.vue b/src/components/illdetail/index.vue
index 85a20ec..3b6d6cc 100644
--- a/src/components/illdetail/index.vue
+++ b/src/components/illdetail/index.vue
@@ -11,6 +11,8 @@
<el-form-item label="闂绫诲瀷:">
<span class="data-detail">杩濆缓</span>
</el-form-item>
+ </div>
+ <div class="data-item">
<el-form-item label="杩濆缓绫诲埆:">
<span class="data-detail">{{ baseCase.categoryText }}</span>
</el-form-item>
@@ -40,6 +42,8 @@
<el-form-item label="杩濆缓鍦扮偣:">
<span class="data-detail">{{ baseCase.site }}</span>
</el-form-item>
+ </div>
+ <div class="data-item">
<el-form-item label="鎵�灞炵ぞ鍖�:">
<span class="data-detail">{{ baseCase.communityText }}</span>
</el-form-item>
@@ -130,6 +134,9 @@
<MyFilePicture
v-else-if="activeIndex === 2"
:filesPictureVo="filesPictureVo"
+ :pic="pic"
+ :media="media"
+ :mycode="mycode"
></MyFilePicture>
<MySovleProblem
v-else-if="activeIndex === 3"
@@ -184,23 +191,23 @@
handlePassVo: {},
currentSitVo: {},
filesPictureVo: {},
+ pic: [],
+ media: [],
};
},
created() {
- console.log("created");
const { info } = this;
this.baseCase = info.baseCase;
this.handlePassVo = info.handlePassVo;
this.currentSitVo = info.currentSitVo;
this.filesPictureVo = info.filesPictureVo;
- console.log(info);
},
methods: {
changeComponent(index) {
this.activeIndex = index;
},
},
- props: ["info"],
+ props: ["info", "mycode"],
};
</script>
<style lang="scss" scoped>
@@ -221,6 +228,13 @@
display: flex;
// justify-content: space-between;
line-height: 20px;
+
+ .data-detail {
+ color: #333;
+ line-height: 1.8;
+ max-width: 240px;
+ display: inline-grid;
+ }
}
border: 1px solid #17324c;
@@ -267,7 +281,7 @@
height: 600px;
position: relative;
.show-wrap {
- overflow: scroll;
+ overflow: auto;
height: 600px;
}
}
--
Gitblit v1.8.0