| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>叁强鲜配 - 运营管理后台登录</title>
- <link rel="stylesheet" href="https://unpkg.com/element-plus/dist/index.css">
- <link rel="stylesheet" href="https://unpkg.com/@element-plus/icons-vue/dist/index.css">
- <style>
- * { margin: 0; padding: 0; box-sizing: border-box; }
- body {
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
- background: linear-gradient(135deg, #1989fa 0%, #07c160 100%);
- min-height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .login-container {
- width: 100%;
- max-width: 420px;
- padding: 20px;
- }
- .login-card {
- background: #fff;
- border-radius: 16px;
- padding: 48px 40px;
- box-shadow: 0 20px 60px rgba(0,0,0,0.2);
- }
- .login-logo {
- text-align: center;
- margin-bottom: 40px;
- }
- .login-logo h1 {
- font-size: 32px;
- font-weight: 700;
- color: #1989fa;
- margin-bottom: 8px;
- }
- .login-logo p {
- font-size: 14px;
- color: #909399;
- }
- .login-form {
- margin-bottom: 24px;
- }
- .form-item {
- margin-bottom: 20px;
- }
- .form-item label {
- display: block;
- font-size: 14px;
- color: #606266;
- margin-bottom: 8px;
- }
- .form-item .el-input {
- width: 100%;
- }
- .captcha-row {
- display: flex;
- gap: 12px;
- }
- .captcha-row .el-input {
- flex: 1;
- }
- .captcha-img {
- width: 120px;
- height: 40px;
- background: #f5f7fa;
- border-radius: 8px;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- font-size: 12px;
- color: #909399;
- }
- .remember-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 24px;
- }
- .login-btn {
- width: 100%;
- height: 48px;
- font-size: 16px;
- border-radius: 24px;
- }
- .login-footer {
- text-align: center;
- margin-top: 24px;
- font-size: 13px;
- color: #909399;
- }
- .error-tip {
- color: #ee0a24;
- font-size: 12px;
- margin-top: 8px;
- }
- .system-info {
- text-align: center;
- margin-top: 24px;
- padding-top: 24px;
- border-top: 1px solid #eee;
- }
- .system-info p {
- font-size: 12px;
- color: #c0c4cc;
- }
- </style>
- </head>
- <body>
- <div class="login-container">
- <div class="login-card">
- <div class="login-logo">
- <h1>叁强鲜配</h1>
- <p>运营管理后台</p>
- </div>
- <div class="login-form">
- <div class="form-item">
- <label>用户名</label>
- <el-input placeholder="请输入用户名" size="large" prefix-icon="User" />
- </div>
- <div class="form-item">
- <label>密码</label>
- <el-input placeholder="请输入密码" type="password" size="large" prefix-icon="Lock" show-password />
- </div>
- <div class="form-item">
- <label>验证码</label>
- <div class="captcha-row">
- <el-input placeholder="请输入验证码" size="large" prefix-icon="CircleCheck" />
- <div class="captcha-img">
- <span>看不清?点击刷新</span>
- </div>
- </div>
- </div>
- <div class="remember-row">
- <el-checkbox label="记住密码" size="large" />
- <a href="#" style="color: #1989fa; font-size: 14px; text-decoration: none;">忘记密码?</a>
- </div>
- <el-button type="primary" class="login-btn" size="large">登 录</el-button>
- <div class="error-tip" style="display: none;">
- <i class="el-icon-warning"></i>
- <span>用户名或密码错误,请重新输入</span>
- </div>
- </div>
- <div class="system-info">
- <p>技术支持:叁强公司 | 版本号:v1.0.0</p>
- </div>
- </div>
- </div>
- <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
- <script src="https://unpkg.com/element-plus"></script>
- <script src="https://unpkg.com/@element-plus/icons-vue"></script>
- <script>
- const { createApp } = Vue;
- const app = createApp({
- setup() {
- return {};
- }
- });
- app.use(ElementPlus);
- for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
- app.component(key, component);
- }
- app.mount('#app');
- </script>
- </body>
- </html>
|