/* ===== 页面 ===== */ .cert-page { min-height: 100vh; background: #f5f7fa; display: flex; flex-direction: column; } /* ===== 蓝色头部 ===== */ .header { background: linear-gradient(180deg, #1a3a8a 0%, #194e99 100%); position: relative; border-radius: 0 0 100rpx 100rpx; overflow: hidden; } .stat-icon { position: absolute; top: 50rpx; left: 50%; transform: translateX(-50%); width: 280rpx; height: 80%; } .stat-iconb { position: absolute; bottom: 16rpx; right: 50%; transform: translateX(50%); width: 70rpx; height: 12rpx; } .weui-navigation-bar__btn_goback{ background-color: #fff !important; } /* ===== 数量 ===== */ .cert-total { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20rpx 0 50rpx; } .cert-num { font-size: 80rpx; font-weight: 800; color: #ffffff; line-height: 1.1; } .cert-label { font-size: 24rpx; color: rgba(255, 255, 255, 0.7); margin-top: 8rpx; } /* ===== Tab 栏 ===== */ .tab-bar { display: flex; background: #ffffff; border-radius: 16rpx; margin: 20rpx; } .tab-item { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 26rpx 0; } .tab-text { font-size: 30rpx; color: #999; } .tab-item.active .tab-text { color: #1a1a1a; font-weight: 700; font-size: 32rpx; } /* ===== 表头 ===== */ .table-header { display: flex; align-items: center; padding: 24rpx 28rpx; background: #ffffff; border-bottom: 1rpx solid #f0f0f0; } .th { font-size: 26rpx; color: #999; font-weight: 500; } .th-event { width: 360rpx; flex-shrink: 0; } .th-project { flex: 1; text-align: left; padding-right: 16rpx; } .th-cert { width: 140rpx; text-align: right; flex-shrink: 0; } /* ===== 列表容器 ===== */ .record-list { background: #ffffff; border-radius: 16rpx; margin: 0 20rpx; box-sizing: border-box; width: calc(100% - 40rpx); } .record-row { display: flex; align-items: center; padding: 24rpx 28rpx; border-bottom: 1rpx solid #f5f5f5; } .td { font-size: 26rpx; color: #333; } .td-event { width: 360rpx; flex-shrink: 0; display: flex; flex-direction: column; padding-right: 16rpx; } .event-name { font-size: 26rpx; color: #1a1a1a; font-weight: 500; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.4; } .event-time { font-size: 22rpx; color: #bbb; margin-top: 6rpx; } .td-project { flex: 1; text-align: left; font-size: 24rpx; color: #666; padding-right: 16rpx; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 1.4; } .td-cert { width: 140rpx; text-align: right; flex-shrink: 0; } .cert-link { color: #1a56db; font-size: 24rpx; font-weight: 600; } /* ===== 空状态 ===== */ .empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 240rpx; padding-bottom: 240rpx; } .empty-icon { display: flex; flex-direction: column; align-items: center; margin-bottom: 32rpx; } .empty-doc { width: 160rpx; height: 180rpx; background: #f5f5f5; border-radius: 12rpx; display: flex; flex-direction: column; align-items: center; padding-top: 30rpx; gap: 14rpx; position: relative; } .empty-doc-top { width: 80rpx; height: 20rpx; background: #e8e8e8; border-radius: 4rpx; } .empty-doc-line { width: 100rpx; height: 10rpx; background: #e8e8e8; border-radius: 2rpx; } .empty-doc-line.short { width: 70rpx; } .empty-doc-shadow { width: 140rpx; height: 16rpx; background: radial-gradient(ellipse, rgba(0,0,0,0.08) 0%, transparent 70%); margin-top: 8rpx; } .empty-text { font-size: 28rpx; color: #c0c4cc; } /* ===== 加载提示 ===== */ .loading-tip { text-align: center; padding: 24rpx 0; color: #ccc; font-size: 24rpx; }