mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
18f8a84f7d
commit
8755fa7347
123
src/hi/hi.html
123
src/hi/hi.html
@ -4,28 +4,103 @@
|
|||||||
<link rel="stylesheet" href="hi.css">
|
<link rel="stylesheet" href="hi.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>hello world</h1>
|
<h1>hello world</h1>
|
||||||
<h2>hello world</h2>
|
<h2>hello world</h2>
|
||||||
<h3>hello world</h3>
|
<h3>hello world</h3>
|
||||||
<h4>hello world</h4>
|
<h4>hello world</h4>
|
||||||
<h5>hello "'&world</h5>
|
<h5>hello "'&world</h5>
|
||||||
<h6>hello world</h6>
|
<h6>hello world</h6>
|
||||||
<p>hello world</p>
|
<p>hello world</p>
|
||||||
<i>hello world</i>
|
<em>hello world</em>
|
||||||
<u>hello world</u>
|
<strong>hello world</strong>
|
||||||
<b>hello world</b>
|
<i>hello world</i>
|
||||||
<em>hello world</em>
|
<u>hello world</u>
|
||||||
<strong>hello world</strong>
|
<b>hello world</b>
|
||||||
<a href="https://baidu.com">baidu</a>
|
<a href="https://baidu.com">baidu</a>
|
||||||
<ul>
|
<a href="mailto:shylinux@163.com?subject=hi&body=hello">contacts</a>
|
||||||
<li> 1 </li>
|
<ul>
|
||||||
<li> 1 </li>
|
<li> 1 </li>
|
||||||
<li> 1 </li>
|
<li> 1 </li>
|
||||||
</ul>
|
<li> 1 </li>
|
||||||
<ol>
|
</ul>
|
||||||
<li> 1 </li>
|
<ol>
|
||||||
<li> 1 </li>
|
<li> 1 </li>
|
||||||
<li> 1 </li>
|
<li> 1 </li>
|
||||||
</ol>
|
<li> 1 </li>
|
||||||
|
</ol>
|
||||||
|
<blockquote>hello world</blockquote>
|
||||||
|
<q>hello world</q>
|
||||||
|
<cite>hello world</cite>
|
||||||
|
<abbr>hello world</abbr>
|
||||||
|
<pre><code>
|
||||||
|
package main
|
||||||
|
func init() {
|
||||||
|
println("hello world")
|
||||||
|
}
|
||||||
|
</code></pre>
|
||||||
|
<var>msg</var><kbd>Ctrl+V</kbd>
|
||||||
|
<samp>hello world <samp>
|
||||||
|
<!--
|
||||||
|
<video muted autoplay loop controls>
|
||||||
|
<source src="http://localhost:9020/share/local/usr/local/image/2c45934eb729ba756771d26a118ec4b8.mp4"/>
|
||||||
|
</video>
|
||||||
|
-->
|
||||||
|
<samp>hello world <samp>
|
||||||
|
<iframe src="http://localhost:9020" width="100%" height="400px" style="border:none"></iframe>
|
||||||
|
<svg width="100%" height="200">
|
||||||
|
<rect width="100%" height="100%" fill="green" />
|
||||||
|
<circle x="%50" y="50%" r="50%" fill="red" />
|
||||||
|
</svg>
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="background-color:red" span="2"></col>
|
||||||
|
<col style="background-color:blue" span="2"></col>
|
||||||
|
</colgroup>
|
||||||
|
<tr>
|
||||||
|
<th colspan="2" rowspan="2">he</th>
|
||||||
|
<th colspan="2">hi</th>
|
||||||
|
<th>he</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="2">hi</td>
|
||||||
|
<td>hi</td>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>hi</td>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
<td>he</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div style="display:flex;width:100%">
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
<div style="flex:1">one</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
12
src/hi/hi.js
12
src/hi/hi.js
@ -1,5 +1,9 @@
|
|||||||
Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg) {
|
Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb) {
|
||||||
msg.Echo("hello world")
|
can.page.style(can, can._output, html.HEIGHT, "200px")
|
||||||
msg.Echo("<what>")
|
// 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}]} }))
|
||||||
msg.Dump(can)
|
// 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")
|
||||||
}})
|
}})
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
field "src/main.go" web.code.inner spark `
|
||||||
|
package main
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
println("hello world")
|
||||||
|
}
|
||||||
|
`
|
||||||
|
return
|
||||||
|
|
||||||
title "contexts"
|
title "contexts"
|
||||||
refer `
|
refer `
|
||||||
官网 https://contexts.com.cn
|
官网 https://contexts.com.cn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user