diff --git a/src/components/common/tabs-view/index.vue b/src/components/common/tabs-view/index.vue index b4a898aa..318776c0 100644 --- a/src/components/common/tabs-view/index.vue +++ b/src/components/common/tabs-view/index.vue @@ -1,5 +1,5 @@ diff --git a/src/components/model-article-tabs/model-article-tabs-content.vue b/src/components/model-article-tabs/model-article-tabs-content.vue index 279b7285..4ce12367 100644 --- a/src/components/model-article-tabs/model-article-tabs-content.vue +++ b/src/components/model-article-tabs/model-article-tabs-content.vue @@ -5,6 +5,13 @@
展示设置
+ + + 居左 + 居中 + 居右 + +
diff --git a/src/components/model-data-tabs/model-data-tabs-content.vue b/src/components/model-data-tabs/model-data-tabs-content.vue index 172365b1..ef3f530f 100644 --- a/src/components/model-data-tabs/model-data-tabs-content.vue +++ b/src/components/model-data-tabs/model-data-tabs-content.vue @@ -5,6 +5,13 @@
选项卡设置
+ + + 居左 + 居中 + 居右 + +
diff --git a/src/components/model-goods-tabs/model-goods-tabs-content.vue b/src/components/model-goods-tabs/model-goods-tabs-content.vue index a7fe210f..8d5d6421 100644 --- a/src/components/model-goods-tabs/model-goods-tabs-content.vue +++ b/src/components/model-goods-tabs/model-goods-tabs-content.vue @@ -5,6 +5,13 @@
展示设置
+ + + 居左 + 居中 + 居右 + +
diff --git a/src/components/model-tabs/model-tabs-content.vue b/src/components/model-tabs/model-tabs-content.vue index 0ed7d7d2..50f42ce0 100644 --- a/src/components/model-tabs/model-tabs-content.vue +++ b/src/components/model-tabs/model-tabs-content.vue @@ -17,6 +17,16 @@ + + + 居左 + 居中 + 居右 + + + + + diff --git a/src/config/const/article-tabs.ts b/src/config/const/article-tabs.ts index 9db6936e..b40bfe25 100644 --- a/src/config/const/article-tabs.ts +++ b/src/config/const/article-tabs.ts @@ -45,6 +45,7 @@ interface DefaultArticleTabs { subscript_icon_class: string; subscript_text: string; name_float: string; + justification: string; }; style: { tabs_one_theme: string; @@ -138,6 +139,8 @@ const defaultArticleTabs: DefaultArticleTabs = { content_top: { ...commonTop, }, + // 对齐方式 + justification: 'left', tabs_theme: '0', // 选中装饰图标 tabs_adorn_icon: 'checked-smooth', @@ -162,7 +165,7 @@ const defaultArticleTabs: DefaultArticleTabs = { subscript_img_src: [], subscript_icon_class: '', subscript_text: '', - name_float: '0', + name_float: '0' }, style: { tabs_one_theme: '0', diff --git a/src/config/const/data-tabs.ts b/src/config/const/data-tabs.ts index 0e450448..7236a651 100644 --- a/src/config/const/data-tabs.ts +++ b/src/config/const/data-tabs.ts @@ -22,6 +22,7 @@ interface articleTabsList { } interface DefaultProductList { content: { + justification: string; content_top: object; tabs_theme: string; tabs_adorn_icon: string; @@ -140,6 +141,8 @@ const defaultProductList: DefaultProductList = { content_top: { ...commonTop, }, + // 对齐方式 + justification: 'left', // 选项卡风格 tabs_theme: '0', // 选中装饰图标 diff --git a/src/config/const/goods-tabs.ts b/src/config/const/goods-tabs.ts index e9c5cc23..ddb1a712 100644 --- a/src/config/const/goods-tabs.ts +++ b/src/config/const/goods-tabs.ts @@ -48,6 +48,7 @@ interface DefaultProductList { subscript_img_src: uploadList[]; subscript_icon_class: string; subscript_text: string; + justification: string; }; style: { tabs_one_theme: string; @@ -154,6 +155,7 @@ const defaultProductList: DefaultProductList = { content_top: { ...commonTop, }, + justification: 'left', // 选项卡风格 tabs_theme: '0', // 选中装饰图标 diff --git a/src/config/const/tabs-carousel.ts b/src/config/const/tabs-carousel.ts index 010f1aee..a44f4e88 100644 --- a/src/config/const/tabs-carousel.ts +++ b/src/config/const/tabs-carousel.ts @@ -31,6 +31,8 @@ interface carousel_list { interface defaultTabs { content: { content_top: object; + justification: string, + show_more: string, tabs_theme: string; tabs_adorn_icon: string; tabs_adorn_img: uploadList[]; @@ -124,6 +126,8 @@ const defaultTabs: defaultTabs = { content_top: { ...commonTop, }, + justification: 'left', + show_more: '1', // 选项卡风格 tabs_theme: '0', // 选中装饰图标 diff --git a/src/config/const/tabs.ts b/src/config/const/tabs.ts index c7b3bfba..45421c0e 100644 --- a/src/config/const/tabs.ts +++ b/src/config/const/tabs.ts @@ -17,6 +17,8 @@ interface tabs_page { interface defaultTabs { content: { content_top: object; + justification: string, + show_more: string, tabs_theme: string; tabs_adorn_icon: string; tabs_adorn_img: uploadList[]; @@ -59,6 +61,8 @@ const defaultTabs: defaultTabs = { content_top: { ...commonTop, }, + justification: 'left', + show_more: '1', tabs_theme: '0', // 选中装饰图标 tabs_adorn_icon: 'checked-smooth',