首页兑换模块标题改「攒兜豆好物免费兑」,角标用去兑换同款色 (v26100193)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<title>兜爸心选 · 孕育陪伴</title>
|
||||
<!-- V:26100192 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
|
||||
<!-- V:26100193 缓存版本标记:改 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 第四节) -->
|
||||
@@ -373,7 +373,7 @@
|
||||
<section class="exch-wrap" id="homeExchMod"><div class="exch-mod">
|
||||
<button class="exch-strip ripple" id="homeExch">
|
||||
<span class="es-coin" aria-hidden="true"><img src="assets/img/dou-coin.svg?v=20261002" width="36" height="36" alt=""></span>
|
||||
<span class="es-main"><b>兜豆兑好物</b><span id="homeExchSub">攒兜豆,好物免费兑</span></span>
|
||||
<span class="es-main"><b>攒兜豆好物免费兑</b><span id="homeExchSub">做孕期任务就能攒兜豆</span></span>
|
||||
<span class="es-go">去兑换<i>›</i></span>
|
||||
</button>
|
||||
<!-- 本场可兑好物(/mall/drop:有库存且已开售,按 heat_30m 降序取前 6),横向滑动;拉不到数据整行隐藏 -->
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
|
||||
var VER = '26100192';
|
||||
var VER = '26100193';
|
||||
const $ = (s, c) => (c || document).querySelector(s);
|
||||
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));
|
||||
|
||||
@@ -4848,7 +4848,10 @@
|
||||
从商城返回(页面重新可见)时再刷一次,兑换后余额能跟上。 */
|
||||
let douToken = '';
|
||||
function setExchSub(t) {
|
||||
$$('#meExchSub, #homeExchSub').forEach(function (el) { el.textContent = t; });
|
||||
/* 2026-10-02 首页标题改成「攒兜豆好物免费兑」,副标题的默认文案不能再重复它 */
|
||||
$$('#meExchSub, #homeExchSub').forEach(function (el) {
|
||||
el.textContent = (el.id === 'homeExchSub' && t === '攒兜豆,好物免费兑') ? '做孕期任务就能攒兜豆' : t;
|
||||
});
|
||||
}
|
||||
function douImg(g) {
|
||||
return /^https?:/.test(g.img || '') ? g.img : EXCH_URL + String(g.img || '').replace(/^\//, '');
|
||||
|
||||
@@ -4146,3 +4146,6 @@ a.skip:focus{left:16px;top:16px}
|
||||
.tab-fab .fab img{display:none}
|
||||
.tab-fab .fab::before{content:"";width:22px;height:22px;
|
||||
background:linear-gradient(#fff,#fff) center/100% 3.5px no-repeat,linear-gradient(#fff,#fff) center/3.5px 100% no-repeat;border-radius:2px}
|
||||
|
||||
/* 2026-10-02 用户:首页兑换模块商品「热门/新品」角标用「去兑换」按钮同款玫红渐变 */
|
||||
#homeExchGoods .gi-badge{background:linear-gradient(135deg,#E8708F,#D9577A 60%,#B83F62);box-shadow:0 2px 5px rgba(184,63,98,.3)}
|
||||
|
||||
Reference in New Issue
Block a user