feat(store): 新增门店商品管理功能页面

- 在门店中心页新增“商品管理”功能卡片入口
- 注册商品管理页面路由`pages/store/goods/index`
- 实现商品列表分页、Tab状态筛选和关键词搜索功能
- 支持分类筛选,弹窗选择商品分类
- 商品卡片显示图片、名称、状态、价格、销量、库存和标签
- 快速操作支持商品上架/下架、推荐切换和弹窗编辑
- 编辑弹窗支持修改价格、市场价、库存、排序号和备注
- 调整收藏接口获取逻辑,增强接口调用稳定性
This commit is contained in:
2026-07-06 01:08:22 +08:00
parent b07a3525db
commit ac283148f7
6 changed files with 626 additions and 4 deletions

View File

@@ -11,6 +11,16 @@ definePageConfig({
// 功能卡片定义(未来新增功能只需在这里加一项)
const FEATURE_CARDS = [
{
key: 'goods',
icon: '🏷️',
title: '商品管理',
desc: '管理门店商品上下架和库存',
url: '/pages/store/goods/index',
color: '#0891b2',
bgColor: '#cffafe',
showBadge: false,
},
{
key: 'orders',
icon: '📦',