@deepwhale-cn/dsh-contract-check 0.1.1 → 0.1.2
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 +2 -2
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -18,7 +18,7 @@ window.__ModuleLoader__.load({
|
|
|
18
18
|
.gn-head{display:flex;align-items:center;gap:10px}
|
|
19
19
|
.gn-title{font-size:16px;font-weight:600}
|
|
20
20
|
.gn-sub{color:var(--dsw-alias-text-secondary,#8b98a8);font-size:12px}
|
|
21
|
-
.gn-ver{margin-left:8px;font-size:11px;opacity:.75;border:
|
|
21
|
+
.gn-ver{margin-left:8px;font-size:11px;opacity:.75;border: 45px solid var(--dsw-alias-border-l1,rgba(255,255,255,.12));border-radius:6px;padding:0 5px}
|
|
22
22
|
.gn-card{border:1px solid var(--dsw-alias-border-l1,rgba(255,255,255,.08));border-radius:12px;background:var(--dsw-alias-bg-layer-1,rgba(255,255,255,.03));padding:14px;display:flex;flex-direction:column;gap:10px}
|
|
23
23
|
.gn-row{display:flex;gap:8px;align-items:center}
|
|
24
24
|
.gn-label{font-size:12px;color:var(--dsw-alias-text-secondary,#8b98a8);width:92px;flex:none}
|
|
@@ -79,7 +79,7 @@ window.__ModuleLoader__.load({
|
|
|
79
79
|
const inject = ['slots'];
|
|
80
80
|
function apply(ctx) {
|
|
81
81
|
const 试 = (n, f) => { try { f(); } catch (e) { try { console.warn('[contract-check] 插槽注册失败:' + n, e && e.message); } catch {} } };
|
|
82
|
-
试('侧栏图标', () => ctx.slots.inject(SLOT_ICON, function* () { yield ctx.slots.register({ name: SLOT_ICON, id: PANEL_ID, order: 46, label: '
|
|
82
|
+
试('侧栏图标', () => ctx.slots.inject(SLOT_ICON, function* () { yield ctx.slots.register({ name: SLOT_ICON, id: PANEL_ID, order: 46, label: '法律·合同体检' }, Ico); }));
|
|
83
83
|
试('主面板', () => ctx.slots.inject(SLOT_MAIN, function* () { yield ctx.slots.register({ name: SLOT_MAIN, key: PANEL_ID }, 面板); }));
|
|
84
84
|
}
|
|
85
85
|
exports.inject = inject; exports.apply = apply; return module.exports;
|