1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 08:48:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-11-06 16:02:19 +08:00
parent 35f77e68c5
commit 1a71629774
2 changed files with 5 additions and 6 deletions

View File

@ -57,12 +57,11 @@ Volcanos(chat.ONIMPORT, {
}, },
}) })
Volcanos(chat.ONACTION, {list: [ Volcanos(chat.ONACTION, {list: [
"刷新数据", "刷新界面", "刷新数据", "刷新界面", "切换浮动", "切换全屏",
"切换浮动", "切换全屏",
// "远程控制", "共享工具", // "远程控制", "共享工具",
"共享工具", "共享工具", "打开链接", "生成链接",
"打开链接", "生成链接", "生成脚本",
"生成脚本", "生成图片", // "生成图片",
["视图", "参数", "操作", "状态", "专注", "项目", "预览", "演示"], ["视图", "参数", "操作", "状态", "专注", "项目", "预览", "演示"],
["数据", "保存参数", "清空参数", "复制数据", "下载数据", "清空数据", "添加工具"], ["数据", "保存参数", "清空参数", "复制数据", "下载数据", "清空数据", "添加工具"],
["调试", "查看文档", "查看脚本", "查看源码", "查看配置", "删除工具"], ["调试", "查看文档", "查看脚本", "查看源码", "查看配置", "删除工具"],

View File

@ -5,7 +5,7 @@ Volcanos(chat.ONIMPORT, {
tooltip: {formatter: function (item) { return item.name+': '+(item.value||"0") }}, visualMap: {min: 0, max: max, text: [max]}, tooltip: {formatter: function (item) { return item.name+': '+(item.value||"0") }}, visualMap: {min: 0, max: max, text: [max]},
} }
if (can.Conf(ctx.STYLE) == html.FLOAT && !can.page.ClassList.has(can, can._fields, html.FLOAT)) { msg.Option(ice.MSG_STATUS, ""), can.onlayout._float(can) } if (can.Conf(ctx.STYLE) == html.FLOAT && !can.page.ClassList.has(can, can._fields, html.FLOAT)) { msg.Option(ice.MSG_STATUS, ""), can.onlayout._float(can) }
can.page.requireModules(can, ["echarts/dist/echarts.js"], function() { can.misc.GET(can, "/wiki/geoarea/city.json", function(text) { can.onimport.adcode = JSON.parse(text) can.page.requireModules(can, ["echarts/dist/echarts.min.js"], function() { can.misc.GET(can, "/wiki/geoarea/city.json", function(text) { can.onimport.adcode = JSON.parse(text)
!can.onimport.adcode[path] && can.core.Item(can.onimport.adcode, function(code, list) { list.name == path && (path = code) }) !can.onimport.adcode[path] && can.core.Item(can.onimport.adcode, function(code, list) { list.name == path && (path = code) })
can.page.style(can, can._output, html.HEIGHT, can.ConfHeight(), html.WIDTH, can.ConfWidth()) can.page.style(can, can._output, html.HEIGHT, can.ConfHeight(), html.WIDTH, can.ConfWidth())
function load(path, name) { if (cache[path]) { return cache[path]._tabs.click() } can.onimport.load(can, path, function(text) { echarts.registerMap(path, JSON.parse(text)) function load(path, name) { if (cache[path]) { return cache[path]._tabs.click() } can.onimport.load(can, path, function(text) { echarts.registerMap(path, JSON.parse(text))