- Modern Login Page (現代化登入頁面)
Modern Login Page (現代化登入頁面)
Content
Modern Login Page (現代化登入頁面)
這是一個現代化的、響應式的登入頁面實現,具有直觀的用戶界面和豐富的互動功能。

功能特點
-
🎨 現代化設計
- 使用漸變背景色
- 清晰的卡片式布局
- 響應式設計,支援各種設備尺寸
-
🔒 安全性功能
- 密碼強度即時檢查(最少8個字符)
- 密碼顯示/隱藏切換
- 電子郵件格式即時驗證
-
⚡ 交互體驗
- 浮動標籤效果
- 表單驗證即時反饋
- 記住我選項
- 登入狀態反饋
技術實現
- 純 HTML5 / CSS3 / JavaScript
- 使用 CSS 變量實現主題定制
- Flexbox 布局
- Google Noto Sans TC 字體支援
- 原生 JavaScript 實現所有互動功能
- SVG 圖標
本地測試
- 克隆此倉庫:
git clone https://github.com/jerry3315765/MCP_test.git
- 進入項目目錄:
cd MCP_test
- 在瀏覽器中打開:
- 直接打開
login-page/index.html - 或使用本地服務器(如 Live Server)運行
- 直接打開
功能測試
-
表單驗證:
- 嘗試提交空表單,會收到提示
- 輸入無效的電子郵件格式,輸入框會顯示紅色提示
- 輸入少於8個字符的密碼,將看到密碼強度提示
-
交互功能:
- 點擊密碼欄位右側的眼睛圖標可切換密碼顯示/隱藏
- 勾選"記住我"選項
- 點擊"忘記密碼?"和"立即註冊"鏈接
- 觀察表單提交時的登入狀態變化
自定義主題
您可以通過修改 style.css 中的 CSS 變量來自定義主題:
:root {
--primary-color: #4f46e5; /* 主要顏色 */
--primary-hover: #4338ca; /* 懸停顏色 */
--text-color: #1f2937; /* 文字顏色 */
--text-light: #6b7280; /* 次要文字顏色 */
--background: #ffffff; /* 背景顏色 */
--error: #ef4444; /* 錯誤提示顏色 */
--success: #10b981; /* 成功提示顏色 */
}
注意事項
- 這是一個前端示例,實際使用時需要配合後端API
- 密碼驗證僅檢查長度,實際應用中應該有更嚴格的規則
- "忘記密碼"和"立即註冊"鏈接需要根據實際需求進行配置
License
MIT License - 請查看 LICENSE 文件了解更多信息。
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Serper MCP ServerA Serper MCP Server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.