| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Reset MAM</title>
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="full-screen" content="yes">
- <meta name="x5-fullscreen" content="true">
- <meta name="viewport"
- content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
- <link rel="stylesheet" href="css/element-ui.css" />
- <link rel="stylesheet" href="css/element@2.12.2.css" />
- <link rel="stylesheet" href="css/index.css" />
- <style>
- :root {
- --brand-red: #eb3f57;
- --brand-red-dark: #d92f48;
- --brand-red-soft: #fff1f3;
- --text-main: #111827;
- --text-secondary: #4b5563;
- --text-muted: #9ca3af;
- --border: #e5e7eb;
- --card-bg: rgba(255, 255, 255, .96);
- --page-bg: #f5f7fb;
- --radius-xl: 28px;
- --radius-lg: 20px;
- --radius-md: 16px;
- --shadow-card:
- 0 24px 70px rgba(17, 24, 39, .08),
- 0 6px 18px rgba(17, 24, 39, .05);
- --shadow-red:
- 0 14px 30px rgba(235, 63, 87, .28);
- }
- * {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- min-height: 100vh;
- background:
- radial-gradient(circle at top left, rgba(235, 63, 87, .14), transparent 34%),
- radial-gradient(circle at top right, rgba(59, 130, 246, .1), transparent 32%),
- var(--page-bg);
- font-family:
- Inter,
- -apple-system,
- BlinkMacSystemFont,
- "Segoe UI",
- sans-serif;
- color: var(--text-main);
- -webkit-font-smoothing: antialiased;
- }
- img {
- display: block;
- max-width: 100%;
- }
- .container {
- width: 100%;
- }
- .page-shell {
- min-height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 32px 20px;
- }
- .reset-card {
- width: min(480px, 100%);
- border-radius: var(--radius-xl);
- background: var(--card-bg);
- box-shadow: var(--shadow-card);
- padding: 34px;
- border: 1px solid rgba(255, 255, 255, .75);
- backdrop-filter: blur(18px);
- }
- .top-action {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- }
- .language-switch {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- padding: 10px 12px;
- border-radius: 999px;
- border: 1px solid var(--border);
- background: #fff;
- }
- .language-switch img {
- width: 18px;
- height: 12px;
- object-fit: cover;
- }
- .language-switch .menu {
- font-size: 14px;
- font-weight: 650;
- cursor: pointer;
- }
- .logo img {
- width: 160px;
- border-radius: 18px;
- }
- .title-box {
- text-align: center;
- margin-bottom: 28px;
- }
- .title-box .icon {
- width: 64px;
- height: 64px;
- margin: 0 auto 18px;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 20px;
- background: var(--brand-red-soft);
- color: var(--brand-red);
- font-size: 30px;
- }
- .title-box h1 {
- margin: 0;
- font-size: 28px;
- font-weight: 850;
- letter-spacing: -.03em;
- }
- .title-box p {
- margin: 12px 0 0;
- font-size: 14px;
- line-height: 1.7;
- color: var(--text-secondary);
- }
- .form .el-form-item {
- margin-bottom: 20px;
- }
- .m-input .el-input__inner {
- height: 52px;
- border-radius: var(--radius-md);
- border: 1px solid var(--border);
- padding-left: 16px;
- font-size: 15px;
- transition:
- border-color .22s ease,
- box-shadow .22s ease;
- }
- .m-input .el-input__inner:focus {
- border-color: var(--brand-red);
- box-shadow: 0 0 0 4px rgba(235, 63, 87, .1);
- }
- .m-input .el-input__inner::placeholder {
- color: var(--text-muted);
- }
- .s-btn.el-button--primary {
- width: 100%;
- height: 52px;
- border: none;
- border-radius: 999px;
- font-size: 16px;
- font-weight: 800;
- background:
- linear-gradient(135deg,
- var(--brand-red),
- var(--brand-red-dark));
- box-shadow: var(--shadow-red);
- transition:
- transform .22s ease,
- box-shadow .22s ease;
- }
- .s-btn.el-button--primary:hover,
- .s-btn.el-button--primary:focus {
- transform: translateY(-2px);
- box-shadow:
- 0 18px 38px rgba(235, 63, 87, .34);
- }
- .el-dropdown-menu {
- border-radius: 14px;
- overflow: hidden;
- }
- @media (max-width: 540px) {
- .page-shell {
- padding: 14px;
- align-items: flex-start;
- }
- .reset-card {
- padding: 24px 18px;
- border-radius: 22px;
- /* height: calc(100vh - 28px); */
- }
- .top-action {
- justify-content: space-between;
- }
- .language-switch {
- justify-content: center;
- }
- .title-box h1 {
- font-size: 24px;
- }
- .m-input .el-input__inner,
- .s-btn.el-button--primary {
- height: 50px;
- }
- }
- </style>
- </head>
- <body>
- <div class="container" id="forget">
- <div class="page-shell">
- <div class="reset-card">
- <div class="top-action">
- <div class="logo">
- <img src="img/logo.jpg" alt="Logo" />
- </div>
- <div class="language-switch chooseLang">
- <el-dropdown trigger="click" @command="chooseLang">
- <span class="menu">
- {{langList[language]}}
- <i class="el-icon-arrow-down el-icon--right"></i>
- </span>
- <el-dropdown-menu slot="dropdown">
- <el-dropdown-item command="en">English</el-dropdown-item>
- <el-dropdown-item command="cn">中文简体</el-dropdown-item>
- </el-dropdown-menu>
- </el-dropdown>
- </div>
- </div>
- <div class="title-box">
- <div class="icon">
- <i class="el-icon-lock"></i>
- </div>
- <h1>{{lang.item1}}</h1>
- </div>
- <el-form :model="params" :rules="rules" ref="params" label-width="0" class="form">
- <el-form-item prop="newPassword">
- <el-input class="m-input" v-model="params.newPassword" :placeholder="lang.item3"></el-input>
- </el-form-item>
- <el-form-item>
- <el-button type="primary" class="s-btn" @click="send">
- {{lang.btn}}
- </el-button>
- </el-form-item>
- </el-form>
- </div>
- </div>
- </div>
- <script src="js/vue.min.js"></script>
- <script src="js/axios.min.js"></script>
- <script src="js/element-ui.js"></script>
- <script src="js/element@2.12.2.js"></script>
- <script src="js/resetMam.js"></script>
- </body>
- </html>
|