mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
62cf6230e6
commit
18515d8170
3
frame.js
3
frame.js
@ -220,7 +220,8 @@ Volcanos("onappend", { _init: function(can, meta, list, cb, target, field) { met
|
|||||||
sub.onappend._status(sub, status)
|
sub.onappend._status(sub, status)
|
||||||
|
|
||||||
// 添加控件
|
// 添加控件
|
||||||
function add(item, next, index) {
|
var index = -1
|
||||||
|
function add(item, next) { item._input == "text" && index++
|
||||||
return sub._inputs[item.name] = Volcanos(item.name, { _help: item.name, _follow: can._follow+"."+meta.name+"."+item.name,
|
return sub._inputs[item.name] = Volcanos(item.name, { _help: item.name, _follow: can._follow+"."+meta.name+"."+item.name,
|
||||||
_target: can.onappend.input(sub, option, item.type, item, args[index]),
|
_target: can.onappend.input(sub, option, item.type, item, args[index]),
|
||||||
_option: option, _action: action, _output: output,
|
_option: option, _action: action, _output: output,
|
||||||
|
@ -147,6 +147,7 @@ fieldset div.code {
|
|||||||
padding:10px;
|
padding:10px;
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
border:solid 3px green;
|
border:solid 3px green;
|
||||||
|
text-align:left;
|
||||||
/* max-height:640px; */
|
/* max-height:640px; */
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
@ -154,6 +155,7 @@ table {
|
|||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
border:solid 1px green;
|
border:solid 1px green;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
text-align:left;
|
||||||
}
|
}
|
||||||
table tr:hover {
|
table tr:hover {
|
||||||
background-color:#0fbd45;
|
background-color:#0fbd45;
|
||||||
|
@ -8,7 +8,7 @@ Volcanos("onimport", {help: "导入数据", _init: function(can, msg, list, cb,
|
|||||||
{view: "profile"},
|
{view: "profile"},
|
||||||
|
|
||||||
{view: "holdon", list: [
|
{view: "holdon", list: [
|
||||||
{view: "preview"}, {view: "content", style: {"max-width": can.Conf("width")-120+"px"}},
|
{view: "preview"}, {view: "content", style: {"max-width": can.Conf("width")-160+"px"}},
|
||||||
]},
|
]},
|
||||||
|
|
||||||
{view: ["editor", "textarea"], onkeydown: function(event) {
|
{view: ["editor", "textarea"], onkeydown: function(event) {
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
fieldset.word h2.story {
|
fieldset h2.story {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
fieldset.word h3.story {
|
fieldset h3.story {
|
||||||
clear:both;
|
clear:both;
|
||||||
}
|
}
|
||||||
fieldset.word p.story {
|
fieldset p.story {
|
||||||
white-space:pre;
|
white-space:pre;
|
||||||
}
|
}
|
||||||
fieldset.word svg.story {
|
fieldset.word svg.story {
|
||||||
@ -27,6 +27,10 @@ fieldset.word code.story {
|
|||||||
|
|
||||||
div.show {
|
div.show {
|
||||||
position:absolute; top:0;
|
position:absolute; top:0;
|
||||||
|
color:black;
|
||||||
|
}
|
||||||
|
div.show table {
|
||||||
|
color:black;
|
||||||
}
|
}
|
||||||
div.show>div.control {
|
div.show>div.control {
|
||||||
background-color:aliceblue;
|
background-color:aliceblue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user