forked from x/ContextOS
opt frame.js
This commit is contained in:
parent
8225085203
commit
bdf628eaf1
@ -14,6 +14,7 @@ Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
||||
back: {16: [27, 185], 18: [30, 208], 20: [33, 232], 24: [40, 278]},
|
||||
"goto": {16: [82, 185], 18: [92, 208], 20: [102, 232], 24: [123, 278]},
|
||||
})
|
||||
can.page.Append(can, can._output, [{text: "\u2715", style: {"font-size": "24px"}}])
|
||||
can.page.Append(can, can._output, [{view: html.IMG, style: {"background": "url(/publish/icon/full.jpg)", "background-size": "480px", height: 1290, width: 480}}])
|
||||
can.sup.onimport.size(can.sup, can.ConfHeight()+html.ACTION_HEIGHT, can.sup.ConfWidth(480)), can.sup.onaction._output(can.sup, msg)
|
||||
}})
|
10
src/hi/layout.js
Normal file
10
src/hi/layout.js
Normal file
@ -0,0 +1,10 @@
|
||||
Volcanos(chat.ONIMPORT, {_init: function(can, msg) {
|
||||
can.onappend.layout(can, can._output, "flex", [
|
||||
{view: ["hi", html.DIV, "he"]},
|
||||
{view: ["he", html.DIV, "he"]},
|
||||
[
|
||||
{view: ["hi", html.DIV, "he"]},
|
||||
{view: ["he", html.DIV, "he"]},
|
||||
],
|
||||
]).layout(can.ConfWidth(), can.ConfHeight())
|
||||
}})
|
@ -12,6 +12,8 @@ https://www.w3schools.com/colors/colors_names.asp
|
||||
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors
|
||||
https://docs.tizen.org/platform/what-is-tizen/overview/
|
||||
https://www.cnblogs.com/cl1234/p/5545290.html
|
||||
http://www.unicode.org/charts/
|
||||
https://www.w3schools.com/charsets/ref_html_utf8.asp
|
||||
`
|
||||
|
||||
chapter "实践"
|
||||
|
Loading…
x
Reference in New Issue
Block a user