diff --git a/src/gonganxitong/common.go b/src/gonganxitong/common.go index ef95804..01615c5 100644 --- a/src/gonganxitong/common.go +++ b/src/gonganxitong/common.go @@ -51,6 +51,7 @@ type Table struct { } func (s Table) LoadTrans(m *ice.Message, arg ...string) { + m.Option("_iconslib", "https://img.icons8.com/officel/80/") p := kit.FileLine(1, 100) if m.PrefixKey() != api.GONGANXITONG_PORTAL { ice.LoadTrans(m.Spawn(kit.Dict("_template", path.Join(path.Dir(p), "portal.json"))).Message, m.CommandKey(), m.GetCommand().Command) diff --git a/src/gonganxitong/portal.css b/src/gonganxitong/portal.css index e35b8a6..c3ca7d1 100644 --- a/src/gonganxitong/portal.css +++ b/src/gonganxitong/portal.css @@ -98,6 +98,7 @@ $output fieldset.story>form.option { display:none; } $output fieldset.story>div.action { display:none; } $output fieldset.story>div.status { display:none; } $output fieldset.story>div.output { background-color:var(--plugin-bg-color); } +$output fieldset.story>div.output div.code { padding:0; } $output fieldset.story>div.output table.content td { box-shadow:none; } $output fieldset.story>div.output table.content td img { max-width:100%; } $output fieldset.story>div.output table.content tr.icon td img { max-height:128px; max-width:128px; } diff --git a/src/gonganxitong/portal.json b/src/gonganxitong/portal.json index 348b524..4ec6057 100644 --- a/src/gonganxitong/portal.json +++ b/src/gonganxitong/portal.json @@ -14,27 +14,27 @@ "auth": "认证", "authCreate": "认证申请", "authCity": "城市认证", "authPersonal": "个人认证", "authService": "服务认证", "authCompany": "公司认证", "config": "配置", "code": "编程", "data": "数据", "cache": "缓存", "icons": { - "goodslist": "https://img.icons8.com/officel/80/online-store.png", - "paymentlist": "https://img.icons8.com/officel/80/online-payment-with-a-credit-card.png", - "meeting": "https://img.icons8.com/officel/80/video-conference.png", - "document": "https://img.icons8.com/officel/50/documents.png", - "contract": "https://img.icons8.com/officel/80/agreement.png", - "photo": "https://img.icons8.com/officel/50/ios-photos.png", - "credit": "https://img.icons8.com/officel/80/passport.png", - "member": "https://img.icons8.com/officel/80/person-at-home.png", - "setting": "https://img.icons8.com/officel/80/settings--v1.png", - "qrcode": "https://img.icons8.com/officel/80/qr-code.png", - "event": "https://img.icons8.com/officel/80/property-with-timer.png", - "apply": "https://img.icons8.com/officel/80/edit-property.png", - "allow": "https://img.icons8.com/officel/80/receipt-approved.png", - "email": "https://img.icons8.com/officel/80/reading-confirmation.png", - "notice": "https://img.icons8.com/officel/80/commercial.png", - "domain": "https://img.icons8.com/officel/80/categorize.png", - "market": "https://img.icons8.com/officel/80/square.png", - "message": "https://img.icons8.com/officel/80/test-partial-passed.png", - "recent": "https://img.icons8.com/officel/80/multiple-smartphones.png", - "service": "https://img.icons8.com/officel/80/activity-grid.png", - "support": "https://img.icons8.com/officel/80/customer-support.png" + "goodslist": "online-store.png", + "paymentlist": "online-payment-with-a-credit-card.png", + "meeting": "video-conference.png", + "document": "documents.png", + "contract": "agreement.png", + "photo": "ios-photos.png", + "credit": "passport.png", + "member": "person-at-home.png", + "setting": "settings--v1.png", + "qrcode": "qr-code.png", + "event": "property-with-timer.png", + "apply": "edit-property.png", + "allow": "receipt-approved.png", + "email": "reading-confirmation.png", + "notice": "commercial.png", + "domain": "categorize.png", + "market": "square.png", + "message": "test-partial-passed.png", + "recent": "multiple-smartphones.png", + "service": "activity-grid.png", + "support": "customer-support.png" }, "style": { "reject": "danger",