diff --git a/src/hi/hi.html b/src/hi/hi.html index d7e04963..805839f9 100644 --- a/src/hi/hi.html +++ b/src/hi/hi.html @@ -4,28 +4,103 @@ -

hello world

-

hello world

-

hello world

-

hello world

-
hello "'&world
-
hello world
-

hello world

-hello world -hello world -hello world -hello world -hello world -baidu - -
    -
  1. 1
  2. -
  3. 1
  4. -
  5. 1
  6. -
+

hello world

+

hello world

+

hello world

+

hello world

+
hello "'&world
+
hello world
+

hello world

+ hello world + hello world + hello world + hello world + hello world + baidu + contacts + +
    +
  1. 1
  2. +
  3. 1
  4. +
  5. 1
  6. +
+
hello world
+ hello world + hello world + hello world +

+	package main
+	func init() {
+		println("hello world")
+	}
+	
+ msgCtrl+V + hello world + + hello world + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
hehihe
hehehe
hihihehehe
hihehehe
+
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
one
+
- \ No newline at end of file + diff --git a/src/hi/hi.js b/src/hi/hi.js index c7c8be0b..4be17004 100644 --- a/src/hi/hi.js +++ b/src/hi/hi.js @@ -1,5 +1,9 @@ -Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg) { - msg.Echo("hello world") - msg.Echo("") - msg.Dump(can) +Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb) { + can.page.style(can, can._output, html.HEIGHT, "200px") + // var ui_top = can.onappend.layout(can, can._output, "tabs-top", can.core.List(5, function(item) { return {name: "hi"+item, list: [{text: "hi"+item}]} })) + // var ui_bottom = can.onappend.layout(can, can._output, "tabs-bottom", can.core.List(5, function(item) { return {name: "hi"+item, list: [{text: "hi"+item}]} })) + // var ui_left = can.onappend.layout(can, can._output, "tabs-left", can.core.List(5, function(item) { return {name: "hi"+item, list: [{text: "hi"+item}]} })) + // var ui_right = can.onappend.layout(can, can._output, "tabs-right", can.core.List(5, function(item) { return {name: "hi"+item, list: [{text: "hi"+item}]} })) + // var ui_box = can.onappend.layout(can, can._output, "tabs-box", can.core.List(5, function(item) { return {name: "hi"+item, list: [{text: "hi"+item}]} })) + var ui_auto = can.onappend.layout(can, can._output, "auto") }}) diff --git a/src/main.shy b/src/main.shy index f97286b4..560cda39 100644 --- a/src/main.shy +++ b/src/main.shy @@ -1,3 +1,12 @@ +field "src/main.go" web.code.inner spark ` +package main + +func main() { + println("hello world") +} +` +return + title "contexts" refer ` 官网 https://contexts.com.cn