81 lines
1.6 KiB
SCSS
81 lines
1.6 KiB
SCSS
@use '~@/scss/themeColor.scss' as theme;
|
|
|
|
.common-popup {
|
|
.common-popup__drag-handle-container {
|
|
position: position;
|
|
}
|
|
.common-popup__drag-handle {
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 50%;
|
|
width: 32px;
|
|
height: 4px;
|
|
background-color: rgba(22, 24, 35, 0.20);
|
|
border-radius: 2px;
|
|
z-index: 10;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease;
|
|
|
|
&:active {
|
|
background-color: #9ca3af;
|
|
}
|
|
}
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
max-height: calc(100vh - 10px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: theme.$page-background-color;
|
|
.common-popup__header {
|
|
padding: 12px 16px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1f2329;
|
|
border-bottom: 1px solid #f0f1f5;
|
|
}
|
|
|
|
.common-popup__title {
|
|
display: inline-block;
|
|
}
|
|
|
|
.common-popup__body {
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.common-popup__footer {
|
|
padding: 8px 10px 0 10px;
|
|
display: flex;
|
|
gap: 8px;
|
|
background: #FFF;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
|
|
}
|
|
|
|
.common-popup__btn {
|
|
flex: 1;
|
|
}
|
|
|
|
.common-popup__btn-cancel {
|
|
background: #f5f6f7;
|
|
color: #1f2329;
|
|
border: none;
|
|
width: 154px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
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;
|
|
padding: 4px 10px;
|
|
}
|
|
} |