feat: 初始化
This commit is contained in:
82
components/CustomModal/index.scss
Normal file
82
components/CustomModal/index.scss
Normal file
@ -0,0 +1,82 @@
|
||||
.customModal {
|
||||
position: relative;
|
||||
width: 90vw;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.25);
|
||||
&.confirmModal {
|
||||
max-width: 360px;
|
||||
border-radius: 18px;
|
||||
.customModalContent {
|
||||
padding: 54px 54px 45px;
|
||||
}
|
||||
}
|
||||
&.messageModal {
|
||||
max-width: 264px;
|
||||
border-radius: 12px;
|
||||
.customModalContent {
|
||||
padding: 16px 24px;
|
||||
}
|
||||
.customModalCloseIcon {
|
||||
top: 14px;
|
||||
right: 10px;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.customModalDecoration {
|
||||
height: 5px;
|
||||
.customModalDecorationLeft {
|
||||
width: 60px;
|
||||
}
|
||||
}
|
||||
.customModalContent {
|
||||
.customModalContentText {
|
||||
line-height: 29px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.customModalCloseIcon {
|
||||
position: absolute;
|
||||
top: 26px;
|
||||
right: 22px;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.customModalDecoration {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 8px;
|
||||
.customModalDecorationLeft {
|
||||
width: 90px;
|
||||
height: 100%;
|
||||
background-color: #0f3675;
|
||||
}
|
||||
.customModalDecorationRight {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
background-color: #29bbe4;
|
||||
}
|
||||
}
|
||||
.customModalContent {
|
||||
box-sizing: border-box;
|
||||
.customModalContentStatusIcon {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.customModalContentText {
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 35px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.customModalConfirmBtns {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
column-gap: 37px;
|
||||
padding: 0px 41px 31px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user