update
This commit is contained in:
parent
851c1e7686
commit
fe5da7ff3a
@ -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>
|
||||
|
||||
<!-- 全局样式,确保图片预览显示在最顶层 -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user