祈福入口小树换成宝宝祈福提供的缩略图 (v26100442)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-05 02:08:14 +00:00
parent 4c31cb1c17
commit e35218690e
4 changed files with 8 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 43 KiB

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:26100441 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
<!-- V:26100442 缓存版本标记:改 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 第四节) -->
@@ -194,7 +194,7 @@
<!-- 2026-10-05 用户:「把『所有工具』取消,右上角放祈福树,『祈福』两个小字,树在右上角露出一点点,偶尔动一动」。
跳宝宝祈福树(第三方 H5,nginx /qifu-shu/ 反代到 taidong.douba.top;小程序 web-view 只放行业务域名)。
「所有工具」抽屉本身没删,宫格最后那张「更多」仍能打开。样式见 mama-box.css「祈福树入口」。 -->
<a class="dock-qifu" id="dockQifu" href="/qifu-shu/" aria-label="宝宝祈福树"><span class="dq-t">祈福</span><img class="dq-tree" src="assets/img/qifu-tree.png" alt="" width="60" height="70"></a>
<a class="dock-qifu" id="dockQifu" href="/qifu-shu/" aria-label="宝宝祈福树"><span class="dq-t">祈福</span><img class="dq-tree" src="assets/img/qifu-tree.png" alt="" width="46" height="44"></a>
</div>
<p class="dock-note"><svg viewBox="0 0 24 24" width="11" height="11" aria-hidden="true"><path d="M11 2.6l1.9 5.2 5.2 1.9-5.2 1.9L11 16.8l-1.9-5.2L3.9 9.7l5.2-1.9L11 2.6z" fill="currentColor"/><path d="M18.4 14.6l.8 2.1 2.2.8-2.2.8-.8 2.1-.8-2.1-2.2-.8 2.2-.8.8-2.1z" fill="currentColor" opacity=".6"/></svg>妈妈每记录一次,宝宝就多一段成长记忆</p>
<!-- 2026-09-30 五张卡改版:白色粗标题 + 各工具 LOGO 里的图形(取自点进去那个工具页左上角的 LOGO,

View File

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

View File

@@ -4662,19 +4662,21 @@ a.skip:focus{left:16px;top:16px}
.hero-baby.is-big .hero-zod{left:calc(60% - 30px);top:calc(88% - 6px)}
/* ============ 祈福树入口(2026-10-05) ============
用户:「把『所有工具』取消,右上角放『祈福』两个小字,树在右上角露出一点点,偶尔会动一动」。
· 树图用宝宝祈福会话提供的缩略图(/qifu-shu/static/tree-thumb.png,600² 裁边后缩到 150px 存本地,免得每次拉 550KB);
· 小树贴在工具卡右上角,右边和顶上各有一截被卡片圆角 / 边线裁掉(.tool-dock 本来就 overflow:hidden),像从卡片外探进来;
· 「祈福」小字在树左边,和标题同一行;整块都是点击区(≥44px 高);
· 「偶尔动一动」:每 7 秒里前 6 秒静止,最后 1 秒绕树根轻轻摆 3 度左右再回正,不抢眼。 */
.tool-dock{position:relative}
.dock-head{position:relative}
.dock-qifu{margin-left:auto;align-self:stretch;display:flex;align-items:center;gap:2px;
padding:0 40px 0 10px;margin-right:-16px;min-height:44px;margin-top:-10px;margin-bottom:-10px;
padding:0 46px 0 10px;margin-right:-16px;min-height:44px;margin-top:-10px;margin-bottom:-10px;
text-decoration:none;-webkit-tap-highlight-color:transparent}
.dock-qifu .dq-t{font-size:12px;font-weight:700;color:#C2503E;letter-spacing:1px}
.dock-qifu .dq-tree{position:absolute;right:-13px;top:-17px;width:44px;height:51px;
transform-origin:46% 96%;animation:dqSway 7s ease-in-out infinite;
.dock-qifu .dq-tree{position:absolute;right:-12px;top:-15px;width:46px;height:44px;
transform-origin:50% 100%;animation:dqSway 7s ease-in-out infinite;
filter:drop-shadow(0 1.5px 2px rgba(60,40,20,.22));pointer-events:none}
.dock-qifu:active{opacity:.6}
@keyframes dqSway{0%,84%,100%{transform:rotate(0)}88%{transform:rotate(-3.5deg)}93%{transform:rotate(2.5deg)}97%{transform:rotate(-1deg)}}