diff --git a/src/components/curtain/index.scss b/src/components/curtain/index.scss
index f50cccb93..7517277c9 100644
--- a/src/components/curtain/index.scss
+++ b/src/components/curtain/index.scss
@@ -1,7 +1,7 @@
@import "../../style/theme/default.scss";
@import "../../style/mixins/index.scss";
-$spacing-v: -50PX;
+$spacing-v: 50PX;
.at-curtain {
display: block;
@@ -22,7 +22,7 @@ $spacing-v: -50PX;
align-items: center;
box-sizing: border-box;
margin: 0 auto;
- padding: 150px 0;
+ padding: $spacing-v * 2 0;
opacity: 1;
}
@@ -30,20 +30,20 @@ $spacing-v: -50PX;
position: relative;
overflow: visible;
min-height: 70%;
- max-height: 90%;
+ width: 100%;
}
&__close-box {
display: flex;
position: absolute;
width: 100%;
- bottom: $spacing-v;
+ bottom: -$spacing-v;
justify-content: center;
align-items: center;
z-index: $zindex-toast + 1;
&--top {
- top: $spacing-v;
+ top: -$spacing-v;
justify-content: flex-end;
bottom: auto;
}
diff --git a/src/pages/view/curtain/index.js b/src/pages/view/curtain/index.js
index a5e09ea15..4dae66e47 100644
--- a/src/pages/view/curtain/index.js
+++ b/src/pages/view/curtain/index.js
@@ -50,7 +50,7 @@ export default class TagPage extends Taro.Component {
closeBtnPosition={closeBtnPosition}
onClose={this.onClose.bind(this)}
>
-
+
{/* 右上关闭 */}