Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
AabyssZG authored Aug 26, 2024
1 parent a575199 commit ad9a73f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,16 @@
margin-bottom: 20px;
font-size: 18px;
color: #333;
word-wrap: break-word;
text-align: left;
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
max-height: 300px;
overflow-y: auto;
}
.result p {
text-align: center; /* 每行内容居中显示 */
margin: 5px 0;
}
#commandInput {
width: 200px;
padding: 10px;
Expand Down Expand Up @@ -162,9 +164,11 @@ function copyToClipboard() {
<input type="text" id="commandInput" value="tasklist /SVC" readonly>
</br>
<!-- 结果显示区域 -->
<div class="result" id="result">
<?php echo $result; ?>
</div>
<?php if ($result !== ''): ?>
<div class="result">
<?php echo $result; ?>
</div>
<?php endif; ?>
<h4>项目版本号V1.4-2024.08</h4>
</div>
</body>
Expand Down

0 comments on commit ad9a73f

Please # to comment.