From 5faceda67864ed27f4e5681905f52b8704e5f338 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, 15 Oct 2024 11:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9icon=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=92=8C=E8=87=AA=E5=AE=9A=E4=B9=89=E7=9A=84=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/article-list.vue | 4 ++-- components/diy/carousel.vue | 4 ++-- components/diy/coupon.vue | 2 +- components/diy/custom.vue | 19 ++++++++++--------- components/diy/diy.vue | 4 ++-- components/diy/goods-list.vue | 6 +++--- components/diy/header.vue | 4 ++-- components/diy/modules/custom/model-icon.vue | 2 +- components/diy/modules/custom/model-lines.vue | 2 +- components/diy/modules/hot-word-list.vue | 2 +- components/diy/modules/tabs-view.vue | 6 +++--- components/diy/notice.vue | 8 ++++---- components/diy/search.vue | 4 ++-- components/diy/seckill.vue | 6 +++--- components/diy/title.vue | 4 ++-- components/diy/user-info.vue | 2 +- 16 files changed, 40 insertions(+), 39 deletions(-) diff --git a/components/diy/article-list.vue b/components/diy/article-list.vue index 25a113cf..75dc0b96 100644 --- a/components/diy/article-list.vue +++ b/components/diy/article-list.vue @@ -18,7 +18,7 @@ {{ field_show.includes('0') ? item.data.add_time : '' }} - + {{ item.data.access_count ? item.data.access_count : '' }} @@ -42,7 +42,7 @@ {{ field_show.includes('0') ? item.data.add_time : '' }} - + {{ item.data.access_count ? item.data.access_count : '' }} diff --git a/components/diy/carousel.vue b/components/diy/carousel.vue index 38736fb6..972f2687 100644 --- a/components/diy/carousel.vue +++ b/components/diy/carousel.vue @@ -14,7 +14,7 @@ - + {{ item.video_title }} @@ -32,7 +32,7 @@ - + {{ item.video_title }} diff --git a/components/diy/coupon.vue b/components/diy/coupon.vue index fc5dccdd..6bf8e03e 100644 --- a/components/diy/coupon.vue +++ b/components/diy/coupon.vue @@ -55,7 +55,7 @@
{{ item.status_operable_name }} - + diff --git a/components/diy/custom.vue b/components/diy/custom.vue index 1f4d1242..4eb83b51 100644 --- a/components/diy/custom.vue +++ b/components/diy/custom.vue @@ -2,8 +2,7 @@ - + @@ -63,6 +62,7 @@ export default { style_img_container: '', div_width: 0, div_height: 0, + custom_list_length: 0, }; }, computed: { @@ -84,10 +84,8 @@ export default { methods: { percentage_count, init() { - this.setData({ - form: this.propValue.content, - new_style: this.propValue.style, - }); + const new_form = this.propValue.content; + const new_style = this.propValue.style; this.$nextTick(() => { const query = uni.createSelectorQuery().in(this); query @@ -103,9 +101,12 @@ export default { .exec(); }); this.setData({ - style_container: common_styles_computer(this.new_style.common_style) + 'box-sizing: border-box;', // 用于样式显示 - style_img_container: common_img_computer(this.new_style.common_style), - div_height: this.form.height, + form: new_form, + new_style: new_style, + custom_list_length: new_form.custom_list.length - 1, + style_container: common_styles_computer(new_style.common_style) + 'box-sizing: border-box;', // 用于样式显示 + style_img_container: common_img_computer(new_style.common_style), + div_height: new_form.height, }); }, url_event(e) { diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 04a36b89..0a781544 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -69,7 +69,7 @@ - + @@ -85,7 +85,7 @@ - + diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue index 1a5b595c..6887f433 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -60,7 +60,7 @@ {{ form.shop_button_text }} - + @@ -90,7 +90,7 @@ {{ form.shop_button_text }} - + @@ -142,7 +142,7 @@ {{ form.shop_button_text }} - + diff --git a/components/diy/header.vue b/components/diy/header.vue index dffdb601..7b67744e 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -12,7 +12,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/components/diy/modules/custom/model-icon.vue b/components/diy/modules/custom/model-icon.vue index 34b36dcf..15c2932d 100644 --- a/components/diy/modules/custom/model-icon.vue +++ b/components/diy/modules/custom/model-icon.vue @@ -1,6 +1,6 @@