This commit is contained in:
李志鹏
2026-05-27 13:06:28 +08:00
7 changed files with 149 additions and 108 deletions

View File

@@ -33,7 +33,7 @@
</div>
<div class="amount" v-show="!disabled">${{ info.amount }}<span> HKD</span></div>
<SvgIcon
v-if="orderActionsLayout"
v-if="showDownload"
class="download"
name="download"
size="32"
@@ -59,6 +59,7 @@
showRemove: { type: Boolean, default: true },
orderActionsLayout: { type: Boolean, default: false },
showBrand: { type: Boolean, default: true },
isOrder: { type: Boolean, default: false },
info: {
type: Object as () => {
status: number
@@ -77,6 +78,10 @@
const onRemove = () => {
emit('remove', props.info)
}
const showDownload = computed(() => {
return props.isOrder ? props.info.status === 1 : props.orderActionsLayout
})
const handleBrandClick = () => {
router.push({
name: 'brandDetail',