Add files via upload

This commit is contained in:
Cola-Echo
2025-12-30 01:25:12 +08:00
committed by GitHub
parent 1b3ec1d43f
commit c97f2958ce
12 changed files with 1340 additions and 106 deletions

368
style.css
View File

@@ -4295,6 +4295,49 @@
transform: scale(0.95);
}
/* 左滑删除容器 */
.wechat-emoji-swipe-container {
position: relative;
width: 100%;
aspect-ratio: 1;
overflow: hidden;
border-radius: 8px;
}
.wechat-emoji-swipe-container .wechat-emoji-user-item {
position: relative;
z-index: 2;
width: 100%;
height: 100%;
will-change: transform;
}
.wechat-emoji-swipe-container .wechat-emoji-user-item:active {
transform: none;
}
/* 删除背景 */
.wechat-emoji-delete-bg {
position: absolute;
top: 0;
right: 0;
width: 50px;
height: 100%;
background: #ff3b30;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
z-index: 1;
cursor: pointer;
border-radius: 0 8px 8px 0;
}
.wechat-emoji-delete-bg:active {
background: #d32f2f;
}
.wechat-emoji-item img {
width: 100%;
height: 100%;
@@ -10561,6 +10604,64 @@
color: #ff6b6b;
}
/* 多选按钮 */
.wechat-gift-multi-select-btn {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
padding: 6px 14px;
background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
border: none;
border-radius: 16px;
color: #fff;
font-size: 13px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 2px 8px rgba(255, 77, 109, 0.3);
}
.wechat-gift-multi-select-btn:hover {
background: linear-gradient(135deg, #ff7a96, #ff5c7a);
box-shadow: 0 3px 12px rgba(255, 77, 109, 0.4);
}
.wechat-gift-multi-select-btn.active {
background: linear-gradient(135deg, #ff8fab, #ff6b8a);
}
/* 多选勾选标记 */
.wechat-gift-check-mark {
position: absolute;
top: 6px;
right: 6px;
width: 20px;
height: 20px;
background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
border-radius: 50%;
color: #fff;
font-size: 12px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 2px 6px rgba(255, 77, 109, 0.4);
animation: checkMarkPop 0.2s ease-out;
}
@keyframes checkMarkPop {
0% {
transform: scale(0);
}
70% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
/* 礼物描述输入 */
.wechat-gift-desc-row {
margin-top: 15px;
@@ -11127,6 +11228,52 @@
position: relative;
}
/* ========== 加急配送弹窗样式 ========== */
.wechat-express-modal-content {
background: #ffffff;
border-radius: 12px;
padding: 24px 20px;
width: 280px;
text-align: center;
}
.wechat-express-text {
color: #000000;
font-size: 16px;
line-height: 1.5;
margin-bottom: 24px;
}
.wechat-express-actions {
display: flex;
gap: 12px;
}
.wechat-express-btn {
flex: 1;
padding: 10px 0;
border: none;
border-radius: 8px;
font-size: 15px;
cursor: pointer;
transition: opacity 0.2s;
}
.wechat-express-btn.confirm {
background: #FFC107;
color: #000000;
font-weight: 500;
}
.wechat-express-btn.cancel {
background: #E5E5E5;
color: #333333;
}
.wechat-express-btn:active {
opacity: 0.8;
}
/* ========== 礼物送达询问弹窗样式 ========== */
.wechat-gift-arrival-content {
background: #fff !important;
@@ -11298,6 +11445,33 @@
background: linear-gradient(135deg, #ffc107, #ff9800);
}
/* 媒体按钮(麦克风/摄像头) */
.wechat-toy-btn-media {
width: 60px;
height: 60px;
background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
border-color: rgba(255, 107, 138, 0.3);
box-shadow: 0 4px 12px rgba(255, 77, 109, 0.3);
}
.wechat-toy-btn-media svg {
color: #fff;
}
.wechat-toy-btn-media:hover {
background: linear-gradient(135deg, #ff7a96, #ff5c7a);
}
.wechat-toy-btn-media.active {
background: linear-gradient(135deg, #ff8fab, #ff6b8a);
border-color: #ff8fab;
box-shadow: 0 0 20px rgba(255, 143, 171, 0.5);
}
.wechat-toy-btn-media.active svg {
color: #fff;
}
.wechat-toy-shock-row {
padding-top: 5px;
border-top: 1px dashed rgba(255, 107, 138, 0.3);
@@ -11365,6 +11539,186 @@
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
/* 系统消息(如切换玩具提示) */
.wechat-toy-control-msg.system {
align-self: center;
background: rgba(255, 107, 138, 0.15);
color: #ff6b8a;
font-size: 12px;
padding: 6px 14px;
border-radius: 16px;
max-width: none;
}
/* 多玩具轮盘选择器 */
.wechat-toy-wheel-container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 180px;
margin: 10px 0;
}
.wechat-toy-wheel-heart {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #ff6b8a, #ff4d6d);
border: none;
border-radius: 50%;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
transition: all 0.3s ease;
z-index: 10;
animation: heartPulse 2s ease-in-out infinite;
}
@keyframes heartPulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.wechat-toy-wheel-heart:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(255, 77, 109, 0.5);
}
.wechat-toy-wheel-heart:active {
transform: scale(0.95);
}
.wechat-toy-wheel-heart svg {
width: 24px;
height: 24px;
}
.wechat-toy-wheel-options {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
pointer-events: none;
}
.wechat-toy-wheel-options.open {
pointer-events: auto;
}
.wechat-toy-wheel-option {
position: absolute;
width: 56px;
height: 56px;
background: rgba(255, 255, 255, 0.95);
border: 2px solid rgba(255, 107, 138, 0.3);
border-radius: 50%;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
opacity: 0;
transform: translate(-50%, -50%) scale(0);
transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
left: 50%;
top: 50%;
}
.wechat-toy-wheel-options.open .wechat-toy-wheel-option {
opacity: 1;
transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
}
.wechat-toy-wheel-option:hover {
background: #fff;
border-color: #ff6b8a;
transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.15);
box-shadow: 0 5px 20px rgba(255, 107, 138, 0.3);
}
.wechat-toy-wheel-option.active {
background: linear-gradient(135deg, #fff0f3, #ffe0e6);
border-color: #ff6b8a;
box-shadow: 0 0 0 3px rgba(255, 107, 138, 0.2);
}
.wechat-toy-wheel-option .emoji {
font-size: 20px;
line-height: 1;
}
.wechat-toy-wheel-option .name {
font-size: 9px;
color: #666;
max-width: 50px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.wechat-toy-wheel-option.active .name {
color: #ff6b8a;
font-weight: 500;
}
/* 轮盘选择器移动端适配 */
@media (max-width: 420px) {
.wechat-toy-wheel-container {
height: 150px;
}
.wechat-toy-wheel-heart {
width: 44px;
height: 44px;
}
.wechat-toy-wheel-heart svg {
width: 20px;
height: 20px;
}
.wechat-toy-wheel-option {
width: 48px;
height: 48px;
}
.wechat-toy-wheel-option .emoji {
font-size: 16px;
}
.wechat-toy-wheel-option .name {
font-size: 8px;
max-width: 44px;
}
}
/* 轮盘背景遮罩(点击关闭) */
.wechat-toy-wheel-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: transparent;
z-index: 5;
display: none;
pointer-events: none;
}
.wechat-toy-wheel-overlay.active {
display: block;
pointer-events: auto;
}
@keyframes fadeIn {
from {
opacity: 0;
@@ -11664,8 +12018,8 @@
/* ===== 悬浮球样式 ===== */
.wechat-floating-ball {
position: fixed;
width: 60px;
height: 60px;
width: 30px;
height: 30px;
z-index: 99999;
cursor: pointer;
display: flex;
@@ -11679,24 +12033,24 @@
}
.wechat-floating-ball:hover {
transform: scale(1.08);
transform: scale(1.15);
}
.wechat-floating-ball:active,
.wechat-floating-ball.dragging {
transform: scale(0.95);
transform: scale(0.92);
opacity: 0.9;
}
.wechat-floating-ball .floating-ball-svg {
width: 100%;
height: 100%;
filter: drop-shadow(0 2px 8px rgba(255, 182, 193, 0.4));
filter: drop-shadow(0 1px 4px rgba(255, 182, 193, 0.5));
transition: filter 0.2s ease;
}
.wechat-floating-ball:hover .floating-ball-svg {
filter: drop-shadow(0 4px 12px rgba(255, 182, 193, 0.6));
filter: drop-shadow(0 2px 6px rgba(255, 182, 193, 0.7));
}
/* 悬浮球呼吸动画(可选,可删除) */
@@ -11705,7 +12059,7 @@
transform: scale(1);
}
50% {
transform: scale(1.03);
transform: scale(1.05);
}
}