v1.10.4: 侧边栏授权状态不截断 + 购买授权改独占一行醒目按钮
This commit is contained in:
1 parent
226e4fbbf9
commit
9c52bc4178
3 files changed
+20
-6
No files matched your search
+11
-5
@@ -9,6 +9,12 @@
|
||||
.promo { display:flex; align-items:center; justify-content:space-between; gap:8px;
|
||||
background: linear-gradient(90deg,#00A1D6,#FB7299); color:#fff; padding: 8px 12px; font-size: 13px; }
|
||||
.promo a { color:#fff; font-weight:bold; text-decoration:underline; cursor:pointer; }
|
||||
/* 购买授权:独占一行的醒目按钮(授权文字不再和它抢同一行,避免状态被截断) */
|
||||
.buy-btn { display:block; margin-top:8px; padding:10px 12px; border-radius:7px;
|
||||
background:linear-gradient(90deg,#e91e63,#FB7299); color:#fff; font-size:14px;
|
||||
font-weight:bold; text-align:center; text-decoration:none; cursor:pointer;
|
||||
box-shadow:0 2px 6px rgba(251,114,153,.35); }
|
||||
.buy-btn:active { opacity:.85; }
|
||||
.sec { padding: 10px 12px; border-bottom: 1px solid #eee; }
|
||||
.lbl { font-size: 11px; color: #888; margin-bottom: 5px; }
|
||||
input[type=text], input[type=password], input[type=number], select {
|
||||
@@ -48,12 +54,12 @@
|
||||
<header>B站评论助手</header>
|
||||
|
||||
<div id="licSec" style="padding:8px 12px;border-bottom:1px solid #eee;background:#fafbfc">
|
||||
<div style="display:flex;align-items:center;gap:6px">
|
||||
<span id="licIcon" style="font-size:14px">⏳</span>
|
||||
<span id="licText" style="font-size:13px;font-weight:bold;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">授权检查中…</span>
|
||||
<a id="licBuy" style="color:#e91e63;font-weight:bold;text-decoration:underline;cursor:pointer;white-space:nowrap">购买授权 →</a>
|
||||
<div style="display:flex;align-items:flex-start;gap:6px">
|
||||
<span id="licIcon" style="font-size:14px;line-height:1.45">⏳</span>
|
||||
<span id="licText" style="font-size:13px;font-weight:bold;flex:1;line-height:1.45;word-break:break-word">授权检查中…</span>
|
||||
</div>
|
||||
<div id="licSub" style="font-size:11px;color:#888;margin-top:3px"></div>
|
||||
<div id="licSub" style="font-size:11px;color:#888;margin-top:3px;line-height:1.5"></div>
|
||||
<a id="licBuy" class="buy-btn">🛒 购买授权 · 解锁不限时不限量</a>
|
||||
<div id="updMsg" style="display:none;font-size:12px;color:#005f8b;background:#e6f6fd;border:1px solid #9ed8f0;border-radius:4px;padding:4px 8px;margin-top:6px"></div>
|
||||
<div id="licNotice" style="display:none;font-size:12px;color:#7a5c00;background:#fff8e1;border:1px solid #ffe082;border-radius:4px;padding:4px 8px;margin-top:6px;line-height:1.5"></div>
|
||||
<div id="licActRow" style="display:none;margin-top:6px;align-items:center;gap:6px">
|
||||
|
||||
Reference in new issue
Block a user