diff --git a/src/global.scss b/src/global.scss index 28cd5e7..edaefab 100644 --- a/src/global.scss +++ b/src/global.scss @@ -193,6 +193,8 @@ $rightInit: 35vw; left: 50% !important; transform: translateX(-50%) !important; } + + // 温馨提示 弹窗 .van-overlay { max-width: $bodyWidth !important; left: 50% !important; diff --git a/src/views/pages/comProduct/index.vue b/src/views/pages/comProduct/index.vue index a8464c9..54b807c 100644 --- a/src/views/pages/comProduct/index.vue +++ b/src/views/pages/comProduct/index.vue @@ -735,7 +735,7 @@ export default { bottom: 0; left: 0; background: #fff; - z-index: 99999; + z-index: 999; .backImg { display: block; position: absolute; diff --git a/src/views/templates/cmsDetail/index.scss b/src/views/templates/cmsDetail/index.scss index 95085b5..3e3008f 100644 --- a/src/views/templates/cmsDetail/index.scss +++ b/src/views/templates/cmsDetail/index.scss @@ -141,13 +141,13 @@ } } .popWrapper { - position: absolute; + position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #fff; - z-index: 99; + z-index: 999; .backImg { display: block; position: absolute; diff --git a/src/views/templates/cmsList/index.scss b/src/views/templates/cmsList/index.scss index a68813f..5539c84 100644 --- a/src/views/templates/cmsList/index.scss +++ b/src/views/templates/cmsList/index.scss @@ -291,13 +291,13 @@ } } .popWrapper { - position: absolute; + position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: #fff; - z-index: 99; + z-index: 999; .backImg { display: block; position: absolute;