diff --git a/src/components/common/custom-module/custom-location/index.vue b/src/components/common/custom-module/custom-location/index.vue
index 3d504920..86158dfe 100644
--- a/src/components/common/custom-module/custom-location/index.vue
+++ b/src/components/common/custom-module/custom-location/index.vue
@@ -1,22 +1,52 @@
定位设置
-
+
+
+
+
+
+
+
+
+ 无
+ 跟随左侧
+ 跟随上边
+
+
+
+
+
+
+
-
+
diff --git a/src/components/common/custom-module/model-text/model-text-style.vue b/src/components/common/custom-module/model-text/model-text-style.vue
index 8f039f7d..3f8c9307 100644
--- a/src/components/common/custom-module/model-text/model-text-style.vue
+++ b/src/components/common/custom-module/model-text/model-text-style.vue
@@ -1,6 +1,6 @@
-
+
@@ -86,10 +86,16 @@
容器设置
-
+
+
+
+
-
+
+
+
+
diff --git a/src/components/model-custom/components/index-default.ts b/src/components/model-custom/components/index-default.ts
index 4fc3336e..ebb78fc9 100644
--- a/src/components/model-custom/components/index-default.ts
+++ b/src/components/model-custom/components/index-default.ts
@@ -21,6 +21,9 @@ const text_com_data = {
middle: '',
right: '',
},
+ is_width_auto: '0',
+ is_height_auto: '0',
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
is_rich_text: '0',
is_up_down: '1',
text_color: '#000',
@@ -77,6 +80,7 @@ const img_com_data = {
id: '',
option: {}
},
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
img_radius: {
radius: 0,
radius_top_left: 0,
@@ -125,6 +129,7 @@ const line_com_data = {
type: '', // 条件类型
value: '', // 值
},
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
animation_style: {
type: 'none',
number: 'infinite',
@@ -147,6 +152,7 @@ const icon_com_data = {
id: '',
option: {}
},
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
is_rich_icon: '0',
is_up_down: '1',
icon_color: '#000',
@@ -197,6 +203,7 @@ const panel_com_data = {
id: '',
option: {}
},
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
icon_rotate: 0,
background_img_style: '2',
background_img: [],
@@ -234,6 +241,7 @@ const custom_group_com_data = {
id: '',
option: []
},
+ data_follow: { follow_type: 'none', follow_id: '', follow_spacing: 0 },
// 条件判断
condition: {
field: '', // 字段id
diff --git a/src/components/model-custom/components/index.vue b/src/components/model-custom/components/index.vue
index 0d7cc959..61068acd 100644
--- a/src/components/model-custom/components/index.vue
+++ b/src/components/model-custom/components/index.vue
@@ -68,7 +68,7 @@