This commit is contained in:
aaron 2025-03-29 22:08:08 +08:00
parent 851c1e7686
commit fe5da7ff3a

View File

@ -117,7 +117,10 @@
<!-- 订单号 -->
<el-table-column prop="orderid" label="订单号" width="160" fixed="left">
<template #default="scope">
<div class="order-id-container">
<el-tag v-if="scope.row.is_first_order" type="danger" size="small" effect="plain" class="new-order-tag"></el-tag>
<span>{{ scope.row.orderid }}</span>
</div>
</template>
</el-table-column>
@ -1081,6 +1084,21 @@ export default {
text-align: center;
}
}
.order-id-container {
display: flex;
align-items: center;
gap: 5px;
}
.new-order-tag {
margin-right: 5px;
font-weight: bold;
font-size: 12px;
padding: 0 4px;
height: 20px;
line-height: 18px;
}
</style>
<!-- 全局样式确保图片预览显示在最顶层 -->