diff --git a/src/api/mall/promotion/diy/page.ts b/src/api/mall/promotion/diy/page.ts
index 1cd34282a666ca517c2e9b8837d45e71f3bb9e9f..a834b2407446571cde47ebf13767d585ce4ddeca 100644
--- a/src/api/mall/promotion/diy/page.ts
+++ b/src/api/mall/promotion/diy/page.ts
@@ -5,7 +5,7 @@ export interface DiyPageVO {
templateId?: number
name: string
remark: string
- previewImageUrls: string[]
+ previewPicUrls: string[]
property: string
}
diff --git a/src/api/mall/promotion/diy/template.ts b/src/api/mall/promotion/diy/template.ts
index f8d4bc8038ab03ff99c19afae231d7c71cf33ba3..87134c95ac4087f89e5167092d8402a8239e7506 100644
--- a/src/api/mall/promotion/diy/template.ts
+++ b/src/api/mall/promotion/diy/template.ts
@@ -7,7 +7,7 @@ export interface DiyTemplateVO {
used: boolean
usedTime?: Date
remark: string
- previewImageUrls: string[]
+ previewPicUrls: string[]
property: string
}
diff --git a/src/components/DiyEditor/components/ComponentContainerProperty.vue b/src/components/DiyEditor/components/ComponentContainerProperty.vue
index 4f48e2043be6ae9b2986f8f926cf7793c6cc3be2..9d0750daa4cc7ce3f9c5ed02c8470b12e7a466e8 100644
--- a/src/components/DiyEditor/components/ComponentContainerProperty.vue
+++ b/src/components/DiyEditor/components/ComponentContainerProperty.vue
@@ -23,7 +23,7 @@
建议宽度 750px
-
+
-
+
diff --git a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
index 1817428d05cd42b9c729d3720762427ba656ebe4..689690b0d4721340cbcca58bfd8d38710f362c8a 100644
--- a/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
+++ b/src/components/DiyEditor/components/mobile/CouponCard/component.tsx
@@ -2,15 +2,13 @@ import * as CouponTemplateApi from '@/api/mall/promotion/coupon/couponTemplate'
import { CouponTemplateValidityTypeEnum, PromotionDiscountTypeEnum } from '@/utils/constants'
import { floatToFixed2 } from '@/utils'
import { formatDate } from '@/utils/formatTime'
+import { object } from 'vue-types'
// 优惠值
-// TODO @疯狂:idea 有告警
export const CouponDiscount = defineComponent({
name: 'CouponDiscount',
props: {
- coupon: {
- type: CouponTemplateApi.CouponTemplateVO
- }
+ coupon: object()
},
setup(props) {
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
@@ -35,9 +33,7 @@ export const CouponDiscount = defineComponent({
export const CouponDiscountDesc = defineComponent({
name: 'CouponDiscountDesc',
props: {
- coupon: {
- type: CouponTemplateApi.CouponTemplateVO
- }
+ coupon: object()
},
setup(props) {
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
@@ -61,9 +57,7 @@ export const CouponDiscountDesc = defineComponent({
export const CouponValidTerm = defineComponent({
name: 'CouponValidTerm',
props: {
- coupon: {
- type: CouponTemplateApi.CouponTemplateVO
- }
+ coupon: object()
},
setup(props) {
const coupon = props.coupon as CouponTemplateApi.CouponTemplateVO
diff --git a/src/components/DiyEditor/components/mobile/CouponCard/config.ts b/src/components/DiyEditor/components/mobile/CouponCard/config.ts
index 40c6bed3c7c65e5579acedacacc0082f30e27035..304533d1ffb53daea3570d9d9b0277c2571ec9a8 100644
--- a/src/components/DiyEditor/components/mobile/CouponCard/config.ts
+++ b/src/components/DiyEditor/components/mobile/CouponCard/config.ts
@@ -24,7 +24,6 @@ export interface CouponCardProperty {
}
// 定义组件
-// TODO @疯狂:idea 有告警
export const component = {
id: 'CouponCard',
name: '优惠券',
diff --git a/src/components/DiyEditor/components/mobile/MagicCube/config.ts b/src/components/DiyEditor/components/mobile/MagicCube/config.ts
index d2edfddfc35cbf27a0151cad1de1d272d43a95f7..5e10ab55a81294f19dcce19bba2e89f46d46a6cf 100644
--- a/src/components/DiyEditor/components/mobile/MagicCube/config.ts
+++ b/src/components/DiyEditor/components/mobile/MagicCube/config.ts
@@ -31,7 +31,6 @@ export interface MagicCubeItemProperty {
}
// 定义组件
-// TODO @疯狂:有 idea 爆红告警
export const component = {
id: 'MagicCube',
name: '广告魔方',
diff --git a/src/components/DiyEditor/components/mobile/ProductCard/config.ts b/src/components/DiyEditor/components/mobile/ProductCard/config.ts
index fd4b21fc0bbd8f735bcbfdd1ba7a880e2b244f01..735b6ba04a812813234b054722ed9ce37cb5fd84 100644
--- a/src/components/DiyEditor/components/mobile/ProductCard/config.ts
+++ b/src/components/DiyEditor/components/mobile/ProductCard/config.ts
@@ -59,7 +59,6 @@ export interface ProductCardFieldProperty {
}
// 定义组件
-// TODO @疯狂:idea 有告警
export const component = {
id: 'ProductCard',
name: '商品卡片',
diff --git a/src/components/DiyEditor/components/mobile/ProductList/config.ts b/src/components/DiyEditor/components/mobile/ProductList/config.ts
index 6522a314b4c44f2aabd8573d6562fc6c4cafd464..1f1683234bc88d27a44e47787a064ea1662cca48 100644
--- a/src/components/DiyEditor/components/mobile/ProductList/config.ts
+++ b/src/components/DiyEditor/components/mobile/ProductList/config.ts
@@ -38,7 +38,6 @@ 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 3bca5da9ad62860a4f57d9f63c8115df177f295e..e003b081c4c784e39fcb2debdd5814dbf204dac4 100644
--- a/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue
+++ b/src/components/DiyEditor/components/mobile/PromotionArticle/index.vue
@@ -1,17 +1,16 @@
-
+