Files
JayuCloud/JC-Salon-WeChat/components/action-modal/index.wxss
T
xiaowang 1482bda1fa
自动发布开发环境 Nacos 配置 / publish (push) Successful in 27s
小程序浮层动作项按钮化并统一按钮样式
2026-11-07 00:38:22 +08:00

118 lines
1.9 KiB
Plaintext

.action-modal-mask {
position: fixed;
z-index: 80;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 40rpx;
background: rgba(23, 33, 31, 0.45);
}
.action-modal-card {
box-sizing: border-box;
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
padding: 40rpx 32rpx 32rpx;
border-radius: 28rpx;
background: #ffffff;
}
.action-modal-icon {
display: flex;
align-items: center;
justify-content: center;
width: 88rpx;
height: 88rpx;
margin-bottom: 20rpx;
border-radius: 50%;
background: #FFF1DC;
color: #8B5E24;
font-size: 44rpx;
font-weight: 800;
line-height: 1;
}
.action-modal-title {
color: #17211f;
font-size: 32rpx;
font-weight: 800;
text-align: center;
}
.action-modal-content {
margin-top: 16rpx;
color: #71807a;
font-size: 26rpx;
line-height: 1.6;
text-align: center;
}
.action-modal-input {
box-sizing: border-box;
width: 100%;
height: 88rpx;
margin-top: 24rpx;
padding: 0 24rpx;
border: 1rpx solid #e7ece9;
border-radius: 16rpx;
background: #f7faf8;
color: #17211f;
font-size: 26rpx;
}
.action-modal-actions {
display: flex;
width: 100%;
flex-direction: column;
gap: 20rpx;
margin-top: 32rpx;
}
.action-modal-actions.row {
flex-direction: row;
}
.action-modal-btn {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
height: 88rpx;
padding: 0;
border: 0;
border-radius: 20rpx;
font-size: 26rpx;
font-weight: 700;
line-height: 88rpx;
}
.action-modal-btn::after {
border: 0;
}
.action-modal-btn.secondary {
border: 1rpx solid #E7ECE9;
background: #F1F3F2;
color: #71807A;
}
.action-modal-btn.primary {
background: #247B63;
color: #ffffff;
}
.action-modal-btn.danger {
background: #B3261E;
color: #ffffff;
}
.action-modal-actions.row .action-modal-btn {
width: auto;
min-width: 0;
flex: 1 1 0;
}