| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <title>Unsubscribe</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" />
- <style>
- :root {
- --primary: #ef4444;
- --primary-dark: #dc2626;
- --primary-soft: #fef2f2;
- --text-main: #0f172a;
- --text-secondary: #475569;
- --text-muted: #94a3b8;
- --border: #e2e8f0;
- --bg-page: #f5f7fb;
- --bg-card: rgba(255, 255, 255, .96);
- --radius-xl: 28px;
- --radius-lg: 22px;
- --shadow-card: 0 24px 70px rgba(15, 23, 42, .08), 0 6px 20px rgba(15, 23, 42, .05);
- }
- * {
- box-sizing: border-box;
- }
- body {
- margin: 0;
- min-height: 100vh;
- font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
- background: var(--bg-page);
- color: var(--text-main);
- -webkit-font-smoothing: antialiased;
- }
- .container {
- display: flex;
- justify-content: center;
- padding: 40px 20px;
- }
- .unsubscribe-card {
- width: min(680px, 100%);
- background: var(--bg-card);
- border-radius: var(--radius-xl);
- box-shadow: var(--shadow-card);
- padding: 32px;
- }
- .title-head {
- display: flex;
- align-items: center;
- gap: 12px;
- font-size: 24px;
- font-weight: 700;
- margin-bottom: 24px;
- }
- .content-info {
- display: flex;
- flex-direction: column;
- gap: 18px;
- }
- .language-switch {
- display: inline-flex;
- align-items: center;
- gap: 8px;
- padding: 8px 12px;
- border: 1px solid var(--border);
- border-radius: 999px;
- background: #fff;
- }
- .logo img {
- display: block;
- margin: 0 auto;
- width: 160px;
- }
- .form .el-form-item {
- margin-bottom: 16px;
- }
- .myCheck .el-checkbox {
- display: block;
- font-size: 14px;
- color: var(--text-secondary);
- }
- .m-input .el-input__inner {
- border-radius: 16px;
- border: 1px solid var(--border);
- height: 44px;
- font-size: 14px;
- }
- .s-btn.el-button--primary {
- width: 100%;
- height: 48px;
- border: none;
- border-radius: 999px;
- font-weight: 700;
- background: linear-gradient(135deg, var(--primary), var(--primary-dark));
- box-shadow: 0 12px 28px rgba(239, 68, 68, .28);
- transition: all .25s ease;
- }
- .s-btn.el-button--primary:hover {
- transform: translateY(-2px);
- box-shadow: 0 16px 36px rgba(239, 68, 68, .32);
- }
- .header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-bottom: 24px;
- }
- </style>
- </head>
- <body>
- <div class="container" id="unsubscribe">
- <div class="unsubscribe-card">
- <header class="header">
- <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>
- </header>
- <div class="title-head"><i class="el-icon-star-on"></i> <span>{{lang.item1}}</span></div>
- <div class="content-info">
- <el-form :model="params" :rules="rules" ref="params" label-width="0" class="form">
- <el-form-item prop=""><span
- style="font-size:16px;font-weight:bold;">{{lang.item2}}</span></el-form-item>
- <el-form-item prop="">{{lang.item3}}</el-form-item>
- <el-form-item prop=""><span>{{lang.item4}}</span></el-form-item>
- <el-form-item prop="">
- <el-checkbox-group class="myCheck" v-model="params.reasons">
- <el-checkbox :label="lang.item5"></el-checkbox>
- <el-checkbox :label="lang.item6"></el-checkbox>
- <el-checkbox :label="lang.item7"></el-checkbox>
- <el-checkbox :label="lang.item8"></el-checkbox>
- <el-checkbox :label="lang.item9"></el-checkbox>
- </el-checkbox-group>
- </el-form-item>
- <el-form-item>
- <el-input show-password class="m-input" type="textarea" :rows="2" v-model="params.reasonsOther"
- :placeholder="lang.item9"></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/unsubscribe.js"></script>
- </body>
- </html>
|