vue3实现简洁网盘云盘文件管理系统pc端ui原型图代码
代码语言:html
所属分类:布局界面
代码描述:vue3实现简洁网盘云盘文件管理系统pc端ui原型图代码
代码标签: vue 简洁 网盘 云盘 文件 管理 系统 pc端 ui 原型图 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>云盘文件管理系统</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue.global.prod.3.5.17.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.5.5.0.js"></script> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; background: #f5f5f5; color: #333; } .app-container { display: flex; height: 100vh; } .sidebar { width: 250px; background: #fff; border-right: 1px solid #e5e5e5; box-shadow: 2px 0 8px rgba(0,0,0,0.1); } .sidebar-header { padding: 20px; border-bottom: 1px solid #e5e5e5; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; } .logo { font-size: 24px; font-weight: bold; display: flex; align-items: center; gap: 10px; } .nav-menu { padding: 20px 0; } .nav-item { padding: 12px 20px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; gap: 12px; border: none; background: none; width: 100%; text-align: left; font-size: 14px; } .nav-item:hover { background: #f8f9fa; color: #667eea; } .nav-item.active { background: #667eea; color: white; } .main-content { flex: 1; display: flex; flex-direction: column; } .header { background: #fff; padding: 15px 30px; border-bottom: 1px solid #e5e5e5; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .search-box { display: flex; align-items: center; gap: 10px; background: #f8f9fa; padding: 8px 15px; border-radius: 25px; border: 1px solid #e5e5e5; width: 300px; } .search-input { border: none; background: none; outline: none; flex: 1; font-size: 14px; } .user-info { display: flex; align-items: center; gap: 15px; } .avatar { width: 35px; height: 35px; border-radius: 50%; background: #667eea; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .content-area { flex: 1; padding: 30px; overflow-y: auto; } .page-title { font-size: 28px; font-weight: bold; margin-bottom: 10px; color: #2c3e50; } .page-subtitle { color: #7f8c8d; margin-bottom: 30px; } .toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; } .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; transition: all 0.3s; display: flex; align-items: center; gap: 8px; } .btn-primary { background: #667eea; color: white; } .btn-primary:hover { background: #5a6fd8; transform: translateY(-1px); } .btn-secondary { background: #6c757d; color: white; } .btn-success { background: #28a745; color: white; } .btn-danger { background: #dc3545; color: white; } .btn-outline { background: white; border: 1px solid #e5e5e5; color: #666; } .view-toggle { display: flex; background: #f8f9fa; border-radius: 6px; overflow: hidden; } .view-btn { padding: 8px 15px; border: none; background: none; cursor: pointer; transition: all 0.3s; } .view-btn.active { background: #667eea; color: white; } .file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; } .file-card { background: white; border-radius: 12px; padding: 20px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.1); transition: all 0.3s; cursor: pointer; position: relative; } .file-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); } .file-icon { width: 60px; height: 60px; margin: 0 auto 15px; background: #f8f9fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; } .file-preview { width: 100%; height: 120px; object-fit: cover; border-radius: 8px; margin-bottom: 15px; } .file-name { font-weight: 600; margin-bottom: 5px; font-size: 14px; } .file-info { color: #7f8c8d; font-size: 12px; } .file-actions { position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity 0.3s; } .file-card:hover .file-actions { opacity: 1; } .action-btn { background: rgba(255,255,255,0.9); border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; margin-left: 5px; display: inline-flex; align-items: center; justify-content: center; } .file-table { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); } .table { width: 100%; border-collapse: collapse; } .table th { background: #f8f9fa; padding: 15px; text-align: left; font-weight: 600; border-bottom: 1px solid #e5e5e5; } .table td { padding: 15px; border-bottom: 1px solid #f5f5f5; } .table tr:hover { background: #f8f9fa; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { background: white; border-radius: 12px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; } .modal-header { padding: 20px; border-bottom: 1px solid #e5e5e5; display: flex; justify-content: space-between; align-items: center; } .modal-body { padding: 20px; } .modal-footer { padding: 20px; border-top: 1px solid #e5e5e5; display: flex; justify-content: flex-end; gap: 10px; } .form-group { margin-bottom: 20px; } .form-label { display: block; margin-bottom: 5px; font-weight: 600; } .form-control { width: 100%; padding: 10px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 14px; } .upload-area { border: 2px dashed #e5e5e5; border-radius: 12px; padding: 40px; text-align: center; background: #fafafa; transition: all 0.3s; } .upload-area:hover { border-color: #667eea; background: #f8f9ff; } .upload-area.dragover { border-color: #667eea; background: #f0f4ff; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 30px; } .stat-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); } .stat-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; } .stat-value { font-size: 28px; font-weight: bold; margin-bottom: 5px; } .stat-label { color: #7f8c8d; font-size: 14px; } .chart-container { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); margin-bottom: 20px; } .breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; } .breadcrumb-item { color: #7f8c8d; cursor: pointer; } .........完整代码请登录后点击上方下载按钮下载查看
网友评论0