拼团问题修复,增加套餐功能
This commit is contained in:
@@ -35,6 +35,9 @@ import { computed } from 'vue'
|
||||
},
|
||||
])
|
||||
const returnClass=computed(()=>{
|
||||
if(props.status=='已退款'){
|
||||
return 'gray';
|
||||
}
|
||||
const item=list.value.find(v=>props.status.includes(v.name))
|
||||
return item?item.class:''
|
||||
})
|
||||
@@ -62,5 +65,10 @@ import { computed } from 'vue'
|
||||
color: #FF1C1C;
|
||||
background: rgba(255, 28, 28, 0.18);
|
||||
}
|
||||
&.gray{
|
||||
color: #bbb;
|
||||
background-color: #f7f7f7;
|
||||
border-color: #bbb;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user