diff --git a/index.html b/index.html index 842ae34..7f74eeb 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ 兜爸心选 · 孕育陪伴 - + @@ -2732,7 +2732,7 @@ html.night .rs-pan .rp-card{background:rgba(255,255,255,.06);border-color:rgba(2 })(); - + diff --git a/js/app.js b/js/app.js index 348d04a..c7e5f3d 100644 --- a/js/app.js +++ b/js/app.js @@ -3,7 +3,7 @@ (function () { 'use strict'; /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ - var VER = '26110647'; + var VER = '26110648'; const $ = (s, c) => (c || document).querySelector(s); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); diff --git a/js/bump.js b/js/bump.js index d8af70d..dac5b00 100644 --- a/js/bump.js +++ b/js/bump.js @@ -473,12 +473,14 @@ cx.fill(); } function footprint(x, y, rx, ry, ang, k) { - if (k < .15) return; - const a = Math.min(1, (k - .15) / .6), f = .9; + /* 11-07 用户纠正:「要按之前的踢法——先从页面底下把页面踢得鼓起来,隐隐约约,之后才能看清一个小小的脚丫子」 + → 脚印缩小到鼓包的一半、软边,顶到六成以上才慢慢浮出来,到最高点也只是浅浅一层(不是贴上去的脚丫图) */ + if (k < .6) return; + const t = (k - .6) / .4, a = t * t * (3 - 2 * t), f = .5; cx.save(); cx.translate(x, y); cx.rotate(ang); cx.scale(rx * f, ry * f); - cx.shadowBlur = 3 * dpr; - cx.fillStyle = cx.shadowColor = 'rgba(255,255,255,' + (.3 * a).toFixed(3) + ')'; soleShape(-.025, -.03); - cx.fillStyle = cx.shadowColor = 'rgba(120,72,58,' + (.3 * a).toFixed(3) + ')'; soleShape(0, 0); + cx.shadowBlur = 6 * dpr; + cx.fillStyle = cx.shadowColor = 'rgba(255,255,255,' + (.2 * a).toFixed(3) + ')'; soleShape(-.03, -.035); + cx.fillStyle = cx.shadowColor = 'rgba(120,72,58,' + (.2 * a).toFixed(3) + ')'; soleShape(0, 0); cx.restore(); } function paint() {