963 lines
20 KiB
Plaintext
963 lines
20 KiB
Plaintext
/* pages/penalty/penalty.wxss */
|
|
/* 🔴【恢复您原来的深色背景,但调淡一点】 */
|
|
|
|
:root {
|
|
/* 🔴【颜色调淡方案】 */
|
|
--cyber-blue: rgba(0, 243, 255, 0.7); /* 蓝色调淡70% */
|
|
--cyber-pink: rgba(255, 0, 255, 0.7); /* 粉色调淡70% */
|
|
--cyber-purple: rgba(157, 0, 255, 0.7); /* 紫色调淡70% */
|
|
--cyber-green: rgba(0, 255, 157, 0.7); /* 绿色调淡70% */
|
|
--cyber-red: rgba(255, 0, 102, 0.7); /* 红色调淡70% */
|
|
|
|
/* 🔴【背景改为淡灰色,不是深色,也不是白色】 */
|
|
--cyber-bg: #2a2a3a; /* 深灰色背景,比原来的淡 */
|
|
--cyber-card: #333344; /* 卡片:比背景稍深的灰色 */
|
|
--cyber-border: rgba(255, 255, 255, 0.15); /* 边框:半透明白色 */
|
|
--cyber-glow: rgba(0, 243, 255, 0.2); /* 光效:调淡 */
|
|
|
|
/* 文字颜色保持不变 */
|
|
--cyber-text: #ffffff;
|
|
--cyber-text-light: #e6e6e6;
|
|
--cyber-text-lighter: #cccccc;
|
|
}
|
|
|
|
.cfss-container {
|
|
padding: 30rpx;
|
|
background: var(--cyber-bg);
|
|
min-height: 100vh;
|
|
color: var(--cyber-text) !important;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 恢复网格背景 */
|
|
.cfss-container::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-image:
|
|
linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
|
|
background-size: 40rpx 40rpx;
|
|
pointer-events: none;
|
|
opacity: 0.15;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* ====== 统计卡片 ====== */
|
|
.tongji-card {
|
|
background: rgba(255, 0, 102, 0.3); /* 🔴 调淡为30%透明度 */
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
border: 1rpx solid var(--cyber-border);
|
|
box-shadow:
|
|
0 0 20rpx rgba(255, 0, 102, 0.2),
|
|
inset 0 0 10rpx rgba(0, 243, 255, 0.05);
|
|
position: relative;
|
|
overflow: hidden;
|
|
z-index: 1;
|
|
}
|
|
|
|
.tongji-title {
|
|
color: var(--cyber-blue);
|
|
font-size: 34rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 30rpx;
|
|
text-shadow: 0 0 8rpx var(--cyber-blue);
|
|
letter-spacing: 2rpx;
|
|
}
|
|
|
|
.tongji-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.tongji-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.tongji-label {
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 26rpx;
|
|
margin-bottom: 15rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.tongji-value {
|
|
color: var(--cyber-text) !important;
|
|
font-size: 44rpx;
|
|
font-weight: bold;
|
|
text-shadow: 0 0 8rpx currentColor;
|
|
}
|
|
|
|
.daichuli-value {
|
|
color: var(--cyber-red) !important;
|
|
text-shadow: 0 0 8rpx rgba(255, 0, 102, 0.3);
|
|
}
|
|
|
|
.yichuli-value {
|
|
color: var(--cyber-green) !important;
|
|
text-shadow: 0 0 8rpx rgba(0, 255, 157, 0.3);
|
|
}
|
|
|
|
/* ====== 类型切换 ====== */
|
|
.leixing-qiehuan {
|
|
display: flex;
|
|
background: rgba(255, 0, 102, 0.3); /* 🔴 调淡为30%透明度 */
|
|
border-radius: 16rpx;
|
|
padding: 10rpx;
|
|
margin-bottom: 30rpx;
|
|
border: 1rpx solid var(--cyber-border);
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.2);
|
|
z-index: 1;
|
|
}
|
|
|
|
.leixing-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 25rpx 0;
|
|
border-radius: 12rpx;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.leixing-item:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.leixing-active {
|
|
background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(157, 0, 255, 0.15));
|
|
box-shadow: 0 0 15rpx rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.leixing-text {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
margin-bottom: 8rpx;
|
|
color: var(--cyber-text-light) !important;
|
|
}
|
|
|
|
.leixing-active .leixing-text {
|
|
color: var(--cyber-text) !important;
|
|
text-shadow: 0 0 8rpx var(--cyber-blue);
|
|
}
|
|
|
|
.leixing-count {
|
|
font-size: 24rpx;
|
|
color: var(--cyber-text-lighter) !important;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.leixing-active .leixing-count {
|
|
color: rgba(255, 255, 255, 0.9) !important;
|
|
}
|
|
|
|
/* ====== 处罚列表 ====== */
|
|
.chufa-list {
|
|
margin-bottom: 0;
|
|
padding-bottom: 30rpx;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* 加载动画 */
|
|
.jiazai-zhong {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 60rpx 0;
|
|
color: var(--cyber-blue);
|
|
}
|
|
|
|
.loading-animation {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.loading-dot {
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
border-radius: 50%;
|
|
background-color: var(--cyber-blue);
|
|
margin: 0 10rpx;
|
|
animation: pulse 1.5s infinite ease-in-out;
|
|
}
|
|
|
|
.loading-dot:nth-child(2) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.loading-dot:nth-child(3) {
|
|
animation-delay: 0.4s;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
transform: scale(0.8);
|
|
opacity: 0.5;
|
|
}
|
|
50% {
|
|
transform: scale(1.2);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
/* 🔴【关键:处罚卡片背景改为淡灰色】 */
|
|
.chufa-card {
|
|
background: rgba(50, 50, 65, 0.8); /* 🔴 淡灰色卡片,半透明 */
|
|
border-radius: 20rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 30rpx;
|
|
border: 1rpx solid var(--cyber-border);
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.3s;
|
|
z-index: 1;
|
|
}
|
|
|
|
.chufa-card:active {
|
|
transform: translateY(-4rpx);
|
|
box-shadow:
|
|
0 10rpx 30rpx rgba(0, 0, 0, 0.3),
|
|
0 0 25rpx var(--cyber-glow);
|
|
}
|
|
|
|
.card-border {
|
|
position: absolute;
|
|
top: -1px;
|
|
left: -1px;
|
|
right: -1px;
|
|
bottom: -1px;
|
|
border-radius: 21rpx;
|
|
background: linear-gradient(45deg, rgba(255, 0, 255, 0.3), rgba(0, 243, 255, 0.3), rgba(255, 0, 255, 0.3), rgba(0, 243, 255, 0.3));
|
|
z-index: -1;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.chufa-card:active .card-border {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.card-top {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 25rpx;
|
|
}
|
|
|
|
/* 🔴【时间必须显示】 */
|
|
.shijian {
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 26rpx;
|
|
font-family: 'Courier New', monospace;
|
|
letter-spacing: 1rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 🔴【状态标签 - 必须显示出来】 */
|
|
.zhuangtai-badge {
|
|
padding: 8rpx 25rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 24rpx;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2rpx;
|
|
border: 1rpx solid;
|
|
box-shadow: 0 0 8rpx;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
.zhuangtai-daichuli {
|
|
background: rgba(255, 0, 102, 0.2);
|
|
border-color: var(--cyber-red);
|
|
box-shadow: 0 0 8rpx rgba(255, 0, 102, 0.2);
|
|
}
|
|
|
|
.zhuangtai-yichufa {
|
|
background: rgba(0, 255, 157, 0.2);
|
|
border-color: var(--cyber-green);
|
|
box-shadow: 0 0 8rpx rgba(0, 255, 157, 0.2);
|
|
}
|
|
|
|
.zhuangtai-yibohui {
|
|
background: rgba(102, 102, 102, 0.2);
|
|
border-color: #666;
|
|
box-shadow: 0 0 8rpx rgba(102, 102, 102, 0.2);
|
|
}
|
|
|
|
.zhuangtai-shensuzhong {
|
|
background: rgba(255, 165, 0, 0.2);
|
|
border-color: #FFA500;
|
|
box-shadow: 0 0 8rpx rgba(255, 165, 0, 0.2);
|
|
}
|
|
|
|
.zhuangtai-weizhi {
|
|
background: rgba(128, 0, 255, 0.2); /* 未知状态:紫色 */
|
|
border-color: rgba(128, 0, 255, 0.5);
|
|
box-shadow: 0 0 8rpx rgba(128, 0, 255, 0.2);
|
|
}
|
|
|
|
/* 其他文字内容 */
|
|
.qingqiu-row, .liyou-row, .dingdan-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.qingqiu-label, .liyou-label, .dingdan-label {
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 26rpx;
|
|
font-weight: bold;
|
|
margin-right: 15rpx;
|
|
opacity: 0.9;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.qingqiu-value, .liyou-value, .dingdan-value {
|
|
color: var(--cyber-text) !important;
|
|
font-size: 26rpx;
|
|
flex: 1;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.liyou-value {
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.dingdan-value {
|
|
font-family: 'Courier New', monospace;
|
|
letter-spacing: 1rpx;
|
|
}
|
|
|
|
/* 加载更多 */
|
|
.jiazai-gengduo {
|
|
text-align: center;
|
|
padding: 40rpx 0;
|
|
color: var(--cyber-blue);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scan-line {
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 2rpx;
|
|
background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
|
|
animation: scan 2s linear infinite;
|
|
}
|
|
|
|
@keyframes scan {
|
|
0% { left: -100%; }
|
|
100% { left: 100%; }
|
|
}
|
|
|
|
/* 没有更多数据 */
|
|
.meiyou-gengduo {
|
|
text-align: center;
|
|
padding: 40rpx 0;
|
|
color: var(--cyber-green);
|
|
font-size: 28rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 空状态 */
|
|
.kong-zhuangtai {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 100rpx 40rpx;
|
|
text-align: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 120rpx;
|
|
color: var(--cyber-blue);
|
|
margin-bottom: 30rpx;
|
|
text-shadow: 0 0 15rpx var(--cyber-blue);
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.empty-text {
|
|
font-size: 34rpx;
|
|
color: var(--cyber-text) !important;
|
|
margin-bottom: 15rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.empty-subtext {
|
|
font-size: 28rpx;
|
|
color: var(--cyber-text-light) !important;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* ====== 弹窗样式 ====== */
|
|
.xiangqing-modal,
|
|
.shensu-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.modal-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
}
|
|
|
|
/* 🔴【关键:弹窗背景改为不透明的淡灰色】 */
|
|
.modal-content {
|
|
position: relative;
|
|
background: #3a3a4a; /* 🔴 淡灰色,不透明 */
|
|
border-radius: 30rpx;
|
|
width: 90%;
|
|
max-height: 80vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border: 1rpx solid var(--cyber-border);
|
|
box-shadow: 0 0 35rpx rgba(0, 243, 255, 0.3);
|
|
z-index: 1001;
|
|
backdrop-filter: blur(0px); /* 去掉模糊效果 */
|
|
}
|
|
|
|
.small-modal {
|
|
max-height: 85vh;
|
|
width: 85%;
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 40rpx 30rpx 30rpx 30rpx;
|
|
border-bottom: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: var(--cyber-blue);
|
|
text-shadow: 0 0 8rpx var(--cyber-blue);
|
|
}
|
|
|
|
.modal-close {
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
background: rgba(0, 243, 255, 0.1);
|
|
border: 1rpx solid rgba(0, 243, 255, 0.3);
|
|
}
|
|
|
|
.modal-close:active {
|
|
background: rgba(0, 243, 255, 0.2);
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
.close-icon {
|
|
font-size: 40rpx;
|
|
color: var(--cyber-blue);
|
|
line-height: 1;
|
|
}
|
|
|
|
/* 弹窗主体 */
|
|
.modal-body {
|
|
flex: 1;
|
|
padding: 30rpx;
|
|
overflow-y: auto;
|
|
min-height: 200rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 详情区域 */
|
|
.detail-section {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
color: var(--cyber-blue);
|
|
margin-bottom: 25rpx;
|
|
padding-bottom: 15rpx;
|
|
border-bottom: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
text-shadow: 0 0 8rpx var(--cyber-blue);
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
margin-bottom: 25rpx;
|
|
align-items: center;
|
|
}
|
|
|
|
.detail-label {
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 30rpx;
|
|
min-width: 180rpx;
|
|
margin-right: 20rpx;
|
|
line-height: 1.5;
|
|
opacity: 0.9;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.detail-value-container {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.detail-value {
|
|
color: var(--cyber-text) !important;
|
|
font-size: 30rpx;
|
|
line-height: 1.5;
|
|
word-break: break-all;
|
|
opacity: 0.95;
|
|
flex: 1;
|
|
margin-right: 20rpx;
|
|
}
|
|
|
|
.fuzhi-btn {
|
|
color: var(--cyber-blue);
|
|
font-size: 24rpx;
|
|
padding: 8rpx 20rpx;
|
|
border-radius: 8rpx;
|
|
background: rgba(0, 243, 255, 0.1);
|
|
border: 1rpx solid rgba(0, 243, 255, 0.3);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.fuzhi-btn:active {
|
|
background: rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.full-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.full-row .detail-label {
|
|
margin-bottom: 10rpx;
|
|
min-width: auto;
|
|
}
|
|
|
|
/* 弹窗内的状态标签 */
|
|
.zhuangtai-badge-inline {
|
|
padding: 8rpx 24rpx;
|
|
border-radius: 20rpx;
|
|
font-size: 26rpx;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1rpx;
|
|
border: 1rpx solid;
|
|
min-width: 120rpx;
|
|
text-align: center;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
/* 理由方框 */
|
|
.liyou-full {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
padding: 25rpx 30rpx;
|
|
border-radius: 15rpx;
|
|
line-height: 1.6;
|
|
border: 1rpx solid rgba(255, 255, 255, 0.1);
|
|
color: var(--cyber-text) !important;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
display: block;
|
|
opacity: 0.95;
|
|
}
|
|
|
|
/* 图片网格样式 */
|
|
.tupian-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: 10rpx;
|
|
margin-left: -5rpx;
|
|
margin-right: -5rpx;
|
|
}
|
|
|
|
.tupian-item {
|
|
width: calc(33.333% - 10rpx);
|
|
margin: 5rpx;
|
|
aspect-ratio: 1;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.tupian-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
/* 弹窗底部按钮 */
|
|
.modal-footer {
|
|
padding: 30rpx;
|
|
border-top: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.btn-group {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.btn {
|
|
flex: 1;
|
|
height: 90rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 15rpx;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
transition: all 0.3s;
|
|
border: 1rpx solid;
|
|
box-shadow: 0 0 12rpx;
|
|
color: var(--cyber-text) !important;
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn-kefu {
|
|
background: rgba(0, 243, 255, 0.1);
|
|
border-color: var(--cyber-blue);
|
|
box-shadow: 0 0 12rpx rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.btn-shensu {
|
|
background: rgba(255, 165, 0, 0.1);
|
|
border-color: #FFA500;
|
|
box-shadow: 0 0 12rpx rgba(255, 165, 0, 0.2);
|
|
}
|
|
|
|
.btn-shensu-disabled {
|
|
background: rgba(102, 102, 102, 0.1);
|
|
border-color: #666;
|
|
box-shadow: 0 0 12rpx rgba(102, 102, 102, 0.2);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.btn-quxiao {
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0 0 12rpx rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.btn-queren {
|
|
background: rgba(0, 255, 157, 0.1);
|
|
border-color: var(--cyber-green);
|
|
box-shadow: 0 0 12rpx rgba(0, 255, 157, 0.2);
|
|
}
|
|
|
|
/* 申诉弹窗输入样式 */
|
|
.input-group {
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.input-label {
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 30rpx;
|
|
margin-bottom: 15rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.shensu-textarea {
|
|
width: 100%;
|
|
min-height: 200rpx;
|
|
padding: 25rpx 30rpx;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 15rpx;
|
|
font-size: 30rpx;
|
|
line-height: 1.5;
|
|
color: var(--cyber-text) !important;
|
|
border: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.shensu-textarea::placeholder {
|
|
color: var(--cyber-text-lighter) !important;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.word-count {
|
|
text-align: right;
|
|
color: var(--cyber-text-lighter) !important;
|
|
font-size: 24rpx;
|
|
margin-top: 10rpx;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.upload-tip {
|
|
color: var(--cyber-text-lighter) !important;
|
|
font-size: 26rpx;
|
|
margin-bottom: 20rpx;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* 上传图片网格 */
|
|
.tupian-grid-upload {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-left: -5rpx;
|
|
margin-right: -5rpx;
|
|
}
|
|
|
|
.tupian-item-upload {
|
|
width: calc(33.333% - 10rpx);
|
|
margin: 5rpx;
|
|
aspect-ratio: 1;
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
position: relative;
|
|
border: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.tupian-image-upload {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.tupian-delete {
|
|
position: absolute;
|
|
top: 5rpx;
|
|
right: 5rpx;
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
border-radius: 50%;
|
|
background: rgba(255, 0, 102, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.tupian-add-btn {
|
|
width: calc(33.333% - 10rpx);
|
|
margin: 5rpx;
|
|
aspect-ratio: 1;
|
|
border-radius: 10rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2rpx dashed rgba(0, 243, 255, 0.4);
|
|
color: var(--cyber-blue);
|
|
}
|
|
|
|
.tupian-add-btn:active {
|
|
border-color: var(--cyber-blue);
|
|
background: rgba(0, 243, 255, 0.07);
|
|
}
|
|
|
|
.add-icon {
|
|
font-size: 60rpx;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.add-text {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
/* 上传进度 */
|
|
.upload-progress {
|
|
margin-top: 30rpx;
|
|
padding: 25rpx 30rpx;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 15rpx;
|
|
border: 1rpx solid rgba(0, 243, 255, 0.2);
|
|
}
|
|
|
|
.progress-title {
|
|
color: var(--cyber-blue);
|
|
font-size: 28rpx;
|
|
margin-bottom: 15rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 20rpx;
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-radius: 10rpx;
|
|
overflow: hidden;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.progress-inner {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-purple));
|
|
border-radius: 10rpx;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
text-align: center;
|
|
color: var(--cyber-text-light) !important;
|
|
font-size: 26rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 响应式调整 */
|
|
@media (max-width: 375px) {
|
|
.tongji-value {
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.shijian,
|
|
.qingqiu-label,
|
|
.liyou-label,
|
|
.dingdan-label {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.qingqiu-value,
|
|
.liyou-value,
|
|
.dingdan-value {
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.modal-content {
|
|
width: 95%;
|
|
}
|
|
}
|
|
|
|
|
|
/* 🔴【颜色调整】卡片和弹窗背景色稍微调淡一点 */
|
|
:root {
|
|
--cyber-bg: #2c2c3c; /* 从#2a2a3a调亮一点 */
|
|
--cyber-card: #363648; /* 从#333344调亮一点 */
|
|
}
|
|
|
|
/* 🔴【卡片背景色调整 - 更淡一点】 */
|
|
.chufa-card {
|
|
background: rgba(130, 141, 146, 0.8); /* 从rgba(50,50,65,0.8)调亮 */
|
|
}
|
|
|
|
/* 🔴【弹窗背景色调整 - 更淡一点】 */
|
|
.modal-content {
|
|
|
|
background: #acacda; /* 从#3a3a4a调亮 */
|
|
}
|
|
|
|
/* 🔴【增加弹窗高度】 */
|
|
.modal-content {
|
|
max-height: 88vh; /* 从80vh增加 */
|
|
}
|
|
|
|
.small-modal {
|
|
max-height: 88vh; /* 从85vh调整 */
|
|
}
|
|
|
|
/* 🔴【增加弹窗内部滚动区域高度】 */
|
|
/* 修改wxml中对应的style */
|
|
/* 需要将:<scroll-view class="modal-body" scroll-y style="max-height: 500rpx;"> */
|
|
/* 改为:<scroll-view class="modal-body" scroll-y style="max-height: 600rpx;"> */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* pages/penalty/penalty.wxss 中新增样式 */
|
|
|
|
/* 🔴【关键修改】图片网格和图片样式 */
|
|
.tupian-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 12rpx;
|
|
margin-top: 10rpx;
|
|
width: 100%;
|
|
}
|
|
|
|
.tupian-item {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
border-radius: 12rpx;
|
|
overflow: hidden;
|
|
border: 1rpx solid rgba(0, 243, 255, 0.3);
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.tupian-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 图片预览遮罩 */
|
|
.tupian-preview {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.tupian-item:hover .tupian-preview {
|
|
opacity: 1;
|
|
}
|
|
|
|
.preview-text {
|
|
color: white;
|
|
font-size: 24rpx;
|
|
background: rgba(0, 243, 255, 0.7);
|
|
padding: 8rpx 16rpx;
|
|
border-radius: 8rpx;
|
|
} |