279 lines
4.3 KiB
CSS
279 lines
4.3 KiB
CSS
/* addMer/index.css */
|
|
page {
|
|
padding-bottom: 0rpx;
|
|
}
|
|
|
|
.establish-acceptor-container {
|
|
padding: 0 30rpx;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.acceptor-form {
|
|
background-color: #fff;
|
|
border-radius: 12rpx;
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.form-section {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
color: #333;
|
|
margin-bottom: 24rpx;
|
|
padding-bottom: 12rpx;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.form-item {
|
|
margin-bottom: 32rpx;
|
|
position: relative;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.form-label.required::after {
|
|
content: '*';
|
|
color: #e64340;
|
|
margin-left: 4rpx;
|
|
}
|
|
|
|
.form-input {
|
|
width: 100%;
|
|
height: 88rpx;
|
|
padding: 0 24rpx;
|
|
font-size: 28rpx;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8rpx;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.form-input:focus {
|
|
border-color: #007aff;
|
|
outline: none;
|
|
}
|
|
|
|
.form-input::placeholder {
|
|
color: #999;
|
|
}
|
|
|
|
/* 弹窗样式 */
|
|
.popup {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 999;
|
|
}
|
|
|
|
.popup-content {
|
|
width: 80%;
|
|
max-height: 70vh;
|
|
background-color: #fff;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.popup-title {
|
|
padding: 30rpx;
|
|
text-align: center;
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.popup-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 50vh;
|
|
}
|
|
|
|
.popup-item {
|
|
padding: 30rpx;
|
|
text-align: center;
|
|
border-bottom: 1rpx solid #eee;
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
.popup-item:active {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.popup-footer {
|
|
padding: 20rpx;
|
|
border-top: 1rpx solid #eee;
|
|
}
|
|
|
|
.popup-cancel-btn {
|
|
width: 100%;
|
|
padding: 0 20rpx;
|
|
background-color: #fff;
|
|
border: 1rpx solid #ddd;
|
|
border-radius: 8rpx;
|
|
font-size: 32rpx;
|
|
background-color: #007aff;
|
|
color: #ffffff;
|
|
}
|
|
|
|
/* 弹窗选择器样式 */
|
|
.popup-select {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 24rpx;
|
|
border: 1px solid #ddd;
|
|
border-radius: 8rpx;
|
|
background-color: #fff;
|
|
height: 88rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 附件上传样式 */
|
|
.attachment-section {
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.attachment-item {
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #eee;
|
|
border-radius: 8rpx;
|
|
padding: 24rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.upload-btn {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
background-color: #007aff;
|
|
color: #fff;
|
|
font-size: 28rpx;
|
|
border: none;
|
|
border-radius: 8rpx;
|
|
margin-top: 16rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.upload-btn:active {
|
|
background-color: #0051d5;
|
|
}
|
|
|
|
.file-info {
|
|
margin-top: 16rpx;
|
|
padding: 16rpx;
|
|
background-color: #e8f4ff;
|
|
border-radius: 8rpx;
|
|
font-size: 26rpx;
|
|
color: #007aff;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.delete-btn {
|
|
padding: 0rpx 20rpx;
|
|
background-color: #e64340;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10rpx;
|
|
font-size: 24rpx;
|
|
cursor: pointer;
|
|
margin-right: 0rpx;
|
|
}
|
|
|
|
.delete-btn:active {
|
|
background-color: #c21f1c;
|
|
}
|
|
|
|
.add-attachment-btn {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
background-color: #f0f0f0;
|
|
color: #666;
|
|
font-size: 28rpx;
|
|
border-radius: 8rpx;
|
|
margin-top: 16rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.add-attachment-btn:active {
|
|
background-color: #e0e0e0;
|
|
}
|
|
|
|
/* 提交按钮样式 */
|
|
.submit-section {
|
|
margin-top: 40rpx;
|
|
margin-bottom: 20rpx;
|
|
display: flex;
|
|
}
|
|
|
|
.submit-btn,
|
|
.submit-btn1 {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
color: #fff;
|
|
font-size: 28rpx;
|
|
border-radius: 8rpx;
|
|
margin-top: 16rpx;
|
|
cursor: pointer;
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 122, 255, 0.3);
|
|
}
|
|
|
|
.submit-btn {
|
|
background-color: #007aff;
|
|
margin-left: 5rpx;
|
|
}
|
|
|
|
.submit-btn1 {
|
|
background-color: #ff4016;
|
|
margin-right: 5rpx;
|
|
}
|
|
|
|
.submit-btn:active {
|
|
background-color: #0051d5;
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.submit-btn:disabled {
|
|
background-color: #b8d5ff;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* 输入框错误状态 */
|
|
.form-input.error {
|
|
border-color: #e64340;
|
|
}
|
|
|
|
/* 滚动条样式 */
|
|
::-webkit-scrollbar {
|
|
width: 8rpx;
|
|
height: 8rpx;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #c1c1c1;
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #a8a8a8;
|
|
} |