来源仓库:jxc/ai-fresh-delivery 来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d 快照树: 09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件) 按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据 (生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、 deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值), 整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。 供应商系统后续开发自本提交开始。
204 lines
3.2 KiB
Plaintext
204 lines
3.2 KiB
Plaintext
.page {
|
|
position: relative;
|
|
min-height: 100vh;
|
|
padding: 8rpx 0 32rpx;
|
|
box-sizing: border-box;
|
|
background: #f3faf6;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.page-atmosphere {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
height: 280rpx;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
background:
|
|
radial-gradient(ellipse 70% 80% at 90% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 60%),
|
|
linear-gradient(180deg, #d1fae5 0%, rgba(243, 250, 246, 0) 100%);
|
|
}
|
|
|
|
.toolbar,
|
|
.state-box,
|
|
.list {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.toolbar {
|
|
margin: 32rpx 24rpx 12rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.section-mark {
|
|
width: 8rpx;
|
|
height: 28rpx;
|
|
border-radius: 8rpx;
|
|
background: linear-gradient(180deg, #10b981 0%, #047857 100%);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toolbar-title {
|
|
font-size: 30rpx;
|
|
font-weight: 700;
|
|
color: #0a0a0b;
|
|
display: flex;
|
|
align-items: baseline;
|
|
flex-wrap: wrap;
|
|
gap: 10rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.unread-count {
|
|
font-size: 22rpx;
|
|
font-weight: 500;
|
|
color: #059669;
|
|
background: #ecfdf5;
|
|
border: 1px solid #d1fae5;
|
|
padding: 2rpx 12rpx;
|
|
border-radius: 999rpx;
|
|
}
|
|
|
|
.mark-all {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6rpx;
|
|
flex-shrink: 0;
|
|
padding: 10rpx 16rpx;
|
|
border-radius: 999rpx;
|
|
background: #ecfdf5;
|
|
color: #059669;
|
|
font-size: 22rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.list {
|
|
padding: 0 24rpx;
|
|
}
|
|
|
|
.notification {
|
|
position: relative;
|
|
display: flex;
|
|
margin-bottom: 18rpx;
|
|
background: #fff;
|
|
border: 1px solid #e7efea;
|
|
border-radius: 24rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.03);
|
|
}
|
|
|
|
.notification-accent {
|
|
width: 8rpx;
|
|
flex-shrink: 0;
|
|
background: #e4e4e7;
|
|
}
|
|
|
|
.notification.unread .notification-accent {
|
|
background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
|
|
}
|
|
|
|
.notification.is-read {
|
|
opacity: 0.88;
|
|
}
|
|
|
|
.notification-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 26rpx 24rpx 24rpx;
|
|
}
|
|
|
|
.notification-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16rpx;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.notification-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
font-size: 26rpx;
|
|
font-weight: 600;
|
|
color: #71717a;
|
|
line-height: 1.4;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.unread-tag {
|
|
flex-shrink: 0 !important;
|
|
margin-top: 2rpx !important;
|
|
}
|
|
|
|
.content-meta {
|
|
margin-bottom: 10rpx;
|
|
font-size: 22rpx;
|
|
font-weight: 500;
|
|
color: #a1a1aa;
|
|
line-height: 1.4;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.content {
|
|
color: #0a0a0b;
|
|
line-height: 1.55;
|
|
font-size: 34rpx;
|
|
font-weight: 700;
|
|
word-break: break-word;
|
|
white-space: normal;
|
|
}
|
|
|
|
.meta-row {
|
|
margin-top: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
}
|
|
|
|
.meta-time {
|
|
font-size: 22rpx;
|
|
color: #a1a1aa;
|
|
}
|
|
|
|
.state-box {
|
|
padding: 80rpx 32rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.anim-rise {
|
|
animation: rise-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
.anim-rise--delay {
|
|
animation-delay: 0.08s;
|
|
}
|
|
|
|
.anim-rise--delay-2 {
|
|
animation-delay: 0.14s;
|
|
}
|
|
|
|
@keyframes rise-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(18rpx);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|