feat: 百科rag

This commit is contained in:
Blizzard
2026-04-23 11:13:23 +08:00
parent 40f3a8cfa8
commit 9fe2fd42e0
23 changed files with 1129 additions and 69 deletions
+41 -19
View File
@@ -79,11 +79,12 @@
}
.category-item.active {
background: #558B2F;
background: linear-gradient(135deg, #558B2F, #689F38);
color: #fff;
font-weight: 700;
box-shadow: 0 8rpx 20rpx rgba(85, 139, 47, 0.3);
box-shadow: 0 6rpx 20rpx rgba(85, 139, 47, 0.3);
border-color: #558B2F;
transform: scale(1.02);
}
.wiki-list {
@@ -179,28 +180,49 @@
font-size: 28rpx;
}
/* Floating Action Button */
.floating-add-btn {
/* Floating Action Buttons */
.floating-btns {
position: fixed;
right: 40rpx;
bottom: 60rpx;
background: #558B2F;
color: white;
padding: 24rpx 40rpx;
border-radius: 60rpx;
bottom: 48rpx;
left: 50%;
transform: translateX(-50%);
display: flex;
align-items: center;
gap: 12rpx;
box-shadow: 0 12rpx 32rpx rgba(85, 139, 47, 0.4);
z-index: 1000;
font-size: 28rpx;
font-weight: 700;
transition: all 0.2s ease;
flex-direction: row;
gap: 24rpx;
z-index: 11600;
}
.floating-add-btn:active {
.floating-btn {
color: white;
padding: 18rpx 28rpx;
border-radius: 48rpx;
display: flex;
align-items: center;
gap: 8rpx;
font-size: 26rpx;
font-weight: 700;
white-space: nowrap;
transition: all 0.2s ease;
backdrop-filter: blur(12px);
}
.floating-btn:active {
transform: scale(0.92);
box-shadow: 0 4rpx 16rpx rgba(85, 139, 47, 0.2);
}
.scan-btn {
background: rgba(85, 139, 47, 0.92);
box-shadow: 0 8rpx 28rpx rgba(85, 139, 47, 0.35);
}
.chat-btn {
background: linear-gradient(135deg, rgba(21,101,192,0.92), rgba(25,118,210,0.92));
box-shadow: 0 8rpx 28rpx rgba(21, 101, 192, 0.3);
}
.btn-emoji {
font-size: 32rpx;
line-height: 1;
}
/* Popup Styles */