tailwind实现手机财务银行金融app的ui效果代码

代码语言:html

所属分类:布局界面

代码描述:tailwind实现手机财务银行金融app的ui效果代码

代码标签: tailwind 手机 财务 银行 金融 app ui 代码

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=375, initial-scale=1.0">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/chart.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/tailwindcss.3.4.16.js"></script>
</head>
<body class="bg-gray-100 flex justify-center items-center min-h-screen p-6">
  <div class="relative w-[375px] h-[812px] rounded-[54px] bg-white overflow-hidden shadow-2xl border-8 border-gray-100">
    <!-- Notch -->
    <div class="absolute top-0 left-1/2 transform -translate-x-1/2 w-[126px] h-[34px] bg-black rounded-b-[18px] z-20"></div>
    <!-- Status bar -->
    <div class="pt-9 px-6 pb-1 flex justify-between items-center text-xs">
      <span id="clock" class="font-medium text-gray-500">9:41</span>
      <div class="flex space-x-1 text-gray-600">
        <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><rect width="16" height="6" x="4" y="9" rx="2" stroke-width="1.5"/></svg>
        <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><circle cx="12" cy="12" r="2" stroke-width="1.5"/></svg>
        <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor"><rect x="3" y="7" width="18" height="10" rx="2" stroke-width="1.5"/></svg>
      </div>
    </div>
    <!-- Header -->
    <header class="px-6 py-2 flex justify-between items-center">
      <h1 class="text-2xl font-bold text-gray-900">Stats</h1>
      <div class="w-9 h-9 rounded-full bg-gray-100 flex items-center justify-center">
        <svg class="w-6 h-6 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-width="1.5" stroke-linejoin="round" d="M15 17h5l-1.405-1.405M20.405 16H9.595c-.234 0-.429-.236-.429-.5.........完整代码请登录后点击上方下载按钮下载查看

网友评论0