resetTrading.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>Reset</title>
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge" />
  7. <meta name="full-screen" content="yes" />
  8. <meta name="x5-fullscreen" content="true" />
  9. <meta name="viewport"
  10. content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no" />
  11. <link rel="stylesheet" href="css/element-ui.css" />
  12. <link rel="stylesheet" href="css/element@2.12.2.css" />
  13. <link rel="stylesheet" href="css/index.css" />
  14. <style>
  15. :root {
  16. --brand-red: #eb3f57;
  17. --brand-red-dark: #d92f48;
  18. --brand-red-soft: #fff1f3;
  19. --text-main: #111827;
  20. --text-secondary: #4b5563;
  21. --text-muted: #9ca3af;
  22. --border: #e5e7eb;
  23. --card-bg: rgba(255, 255, 255, 0.96);
  24. --page-bg: #f5f7fb;
  25. --success: #22c55e;
  26. --radius-xl: 28px;
  27. --radius-lg: 20px;
  28. --radius-md: 16px;
  29. --shadow-card: 0 24px 70px rgba(17, 24, 39, 0.08),
  30. 0 6px 18px rgba(17, 24, 39, 0.05);
  31. --shadow-red: 0 14px 30px rgba(235, 63, 87, 0.28);
  32. }
  33. * {
  34. box-sizing: border-box;
  35. }
  36. html,
  37. body {
  38. min-height: 100%;
  39. }
  40. body {
  41. margin: 0;
  42. background:
  43. radial-gradient(circle at top left, rgba(235, 63, 87, 0.14), transparent 34%),
  44. radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 32%),
  45. var(--page-bg);
  46. color: var(--text-main);
  47. font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
  48. "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  49. -webkit-font-smoothing: antialiased;
  50. }
  51. img {
  52. display: block;
  53. max-width: 100%;
  54. }
  55. .container {
  56. width: 100%;
  57. }
  58. .reset-page {
  59. width: 100%;
  60. min-height: 100vh;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. padding: 32px 20px;
  65. }
  66. .reset-card {
  67. width: min(960px, 100%);
  68. min-height: 620px;
  69. display: grid;
  70. grid-template-columns: 0.95fr 1.05fr;
  71. overflow: hidden;
  72. border-radius: var(--radius-xl);
  73. border: 1px solid rgba(255, 255, 255, 0.75);
  74. background: var(--card-bg);
  75. box-shadow: var(--shadow-card);
  76. backdrop-filter: blur(18px);
  77. }
  78. .reset-visual {
  79. position: relative;
  80. padding: 36px;
  81. overflow: hidden;
  82. color: #fff;
  83. background:
  84. linear-gradient(135deg, rgba(235, 63, 87, 0.97), rgba(185, 28, 28, 0.92)),
  85. var(--brand-red);
  86. }
  87. .reset-visual::before,
  88. .reset-visual::after {
  89. content: "";
  90. position: absolute;
  91. border-radius: 999px;
  92. background: rgba(255, 255, 255, 0.16);
  93. }
  94. .reset-visual::before {
  95. width: 260px;
  96. height: 260px;
  97. left: -90px;
  98. bottom: -90px;
  99. }
  100. .reset-visual::after {
  101. width: 180px;
  102. height: 180px;
  103. right: -60px;
  104. top: 80px;
  105. }
  106. .visual-inner {
  107. position: relative;
  108. z-index: 1;
  109. height: 100%;
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: space-between;
  113. }
  114. .brand-logo {
  115. width: 154px;
  116. max-height: 76px;
  117. object-fit: contain;
  118. padding: 12px;
  119. border-radius: 18px;
  120. background: rgba(255, 255, 255, 1);
  121. box-shadow: 0 16px 36px rgba(17, 24, 39, 0.16);
  122. }
  123. .visual-content {
  124. margin-top: 76px;
  125. }
  126. .visual-icon {
  127. width: 60px;
  128. height: 60px;
  129. display: inline-flex;
  130. align-items: center;
  131. justify-content: center;
  132. border-radius: 20px;
  133. font-size: 30px;
  134. background: rgba(255, 255, 255, 0.18);
  135. border: 1px solid rgba(255, 255, 255, 0.26);
  136. backdrop-filter: blur(12px);
  137. }
  138. .visual-title {
  139. margin: 24px 0 0;
  140. font-size: 34px;
  141. line-height: 1.15;
  142. font-weight: 850;
  143. letter-spacing: -0.04em;
  144. }
  145. .visual-desc {
  146. margin: 16px 0 0;
  147. max-width: 330px;
  148. color: rgba(255, 255, 255, 0.84);
  149. font-size: 15px;
  150. line-height: 1.75;
  151. }
  152. .security-note {
  153. margin-top: 34px;
  154. padding: 16px;
  155. border-radius: 18px;
  156. background: rgba(255, 255, 255, 0.14);
  157. border: 1px solid rgba(255, 255, 255, 0.2);
  158. color: rgba(255, 255, 255, 0.86);
  159. font-size: 13px;
  160. line-height: 1.65;
  161. backdrop-filter: blur(12px);
  162. }
  163. .reset-panel {
  164. padding: 30px 42px 38px;
  165. background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  166. }
  167. .top-action {
  168. display: flex;
  169. justify-content: flex-end;
  170. margin-bottom: 42px;
  171. }
  172. .language-switch {
  173. display: inline-flex;
  174. align-items: center;
  175. gap: 8px;
  176. padding: 10px 12px;
  177. border: 1px solid var(--border);
  178. border-radius: 999px;
  179. background: #fff;
  180. box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  181. }
  182. .language-switch img {
  183. width: 18px;
  184. height: 12px;
  185. object-fit: cover;
  186. border-radius: 2px;
  187. }
  188. .language-switch .menu {
  189. color: var(--text-main);
  190. font-size: 14px;
  191. font-weight: 650;
  192. cursor: pointer;
  193. }
  194. .mobile-logo {
  195. display: none;
  196. width: 160px;
  197. border-radius: 16px;
  198. }
  199. .form-heading {
  200. margin-bottom: 26px;
  201. }
  202. .form-heading h1 {
  203. margin: 0;
  204. color: var(--text-main);
  205. font-size: 28px;
  206. line-height: 1.2;
  207. font-weight: 850;
  208. letter-spacing: -0.035em;
  209. }
  210. .form-heading p {
  211. margin: 10px 0 0;
  212. color: var(--text-secondary);
  213. font-size: 14px;
  214. line-height: 1.7;
  215. }
  216. .form {
  217. width: 100%;
  218. max-width: 450px;
  219. margin: 0 auto;
  220. }
  221. .form .el-form-item {
  222. margin-bottom: 18px;
  223. }
  224. .m-input .el-input__inner {
  225. height: 52px;
  226. padding-left: 16px;
  227. padding-right: 44px;
  228. border-radius: var(--radius-md);
  229. border: 1px solid var(--border);
  230. color: var(--text-main);
  231. font-size: 15px;
  232. background: #fff;
  233. transition: border-color 0.22s ease, box-shadow 0.22s ease;
  234. }
  235. .m-input .el-input__inner:focus {
  236. border-color: var(--brand-red);
  237. box-shadow: 0 0 0 4px rgba(235, 63, 87, 0.1);
  238. }
  239. .m-input .el-input__inner::placeholder {
  240. color: var(--text-muted);
  241. }
  242. .m-input .el-input__suffix {
  243. right: 12px;
  244. }
  245. .pwd {
  246. margin: 4px 0 6px;
  247. padding: 16px 18px 16px 38px;
  248. border-radius: 18px;
  249. border: 1px solid var(--border);
  250. background: #fff;
  251. text-align: left;
  252. }
  253. .pwd li {
  254. list-style-type: disc;
  255. line-height: 1.7;
  256. color: var(--text-muted);
  257. font-size: 13px;
  258. transition: color 0.22s ease;
  259. }
  260. .pwd .fit {
  261. color: var(--success);
  262. font-weight: 650;
  263. }
  264. .pwd .fit::marker {
  265. color: var(--success);
  266. }
  267. .s-btn.el-button--primary {
  268. width: 100%;
  269. height: 52px;
  270. border: none;
  271. border-radius: 999px;
  272. font-size: 16px;
  273. font-weight: 800;
  274. background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  275. box-shadow: var(--shadow-red);
  276. transition: transform 0.22s ease, box-shadow 0.22s ease;
  277. }
  278. .s-btn.el-button--primary:hover,
  279. .s-btn.el-button--primary:focus {
  280. transform: translateY(-2px);
  281. box-shadow: 0 18px 38px rgba(235, 63, 87, 0.34);
  282. }
  283. .el-form-item__error {
  284. padding-top: 6px;
  285. font-size: 12px;
  286. }
  287. .el-dropdown-menu {
  288. border-radius: 14px;
  289. overflow: hidden;
  290. }
  291. .el-button,
  292. .el-input__inner {
  293. font-family: inherit;
  294. }
  295. @media (max-width: 900px) {
  296. .reset-page {
  297. align-items: flex-start;
  298. padding: 22px 14px;
  299. }
  300. .reset-card {
  301. grid-template-columns: 1fr;
  302. min-height: auto;
  303. }
  304. .reset-visual {
  305. display: none;
  306. }
  307. .reset-panel {
  308. padding: 24px 24px 32px;
  309. }
  310. .top-action {
  311. margin-bottom: 22px;
  312. }
  313. .mobile-logo {
  314. display: block;
  315. }
  316. .form-heading {
  317. text-align: center;
  318. }
  319. }
  320. @media (max-width: 540px) {
  321. .reset-page {
  322. padding: 12px;
  323. }
  324. .reset-card {
  325. border-radius: 22px;
  326. }
  327. .reset-panel {
  328. padding: 20px 16px 26px;
  329. }
  330. .top-action {
  331. justify-content: space-between;
  332. }
  333. .language-switch {
  334. /* width: 100%; */
  335. justify-content: center;
  336. }
  337. .form-heading h1 {
  338. font-size: 23px;
  339. }
  340. .form-heading p {
  341. font-size: 13px;
  342. }
  343. .m-input .el-input__inner,
  344. .s-btn.el-button--primary {
  345. height: 50px;
  346. }
  347. .pwd {
  348. padding: 14px 14px 14px 32px;
  349. border-radius: 16px;
  350. }
  351. }
  352. </style>
  353. </head>
  354. <body>
  355. <div class="container" id="forget">
  356. <div class="reset-page">
  357. <div class="reset-card">
  358. <aside class="reset-visual">
  359. <div class="visual-inner">
  360. <img class="brand-logo" src="img/logo.jpg" alt="Logo" />
  361. <div class="visual-content">
  362. <div class="visual-icon">
  363. <i class="el-icon-lock"></i>
  364. </div>
  365. <h1 class="visual-title">{{lang.item1}}</h1>
  366. <p class="visual-desc">
  367. {{lang.item6}}
  368. </p>
  369. </div>
  370. <div class="security-note">
  371. {{lang.item7}}
  372. </div>
  373. </div>
  374. </aside>
  375. <main class="reset-panel">
  376. <div class="top-action">
  377. <img class="mobile-logo" src="img/logo.jpg" alt="Logo" />
  378. <div class="language-switch chooseLang">
  379. <el-dropdown trigger="click" @command="chooseLang">
  380. <span class="menu">
  381. {{langList[language]}}
  382. <i class="el-icon-arrow-down el-icon--right"></i>
  383. </span>
  384. <el-dropdown-menu slot="dropdown">
  385. <el-dropdown-item command="en">English</el-dropdown-item>
  386. <el-dropdown-item command="cn">中文简体</el-dropdown-item>
  387. </el-dropdown-menu>
  388. </el-dropdown>
  389. </div>
  390. </div>
  391. <div class="form-heading">
  392. <h1>{{lang.item1}}</h1>
  393. <p>{{lang.item8}}</p>
  394. </div>
  395. <el-form :model="params" :rules="rules" ref="params" label-width="0" class="form">
  396. <el-form-item prop="newPassword">
  397. <el-input show-password class="m-input" v-model="params.newPassword" :placeholder="lang.item3"></el-input>
  398. </el-form-item>
  399. <el-form-item prop="password1">
  400. <el-input show-password class="m-input" v-model="params.password1" :placeholder="lang.item4"></el-input>
  401. </el-form-item>
  402. <el-form-item>
  403. <ul class="pwd">
  404. <li :class="{ fit: rule1 }">{{lang.st1}}</li>
  405. <li :class="{ fit: rule2 }">{{lang.nd2}}</li>
  406. <li :class="{ fit: rule3 }">{{lang.rd3}}</li>
  407. </ul>
  408. </el-form-item>
  409. <el-form-item>
  410. <el-button type="primary" class="s-btn" @click="send">
  411. {{lang.btn}}
  412. </el-button>
  413. </el-form-item>
  414. </el-form>
  415. </main>
  416. </div>
  417. </div>
  418. </div>
  419. <script src="js/vue.min.js"></script>
  420. <script src="js/axios.min.js"></script>
  421. <script src="js/element-ui.js"></script>
  422. <script src="js/element@2.12.2.js"></script>
  423. <script src="js/reset.js"></script>
  424. </body>
  425. </html>