v26110462 孕周专属福利改读数胎动后台(/taidong/api/public/week-perks):首页按孕周出卡、空则整块隐藏;详情页显示后台详情+详情图;价格按单份;删内置 8 份资料
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
池子 = 分配表 gift 的 9 个 + 11-05 新加的非人像头像 12 个(女生常用 g / 宠物 p),共 21 个,够三张都抽满 7 个。
|
||||
mama-box.css 里 .gift2 .sb-faces i:nth-child(n+4){display:none} 只留 3 个 → 这里用行内 display 盖掉;
|
||||
「N 万妈妈已领取」被挤出省略号就先把头像叠紧(5→9px),再不够才从尾巴减头像,最少留 2 个(人数是信息,头像是装饰)。 */
|
||||
(function () {
|
||||
/* 11-05 起福利卡由 app.js 按后台资料现画,画完调 window.mbGiftFaces() 再抽头像 */
|
||||
window.mbGiftFaces = function () {
|
||||
var box = document.querySelectorAll('.gift2 .sb-faces');
|
||||
if (!box.length) return;
|
||||
var pool = ((window.MB_AVA && MB_AVA.S.gift) || []).concat(
|
||||
@@ -49,4 +50,5 @@
|
||||
});
|
||||
}
|
||||
fit(); setTimeout(fit, 800);
|
||||
})();
|
||||
};
|
||||
window.mbGiftFaces();
|
||||
|
||||
Reference in New Issue
Block a user