Skip to content

Commit

Permalink
1.0.6 版本发布
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedManZhao committed Apr 26, 2024
1 parent 7303dfc commit 75f670b
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ const indexConfig = {

## 更新记录

### 1.0.6 版本 开发
### 1.0.6 版本 发布

- 新增文件上传进度显示支持
- 修复了弹窗被点击之后会跳转到包仓库的问题

### 1.0.5 版本 发布

Expand Down
5 changes: 3 additions & 2 deletions web/FileExplorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
<div>
<img alt="logo" class="icon-navigation" src="image/logo.png">
</div>
<div id="show_area" onclick="window.open('https://github.com/BeardedManZhao/diskMirror-front/releases')"
<div id="show_area"
style="text-align: center"
title="diskMirror-front 版本:点击查看前端界面历史包"> 1.0.6
title="diskMirror-front 版本:点击查看前端界面历史包">
<div onclick="window.open('https://github.com/BeardedManZhao/diskMirror-front/releases')"><span class="load-icon-2"></span> <span>1.0.6</span></div>
</div>
<div class="button_list1">
<button class="item_Button" onclick="window.open('index.html')">新界面</button>
Expand Down
29 changes: 29 additions & 0 deletions web/css/public.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,42 @@ input:focus {
}
}

/* 定义名为 "rotateText_2" 的关键帧动画 */
@keyframes rotateText_2 {
0% {
transform: rotate(0deg);
}
30% {
transform: rotate(0deg); /* 到达50%时旋转180度 */
}
50% {
transform: rotate(180deg); /* 到达50%时旋转180度 */
}
50.5% { /* 添加额外的关键帧,稍过50%以避免瞬间跳转 */
transform: rotate(180deg);
}
70% {
transform: rotate(180deg); /* 在50%至70%之间保持静止 */
}
100% {
transform: rotate(360deg);
}
}

.load-icon {
display: inline-block;
color: #00b682;
/* 应用动画到 .load-icon 类 */
animation: rotateText 2s linear infinite;
}

.load-icon-2 {
display: inline-block;
color: #00b682;
/* 应用动画到 .load-icon 类 */
animation: rotateText_2 5s linear infinite;
}

.status_bar {
background-color: rgba(0, 0, 0, 0.72);
padding: 10px;
Expand Down
3 changes: 3 additions & 0 deletions web/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,9 @@ window.onload = function () {
})

document.getElementById("fileUpload").addEventListener("change", function (e) {
if (!isShowTransferDeposit_fileList_table) {
showTransferDeposit_fileList_table(document.getElementById("showTransferDeposit_fileList_table_button"));
}
const files = e.target.files;
// 获取到当前层级
const element = document.querySelector("#diskMirrorPathInput").value;
Expand Down

0 comments on commit 75f670b

Please sign in to comment.