首页头部文字统一纯白+深暖棕投影 (v26100436)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-04 14:51:24 +00:00
parent 914c3e1bed
commit 3969aecdc0
3 changed files with 12 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>兜爸心选 · 孕育陪伴</title>
<!-- V:26100435 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
<!-- V:26100436 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
<link rel="stylesheet" href="mama-box.css">
<script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
<!-- 共享助手:授权/跳商城/位置上报(分享卡片同步,见 docs/h5-auth-standard.md 第四节) -->

View File

@@ -3,7 +3,7 @@
(function () {
'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26100435';
var VER = '26100436';
const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));

View File

@@ -4642,3 +4642,13 @@ a.skip:focus{left:16px;top:16px}
改成按囊壁定:孕囊图里囊壁半径 ≈ 方块边长 43%,取右下 40° 那一点(x≈83%、y≈78%),
牌子左边 30px 处对准那点、上边往里收 3px —— 只压住囊壁最外一圈,孕囊多大都一样。 */
.hero-zod{right:auto;bottom:auto;left:calc(74.5% - 30px);top:calc(85% - 3px)}
/* 头部文字统一(2026-10-04 用户:「最上面的文字包括兜爸心选 logo,主色调搭配投影;干净、纯粹;
背景浅(偏黄)的地方纯白字容易飘,白字必须带淡淡的深暖棕投影或发光」)
→ 字一律纯白(原来的奶黄强调色 #FFE6BF / #FFF3C4 也收成白,靠字号区分层级),
统一配一套深暖棕投影:一层贴字的 1px 细影保边缘 + 一层 8~10px 柔光托底,在羊水浅色光束处也压得住。
LOGO 是 PNG,用 filter:drop-shadow 套同一套。 */
.home-hero{--hs1:rgba(92,40,20,.42);--hs2:rgba(92,40,20,.22)}
.hero-logo{filter:drop-shadow(0 1px 1px var(--hs1)) drop-shadow(0 0 6px var(--hs2))}
.hero-slogan,.hi-due,.hi-due b,.hi-unit em,.hi-size{color:#fff;text-shadow:0 1px 1.5px var(--hs1),0 0 8px var(--hs2)}
.hi-week b{color:#fff;text-shadow:0 1.5px 1px var(--hs1),0 4px 12px var(--hs2)}