sync sample.

This commit is contained in:
lchen committed 2026-11-24 13:23:02 +08:00
1 parent f9efaec884
commit 29a327ff02
4 files changed
+236 -118

No files matched your search

+23 -42
View File
@@ -7,53 +7,34 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>UI Lib</title>
<!-- <script src="amrnb.js"></script> -->
<link rel="stylesheet" href="./style.scss" />
<script type="module" src="main.ts"></script>
<link rel="stylesheet" href="../lib/ui/css/common.scss" />
<style type="text/css">
:root {
--red-color: red;
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
.drag-box {
position: absolute;
}
.box-inner {
height: 100%;
display: flex;
flex-direction: column;
border: 1px solid #ccc;
background-color: #fff;
}
.drag-hover {
background-color: #ccc;
padding: 4px;
}
.wrapper {
position: relative;
height: 100%;
overflow: auto;
}
#container>.ui-grid {
width: 1000px;
height: 400px;
}
</style>
</head>
<body>
<div class="wrapper">
<div id="container"></div>
<div id="container">
<div>
<label class="ui-switch">
<input type="checkbox" />
<span>Display Behavior/Insight Events Only</span>
</label>
</div>
<div class="ui-switch-group">
<label>
<input type="radio" name="reviewed" checked="checked" />
<span>Yes</span>
</label>
<label>
<input type="radio" name="reviewed" />
<span>No</span>
</label>
<label>
<input type="radio" name="reviewed" />
<span>Pending</span>
</label>
</div>
</div>
<!--<button id="setItem">set item</button>
<button id="addItem">add item</button>
<button id="addItems">add items</button>