css布局手机端支付宝钱包余额ui代码

代码语言:html

所属分类:布局界面

代码描述:css布局手机端支付宝钱包余额ui代码

代码标签: css 布局 支付宝 钱包 余额 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, maximum-scale=1.0, user-scalable=no">
    <title>我的资产</title>
    <!-- 引入 RemixIcon 图标库 -->
    <link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet">
    <style>
        :root {
            --ali-blue: #1677ff;
            --bg-color: #f5f5f5;
            --text-main: #333;
            --text-sub: #999;
            --border-color: #eee;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--bg-color);
            padding-bottom: 40px;
        }

        /* 顶部区域 */
        .header {
            background: var(--ali-blue);
            padding: 0 16px;
            color: white;
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .status-bar-placeholder {
            height: 0px; /* 模拟状态栏,全屏时可设为20px */
        }

        .nav-bar {
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 17px;
            font-weight: 500;
        }
        .nav-center { flex: 1; text-align: center; padding-right: 24px; } /* padding修正居中 */

        /* 总资产卡片 */
        .asset-card {
            background: var(--ali-blue);
            color: white;
            padding: 10px 20px 40px 20px;
            position: relative;
        }

        .label-row {
            display: flex;
            align-items: center;
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: 8px;
        }
        .eye-icon {
            font-s.........完整代码请登录后点击上方下载按钮下载查看

网友评论0