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.3.2.37.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.5.3.3.js"></script> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f7fa; color: #333; } .app { display: flex; min-height: 100vh; } .sidebar { width: 260px; background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%); color: white; box-shadow: 2px 0 10px rgba(0,0,0,0.1); position: fixed; height: 100vh; z-index: 1000; } .logo { padding: 20px; text-align: center; border-bottom: 1px solid #455a75; } .logo h1 { font-size: 20px; font-weight: 600; } .nav-menu { padding: 20px 0; } .nav-item { display: flex; align-items: center; padding: 15px 20px; cursor: pointer; transition: all 0.3s ease; border-left: 4px solid transparent; } .nav-item:hover { background: rgba(255,255,255,0.1); } .nav-item.active { background: rgba(255,255,255,0.15); border-left-color: #3498db; } .nav-item svg { width: 20px; height: 20px; margin-right: 12px; fill: currentColor; } .main-content { margin-left: 260px; flex: 1; background: #f5f7fa; } .header { background: white; padding: 20px 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; } .header h2 { font-size: 24px; color: #2c3e50; } .user-info { display: flex; align-items: center; gap: 15px; } .user-avatar { width: 40px; height: 40px; border-radius: 50%; background: #3498db; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; } .content { padding: 30px; } .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 4px 6px rgba(0,0,0,0.05); border-left: 4px solid #3498db; } .stat-card h3 { font-size: 14px; color: #7f8c8d; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; } .stat-value { font-size: 28px; font-weight: 700; color: #2c3e50; } .chart-container { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 30px; } .chart-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: #2c3e50; } .chart { width: 100%; height: 300px; } .table-container { background: white; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); overflow: hidden; } .table-header { padding: 20px 25px; border-bottom: 1px solid #ecf0f1; display: flex; justify-content: space-between; align-items: center; } .table-title { font-size: 18px; font-weight: 600; color: #2c3e50; } .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; } .btn-primary { background: #3498db; color: white; } .btn-primary:hover { background: #2980b9; } .btn-danger { background: #e74c3c; color: white; } .btn-danger:hover { background: #c0392b; } .btn-success { background: #27ae60; color: white; } .btn-success:hover { background: #229954; } table { width: 100%; border-collapse: collapse; } th, td { padding: 15px 25px; text-align: left; border-bottom: 1px solid #ecf0f1; } th { background: #f8f9fa; font-weight: 600; color: #2c3e50; } tr:hover { background: #f8f9fa; } .status { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; } .status.online { background: #d5f4e6; color: #27ae60; } .status.offline { background: #fadbd8; color: #e74c3c; } .form-container { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #2c3e50; } .form-control { width: 100%; padding: 12px 15px; border: 2px solid #ecf0f1; border-radius: 6px; font-size: 14px; transition: border-color 0.2s ease; } .form-control:focus { outline: none; border-color: #3498db; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2000; } .modal-content { background: white; padding: 30px; border-radius: 12px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .modal-title { font-size: 20px; font-weight: 600; color: #2c3e50; } .close-btn { background: none; border: none; font-size: 24px; cursor: pointer; color: #7f8c8d; } .tabs { display: flex; border-bottom: 2px solid #ecf0f1; margin-bottom: 30px; } .tab { padding: 15px 25px; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s ease; } .tab.active { border-bottom-color: #3498db; color: #3498db; } .device-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; } .device-card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #ecf0f1; } .device-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; } .device-icon { width: 50px; height: 50px; border-radius: 8px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; } .device-info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; } .device-meta { font-size: 12px; color: #7f8c8d; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0