diff --git a/src/components/AppLinkInput/data.ts b/src/components/AppLinkInput/data.ts
index 0a8208eb..fe6bb291 100644
--- a/src/components/AppLinkInput/data.ts
+++ b/src/components/AppLinkInput/data.ts
@@ -35,8 +35,6 @@ export const enum APP_LINK_TYPE_ENUM {
PRODUCT_DETAIL_NORMAL,
// 拼团商品详情
PRODUCT_DETAIL_COMBINATION,
- // 积分商品详情
- PRODUCT_DETAIL_POINT,
// 秒杀商品详情
PRODUCT_DETAIL_SECKILL
}
@@ -80,10 +78,6 @@ export const APP_LINK_GROUP_LIST = [
name: '系统设置',
path: '/pages/public/setting'
},
- {
- name: '问题反馈',
- path: '/pages/public/feedback'
- },
{
name: '常见问题',
path: '/pages/public/faq'
@@ -112,11 +106,6 @@ export const APP_LINK_GROUP_LIST = [
name: '秒杀商品详情',
path: '/pages/goods/seckill',
type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_SECKILL
- },
- {
- name: '积分商品详情',
- path: '/pages/goods/score',
- type: APP_LINK_TYPE_ENUM.PRODUCT_DETAIL_POINT
}
]
},
@@ -145,10 +134,6 @@ export const APP_LINK_GROUP_LIST = [
name: '签到中心',
path: '/pages/app/sign'
},
- {
- name: '积分商城',
- path: '/pages/app/score-shop'
- },
{
name: '优惠券中心',
path: '/pages/coupon/list'
@@ -242,10 +227,6 @@ export const APP_LINK_GROUP_LIST = [
name: '地址管理',
path: '/pages/user/address/list'
},
- {
- name: '发票管理',
- path: '/pages/user/invoice/list'
- },
{
name: '用户佣金',
path: '/pages/user/wallet/commission'
diff --git a/src/components/DiyEditor/components/ComponentContainer.vue b/src/components/DiyEditor/components/ComponentContainer.vue
index e6f1beb3..14093f48 100644
--- a/src/components/DiyEditor/components/ComponentContainer.vue
+++ b/src/components/DiyEditor/components/ComponentContainer.vue
@@ -100,6 +100,7 @@ const emits = defineEmits<{
(e: 'copy'): void
(e: 'delete'): void
}>()
+
/**
* 移动组件
* @param direction 移动方向
@@ -107,12 +108,14 @@ const emits = defineEmits<{
const handleMoveComponent = (direction: number) => {
emits('move', direction)
}
+
/**
* 复制组件
*/
const handleCopyComponent = () => {
emits('copy')
}
+
/**
* 删除组件
*/
diff --git a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
index 1542cad6..1817428d 100644
--- a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
+++ b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
@@ -4,6 +4,7 @@ import { floatToFixed2 } from '@/utils'
import { formatDate } from '@/utils/formatTime'
// 优惠值
+// TODO @疯狂:idea 有告警
export const CouponDiscount = defineComponent({
name: 'CouponDiscount',
props: {
diff --git a/src/components/DiyEditor/components/mobile/CouponCard/config.ts b/src/components/DiyEditor/components/mobile/CouponCard/config.ts
index 304533d1..40c6bed3 100644
--- a/src/components/DiyEditor/components/mobile/CouponCard/config.ts
+++ b/src/components/DiyEditor/components/mobile/CouponCard/config.ts
@@ -24,6 +24,7 @@ export interface CouponCardProperty {
}
// 定义组件
+// TODO @疯狂:idea 有告警
export const component = {
id: 'CouponCard',
name: '优惠券',
diff --git a/src/components/DiyEditor/components/mobile/HotZone/config.ts b/src/components/DiyEditor/components/mobile/HotZone/config.ts
index 9dcebcc2..80ed8559 100644
--- a/src/components/DiyEditor/components/mobile/HotZone/config.ts
+++ b/src/components/DiyEditor/components/mobile/HotZone/config.ts
@@ -9,6 +9,7 @@ export interface HotZoneProperty {
// 组件样式
style: ComponentStyle
}
+
/** 热区项目属性 */
export interface HotZoneItemProperty {
// 链接的名称
diff --git a/src/components/DiyEditor/components/mobile/MagicCube/config.ts b/src/components/DiyEditor/components/mobile/MagicCube/config.ts
index bd3120bb..d2edfddf 100644
--- a/src/components/DiyEditor/components/mobile/MagicCube/config.ts
+++ b/src/components/DiyEditor/components/mobile/MagicCube/config.ts
@@ -13,6 +13,7 @@ export interface MagicCubeProperty {
// 组件样式
style: ComponentStyle
}
+
/** 广告魔方项目属性 */
export interface MagicCubeItemProperty {
// 图标链接
@@ -30,6 +31,7 @@ export interface MagicCubeItemProperty {
}
// 定义组件
+// TODO @疯狂:有 idea 爆红告警
export const component = {
id: 'MagicCube',
name: '广告魔方',
diff --git a/src/components/DiyEditor/components/mobile/MenuGrid/config.ts b/src/components/DiyEditor/components/mobile/MenuGrid/config.ts
index b5a5d97d..9f91ceb0 100644
--- a/src/components/DiyEditor/components/mobile/MenuGrid/config.ts
+++ b/src/components/DiyEditor/components/mobile/MenuGrid/config.ts
@@ -10,6 +10,7 @@ export interface MenuGridProperty {
// 组件样式
style: ComponentStyle
}
+
/** 宫格导航项目属性 */
export interface MenuGridItemProperty {
// 图标链接
diff --git a/src/components/DiyEditor/components/mobile/MenuList/config.ts b/src/components/DiyEditor/components/mobile/MenuList/config.ts
index c42674f3..f96fd0a1 100644
--- a/src/components/DiyEditor/components/mobile/MenuList/config.ts
+++ b/src/components/DiyEditor/components/mobile/MenuList/config.ts
@@ -8,6 +8,7 @@ export interface MenuListProperty {
// 组件样式
style: ComponentStyle
}
+
/** 列表导航项目属性 */
export interface MenuListItemProperty {
// 图标链接
diff --git a/src/components/DiyEditor/components/mobile/NoticeBar/property.vue b/src/components/DiyEditor/components/mobile/NoticeBar/property.vue
index 7129d7cb..a505011a 100644
--- a/src/components/DiyEditor/components/mobile/NoticeBar/property.vue
+++ b/src/components/DiyEditor/components/mobile/NoticeBar/property.vue
@@ -12,7 +12,6 @@
-
diff --git a/src/components/DiyEditor/components/mobile/ProductCard/config.ts b/src/components/DiyEditor/components/mobile/ProductCard/config.ts
index 735b6ba0..fd4b21fc 100644
--- a/src/components/DiyEditor/components/mobile/ProductCard/config.ts
+++ b/src/components/DiyEditor/components/mobile/ProductCard/config.ts
@@ -59,6 +59,7 @@ export interface ProductCardFieldProperty {
}
// 定义组件
+// TODO @疯狂:idea 有告警
export const component = {
id: 'ProductCard',
name: '商品卡片',
diff --git a/src/components/DiyEditor/components/mobile/ProductCard/index.vue b/src/components/DiyEditor/components/mobile/ProductCard/index.vue
index a6894ed9..f05d4fa9 100644
--- a/src/components/DiyEditor/components/mobile/ProductCard/index.vue
+++ b/src/components/DiyEditor/components/mobile/ProductCard/index.vue
@@ -134,6 +134,7 @@ watch(
deep: true
}
)
+
/**
* 计算商品的间距
* @param index 商品索引
diff --git a/src/components/DiyEditor/components/mobile/ProductList/config.ts b/src/components/DiyEditor/components/mobile/ProductList/config.ts
index 1f168323..6522a314 100644
--- a/src/components/DiyEditor/components/mobile/ProductList/config.ts
+++ b/src/components/DiyEditor/components/mobile/ProductList/config.ts
@@ -38,6 +38,7 @@ export interface ProductListFieldProperty {
}
// 定义组件
+// TODO @疯狂:idea 有告警
export const component = {
id: 'ProductList',
name: '商品栏',
diff --git a/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue b/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue
index cca3635d..3bca5da9 100644
--- a/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue
+++ b/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue
@@ -6,6 +6,7 @@ import { PromotionArticleProperty } from './config'
import * as ArticleApi from '@/api/mall/promotion/article/index'
/** 营销文章 */
+// TODO @疯狂:idea 有告警
defineOptions({ name: 'PromotionArticle' })
// 定义属性
const props = defineProps<{ property: PromotionArticleProperty }>()
diff --git a/src/components/DiyEditor/components/mobile/PromotionCombination/config.ts b/src/components/DiyEditor/components/mobile/PromotionCombination/config.ts
index 3ec2a75b..2b211a03 100644
--- a/src/components/DiyEditor/components/mobile/PromotionCombination/config.ts
+++ b/src/components/DiyEditor/components/mobile/PromotionCombination/config.ts
@@ -29,6 +29,7 @@ export interface PromotionCombinationProperty {
// 组件样式
style: ComponentStyle
}
+
// 商品字段
export interface PromotionCombinationFieldProperty {
// 是否显示
@@ -38,6 +39,7 @@ export interface PromotionCombinationFieldProperty {
}
// 定义组件
+// TODO @疯狂:idea 有告警
export const component = {
id: 'PromotionCombination',
name: '拼团',
diff --git a/src/components/DiyEditor/components/mobile/SearchBar/config.ts b/src/components/DiyEditor/components/mobile/SearchBar/config.ts
index ef47b27c..877a2cca 100644
--- a/src/components/DiyEditor/components/mobile/SearchBar/config.ts
+++ b/src/components/DiyEditor/components/mobile/SearchBar/config.ts
@@ -17,6 +17,7 @@ export interface SearchProperty {
export type PlaceholderPosition = 'left' | 'center'
// 定义组件
+// TODO @疯狂:idea 这里爆红,可以卡看咋优化下哇:is missing the following properties from type DiyComponent: uid, position
export const component = {
id: 'SearchBar',
name: '搜索框',
diff --git a/src/components/DiyEditor/components/mobile/VideoPlayer/config.ts b/src/components/DiyEditor/components/mobile/VideoPlayer/config.ts
index 30501cb8..90cd6a7a 100644
--- a/src/components/DiyEditor/components/mobile/VideoPlayer/config.ts
+++ b/src/components/DiyEditor/components/mobile/VideoPlayer/config.ts
@@ -19,6 +19,7 @@ export interface VideoPlayerStyle extends ComponentStyle {
}
// 定义组件
+// TODO @疯狂:idea 有告警
export const component = {
id: 'VideoPlayer',
name: '视频播放',
diff --git a/src/components/DiyEditor/util.ts b/src/components/DiyEditor/util.ts
index 8bca9726..6bec25f3 100644
--- a/src/components/DiyEditor/util.ts
+++ b/src/components/DiyEditor/util.ts
@@ -103,6 +103,7 @@ export function usePropertyForm(modelValue: T, emit: Function): { formData: R
}
)
+ // TODO @疯狂:这个 idea 爆红,看看怎么可以解决哈
return { formData }
}
diff --git a/src/views/mall/promotion/diy/template/decorate.vue b/src/views/mall/promotion/diy/template/decorate.vue
index e15d2919..6f4899a2 100644
--- a/src/views/mall/promotion/diy/template/decorate.vue
+++ b/src/views/mall/promotion/diy/template/decorate.vue
@@ -27,10 +27,11 @@