专属福利标题图标换成珊瑚渐变底白色礼盒 v26100225

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-03 10:50:05 +00:00
parent cb399c15a6
commit 65412829ed
3 changed files with 7 additions and 3 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:26100224 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
<!-- V:26100225 缓存版本标记:改 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 第四节) -->
@@ -473,7 +473,7 @@
封面右上「免费」印章、中间一道撕券虚线、底行「免费领 ›」。
⚠️ data-wk 照旧(app.js $$('[data-wk]') 全局扫,角标里那两个也会被填上)。 -->
<div class="shelf-bar gb-bar">
<span class="gb-gift" aria-hidden="true"><svg viewBox="0 0 24 24" width="24" height="24"><rect x="3" y="9" width="18" height="12" rx="2.5" fill="#FF7A5C"/><rect x="2" y="7" width="20" height="4.5" rx="2" fill="#FF9474"/><rect x="10.6" y="7" width="2.8" height="14" fill="#FFD36E"/><path d="M12 7c-1.6-3.6-5.6-4-5.6-1.6C6.4 7 9.6 7 12 7zm0 0c1.6-3.6 5.6-4 5.6-1.6C17.6 7 14.4 7 12 7z" fill="#FFD36E"/></svg></span>
<span class="gb-gift" aria-hidden="true"><svg viewBox="0 0 24 24" width="26" height="26"><rect x="4.5" y="10.5" width="15" height="9.5" rx="2" fill="#fff"/><rect x="3.2" y="7.4" width="17.6" height="4.2" rx="1.6" fill="#fff"/><rect x="11" y="7.4" width="2" height="12.6" fill="#F7745E"/><rect x="3.2" y="11" width="17.6" height="1" fill="#F7745E" opacity=".35"/><path d="M12 7.4C10.6 4.6 7.6 4.2 7.6 6.1c0 1.3 2.2 1.3 4.4 1.3zm0 0c1.4-2.8 4.4-3.2 4.4-1.3 0 1.3-2.2 1.3-4.4 1.3z" fill="none" stroke="#fff" stroke-width="1.6" stroke-linejoin="round"/><path d="M20 1.8l.5 1.3 1.3.5-1.3.5-.5 1.3-.5-1.3-1.3-.5 1.3-.5z" fill="#FFF3C4"/></svg></span>
<div class="gb-ht">
<h2 class="sh-title">孕<span data-wk="n">—</span>周专属福利</h2>
<p class="sh-note">这周用得上的孕育资料,<b>全部免费送</b></p>

View File

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

View File

@@ -4339,3 +4339,7 @@ a.skip:focus{left:16px;top:16px}
/* 2026-10-03 用户:福利卡片左上角黄色「孕N周专属」角标去掉(抬头「孕N周专属福利」保留)。恢复删这条 */
.sb-tag{display:none!important}
/* 2026-10-03 用户:「专属福利」标题左边的小图标换个好看的。出了 A/B/C 三版,先上 A:
珊瑚渐变圆角底 + 白色礼盒(珊瑚色丝带)+ 右上一颗淡黄小星光,和页面主色、底部「记一下」圆钮同一套珊瑚橙 */
.gb-gift{background:linear-gradient(145deg,#FF9C7C,#F4574A);box-shadow:0 6px 12px rgba(244,87,74,.28),inset 0 1px 0 rgba(255,255,255,.35)}