mama-box: add '兜爸心选商城' module on me screen (mirrors 专属福利 card; 进入商城 → goMall)

This commit is contained in:
2026-09-07 17:11:09 +08:00
parent 0a199f352c
commit fe32c6ef78
2 changed files with 25 additions and 1 deletions

View File

@@ -961,6 +961,30 @@
<span class="wx-cta">立即免费领取</span>
</button>
<h2 class="sec-title dark">兜爸心选商城</h2>
<button class="wx-card ripple" id="meMallCard">
<span class="wx-top"><span class="wx-badge">甄选好物</span></span>
<span class="wx-body">
<!-- 逛商城入口:购物袋图标(同 .wx-fig 76×拉伸高) -->
<span class="wx-fig" aria-hidden="true">
<svg viewBox="0 0 64 64" width="100%" height="100%">
<rect x="2" y="2" width="60" height="60" rx="14" fill="#FFF1E6"/>
<path d="M19 25h26l-2.1 23.2a3.4 3.4 0 0 1-3.4 3H25.5a3.4 3.4 0 0 1-3.4-3L19 25z" fill="#fff" stroke="#E8A98C" stroke-width="1.7" stroke-linejoin="round"/>
<path d="M26 25a6 6 0 0 1 12 0" fill="none" stroke="#D85F38" stroke-width="1.9" stroke-linecap="round"/>
<path d="M27.5 35h9M27.5 41h9" stroke="#F2C7B3" stroke-width="1.8" stroke-linecap="round"/>
</svg>
</span>
<span class="wx-main">
<span class="wx-head">
<span class="wx-title">兜爸心选商城</span>
<span class="wx-lim">母婴 · 好物</span>
</span>
<span class="wx-sub">为宝宝甄选的母婴好物,值得认真挑一挑</span>
</span>
</span>
<span class="wx-cta">进入商城</span>
</button>
<h2 class="sec-title dark">设置与服务</h2>
<div class="list-card">
<!-- 「提醒设置」整项已按需求删除 -->

View File

@@ -4127,7 +4127,7 @@
toast('请在微信小程序中打开商城');
}
}
$$('#btnMall').forEach(function (b) {
$$('#btnMall, #meMallCard').forEach(function (b) {
b.addEventListener('click', goMall);
});