feat: 后端全量更新 - 含所有本次需求
- Contract.php: 返回合约账户余额(balance_contract) - My.php: 地址管理增加BTC/ETH - AppContract.php: 一键平仓(closeall) - AppProxy.php: 代理专属注册链接 + 分级权限(L1/L2) - site.php: 手续费减半(0.018→0.009) - agent_permission_setup.sql: 代理权限SQL - crypto_news_crawler.py: 新闻自动采集脚本
This commit is contained in:
Executable
+45
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Table Layout</title>
|
||||
<!-- Copyright 1998-2020 by Northwoods Software Corporation. -->
|
||||
<meta name="description" content="TypeScript: Use the TableLayout extension to arrange nodes in a tabular or grid-like form." />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<script src="../samples/assets/require.js"></script>
|
||||
<script src="../assets/js/goSamples.js"></script> <!-- this is only for the GoJS Samples framework -->
|
||||
<script id="code">
|
||||
function init() {
|
||||
require(["TableScript"], function(app) {
|
||||
app.init();
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="init()">
|
||||
<div id="sample">
|
||||
<div style="width: 100%; display: flex; justify-content: space-between">
|
||||
<div id="myPaletteDiv" style="width: 120px; height: 600px; margin-right: 2px; border: solid 1px black"></div>
|
||||
<div id="myDiagramDiv" style="flex-grow: 1; height: 600px; border: solid 1px black"></div>
|
||||
</div>
|
||||
<p>
|
||||
This sample demonstrates a custom Layout, TableLayout, that is very much like a simplified "Table" Panel layout, but working
|
||||
on non-Link Parts in a Diagram or a Group rather than on GraphObjects in a Panel. The layout is defined in its own
|
||||
file, as <a href="TableLayout.ts">TableLayout.ts</a>.
|
||||
</p>
|
||||
<p>
|
||||
You can drag-and-drop nodes from the Palette into any Group. Dragging into a Group highlights the Group. Drops must occur
|
||||
inside Groups; otherwise the action is cancelled.
|
||||
</p>
|
||||
<p>
|
||||
Each row and each column is <a>Part.resizable</a> and has a custom <a>Part.resizeAdornmentTemplate</a> showing a single
|
||||
resize handle on the right side or on the bottom. There is a custom LaneResizingTool to provide a minimum width or
|
||||
height based on the contents of all of the groups (cells) in that column or row.
|
||||
</p>
|
||||
<p>
|
||||
This example assumes the Groups are predefined and exist in each cell at a particular row/column, but this sample could be
|
||||
extended to allow adding and removing rows and/or columns.
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user