fix: 更新 API 请求参数格式及优化组件样式

- 将 addEvaluation API 的参数从 params 修改为 data,以符合标准请求格式
- 在多个组件中调整样式,提升响应式布局和用户体验
- 优化商品详情页的倒计时显示,增强视觉效果
- 更新购物车操作按钮样式,提升一致性和可用性
This commit is contained in:
田香琪
2026-06-23 14:13:25 +08:00
parent 8a60e23214
commit 1b2e980fb6
26 changed files with 481 additions and 401 deletions

View File

@@ -120,7 +120,11 @@
</el-table-column>
<el-table-column label="售后状态" width="180">
<template #default="{ row }">
<el-tag v-if="row" :type="serviceStatusTagType(row.serviceStatus)">
<el-tag
v-if="row"
:type="serviceStatusTagType(row.serviceStatus)"
effect="plain"
>
{{ serviceStatusText(row.serviceStatus) }}
</el-tag>
</template>

View File

@@ -9,7 +9,7 @@
class="search-form"
@keyup.enter="handleSearch"
>
<el-form-item label="关键字" prop="keywords" style="display: block; width: 100%">
<el-form-item label="关键字" prop="keywords">
<el-input
v-model="searchForm.keywords"
placeholder="请输入商品名称、订单编号搜索"
@@ -112,7 +112,11 @@
</el-table-column>
<el-table-column label="售后状态" width="180">
<template #default="{ row }">
<el-tag v-if="row" :type="serviceStatusTagType(row.serviceStatus)">
<el-tag
v-if="row"
:type="serviceStatusTagType(row.serviceStatus)"
effect="plain"
>
{{ serviceStatusText(row.serviceStatus) }}
</el-tag>
</template>

View File

@@ -379,7 +379,8 @@ export default {
this.getDataList();
},
getOrderNumData() {
const { orderStatus, ...searchParams } = this.searchForm;
// orderNum 接口仅查 li_order不含 order_item 关联keywords/goodsName 会引用 oi 字段导致 SQL 报错
const { orderStatus, keywords, goodsName, ...searchParams } = this.searchForm;
API_Order.getOrderNum(searchParams)
.then((res) => {
if (res.success) {