mirror of
https://gitee.com/coder-xiaomo/algorithm-visualization
synced 2025-09-09 06:01:38 +08:00
排序方法抽象为class;考虑数组为空;添加字体样式;合并样式到单一文件中
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
|
||||
<!-- 如果使用webpack,请注释掉下面两行,通过 webpack 引入 -->
|
||||
<link rel="stylesheet" href="./assets/css/index.css">
|
||||
<link rel="stylesheet" href="./assets/css/svg.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@@ -21,9 +20,8 @@
|
||||
<div id="sidebar" style="display: none;">
|
||||
<div id="control-div">
|
||||
<div style="text-align: center;">
|
||||
<input id="array-input" style="width: 100%; text-align: center;" type="text" value=""
|
||||
oninput="updateListDataArray('array-sort-algorithm', { doNotAlert: true })" />
|
||||
<input type="button" value="随便来一个" onclick="randomListDataArray('array-sort-algorithm')" />
|
||||
<input id="array-input" style="width: 100%; text-align: center;" type="text" value="" />
|
||||
<input id="getRandomBtn" type="button" value="随便来一个" />
|
||||
</div>
|
||||
<!-- 排序算法按钮 -->
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user