Skip to content

Commit

Permalink
fix(curtain): 修复细节问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Nov 6, 2018
1 parent 7123ffb commit a9a2c7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/components/curtain/index.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import "../../style/theme/default.scss";
@import "../../style/mixins/index.scss";

$spacing-v: -50PX;
$spacing-v: 50PX;

.at-curtain {
display: block;
Expand All @@ -22,28 +22,28 @@ $spacing-v: -50PX;
align-items: center;
box-sizing: border-box;
margin: 0 auto;
padding: 150px 0;
padding: $spacing-v * 2 0;
opacity: 1;
}

&__body {
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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/view/curtain/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default class TagPage extends Taro.Component {
closeBtnPosition={closeBtnPosition}
onClose={this.onClose.bind(this)}
>
<Image src={curtainPng} width='100%' height='100%'></Image>
<Image src={curtainPng} width='200px' height='100%'></Image>
</AtCurtain>
{/* 右上关闭 */}
<View className='panel'>
Expand Down

0 comments on commit a9a2c7c

Please sign in to comment.