diff --git a/common/js/common/common.js b/common/js/common/common.js index c8fb02c3..74d8c42f 100644 --- a/common/js/common/common.js +++ b/common/js/common/common.js @@ -216,8 +216,8 @@ export function common_styles_computer (new_style) { return gradient_computer(new_style) + margin_computer(new_style) + radius_computer(new_style) + box_shadow_computer(new_style) + `overflow:hidden;`; } -export function common_img_computer (new_style, index) { - return padding_computer(new_style, 1, false, index) + background_computer(new_style) + `overflow:hidden;box-sizing: border-box;`; +export function common_img_computer (new_style, index, bool) { + return padding_computer(new_style, 1, false, index, bool) + background_computer(new_style) + `overflow:hidden;box-sizing: border-box;`; } /** * 生成一个随机数学字符串。 diff --git a/components/diy/custom.vue b/components/diy/custom.vue index 701c48aa..d8530bc1 100644 --- a/components/diy/custom.vue +++ b/components/diy/custom.vue @@ -105,6 +105,7 @@ style_img_container: common_img_computer(new_style.common_style, this.propIndex), div_height: new_form.height, }); + console.log(this.propIndex); }, url_event(e) { app.globalData.url_event(e); diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 6c1887a4..a7babdaa 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -16,30 +16,30 @@ @@ -319,6 +319,7 @@ // 顶部导航高度是否变化-------------------------------------------------- is_search_alone_row: header.com_data.content.data_alone_row_value.length > 0 ? true : false, data_alone_row_space: parseInt(header.com_data.style.data_alone_row_space || 5), + is_immersive_style_and_general_safe_distance_value: header_style.immersive_style == '1' && header_style.general_safe_distance_value == '1', }); var client_value = app.globalData.application_client_type(); var client_brand = app.globalData.application_client_brand();