feat(此刻): 陪伴版文案 + 7 个头像 + 同周悄悄话(预设句/自由输入、抱抱) (v26100157)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-02 02:04:39 +00:00
parent d72b40f0d7
commit 9279fd921b
3 changed files with 276 additions and 13 deletions

View File

@@ -3443,3 +3443,76 @@ a.skip:focus{left:16px;top:16px}
.lc-arrow{flex-basis:26px;width:26px;height:26px}
.lc-arrow svg{width:14px;height:14px}
.lc-env-v{left:9px;top:-10px;width:48px;height:36px;filter:drop-shadow(0 6px 8px rgba(150,30,60,.28))}
/* ================= 此刻 · 陪伴版 + 同周悄悄话(2026-10-02) =================
头像一排 7 个单独成行;「还没数」改成邀请式文字链;悄悄话是一条横滑的小纸条带,四种淡色轮换。 */
.pulse .pl-title{white-space:normal}
.pp-crowd{display:flex;align-items:center;gap:9px;margin-top:9px;min-width:0}
.pp-crowd .pp-avs i{width:24px;height:24px;margin-left:-8px;border:2px solid #fff;box-shadow:0 1px 3px rgba(120,70,50,.12)}
.pp-crowd .pp-avs i:first-child{margin-left:0}
.pp-crowd-t{flex:1;min-width:0;font-size:12.5px;color:var(--muted);line-height:1.35}
.pp-crowd-t b{font-size:14px;font-weight:800;color:var(--ink-2);font-variant-numeric:tabular-nums}
.pp-doing{margin-top:8px}
.pp-me{display:inline-flex;align-items:center;gap:5px;padding:0;background:none;border-radius:0;font-size:13px;font-weight:700}
.pp-me.todo{color:#E5533A;background:none}
.pp-me.todo i{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#FFE5DC}
.pp-me.todo i svg{width:11px;height:11px}
.pp-me.todo:active{opacity:.7;transform:none}
.pp-me.ok{color:#4E8A43;background:none;font-weight:600}
.pp-me.ok svg{width:15px;height:15px}
.pulse.has-wh .pl-feed{display:none}
.wh-wall.hide{display:none}
.wh-wall{margin-top:13px}
.wh-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.wh-t{font-size:14px;font-weight:800;color:var(--ink);display:flex;align-items:baseline;gap:7px;min-width:0}
.wh-t em{font-style:normal;font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wh-say{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;font:inherit;font-size:12.5px;font-weight:700;color:#E5533A;
background:none;border:0;padding:4px 0}
.wh-say::before{content:"";width:14px;height:14px;background:currentColor;
-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 12.5l.6-2.6 7-7a1.4 1.4 0 012 2l-7 7z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 12.5l.6-2.6 7-7a1.4 1.4 0 012 2l-7 7z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.wh-say:active{opacity:.6}
.wh-strip{display:flex;gap:10px;margin:9px -2px 0;padding:4px 2px 6px;overflow-x:auto;scroll-snap-type:x mandatory;
-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wh-strip::-webkit-scrollbar{display:none}
.wh-card{position:relative;flex:0 0 172px;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:space-between;
min-height:104px;padding:12px 12px 10px;border-radius:16px 16px 16px 5px;background:#FFF4EE}
.wh-card.t0{background:#FFF1EC}
.wh-card.t1{background:#F3F0FF}
.wh-card.t2{background:#FFF7E6}
.wh-card.t3{background:#EEF8F2}
.wh-card.mine{background:#fff;box-shadow:inset 0 0 0 1.5px #FFC9B8}
.wh-mine{position:absolute;top:-6px;right:10px;font-size:10px;font-weight:700;color:#fff;background:#F4593C;padding:2px 7px;border-radius:6px}
.wh-txt{font-size:14px;line-height:1.5;color:var(--ink);font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.wh-txt::before{content:"“";color:#E8A08C;font-weight:800;margin-right:1px}
.wh-txt::after{content:"”";color:#E8A08C;font-weight:800;margin-left:1px}
.wh-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:9px;font-size:10.5px;color:var(--muted);white-space:nowrap}
.wh-hug{display:inline-flex;align-items:center;gap:3px;font:inherit;font-size:11px;font-weight:700;color:#C7837A;
background:rgba(255,255,255,.8);border:0;border-radius:999px;padding:3px 8px 3px 6px;transition:color .2s,background .2s}
.wh-hug svg,.wh-got svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2}
.wh-hug b{font-weight:800;font-variant-numeric:tabular-nums}
.wh-hug b:empty{display:none}
.wh-hug.on{color:#fff;background:#F4593C}
.wh-hug.on svg{fill:currentColor}
.wh-hug.pop svg{animation:whPop .6s var(--ease)}
@keyframes whPop{0%{transform:scale(1)}30%{transform:scale(1.5)}60%{transform:scale(.9)}100%{transform:scale(1)}}
.wh-got{display:inline-flex;align-items:center;gap:3px;color:#E5533A;font-weight:600}
.wh-got svg{fill:#F4593C;stroke:#F4593C}
.wh-got b{font-weight:800}
.wh-m-lead{margin-top:8px;font-size:13px;color:var(--muted);line-height:1.55}
.wh-ta-box{position:relative;margin-top:14px}
.wh-ta{display:block;width:100%;box-sizing:border-box;resize:none;font:inherit;font-size:15px;line-height:1.55;color:var(--ink);
padding:13px 15px 24px;border:1.5px solid #EADFD8;border-radius:16px;background:#fff}
.wh-ta:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(244,89,60,.12)}
.wh-cnt{position:absolute;right:12px;bottom:8px;font-size:11px;color:#C9B7AC;font-variant-numeric:tabular-nums}
.wh-m-sub{margin-top:14px;font-size:12px;font-weight:700;color:var(--ink-2)}
.wh-presets{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.wh-pre{font:inherit;font-size:12.5px;color:var(--ink-2);background:#fff;border:1px solid #EFE4DD;border-radius:12px;padding:7px 11px;text-align:left}
.wh-pre.on{color:#E5533A;border-color:#FFB7A3;background:#FFF3EE}
.wh-pre:active{transform:scale(.97)}
.wh-modal .modal-foot{margin-top:18px}
.wh-left{margin-top:8px;text-align:center;font-size:11.5px;color:var(--muted)}
@media (prefers-reduced-motion: reduce){.wh-hug.pop svg{animation:none}}
.wh-modal .modal-foot{flex-direction:column;align-items:stretch;gap:0}