146 lines
3.1 KiB
SCSS
146 lines
3.1 KiB
SCSS
@use "~@/scss/themeColor.scss" as theme;
|
|
|
|
.common-popup {
|
|
position: fixed;
|
|
z-index: 9999 !important;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
max-height: calc(100vh - 10px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: theme.$page-background-color;
|
|
&:global(.nut-popup-bottom.nut-popup-round) {
|
|
border-radius: 20px 20px 0 0 !important;
|
|
}
|
|
.common-popup__drag-handle-container {
|
|
position: relative;
|
|
height: 0;
|
|
}
|
|
|
|
.common-popup__drag-handle {
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 50%;
|
|
width: 90px;
|
|
height: 30px;
|
|
z-index: 10;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
&::before {
|
|
content: "";
|
|
width: 32px;
|
|
height: 4px;
|
|
background-color: rgba(22, 24, 35, 0.2);
|
|
border-radius: 2px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// .common-popup__header {
|
|
// padding: 12px 16px;
|
|
// font-size: 16px;
|
|
// font-weight: 600;
|
|
// color: #1f2329;
|
|
// border-bottom: 1px solid #f0f1f5;
|
|
// }
|
|
|
|
.common-popup__header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16px 20px;
|
|
// border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
|
|
.common-popup__title {
|
|
font-family: "PingFang SC";
|
|
font-weight: 600;
|
|
font-size: 22px;
|
|
line-height: 1.27em;
|
|
color: #000000;
|
|
text-align: center;
|
|
}
|
|
|
|
.close_button {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #ffffff;
|
|
border: 1px solid rgba(0, 0, 0, 0.06);
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
box-shadow: 0px 4px 36px 0px rgba(0, 0, 0, 0.06);
|
|
|
|
.close_icon {
|
|
position: relative;
|
|
width: 24px;
|
|
height: 24px;
|
|
|
|
.close_line {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 17px;
|
|
height: 3px;
|
|
border-radius: 3px;
|
|
background: #000000;
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
|
|
&:nth-child(2) {
|
|
transform: translate(-50%, -50%) rotate(-45deg);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.common-popup__body {
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.common-popup__footer {
|
|
padding: 8px 10px 0 10px;
|
|
display: flex;
|
|
gap: 8px;
|
|
background: #fafafa;
|
|
padding-bottom: max(10px, env(safe-area-inset-bottom));
|
|
}
|
|
|
|
.common-popup__btn {
|
|
flex: 1;
|
|
font-feature-settings: "liga" off, "clig" off;
|
|
font-family: "PingFang SC";
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
line-height: normal;
|
|
}
|
|
|
|
.common-popup__btn-cancel {
|
|
background: #f5f6f7;
|
|
color: #1f2329;
|
|
border: none;
|
|
width: 154px;
|
|
height: 44px;
|
|
border-radius: 12px !important;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.06);
|
|
background: #fff;
|
|
padding: 4px 10px;
|
|
}
|
|
|
|
.common-popup__btn-confirm {
|
|
/* 使用按钮组件的 primary 样式 */
|
|
width: 154px;
|
|
height: 44px;
|
|
border: 0.5px solid rgba(0, 0, 0, 0.06);
|
|
background: #000;
|
|
border-radius: 12px !important;
|
|
padding: 4px 10px;
|
|
}
|
|
}
|