1
0
forked from x/volcanos
This commit is contained in:
harveyshao 2021-12-11 17:29:56 +08:00
parent ccfcb880a7
commit 52355c5495
2 changed files with 11 additions and 0 deletions

View File

@ -30,6 +30,11 @@ div.hidden {
div.story { div.story {
text-align:left; text-align:left;
} }
p.story[data-type=brief] {
font-family:cursive;
font-weight:bolder;
font-size:20px;
}
div.story[data-type=spark] { div.story[data-type=spark] {
background-color:#2169a9a6; color:white; background-color:#2169a9a6; color:white;
box-shadow:4px 4px 10px 1px #626bd0; box-shadow:4px 4px 10px 1px #626bd0;

View File

@ -71,6 +71,12 @@ Volcanos("onimport", {help: "导入数据", list: [], _init: function(can, msg,
can.user.copy(event, can, item.innerText) can.user.copy(event, can, item.innerText)
} }
}) })
can.page.Select(can, target, "a", function(item) {
can.page.Modify(can, item, {target: "_blank"})
if (item.innerText == "") {
item.innerText = item.href
}
})
}, },
table: function(can, data, target) { table: function(can, data, target) {
can.page.OrderTable(can, target) can.page.OrderTable(can, target)