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/vue3.2.22.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', Roboto, sans-serif; background: #f5f7fa; color: #333; } .admin-layout { display: flex; min-height: 100vh; } .sidebar { width: 260px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; flex-shrink: 0; box-shadow: 2px 0 8px rgba(0,0,0,0.1); transition: width 0.3s; } .sidebar-header { padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); } .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; } .nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.1); border-right: 3px solid #fff; } .main-content { flex: 1; display: flex; flex-direction: column; } .header { background: white; padding: 0 30px; height: 70px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0,0,0,0.1); z-index: 100; } .header-title { font-size: 20px; font-weight: 600; color: #333; } .user-info { display: flex; align-items: center; gap: 15px; } .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; } .content { flex: 1; padding: 30px; overflow-y: auto; } .page { background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); } .page-header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; } .page-title { font-size: 24px; font-weight: 600; color: #333; margin-bottom: 8px; } .page-subtitle { color: #666; font-size: 14px; } .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 12px rgba(0,0,0,0.05); border-left: 4px solid; } .stat-card.primary { border-left-color: #667eea; } .stat-card.success { border-left-color: #2ecc71; } .stat-card.warning { border-left-color: #f39c12; } .stat-card.danger { border-left-color: #e74c3c; } .stat-value { font-size: 32px; font-weight: bold; margin-bottom: 5px; } .stat-label { color: #666; font-size: 14px; } .chart-container { background: white; border-radius: 12px; padding: 25px; margin: 20px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); } .chart { width: 100%; height: 350px; } .btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; } .btn-primary { background: #667eea; color: white; } .btn-primary:hover { background: #5a6fd8; } .btn-success { background: #2ecc71; color: white; } .btn-danger { background: #e74c3c; color: white; } .btn-secondary { background: #95a5a6; color: white; } .table { width: 100%; border-collapse: collapse; margin-top: 20px; } .table th, .table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; } .table th { background: #f8f9fa; font-weight: 600; color: #555; } .table tr:hover { background: #f8f9fa; } .form-group { margin-bottom: 20px; } .form-label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; } .form-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: border-color 0.3s; } .form-input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .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; padding: 30px; width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; } .modal-header { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; } .modal-title { font-size: 20px; font-weight: 600; color: #333; } .modal-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; display: flex; gap: 10px; justify-content: flex-end; } .grid { display: grid; gap: 20px; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .text-center { text-align: center; } .mb-20 { margin-bottom: 20px; } .status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; } .status-pending { background: #fff3cd; color: #856404; } .status-processing { background: #cce5ff; color: #004085; } .status-completed { background: #d4edda; color: #155724; } .status-cancelled { background: #f8d7da; color: #721c24; } .actions { display: flex; gap: 8px; } .icon { width: 20px; height: 20px; fill: currentColor; } @media (max-width: 768px) { .sidebar { width: 100%; position: fixed; left: -100%; z-index: 1000; transition: left 0.3s; } .sidebar.open { left: 0; } .admin-layout { flex-direction: column; } .main-content { width: 100%; } .content { padding: 20px; } .stats-grid { grid-template-columns: 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; } } </style> </head> <body> <div id="app"> <div class="admin-layout"> <!-- 侧边栏 --> <div class="s.........完整代码请登录后点击上方下载按钮下载查看
网友评论0