193 lines
2.9 KiB
CSS
193 lines
2.9 KiB
CSS
page {
|
|
background-color: #f6f7fb;
|
|
}
|
|
|
|
.pay-container {
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
padding: 30rpx 0;
|
|
background-color: #fff;
|
|
border-radius: 10rpx;
|
|
margin-bottom: 30rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.title {
|
|
font-size: 40rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.form-container {
|
|
background-color: #fff;
|
|
border-radius: 10rpx;
|
|
padding: 30rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.form-item {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.label {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
margin-bottom: 15rpx;
|
|
display: block;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
border: 2rpx solid #e0e0e0;
|
|
border-radius: 8rpx;
|
|
padding: 0 20rpx;
|
|
box-sizing: border-box;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: #ff6c00;
|
|
outline: none;
|
|
}
|
|
|
|
.operator-list {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.operator-item {
|
|
width: 200rpx;
|
|
height: 120rpx;
|
|
border: 2rpx solid #e0e0e0;
|
|
border-radius: 8rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 10rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.operator-item.active {
|
|
border-color: #ff6c00;
|
|
background-color: #ff6a0013;
|
|
}
|
|
|
|
.operator-icon {
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.operator-item text {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
}
|
|
|
|
/* 自动识别运营商显示样式 */
|
|
.selected-operator {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 20rpx;
|
|
border: 2rpx solid #e0e0e0;
|
|
border-radius: 8rpx;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.selected-operator .operator-icon {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
margin-right: 20rpx;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.selected-operator text {
|
|
font-size: 30rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.change-btn {
|
|
margin-left: auto;
|
|
color: #ff6c00;
|
|
font-size: 28rpx;
|
|
padding: 10rpx 20rpx;
|
|
border-radius: 6rpx;
|
|
}
|
|
|
|
.amount-input {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.amount-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.amount-item {
|
|
width: 160rpx;
|
|
height: 70rpx;
|
|
background-color: #f5f5f5;
|
|
border-radius: 8rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.amount-item:active {
|
|
background-color: #e0e0e0;
|
|
}
|
|
|
|
.pay-btn {
|
|
width: 100%;
|
|
height: 90rpx;
|
|
background-color: #ff6c00;
|
|
color: #fff;
|
|
border-radius: 45rpx;
|
|
font-size: 32rpx;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
.pay-btn:disabled {
|
|
background-color: #cccccc;
|
|
color: #666666;
|
|
}
|
|
|
|
/* 响应式适配 */
|
|
@media screen and (min-width: 768px) {
|
|
.pay-container {
|
|
max-width: 600rpx;
|
|
margin: 0 auto;
|
|
padding: 40rpx;
|
|
}
|
|
|
|
.header {
|
|
padding: 40rpx 0;
|
|
}
|
|
|
|
.title {
|
|
font-size: 48rpx;
|
|
}
|
|
|
|
.form-container {
|
|
padding: 40rpx;
|
|
}
|
|
}
|
|
|
|
/* 错误提示样式 */
|
|
.error-message {
|
|
color: #ff4d4f;
|
|
font-size: 26rpx;
|
|
margin-top: 10rpx;
|
|
display: block;
|
|
} |