From 61e513f45bd07dd128b12a394ccc32c4b7974f30 Mon Sep 17 00:00:00 2001 From: liuye Date: Fri, 12 May 2023 09:53:43 +0800 Subject: [PATCH] 395 --- src/project/wuxi/AppPhotoReport/PhotoDetail.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue index 12c9f10..e64c480 100644 --- a/src/project/wuxi/AppPhotoReport/PhotoDetail.vue +++ b/src/project/wuxi/AppPhotoReport/PhotoDetail.vue @@ -64,7 +64,7 @@ export default { currentTab: 0, evaluation: {}, id: '', - tabList: [{name:'办理进度'},{name:'我的评价'}] + // tabList: [{name:'办理进度'},{name:'我的评价'}] } }, computed: { @@ -85,6 +85,10 @@ export default { }) } return list + }, + tabList() { + var list = !this.evaluation.id ? [{name:'办理进度'}] : [{name:'办理进度'},{name:'我的评价'}] + return list } }, onShow() { @@ -213,9 +217,9 @@ export default { } } .tab-content { - display: flex; .tab-item { - flex: 1; + display: inline-block; + width: 50%; position: relative; height: 88px; line-height: 88px;