dsh-tokenbank 0.1.19 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +8 -3
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -611,7 +611,7 @@ window.__ModuleLoader__.load({
|
|
|
611
611
|
var data = st[0]
|
|
612
612
|
var portal = (data && data.portalUrl) || 'https://bank.skillpie.cn'
|
|
613
613
|
var anchor = snap.anchor || { right: window.innerWidth - 16, top: window.innerHeight - 80 }
|
|
614
|
-
var panelWidth =
|
|
614
|
+
var panelWidth = 256
|
|
615
615
|
return h('div', { style: { position: 'fixed', inset: 0, zIndex: 1999 } },
|
|
616
616
|
h('div', { style: { position: 'absolute', inset: 0 }, onClick: close }),
|
|
617
617
|
h('div', {
|
|
@@ -620,8 +620,13 @@ window.__ModuleLoader__.load({
|
|
|
620
620
|
right: Math.max(8, window.innerWidth - anchor.right),
|
|
621
621
|
bottom: window.innerHeight - anchor.top + 8,
|
|
622
622
|
maxHeight: 420, overflow: 'auto',
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
/* 与模型选择器菜单同一材质:面板底色+prominent 阴影(含 0.5px 描边) */
|
|
624
|
+
background: 'var(--dsw-alias-bg-module-platform)',
|
|
625
|
+
color: 'var(--dsw-alias-label-primary)',
|
|
626
|
+
borderRadius: 'var(--dsw-radius-md, 10px)', padding: 14,
|
|
627
|
+
border: 0,
|
|
628
|
+
'--dsw-elevation-stroke-color': 'var(--dsw-alias-border-l1)',
|
|
629
|
+
boxShadow: 'var(--dsw-elevation-prominent)',
|
|
625
630
|
border: '1px solid var(--dsw-alias-border-l1)',
|
|
626
631
|
},
|
|
627
632
|
onClick: function (e) { e.stopPropagation() },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-tokenbank",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"description": "DSH 免费模型:一键注册 TokenBank 领免费 APIKey 送 $5 体验金,免费 GLM 模型直接进模型列表;自带余额查询、API Key 密钥托管(临时额度转永久)、每日签到、充值入口(支付宝),获取免费模型无需自建中转。致敬 dsh-our-free-model。官网 https://bank.skillpie.cn",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|