Skip to content

Commit b86f082

Browse files
committed
📖 code review:店铺装修逻辑
1 parent df1c565 commit b86f082

File tree

19 files changed

+23
-23
lines changed

19 files changed

+23
-23
lines changed

src/components/AppLinkInput/data.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export const enum APP_LINK_TYPE_ENUM {
3535
PRODUCT_DETAIL_NORMAL,
3636
// 拼团商品详情
3737
PRODUCT_DETAIL_COMBINATION,
38-
// 积分商品详情
39-
PRODUCT_DETAIL_POINT,
4038
// 秒杀商品详情
4139
PRODUCT_DETAIL_SECKILL
4240
}
@@ -80,10 +78,6 @@ export const APP_LINK_GROUP_LIST = [
8078
name: '系统设置',
8179
path: '/pages/public/setting'
8280
},
83-
{
84-
name: '问题反馈',
85-
path: '/pages/public/feedback'
86-
},
8781
{
8882
name: '常见问题',
8983
path: '/pages/public/faq'
@@ -112,11 +106,6 @@ export const APP_LINK_GROUP_LIST = [
112106
name: '秒杀商品详情',
113107
path: '/pages/goods/seckill',
114108
type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL
115-
},
116-
{
117-
name: '积分商品详情',
118-
path: '/pages/goods/score',
119-
type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_POINT
120109
}
121110
]
122111
},
@@ -145,10 +134,6 @@ export const APP_LINK_GROUP_LIST = [
145134
name: '签到中心',
146135
path: '/pages/app/sign'
147136
},
148-
{
149-
name: '积分商城',
150-
path: '/pages/app/score-shop'
151-
},
152137
{
153138
name: '优惠券中心',
154139
path: '/pages/coupon/list'
@@ -242,10 +227,6 @@ export const APP_LINK_GROUP_LIST = [
242227
name: '地址管理',
243228
path: '/pages/user/address/list'
244229
},
245-
{
246-
name: '发票管理',
247-
path: '/pages/user/invoice/list'
248-
},
249230
{
250231
name: '用户佣金',
251232
path: '/pages/user/wallet/commission'

src/components/DiyEditor/components/ComponentContainer.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,22 @@ const emits = defineEmits<{
100100
(e: 'copy'): void
101101
(e: 'delete'): void
102102
}>()
103+
103104
/**
104105
* 移动组件
105106
* @param direction 移动方向
106107
*/
107108
const handleMoveComponent = (direction: number) => {
108109
emits('move', direction)
109110
}
111+
110112
/**
111113
* 复制组件
112114
*/
113115
const handleCopyComponent = () => {
114116
emits('copy')
115117
}
118+
116119
/**
117120
* 删除组件
118121
*/

src/components/DiyEditor/components/mobile/CouponCard/component.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { floatToFixed2 } from '@/utils'
44
import { formatDate } from '@/utils/formatTime'
55

66
// 优惠值
7+
// TODO @疯狂:idea 有告警
78
export const CouponDiscount = defineComponent({
89
name: 'CouponDiscount',
910
props: {

src/components/DiyEditor/components/mobile/CouponCard/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface CouponCardProperty {
2424
}
2525

2626
// 定义组件
27+
// TODO @疯狂:idea 有告警
2728
export const component = {
2829
id: 'CouponCard',
2930
name: '优惠券',

src/components/DiyEditor/components/mobile/HotZone/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export interface HotZoneProperty {
99
// 组件样式
1010
style: ComponentStyle
1111
}
12+
1213
/** 热区项目属性 */
1314
export interface HotZoneItemProperty {
1415
// 链接的名称

src/components/DiyEditor/components/mobile/MagicCube/config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export interface MagicCubeProperty {
1313
// 组件样式
1414
style: ComponentStyle
1515
}
16+
1617
/** 广告魔方项目属性 */
1718
export interface MagicCubeItemProperty {
1819
// 图标链接
@@ -30,6 +31,7 @@ export interface MagicCubeItemProperty {
3031
}
3132

3233
// 定义组件
34+
// TODO @疯狂:有 idea 爆红告警
3335
export const component = {
3436
id: 'MagicCube',
3537
name: '广告魔方',

src/components/DiyEditor/components/mobile/MenuGrid/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface MenuGridProperty {
1010
// 组件样式
1111
style: ComponentStyle
1212
}
13+
1314
/** 宫格导航项目属性 */
1415
export interface MenuGridItemProperty {
1516
// 图标链接

src/components/DiyEditor/components/mobile/MenuList/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export interface MenuListProperty {
88
// 组件样式
99
style: ComponentStyle
1010
}
11+
1112
/** 列表导航项目属性 */
1213
export interface MenuListItemProperty {
1314
// 图标链接

src/components/DiyEditor/components/mobile/NoticeBar/property.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<el-form-item label="文字颜色" prop="文字颜色">
1313
<ColorInput v-model="formData.textColor" />
1414
</el-form-item>
15-
1615
<el-card header="公告内容" class="property-group" shadow="never">
1716
<Draggable v-model="formData.contents">
1817
<template #default="{ element }">

src/components/DiyEditor/components/mobile/ProductCard/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface ProductCardFieldProperty {
5959
}
6060

6161
// 定义组件
62+
// TODO @疯狂:idea 有告警
6263
export const component = {
6364
id: 'ProductCard',
6465
name: '商品卡片',

0 commit comments

Comments
 (0)