From b28d647a748d0716a86718b58144faac873a8fe2 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期二, 15 八月 2023 21:39:04 +0800 Subject: [PATCH] 前端验证码 --- src/components/illdetail/index.vue | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/components/illdetail/index.vue b/src/components/illdetail/index.vue index fee547e..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,7 +134,9 @@ <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" - :mycode='mycode' + :pic="pic" + :media="media" + :mycode="mycode" ></MyFilePicture> <MySovleProblem v-else-if="activeIndex === 3" @@ -185,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; + this.activeIndex = index; }, }, - props: ["info","mycode"], + props: ["info", "mycode"], }; </script> <style lang="scss" scoped> @@ -222,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; @@ -268,7 +281,7 @@ height: 600px; position: relative; .show-wrap { - overflow: scroll; + overflow: auto; height: 600px; } } -- Gitblit v1.8.0