悄悄话弹窗三步规则排版;抽屉收起时只露标题
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
.wcs-up{margin-left:auto;font-style:normal;font-size:12px;color:#FFD9B8;animation:wcmUp 1.6s ease-in-out infinite}
|
||||
@keyframes wcmUp{50%{transform:translateY(-3px)}}
|
||||
.wcs.show .wcs-up{display:none}
|
||||
.wcs:not(.show) .wcs-rule,.wcs:not(.show) .wcm-tb{opacity:0}
|
||||
.wcs-x{display:none!important}
|
||||
.wcs.show .wcs-x{display:grid!important;margin-left:auto;align-self:center;display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:rgba(255,255,255,.1);color:#fff}
|
||||
.wcm-tb{display:flex;align-items:center;gap:6px;margin:10px 18px 2px}
|
||||
|
||||
@@ -354,8 +354,8 @@
|
||||
if (!M) return;
|
||||
M.classList.add('wh-star');
|
||||
var ld = document.getElementById('whMLead');
|
||||
ld.innerHTML = '<span class="wms"><i>1</i>写下想对宝宝说的话</span><span class="wms"><i>2</i>审核通过,大家都能看到</span>' +
|
||||
'<span class="wms hi"><i>3</i>被赞 <b>' + STAR_N + '</b> 次,变成一颗星星</span>';
|
||||
ld.innerHTML = '<span class="wms"><i>1</i><span>写下想对<br>宝宝说的话</span></span><span class="wms"><i>2</i><span>审核通过<br>大家都看得到</span></span>' +
|
||||
'<span class="wms hi"><i>3</i><span>被赞 <b>' + STAR_N + '</b> 次<br>变成一颗星星</span></span>';
|
||||
var lf = document.getElementById('whLeft'); if (lf) lf.textContent = '审核通过后,可以转给朋友帮你点赞';
|
||||
}
|
||||
if (M && !M.querySelector('.wms-sky')) M.insertAdjacentHTML('afterbegin', '<i class="wms-sky" aria-hidden="true"></i>');
|
||||
|
||||
Reference in New Issue
Block a user