div+css布局实现废品回收app的ui原型图代码

代码语言:html

所属分类:布局界面

代码描述:div+css布局实现废品回收app的ui原型图代码

代码标签: div css 布局 废品 回收 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>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/lucide.min.js"></script>
  <style>
    * { margin:0; padding:0; box-sizing:border-box; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
      background: #f5f5f5;
      overflow: hidden;
      height: 100vh;
    }
    #canvas {
      position: absolute;
      left: 0; top: 0;
      width: 4000px;
      height: 5000px;
      background: #f8f9fa;
      transform-origin: 0 0;
      transition: transform 0.1s ease-out;
      padding: 60px 40px;
      display: grid;
      grid-template-columns: repeat(auto-fit, 420px);
      grid-gap: 60px 80px;
      align-content: start;
    }
    .page {
      width: 375px;
      height: 812px;
      background: #fff;
      border-radius: 40px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.12);
      overflow: hidden;
      position: relative;
      border: 14px solid #000;
      border-bottom-width: 70px;
    }
    .page::before {
      content: "";
      position: absolute;
      top: -12px; left: 50%; transform: translateX(-50%);
      width: 140px; height: 28px;
      background: #000;
      border-radius: 0 0 20px 20px;
    }
    .page-title {
      position: absolute;
      top: -48px; left: 0; right: 0;
      text-align: center;
      font-size: 20px;
      font-weight: 600;
      color: #222;
      background: #fff;
      padding: 8px 20px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      z-index: 10;
    }
    .status-bar {
      height: 44px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 24px;
      font-size: 14px;
      font-weight: 600;
    }
    .time { font-weight: 600; }
    .signal { letter-spacing: -1px; }
    .nav-bar {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 83px;
      background: #fff;
      border-top: 1px solid #eee;
      display: flex;
      padding-bottom: 28px;
    }
    .nav-item {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      color: #888;
      gap: 4px;
    }
    .nav-item.active {
      color: #00C853;
    }
    .btn-primary {
      background: linear-gradient(135deg, #00C853, #00B248);
      color: white;
      border: none;
      border-radius: 16px;
      height: 52px;
      font-size: 17px;
      font-weight: 600;
    }
    .input-group {
      background: #f7f7f7.........完整代码请登录后点击上方下载按钮下载查看

网友评论0