Add files via upload

This commit is contained in:
Cola-Echo
2025-12-23 15:20:30 +08:00
committed by GitHub
parent 1fe6d34355
commit 3824a441f6
6 changed files with 75 additions and 464 deletions

159
style.css
View File

@@ -8767,165 +8767,6 @@
color: rgba(255,255,255,0.7);
}
/* ===== 时间选择器 ===== */
.wechat-time-picker {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: var(--wechat-white);
border-top: 1px solid var(--wechat-border);
z-index: 100;
animation: slideUp 0.25s ease;
}
@keyframes slideUp {
from {
transform: translateY(100%);
}
to {
transform: translateY(0);
}
}
.wechat-time-picker.hidden {
display: none;
}
.wechat-time-picker-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid var(--wechat-border);
}
.wechat-time-picker-title {
font-size: 15px;
font-weight: 600;
color: var(--wechat-text);
}
.wechat-time-picker-confirm {
background: var(--wechat-green);
color: white;
border: none;
border-radius: 6px;
padding: 6px 16px;
font-size: 14px;
cursor: pointer;
transition: opacity 0.2s;
}
.wechat-time-picker-confirm:active {
opacity: 0.8;
}
.wechat-time-picker-display {
text-align: center;
padding: 10px;
font-size: 14px;
color: var(--wechat-green);
font-weight: 500;
background: var(--wechat-bg);
}
.wechat-time-picker-columns {
display: flex;
height: 180px;
overflow: hidden;
}
.wechat-time-picker-column {
flex: 1;
height: 100%;
overflow-y: auto;
scroll-snap-type: y mandatory;
-webkit-overflow-scrolling: touch;
}
/* 隐藏滚动条 */
.wechat-time-picker-column::-webkit-scrollbar {
display: none;
}
.wechat-time-picker-column {
scrollbar-width: none;
-ms-overflow-style: none;
}
.wechat-time-picker-item {
height: 36px;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
color: var(--wechat-text-secondary);
cursor: pointer;
scroll-snap-align: center;
transition: all 0.15s;
}
.wechat-time-picker-item:active {
background: var(--wechat-bg);
}
.wechat-time-picker-item.selected {
color: var(--wechat-text);
font-weight: 600;
font-size: 16px;
}
/* 时间指示器(输入框上方) */
.wechat-time-indicator {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 6px 12px;
background: rgba(7, 193, 96, 0.1);
border-bottom: 1px solid var(--wechat-border);
}
.wechat-time-indicator-text {
font-size: 12px;
color: var(--wechat-green);
font-weight: 500;
}
.wechat-time-indicator-clear {
width: 18px;
height: 18px;
border: none;
background: var(--wechat-text-secondary);
color: white;
border-radius: 50%;
font-size: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
opacity: 0.6;
transition: opacity 0.2s;
}
.wechat-time-indicator-clear:hover {
opacity: 1;
}
/* 暗色模式时间选择器 */
.wechat-dark .wechat-time-picker {
background: var(--wechat-white);
}
.wechat-dark .wechat-time-picker-display {
background: var(--wechat-bg);
}
.wechat-dark .wechat-time-indicator {
background: rgba(62, 181, 117, 0.15);
}
/* ========== 一起听功能样式 ========== */
/* 搜索页面 */