From b87f69b81aada2fddfc1eb903a7a827f8c35675f Mon Sep 17 00:00:00 2001 From: liyanqi <15181887205@163.com> Date: 星期二, 01 十一月 2022 16:12:58 +0800 Subject: [PATCH] fix bug --- src/components/detail/index.vue | 28 +++++++++++++++++----------- 1 files changed, 17 insertions(+), 11 deletions(-) diff --git a/src/components/detail/index.vue b/src/components/detail/index.vue index 7a4ecc6..33cd86a 100644 --- a/src/components/detail/index.vue +++ b/src/components/detail/index.vue @@ -5,7 +5,7 @@ <div class="data-item__left"> <label class="data-title"> 闂绫诲瀷: - </label> + </label> <span class="data-detail">杩濊</span> </div> <div class="data-item__right"> @@ -38,11 +38,17 @@ </div> </div> <div class="data-item"> - <div class="data-item__left"> + <!-- <div class="data-item__left"> <label class="data-title"> 鎵�灞炲尯鍘�: </label> <span class="data-detail">xxx</span> + </div> --> + <div class="data-item__left"> + <label class="data-title"> + 鎵�灞炶閬�: + </label> + <span class="data-detail">{{baseCase.streetText}}</span> </div> <div class="data-item__right"> <label class="data-title"> @@ -51,14 +57,14 @@ <span class="data-detail">{{baseCase.communityText}}</span> </div> </div> - <div class="data-item"> + <!-- <div class="data-item"> <div class="data-item__left"> <label class="data-title"> 鎵�灞炶閬�: </label> <span class="data-detail">{{baseCase.streetText}}</span> </div> - </div> + </div> --> <div class="data-item"> <div class="data-item__left"> <label class="data-title"> @@ -119,9 +125,9 @@ <div class="show-item"> <div class="show-wrap"> <MyProcess v-if="activeIndex === 1" :handlePassVo="handlePassVo" :baseCase="baseCase"></MyProcess> - <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" ></MyFilePicture> - <MySovleProblem v-else-if="activeIndex === 3" :problemProVo="problemProVo"></MySovleProblem> - <MyScene v-else :currentSitVo="currentSitVo"></MyScene> + <MyFilePicture v-else-if="activeIndex === 2" :filesPictureVo="filesPictureVo" :mycode='mycode'></MyFilePicture> + <MySovleProblem v-else-if="activeIndex === 3" :baseCase="baseCase" :handlePassVo="handlePassVo"></MySovleProblem> + <MyScene v-else :currentSitVo="currentSitVo" :baseCase="baseCase"></MyScene> </div> </div> </div> @@ -163,7 +169,7 @@ baseCase:{}, handlePassVo:{}, currentSitVo:{}, - problemProVo:{}, + // problemProVo:{}, filesPictureVo:{} } @@ -174,16 +180,16 @@ this.baseCase = info.baseCase; this.handlePassVo = info.handlePassVo; this.currentSitVo = info.currentSitVo; - this.problemProVo = info.problemProVo; + // this.problemProVo = info.problemProVo; this.filesPictureVo = info.filesPictureVo; - console.log(info); + console.log(info); }, methods: { changeComponent(index) { this.activeIndex = index; }, }, - props: ['info'] + props: ['info','mycode'] } </script> <style lang="scss" scoped> -- Gitblit v1.8.0