mirror of
https://github.com/ChuXunYu/warOfCoins.git
synced 2026-01-31 00:21:26 +00:00
111 lines
1.7 KiB
Plaintext
111 lines
1.7 KiB
Plaintext
/* components/HistoryModal/HistoryModal.wxss */
|
|
.modal-mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 999;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 80%;
|
|
background: #fff;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);
|
|
animation: modalShow 0.3s ease;
|
|
}
|
|
|
|
@keyframes modalShow {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.9);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20rpx;
|
|
border-bottom: 1px solid #eee;
|
|
background-color: #F9F2E6;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: #8B0000;
|
|
}
|
|
|
|
.modal-close {
|
|
font-size: 36rpx;
|
|
color: #999;
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-body {
|
|
padding: 30rpx;
|
|
}
|
|
|
|
.case-title {
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 20rpx;
|
|
text-align: center;
|
|
color: #333;
|
|
}
|
|
|
|
.case-image {
|
|
width: 100%;
|
|
height: 320rpx;
|
|
margin-bottom: 20rpx;
|
|
background-color: #f0f0f0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: relative;
|
|
}
|
|
|
|
.case-image::after {
|
|
content: "历史案例图片";
|
|
color: #999;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.case-desc {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
line-height: 1.5;
|
|
text-align: justify;
|
|
}
|
|
|
|
.modal-footer {
|
|
padding: 20rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
border-top: 1px solid #eee;
|
|
background-color: #F9F2E6;
|
|
}
|
|
|
|
.btn {
|
|
background: #8B0000;
|
|
color: #fff;
|
|
border-radius: 8rpx;
|
|
padding: 20rpx 60rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
} |