diff --git a/src/components/common/div-content/index.vue b/src/components/common/div-content/index.vue
index 0cc67398..e47a9b5b 100644
--- a/src/components/common/div-content/index.vue
+++ b/src/components/common/div-content/index.vue
@@ -182,8 +182,10 @@ const model_style = computed(() => {
// 默认组件z-index为1
let z_index = 'z-index: 1';
// 如果开通上浮显示的时候,会改变他的z-index值
- if (item.com_data.style.common_style?.floating_up != 0) {
- z_index = `z-index: ${ item.com_data.style.common_style?.is_bottom_up == '1' ? '0' : '1'}`;
+ if (item.com_data.style.common_style?.is_bottom_up == '1') {
+ z_index = 'z-index: 0';
+ } else {
+ z_index = 'z-index: 1';
}
item.com_data.style.offset_number_percentage = (bottom / window.innerHeight).toFixed(4);
return item.key == 'float-window' ? `bottom: ${((bottom / window.innerHeight) * 100).toFixed(4) + '%'};` : `margin-top: -${item.com_data.style.common_style?.floating_up || 0}px;${z_index};`;
diff --git a/src/components/model-goods-list/model-goods-list-styles.vue b/src/components/model-goods-list/model-goods-list-styles.vue
index 448c6254..c10e8bd6 100644
--- a/src/components/model-goods-list/model-goods-list-styles.vue
+++ b/src/components/model-goods-list/model-goods-list-styles.vue
@@ -31,18 +31,23 @@