diff --git a/components/diy/custom.vue b/components/diy/custom.vue
index d923f0e1..baa772e6 100644
--- a/components/diy/custom.vue
+++ b/components/diy/custom.vue
@@ -1,7 +1,7 @@
-
+
@@ -47,6 +47,13 @@
custom_height: 0,
};
},
+ computed: {
+ get_percentage_count() {
+ return (num, container_size) => {
+ return this.percentage_count(num, container_size);
+ }
+ }
+ },
created() {
this.setData({
form: this.value.content,
@@ -55,6 +62,7 @@
this.init();
},
methods: {
+ percentage_count,
init() {
this.setData({
style_container: common_styles_computer(this.new_style.common_style) + 'box-sizing: border-box;', // 用于样式显示
diff --git a/components/diy/diy.vue b/components/diy/diy.vue
index cd4f398b..d66fe945 100644
--- a/components/diy/diy.vue
+++ b/components/diy/diy.vue
@@ -6,7 +6,6 @@
- {{ item.key }}
@@ -103,12 +102,14 @@
is_tabs_type: true,
};
},
-
computed: {
diy_content_style() {
return `padding-bottom:${this.padding_footer_computer}rpx`;
},
},
+ mounted() {
+ this.init();
+ },
methods: {
init() {
// tabs选项卡数据过滤
diff --git a/components/diy/modules/custom/model-image.vue b/components/diy/modules/custom/model-image.vue
index 095d85e9..aa7b37da 100644
--- a/components/diy/modules/custom/model-image.vue
+++ b/components/diy/modules/custom/model-image.vue
@@ -1,12 +1,15 @@
-
+
-
\ No newline at end of file
+
diff --git a/components/diy/modules/data-magic/product-list-show.vue b/components/diy/modules/data-magic/product-list-show.vue
index 9ee1ceb4..888f30ff 100644
--- a/components/diy/modules/data-magic/product-list-show.vue
+++ b/components/diy/modules/data-magic/product-list-show.vue
@@ -12,7 +12,8 @@
{{ item.title }}
- {{ item.show_price_symbol }}{{ item.min_price }}
+ {{ item.show_price_symbol }}{{ item.min_price }}
{{ item.show_price_unit }}
@@ -36,7 +37,7 @@
- {{ item.title }}
+ {{ item.title }}
@@ -50,7 +51,8 @@
{{ item.title }}
- {{ item.show_price_symbol }}{{ item.min_price }}
+ {{ item.show_price_symbol }}{{ item.min_price }}
{{ item.show_price_unit }}
@@ -73,7 +75,8 @@
{{ item.title }}
- {{ item.show_price_symbol }}{{ item.min_price }}
+ {{ item.show_price_symbol }}{{ item.min_price }}
{{ item.show_price_unit }}
@@ -87,7 +90,7 @@
\ No newline at end of file
+