feat: 增强组件功能与样式优化

- 在多个组件中添加了新的属性和方法以提升功能性,如在卡片组件中引入 _ActiveTab 属性以管理活动标签。
- 优化了商品详情和商户页面的收藏逻辑,确保在未登录状态下引导用户登录。
- 更新了轮播组件的路由解析逻辑,增强了用户体验。
- 改进了投诉列表和收藏列表的样式,提升了响应式布局和可读性。
- 在全局配置中添加了对开发环境的错误处理,提升了调试体验。
This commit is contained in:
田香琪
2026-06-25 16:52:46 +08:00
parent 1b2e980fb6
commit ec948b5496
86 changed files with 1741 additions and 1050 deletions

View File

@@ -3,7 +3,7 @@
<el-button style="margin-bottom: 10px" @click="back()">返回</el-button>
<el-card>
<el-form ref="searchForm" :model="searchForm" inline label-width="75px" class="search-form mb_10">
<el-form ref="searchForm" :model="searchForm" inline label-width="90px" class="search-form mb_10">
<el-form-item label="优惠券名称" prop="couponName">
<el-input
v-model="searchForm.couponName"
@@ -64,11 +64,6 @@
>
<el-table-column prop="memberName" label="会员名称" min-width="130" fixed="left" />
<el-table-column prop="couponName" label="优惠券名称" min-width="100" show-overflow-tooltip />
<el-table-column label="发布店铺" min-width="100">
<template #default="{ row }">
<span v-if="row">{{ (row.storeName === "platform" && "平台") || row.storeName }}</span>
</template>
</el-table-column>
<el-table-column label="面额/折扣" width="100">
<template #default="{ row }">
<priceColorScheme
@@ -121,7 +116,7 @@
</template>
</template>
</el-table-column>
<el-table-column label="有效时间" width="150">
<el-table-column label="有效时间" width="200">
<template #default="{ row }">
<template v-if="row">
<span v-if="row.getType === 'ACTIVITY' && row.rangeDayType === 'DYNAMICTIME'">长期有效</span>