1
0
mirror of https://gitee.com/coder-xiaomo/algorithm-visualization synced 2025-09-09 06:01:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

排序方法抽象为class;考虑数组为空;添加字体样式;合并样式到单一文件中

This commit is contained in:
2022-05-22 17:44:43 +08:00
parent cfccd51156
commit 54e5f2014e
5 changed files with 212 additions and 156 deletions

View File

@@ -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>