-
-
-
- G
- o
- o
- g
- l
- e
+
+
+
+
+
+
-
-
+
+
- 整站下载工具
中国
+ 快速抓取网站资源,一键下载整站内容
-
-
+
+
+
-
-
+
-
+
+ {{ hasSearched ? '重新分析' : '开始分析' }}
+
- 🎤
- 📷
-
+
-
-
- Google 搜索
-
-
- 手气不错
-
-
-
-
-
-
-
搜索历史
-
-
-
-
+
+
+
+ 最近使用
+
+
+
{{ tip }}
-
+
-
-
-
- 用时 {{ searchTime }} 秒 下载
-
-
-
- 全部
- 图片
- 样式
- 脚本
- 媒体
-
+
+
+
+
+
+
+
+ {{ isDownload ? '下载中...' : '开始下载' }}
+
-
-
+
+ 分析完成,用时 {{ searchTime }} 秒
+
-
-
-
-
-
- 页面文件
-
-
-
+
+
-
-
- 图片文件
-
-
-
-
-
- 可下载:{{ searchResults?.dom.length }}
+
+
+
+ 全部资源
+
+
+
+ 图片
+
+
+
+ 样式
+
+
+
+ 脚本
+
+
+
+ 媒体
+
+
+
-
-
-
- 仿站
- 仿站记录
-
-
总数:{{ searchResults?.image.length }}
- 本站资源:{{ resourceData?.imageD.length }}
其他资源:{{ resourceData?.image.length }}
+
+
+
+
+
+
-
-
@@ -199,11 +303,24 @@
\ No newline at end of file
diff --git a/frontend/app/pages/site/record.vue b/frontend/app/pages/site/record.vue
index 4b6d1d5..bb9c6ac 100644
--- a/frontend/app/pages/site/record.vue
+++ b/frontend/app/pages/site/record.vue
@@ -1,64 +1,683 @@
-
+
+
+
+
+
-
-
- 样式文件
-
-
-
-
-
-
- 脚本文件
-
-
-
-
-
-
- 媒体文件
-
-
-
-
-
+
+
-
- 页面文件
+HTML 页面及文档
-
-
- 总数:{{ searchResults?.css.length }}
- 本站资源:{{ resourceData?.cssD.length }}
其他资源:{{ resourceData?.css.length }}
-
-
-
- 总数:{{ searchResults?.script.length }}
- 本站资源:{{ resourceData?.scriptD.length }}
其他资源:{{ resourceData?.script.length }}
-
-
-
- 总数:{{ searchResults?.video.length }}
- 本站资源:{{ resourceData?.videoD.length }}
其他资源:{{ resourceData?.video.length }}
-
-
-
-
-
+
+
+
+ 可下载数量
+ {{ searchResults?.dom.length || 0 }}
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 相关搜索
-
-
- {{ related }}
-
+
+
+
+
+
-
+
+
+
+
+ 图片文件
+JPG、PNG、SVG 等
+
+
+
+
+
+
+
+ 资源总数
+ {{ searchResults?.image.length || 0 }}
+
+
+ 本站资源
+ {{ resourceData?.imageD.length || 0 }}
+
+
+ 外站资源
+ {{ resourceData?.image.length || 0 }}
+
+
+
+
+
+
+
+
+
+ 样式文件
+CSS 样式表
+
+
+
+
+ 资源总数
+ {{ searchResults?.css.length || 0 }}
+
+
+ 本站资源
+ {{ resourceData?.cssD.length || 0 }}
+
+
+ 外站资源
+ {{ resourceData?.css.length || 0 }}
+
+
+
+
+
+
+
+
+
+ 脚本文件
+JavaScript 脚本
+
+
+
+
+ 资源总数
+ {{ searchResults?.script.length || 0 }}
+
+
+ 本站资源
+ {{ resourceData?.scriptD.length || 0 }}
+
+
+ 外站资源
+ {{ resourceData?.script.length || 0 }}
+
+
+
+
+
+
+
+
+
+ 媒体文件
+视频、音频等
+
+
+
+
+ 资源总数
+ {{ searchResults?.video.length || 0 }}
+
+
+ 本站资源
+ {{ resourceData?.videoD.length || 0 }}
+
+
+ 外站资源
+ {{ resourceData?.video.length || 0 }}
+
+
-
-
-
-
-
- 查看文件
-
-
+ }
+ */
+export function DeleteSiteFileDir(pathDir) {
+ return $Call.ByID(2647643782, pathDir);
+}
+
/**
* @param {string} uri
* @param {services$0.ResourcesList} obj
+
+
+
+
+ 仿站
+
+
+
+ 仿站记录
+
+
+
+
+
\ No newline at end of file
+}
+
+// 格式化文件大小
+const formatSize = (bytes) => {
+ if (!bytes || bytes === 0) return '0 B'
+ const k = 1024
+ const sizes = ['B', 'KB', 'MB', 'GB', 'TB']
+ const i = Math.floor(Math.log(bytes) / Math.log(k))
+ return (bytes / Math.pow(k, i)).toFixed(2) + ' ' + sizes[i]
+}
+
+// 格式化时间
+const formatTime = (time) => {
+ if (!time) return '-'
+ const date = new Date(time)
+ const now = new Date()
+ const diff = now - date
+
+ // 小于1分钟
+ if (diff < 60000) {
+ return '刚刚'
+ }
+ // 小于1小时
+ if (diff < 3600000) {
+ return Math.floor(diff / 60000) + ' 分钟前'
+ }
+ // 小于24小时
+ if (diff < 86400000) {
+ return Math.floor(diff / 3600000) + ' 小时前'
+ }
+ // 小于7天
+ if (diff < 604800000) {
+ return Math.floor(diff / 86400000) + ' 天前'
+ }
+
+ // 格式化为完整日期
+ return date.toLocaleDateString('zh-CN', {
+ year: 'numeric',
+ month: '2-digit',
+ day: '2-digit',
+ hour: '2-digit',
+ minute: '2-digit'
+ })
+}
+
+// 获取头像颜色
+const getAvatarColor = (index) => {
+ const colors = [
+ '#1890ff', '#52c41a', '#722ed1', '#fa8c16',
+ '#eb2f96', '#13c2c2', '#faad14', '#f5222d'
+ ]
+ return colors[index % colors.length]
+}
+
+onMounted(() => {
+ getList()
+})
+
+
+
\ No newline at end of file
diff --git a/frontend/bindings/go-site-clone/app.js b/frontend/bindings/go-site-clone/app.js
index 1b925dc..b1bdc39 100644
--- a/frontend/bindings/go-site-clone/app.js
+++ b/frontend/bindings/go-site-clone/app.js
@@ -13,6 +13,14 @@ import * as services$0 from "./services/models.js";
// @ts-ignore: Unused imports
import * as utils$0 from "./utils/models.js";
+/**
+ * @param {string} pathDir
+ * @returns {$CancellablePromise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formatSize(record.size) }}
+
+
+
+
+
+
+
+ {{ record.mode }}
+
+
+
+
+
+
+
+
+ 打开文件夹
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 仿站记录
+查看和管理已下载的网站资源
+
+
+
+
+ 刷新列表
+
+
+
+
+ 总计站点
+
+
+
+
+
+
+ 站点列表
+
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ record.name }}
+ {{ record.name }}
+
+
+ {{ formatTime(record.modTime) }}
+
+
+
+
+
+