悄悄话:广场置顶笔记直接进星空页,留言挂在星空页「说一句悄悄话」下面(深色星空样式);投稿轮播去掉礼物图标和「我也投稿」

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-07 02:16:49 +00:00
parent 3626ce7d78
commit 55012dc1ff
4 changed files with 139 additions and 4 deletions

35
js/wh-cm.css Normal file
View File

@@ -0,0 +1,35 @@
/* 星空页 · 妈妈们的留言(2026-11-07,js/wh-cm.js):深靛紫玻璃,跟星空一个色系,不用白底 */
.wcm{position:absolute;inset:0;z-index:4;overflow-y:auto;overscroll-behavior:contain;pointer-events:none;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.wcm::-webkit-scrollbar{display:none}
.wcm-sp{height:calc(100% - 158px - env(safe-area-inset-bottom));pointer-events:none}
.wcm-in{position:relative;pointer-events:auto;min-height:calc(100% - 60px);padding-bottom:calc(24px + env(safe-area-inset-bottom));
background:linear-gradient(180deg,rgba(28,22,52,0) 0,rgba(28,22,52,.9) 56px,rgba(26,20,48,.97) 150px,#1E1838 100%)}
.wcm .whp-bar{position:relative;left:auto;right:auto;bottom:auto;padding:22px 24px 4px;background:none}
.wcm-hd{display:flex;align-items:baseline;gap:8px;margin:14px 18px 6px;color:#F4ECFF}
.wcm-hd b{font-size:15px;font-weight:800;letter-spacing:1px}
.wcm-hd span{font-size:12px;color:rgba(232,222,255,.5)}
.wcm-up{margin-left:auto;font-style:normal;font-size:11.5px;color:rgba(255,214,170,.75);transition:opacity .3s}
.wcm-up::after{content:"";display:inline-block;width:6px;height:6px;margin-left:5px;border:solid currentColor;border-width:1.5px 0 0 1.5px;transform:translateY(1px) rotate(45deg)}
.wcm.up .wcm-up{opacity:0}
.wcm-ls{padding:0 12px}
.wcm-e{margin:18px 0;text-align:center;font-size:12.5px;color:rgba(232,222,255,.45)}
.wcm-it{display:flex;gap:10px;margin-top:8px;padding:12px 10px 12px 12px;border-radius:16px;
background:linear-gradient(140deg,rgba(255,255,255,.075),rgba(255,255,255,.03));box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.wcm-av{flex:none;width:32px;height:32px;border-radius:50%;object-fit:cover;background:#3A2F5E;box-shadow:0 0 0 1.5px rgba(255,220,180,.35)}
.wcm-bd{flex:1;min-width:0}
.wcm-nm{display:flex;align-items:baseline;gap:6px;margin:0;font-size:12px;color:rgba(232,222,255,.45)}
.wcm-nm b{font-size:12.5px;font-weight:700;color:#FFD9B8;max-width:9em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wcm-tx{margin:4px 0 0;font-size:14px;line-height:1.6;color:#F2ECFA;word-break:break-word}
.wcm-st{margin:4px 0 0;font-size:11.5px;color:#FFC07A}
.wcm-rp{margin-top:8px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.05)}
.wcm-rp p{margin:0;font-size:12.5px;line-height:1.55;color:rgba(242,236,250,.78)}
.wcm-rp p+p{margin-top:4px}
.wcm-rp b{font-weight:700;color:#C9B8FF}
.wcm-lk{flex:none;align-self:flex-start;display:flex;flex-direction:column;align-items:center;gap:1px;min-width:32px;padding:2px 0;border:0;background:none;font:inherit;color:rgba(232,222,255,.5)}
.wcm-lk svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .2s}
.wcm-lk span{font-size:11px}
.wcm-lk.on{color:#FF8FA6}.wcm-lk.on svg{fill:currentColor;transform:scale(1.12)}
.wcm-more{display:block;margin:14px auto 0;height:34px;padding:0 22px;border-radius:99px;border:1px solid rgba(255,220,180,.35);background:rgba(255,255,255,.05);color:#FFD9B8;font:inherit;font-size:13px}
.wcm-more[hidden]{display:none}
/* 内容卡 / 落完提示往上让一让,别被留言面板顶住 */
.wh-page .wsc{bottom:calc(172px + env(safe-area-inset-bottom))}