From 6156a52c13317f1cb32deac20f2e35d62a3971eb Mon Sep 17 00:00:00 2001 From: harveyshao Date: Tue, 10 Jan 2023 21:43:16 +0800 Subject: [PATCH] add dark --- etc/miss.sh | 2 +- etc/webview.txt | 2 +- src/hi/hi.go | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/etc/miss.sh b/etc/miss.sh index 5d6ba89a..a4c58b1d 100644 --- a/etc/miss.sh +++ b/etc/miss.sh @@ -22,7 +22,7 @@ ish_miss_prepare_operate # ish_miss_prepare webview # ish_miss_prepare echarts # ish_miss_prepare icons -# ish_miss_prepare gogit +ish_miss_prepare gogit # ish_miss_prepare wubi-dict # ish_miss_prepare word-dict diff --git a/etc/webview.txt b/etc/webview.txt index 45f940dc..39308396 100644 --- a/etc/webview.txt +++ b/etc/webview.txt @@ -1,4 +1,4 @@ -vimer "http://localhost:9020/chat/cmd/web.code.vimer?topic=black&debug=true" +vimer "http://localhost:9020/chat/cmd/web.code.vimer?topic=dark" # goods "http://localhost:9020/chat/cmd/web.mall.goods" # plan "http://localhost:9020/chat/cmd/web.team.plan" # localhost http://localhost:9020 diff --git a/src/hi/hi.go b/src/hi/hi.go index d750c405..5e699837 100644 --- a/src/hi/hi.go +++ b/src/hi/hi.go @@ -2,6 +2,7 @@ package hi import ( "shylinux.com/x/ice" + "shylinux.com/x/icebergs/base/ctx" ) type hi struct { @@ -17,10 +18,7 @@ func (s hi) Show(m *ice.Message, arg ...string) { func (s hi) List(m *ice.Message, arg ...string) { s.Zone.ListPage(m, arg...) - m.Echo("hello world") - m.Echo("hello world") - m.Echo("hello world") - m.Echo("hello world") + ctx.Display } func init() { ice.Cmd("web.code.hi.hi", hi{}) }