From ea6465d660adacaf64064a000707d1ad94d2ab95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 7 Aug 2025 18:50:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9B=B4=E5=A4=9A=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/diy/components/diy/modules/tabs-view.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/diy/components/diy/modules/tabs-view.vue b/pages/diy/components/diy/modules/tabs-view.vue index 041fadb3..17fe9b10 100644 --- a/pages/diy/components/diy/modules/tabs-view.vue +++ b/pages/diy/components/diy/modules/tabs-view.vue @@ -62,7 +62,7 @@ - + {{ item.title }} @@ -217,6 +217,8 @@ tabs_list_is_sliding_fixed: true, scroll_left: 0, tabs_adorn_icon_size: '0rpx', + more_text_selectd_style: '', + more_text_color: '', // 默认数据 old_radius: { radius: 0, radius_top_left: 0, radius_top_right: 0, radius_bottom_left: 0, radius_bottom_right: 0 }, old_padding: { padding: 0, padding_top: 0, padding_bottom: 0, padding_left: 0, padding_right: 0 }, @@ -317,6 +319,11 @@ roll = 'tabs_pc'; } // #endif + const more_style = { + color_list: new_style?.more_button_color_list || [{ color: '#eee', color_percentage: undefined }], + direction: new_style?.more_button_direction || '90deg', + } + const more_button_selectd = gradient_computer(more_style) + `color: ${new_style?.more_button_text_selected_color || '#666'};`; // 参数设置 this.setData({ tabs_roll: roll, @@ -346,6 +353,8 @@ tabs_height: ['2', '4'].includes(new_content.tabs_theme) ? height * 2 + 'rpx' : '100%;', tabs_adorn_img_style: this.get_tabs_adorn_img_style(new_style), tabs_adorn_icon_size: (new_style?.tabs_adorn_icon_size || 0) * 2 + 'rpx', + more_text_selectd_style: more_button_selectd, + more_text_color: new_style?.more_button_text_color || '#666', }); // 只有居中居右的才重新获取dom判断 // if (['center', 'right'].includes(this.form.justification)) {