From c09f13190f051e6c36441ad6369078e95a6ef0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 10 Sep 2024 09:39:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BE=85=E5=8A=A9?= =?UTF-8?q?=E7=A9=BA=E7=99=BD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/diy.vue | 3 +++ components/diy/text-title.vue | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/components/diy/diy.vue b/components/diy/diy.vue index d3858b7a..2708c342 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -10,6 +10,7 @@ + @@ -24,6 +25,7 @@ import componentTextTitle from '@/components/diy/text-title'; import componentDiyAuxiliaryLine from '@/components/diy/auxiliary-line'; import componentDiyRichText from '@/components/diy/rich-text.vue'; + import componentAuxiliaryBlank from '@/components/diy/auxiliary-blank.vue'; export default { name: 'diy', props: { @@ -40,6 +42,7 @@ componentDiyRichText, componentFloatWindow, componentTextTitle, + componentAuxiliaryBlank }, data() { return { diff --git a/components/diy/text-title.vue b/components/diy/text-title.vue index 59adadbc..a702300a 100644 --- a/components/diy/text-title.vue +++ b/components/diy/text-title.vue @@ -55,12 +55,12 @@ export default { this.keyword_list = this.form.keyword_list.filter(item => item.is_show == '1'); }, set_common_styles() { - const {keyword_color, keyword_size, right_color, right_size, common_style, title_weight, title_color, title_size } = this.new_style; + const { keyword_color, keyword_size, right_color, right_size, common_style, title_weight, title_color, title_size } = this.new_style; // 关键字设置 - this.keyword_style = `color:${keyword_color}; font-size: ${keyword_size * 2}rpx;`; + this.keyword_style = `color:${ keyword_color }; font-size: ${ keyword_size * 2 }rpx;`; // 右边按钮设置 this.right_size = right_size * 2 + 'rpx'; - this.right_style = `color:${right_color}; font-size: ${right_size * 2}rpx;`; + this.right_style = `color:${ right_color }; font-size: ${ right_size * 2 }rpx;`; // 标题样式设置 let common_styles = ''; if (title_weight == 'italic') { @@ -68,7 +68,7 @@ export default { } else if (title_weight == '500') { common_styles += `font-weight: 500`; } - this.title_style = `color:${title_color}; font-size: ${title_size * 2}rpx; ${common_styles}`; + this.title_style = `color:${ title_color }; font-size: ${ title_size * 2 }rpx; ${ common_styles }`; // 通用样式区 this.style_container = common_styles_computer(common_style); }, From 7d023c9af7f2aeb9b06f53a56ef6d9cb0755c990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 10 Sep 2024 09:39:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BE=85=E5=8A=A9?= =?UTF-8?q?=E7=A9=BA=E7=99=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/auxiliary-blank.vue | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 components/diy/auxiliary-blank.vue diff --git a/components/diy/auxiliary-blank.vue b/components/diy/auxiliary-blank.vue new file mode 100644 index 00000000..efa60338 --- /dev/null +++ b/components/diy/auxiliary-blank.vue @@ -0,0 +1,41 @@ + + + + +