322 lines
4.5 KiB
CSS
322 lines
4.5 KiB
CSS
/* 全局样式重置 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'SimSun', '宋体', serif;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
line-height: 1.5;
|
|
background-color: #fff;
|
|
}
|
|
|
|
page{
|
|
padding-bottom: 0rpx;
|
|
}
|
|
|
|
/* 合同容器 */
|
|
.contract-container {
|
|
max-width: 1200rpx;
|
|
margin: 0 auto;
|
|
padding: 140rpx 30rpx 40rpx;
|
|
background-color: #fff;
|
|
}
|
|
|
|
/* 提交申请按钮样式 */
|
|
.submit-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin: 40rpx 0;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.submit-btn {
|
|
width: 80%;
|
|
max-width: 400rpx;
|
|
height: 80rpx;
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 10rpx;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
}
|
|
|
|
.submit-btn:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.submit-btn:active {
|
|
background-color: #004085;
|
|
}
|
|
|
|
.header{
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30rpx;
|
|
background-color: #fff;
|
|
padding: 20rpx 30rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
/* 合同标题 */
|
|
.contract-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
margin-bottom: 40rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.header-title{
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.print-btn{
|
|
padding: 2rpx 20rpx;
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 8rpx;
|
|
font-size: 28rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* 甲乙双方信息 */
|
|
.party-info {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.party-info p {
|
|
margin-bottom: 20rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 合同内容 */
|
|
.contract-content {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.contract-intro {
|
|
margin-bottom: 30rpx;
|
|
text-align: justify;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
/* 标题样式 */
|
|
h2 {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 30rpx;
|
|
color: #333;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 20rpx;
|
|
color: #333;
|
|
}
|
|
|
|
/* 章节样式 */
|
|
.section {
|
|
margin-top: 20rpx;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.section-desc input {
|
|
display: inline-block;
|
|
}
|
|
|
|
.section-desc {
|
|
margin-bottom: 20rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.section-desc {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.input-field {
|
|
width: 40px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.subsection {
|
|
margin-bottom: 30rpx;
|
|
margin-left: 40rpx;
|
|
}
|
|
|
|
.subsection p {
|
|
margin-bottom: 15rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.subsection-item view {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.subsection-item input {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* 复选框组 */
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.checkbox-label {
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
/* 输入框样式 */
|
|
.input-field1 {
|
|
width: 500rpx;
|
|
height: 60rpx;
|
|
border: 1rpx solid #ccc;
|
|
border-radius: 8rpx;
|
|
padding: 0 20rpx;
|
|
font-size: 28rpx;
|
|
margin: 0 10rpx;
|
|
}
|
|
|
|
.input-field {
|
|
width: 200rpx;
|
|
height: 40rpx;
|
|
border: 1rpx solid #ccc;
|
|
border-radius: 8rpx;
|
|
padding: 0 20rpx;
|
|
font-size: 28rpx;
|
|
margin: 0 10rpx;
|
|
}
|
|
|
|
.input-field.small {
|
|
width: 100rpx;
|
|
}
|
|
|
|
.input-field.very-small {
|
|
width: 100rpx;
|
|
}
|
|
|
|
/* 费用标准样式 */
|
|
.fee-standard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.fee-standard .checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 28rpx;
|
|
cursor: pointer;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* 表格样式 */
|
|
.fee-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 30rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.wrap-text {
|
|
word-wrap: break-word;
|
|
word-break: break-all;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.fee-table th,
|
|
.fee-table td {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
border: 1rpx solid #ccc;
|
|
padding: 20rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.fee-table th {
|
|
background-color: #f5f5f5;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.fee-table tr:nth-child(even) {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 750rpx) {
|
|
.contract-container {
|
|
padding: 20rpx 15rpx;
|
|
}
|
|
|
|
.contract-title {
|
|
font-size: 32rpx;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.input-field {
|
|
width: 250rpx;
|
|
height: 50rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.input-field.small {
|
|
width: 150rpx;
|
|
}
|
|
|
|
.input-field.very-small {
|
|
width: 80rpx;
|
|
}
|
|
|
|
.fee-table th,
|
|
.fee-table td {
|
|
padding: 15rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
}
|
|
|
|
/* 打印样式 */
|
|
@media print {
|
|
.contract-container {
|
|
max-width: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
.input-field {
|
|
border: 1rpx solid #000;
|
|
}
|
|
} |