div+ccs实现招聘求职类app的ui原型图代码
代码语言:html
所属分类:布局界面
代码描述:div+ccs实现招聘求职类app的ui原型图代码
代码标签: div ccs 招聘 求职 app 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>求职招聘APP原型图</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #f5f5f5;
overflow: hidden;
height: 100vh;
}
.canvas-container {
width: 100vw;
height: 100vh;
cursor: grab;
position: relative;
}
.canvas-container.dragging {
cursor: grabbing;
}
.canvas {
transform-origin: 0 0;
display: grid;
grid-template-columns: repeat(4, 400px);
gap: 40px;
padding: 40px;
min-width: fit-content;
}
.prototype-card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
overflow: hidden;
border: 2px solid #e0e0e0;
}
.card-header {
background: #2c3e50;
color: white;
padding: 12px 16px;
font-weight: 600;
font-size: 14px;
text-align: center;
}
.phone-mockup {
width: 375px;
height: 667px;
background: white;
position: relative;
overflow: hidden;
}
.status-bar {
height: 44px;
background: #000;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
font-size: 14px;
font-weight: 500;
}
.page-content {
height: 623px;
overflow-y: auto;
background: #f8f9fa;
}
/* 登录页 */
.login-page {
padding: 60px 30px;
text-align: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.logo {
width: 80px;
height: 80px;
background: white;
border-radius: 20px;
margin: 0 auto 30px;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
color: #667eea;
}
.app-title {
font-size: 28px;
font-weight: bold;
margin-bottom: 10px;
}
.app-subtitle {
font-size: 16px;
opacity: 0.8;
margin-bottom: 50px;
}
.input-group {
margin-bottom: 20px;
text-align: left;
}
.input-field {
width: 100%;
padding: 15px;
border: none;
border-radius: 12px;
font-size: 16px;
background: rgba(255,255,255,0.9);
}
.btn-primary {
width: 100%;
padding: 15px;
background: #ff6b6b;
color: white;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
margin: 20px 0;
}
.link-text {
color: white;
text-decoration: none;
font-size: 14px;
opacity: 0.8;
}
/* 主页 */
.home-page {
background: #f8f9fa;
}
.search-header {
background: white;
padding: 20px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.search-bar {
display: flex;
align-items: center;
background: #f1f3f4;
border-radius: 25px;
padding: 12px 20px;
}
.search-input {
flex: 1;
border: none;
background: none;
margin-left: 10px;
font-size: 16px;
}
.filter-tabs {
display: flex;
padding: 20px;
gap: 15px;
overflow-x: auto;
}
.filter-tab {
padding: 8px 16px;
border-radius: 20px;
background: white;
border: 1px solid #e0e0e0;
white-space: nowrap;
font-size: 14px;
}
.filter-tab.active {
background: #667eea;
color: white;
border-color: #667eea;
}
.job-list {
padding: 0 20px;
}
.job-card {
background: white;
border-radius: 12px;
padding: 20px;
margin-bottom: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.company-info {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.company-logo {
width: 50px;
height: 50px;
border-radius: 8px;
margin-right: 15px;
}
.job-title {
font-size: 18px;
font-weight: 600;
color: #2c3e50;
margin-bottom: 5px;
}
.company-name {
font-size: 14px;
color: #7f8c8d;
}
.job-details {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 15px;
}
.salary {
font-size: 16px;
font-weight: 600;
color: #e74c3c;
}
.location {
font-size: 14px;
color: #7f8c8d;
}
/* 底部导航 */
.bottom-nav {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 80px;
background: white;
border-top: 1px solid #e0e0e0;
display: flex;
align-items: center;
justify-content: space-around;
padding: 10px 0;
}
.nav-item {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: #7f8c8d;
font-size: 12px;
}
.nav-item.active {
color: #667eea;
}
.nav-item i {
font-size: 24px;
margin-bottom: 5px;
}
/* 个人中心 */
.profile-page {
background: #f8f9fa;
}
.profile-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 40px 20px;
text-align: center;
color: white;
}
.avatar {
width: 80px;
height: 80px;
border-radius: 50%;
margin: 0 auto 15px;
border: 3px solid white;
}
.username {
font-size: 22px;
font-weight: 600;
margin-bottom: 5px;
}
.user-title {
font-size: 14px;
opacity: 0.8;
}
.profile-stats {
display: flex;
justify-content: space-around;
padding: 20px;
background: white;
margin: 20px;
border-radius: 12px;
}
.stat-item {
text-align: center;
}
.stat-number {
font-size: 20px;
font-weight: 600;
color: #2c3e50;
}
.stat-label {
font-size: 12px;
color: #7f8c8d;
margin-top: 5px;
}
.menu-list {
margin: 20px;
}
.menu-item {
background: white;
border-radius: 12px;
margin-bottom: 10px;
padding: 15px 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.menu-left {
display: flex;
align-items: center;
}
.menu-icon {
width: 40px;
height: 40px;
background: #f1f3f4;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 15px;
color: #667eea;
}
.menu-text {
font-size: 16px;
color: #2c3e50;
}
/* 职位详情页 */
.job-detail-page {
background: #f8f9fa;
}
.detail-header {
background: white;
padding: 20px;
border-bottom: 1px solid #e0e0e0;
}
.back-btn {
background: none;
border: none;
font-size: 20px;
color: #2c3e50;
margin-bottom: 20px;
}
.job-header {
display: flex;
align-items: flex-start;
}
.job-info {
flex: 1;
margin-left: 15px;
}
.detail-content {
padding: 20px;
}
.section {
background: white;
border-radius: 12px;
padding: 20px;
margin-bottom: 15px;
}
.section-title {
font-size: 18px;
font-weight: 600;
color: #2c3e50;
margin-bottom: 15px;
}
.section-content {
font-size: 14px;
line-height: 1.6;
color: #555;
}
.tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.tag {
padding: 5px 12px;
background: #e3f2fd;
color: #1976d2;
border-radius: 20px;
font-size: 12px;
}
.apply-btn {
position: absolute;
bottom: 20px;
left: 20px;
right: 20px;
padding: 15px;
background: #667eea;
color: white;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
}
/* 消息页 */
.message-page {
background: #f8f9fa;
}
.message-header {
background: white;
padding: 20px;
border-bottom: 1px solid #e0e0e0;
text-align: center;
}
.page-title {
font-size: 20px;
font-weight: 600;
color: #2c3e50;
}
.message-list {
padding: 10px 20px;
}
.message-item {
background: white;
border-radius: 12px;
padding: 15px;
margin-bottom: 10px;
display: flex;
align-item.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0