This commit is contained in:
liuye
2023-05-12 09:53:43 +08:00
parent 9958eef8b8
commit 61e513f45b

View File

@@ -64,7 +64,7 @@ export default {
currentTab: 0, currentTab: 0,
evaluation: {}, evaluation: {},
id: '', id: '',
tabList: [{name:'办理进度'},{name:'我的评价'}] // tabList: [{name:'办理进度'},{name:'我的评价'}]
} }
}, },
computed: { computed: {
@@ -85,6 +85,10 @@ export default {
}) })
} }
return list return list
},
tabList() {
var list = !this.evaluation.id ? [{name:'办理进度'}] : [{name:'办理进度'},{name:'我的评价'}]
return list
} }
}, },
onShow() { onShow() {
@@ -213,9 +217,9 @@ export default {
} }
} }
.tab-content { .tab-content {
display: flex;
.tab-item { .tab-item {
flex: 1; display: inline-block;
width: 50%;
position: relative; position: relative;
height: 88px; height: 88px;
line-height: 88px; line-height: 88px;