feat(points): 增加积分兑换联系信息

This commit is contained in:
yml2213
2026-11-04 19:51:17 +08:00
parent 95aeee7eb3
commit f439e23eb8
9 changed files with 425 additions and 25 deletions
@@ -186,6 +186,16 @@ function defaultProduct(): PointsMallProductPayload {
<small>{{ row.user_phone || row.user_id }}</small>
</template>
</el-table-column>
<el-table-column label="兑换联系人" min-width="170">
<template #default="{ row }">
<span>{{ row.contact_name || '-' }}</span
><br />
<small>{{ row.contact_phone || '-' }}</small>
<p v-if="row.customer_remark" class="customer-remark">
备注:{{ row.customer_remark }}
</p>
</template>
</el-table-column>
<el-table-column prop="product_title" label="商品" min-width="160" />
<el-table-column prop="total_points" label="积分" width="100" />
<el-table-column label="状态" width="100">
@@ -315,6 +325,14 @@ function defaultProduct(): PointsMallProductPayload {
gap: 12px;
}
.customer-remark {
margin: 5px 0 0;
color: #6b7280;
font-size: 12px;
line-height: 1.4;
white-space: normal;
}
.cover-editor {
display: grid;
grid-template-columns: 180px minmax(0, 1fr);