From c6226ace2ceaa3630fc86fbe2a9dbd89844426d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 19 Aug 2024 11:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop.ts | 13 ++++++++ .../common/custom-module/model-text/index.vue | 20 ++++++++++-- .../model-text/model-text-style.vue | 3 ++ .../model-custom/components/index-default.ts | 1 + .../model-custom/components/index.vue | 4 ++- .../model-shop-list-content.vue | 5 +++ src/store/modules/shop.ts | 32 +++++++++++++++++++ 7 files changed, 75 insertions(+), 3 deletions(-) create mode 100644 src/api/shop.ts create mode 100644 src/store/modules/shop.ts diff --git a/src/api/shop.ts b/src/api/shop.ts new file mode 100644 index 00000000..423bd675 --- /dev/null +++ b/src/api/shop.ts @@ -0,0 +1,13 @@ +import request from '@/utils/request'; + +class ShopAPI { + /** 分类查询接口*/ + static getShop() { + return request({ + url: `diyapi/goodsinit`, + method: 'post', + }); + } +} + +export default ShopAPI; diff --git a/src/components/common/custom-module/model-text/index.vue b/src/components/common/custom-module/model-text/index.vue index a4e725d8..bfac84d8 100644 --- a/src/components/common/custom-module/model-text/index.vue +++ b/src/components/common/custom-module/model-text/index.vue @@ -1,6 +1,13 @@ - + diff --git a/src/components/common/custom-module/model-text/model-text-style.vue b/src/components/common/custom-module/model-text/model-text-style.vue index d641a026..1bd36fc8 100644 --- a/src/components/common/custom-module/model-text/model-text-style.vue +++ b/src/components/common/custom-module/model-text/model-text-style.vue @@ -21,6 +21,9 @@ + + + diff --git a/src/components/model-custom/components/index-default.ts b/src/components/model-custom/components/index-default.ts index 74d05e54..1898d8c4 100644 --- a/src/components/model-custom/components/index-default.ts +++ b/src/components/model-custom/components/index-default.ts @@ -7,6 +7,7 @@ export const text_com_data = { data_source_id: '', data_source_list: {}, text_link: {}, + is_rich_text: false, text_color: '#000', text_weight: 'normal', text_size: 12, diff --git a/src/components/model-custom/components/index.vue b/src/components/model-custom/components/index.vue index 0f6a9536..af0afb16 100644 --- a/src/components/model-custom/components/index.vue +++ b/src/components/model-custom/components/index.vue @@ -71,6 +71,7 @@
+ @@ -560,13 +561,14 @@ defineExpose({