delete-account.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <link rel="icon" type="image/x-icon" href="img/favicon.ico" />
  7. <title>Delete Account - Aisoco</title>
  8. <!-- Tailwind CSS -->
  9. <script src="https://cdn.tailwindcss.com?plugins=forms,typography,aspect-ratio"></script>
  10. <!-- Font Awesome -->
  11. <link
  12. href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css"
  13. rel="stylesheet"
  14. />
  15. <!-- Google Fonts - Inter -->
  16. <link
  17. href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
  18. rel="stylesheet"
  19. />
  20. <!-- Tailwind Configuration -->
  21. <script>
  22. tailwind.config = {
  23. theme: {
  24. extend: {
  25. colors: {
  26. primary: '#0066CC',
  27. secondary: '#333333',
  28. light: '#F5F5F7',
  29. dark: '#1D1D1F',
  30. },
  31. fontFamily: {
  32. sans: ['Inter', 'sans-serif'],
  33. },
  34. },
  35. },
  36. };
  37. </script>
  38. <style type="text/tailwindcss">
  39. @layer utilities {
  40. .transition-smooth {
  41. transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  42. }
  43. }
  44. </style>
  45. </head>
  46. <body class="font-sans bg-light text-dark antialiased min-h-screen">
  47. <!-- 页面头部 -->
  48. <header class="bg-white shadow-sm">
  49. <div class="container mx-auto px-4 sm:px-6 lg:px-8 py-4">
  50. <a href="index.html" class="inline-flex items-center">
  51. <img
  52. src="./img/aisoco_logo.png"
  53. alt="Aisoco Logo"
  54. class="h-10 object-contain"
  55. />
  56. </a>
  57. </div>
  58. </header>
  59. <main class="container mx-auto px-4 sm:px-6 lg:px-8 py-8 md:py-16">
  60. <div class="max-w-3xl mx-auto">
  61. <!-- 页面标题 -->
  62. <div class="text-center mb-10">
  63. <div
  64. class="inline-flex items-center justify-center w-16 h-16 bg-red-100 rounded-full mb-4"
  65. >
  66. <i class="fa fa-user-times text-3xl text-red-500"></i>
  67. </div>
  68. <h1 class="text-2xl md:text-3xl font-semibold text-dark mb-2">
  69. Request Account Deletion
  70. </h1>
  71. <p class="text-gray-600">Aisoco - AI & Social & Commerce Platform</p>
  72. </div>
  73. <!-- 主要内容卡片 -->
  74. <div class="bg-white rounded-2xl shadow-lg p-6 md:p-10">
  75. <!-- 重要提示 -->
  76. <div class="bg-amber-50 border border-amber-200 rounded-xl p-4 mb-8">
  77. <div class="flex items-start">
  78. <i
  79. class="fa fa-exclamation-triangle text-amber-500 mt-1 mr-3"
  80. ></i>
  81. <div>
  82. <h3 class="font-semibold text-amber-800 mb-1">
  83. Important Notice
  84. </h3>
  85. <p class="text-sm text-amber-700">
  86. Account deletion is permanent and cannot be undone. Please
  87. read the information below carefully before submitting your
  88. request.
  89. </p>
  90. </div>
  91. </div>
  92. </div>
  93. <!-- 删除账号步骤 -->
  94. <section class="mb-8">
  95. <h2 class="text-xl font-semibold mb-4 flex items-center">
  96. <span
  97. class="inline-flex items-center justify-center w-8 h-8 bg-primary text-white rounded-full text-sm mr-3"
  98. >1</span
  99. >
  100. Steps to Request Account Deletion
  101. </h2>
  102. <div class="bg-gray-50 rounded-xl p-5 ml-11">
  103. <ol class="space-y-3 text-gray-700">
  104. <li class="flex items-start">
  105. <span
  106. class="inline-flex items-center justify-center w-6 h-6 bg-primary/10 text-primary rounded-full text-xs font-medium mr-3 mt-0.5 flex-shrink-0"
  107. >1</span
  108. >
  109. <span
  110. >Fill out the account deletion request form below with your
  111. registered email address.</span
  112. >
  113. </li>
  114. <li class="flex items-start">
  115. <span
  116. class="inline-flex items-center justify-center w-6 h-6 bg-primary/10 text-primary rounded-full text-xs font-medium mr-3 mt-0.5 flex-shrink-0"
  117. >2</span
  118. >
  119. <span
  120. >You will receive a verification email to confirm your
  121. identity.</span
  122. >
  123. </li>
  124. <li class="flex items-start">
  125. <span
  126. class="inline-flex items-center justify-center w-6 h-6 bg-primary/10 text-primary rounded-full text-xs font-medium mr-3 mt-0.5 flex-shrink-0"
  127. >3</span
  128. >
  129. <span
  130. >Click the confirmation link in the email to verify your
  131. deletion request.</span
  132. >
  133. </li>
  134. <li class="flex items-start">
  135. <span
  136. class="inline-flex items-center justify-center w-6 h-6 bg-primary/10 text-primary rounded-full text-xs font-medium mr-3 mt-0.5 flex-shrink-0"
  137. >4</span
  138. >
  139. <span
  140. >Your account and associated data will be deleted within
  141. <strong>30 days</strong> after confirmation.</span
  142. >
  143. </li>
  144. </ol>
  145. </div>
  146. </section>
  147. <!-- 数据删除说明 -->
  148. <section class="mb-8">
  149. <h2 class="text-xl font-semibold mb-4 flex items-center">
  150. <span
  151. class="inline-flex items-center justify-center w-8 h-8 bg-primary text-white rounded-full text-sm mr-3"
  152. >2</span
  153. >
  154. Data That Will Be Deleted
  155. </h2>
  156. <div class="ml-11">
  157. <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
  158. <div class="bg-red-50 rounded-xl p-4">
  159. <h4 class="font-medium text-red-800 mb-2 flex items-center">
  160. <i class="fa fa-trash-o mr-2"></i>Permanently Deleted
  161. </h4>
  162. <ul class="text-sm text-red-700 space-y-1.5">
  163. <li class="flex items-center">
  164. <i class="fa fa-check mr-2 text-xs"></i>Account profile
  165. information
  166. </li>
  167. <li class="flex items-center">
  168. <i class="fa fa-check mr-2 text-xs"></i>Personal
  169. preferences and settings
  170. </li>
  171. <li class="flex items-center">
  172. <i class="fa fa-check mr-2 text-xs"></i>Shopping cart and
  173. wishlist
  174. </li>
  175. <li class="flex items-center">
  176. <i class="fa fa-check mr-2 text-xs"></i>Social connections
  177. and followers
  178. </li>
  179. <li class="flex items-center">
  180. <i class="fa fa-check mr-2 text-xs"></i>Posts, comments,
  181. and reviews
  182. </li>
  183. <li class="flex items-center">
  184. <i class="fa fa-check mr-2 text-xs"></i>Chat history and
  185. messages
  186. </li>
  187. </ul>
  188. </div>
  189. <div class="bg-blue-50 rounded-xl p-4">
  190. <h4 class="font-medium text-blue-800 mb-2 flex items-center">
  191. <i class="fa fa-archive mr-2"></i>Retained for Legal
  192. Compliance
  193. </h4>
  194. <ul class="text-sm text-blue-700 space-y-1.5">
  195. <li class="flex items-center">
  196. <i class="fa fa-clock-o mr-2 text-xs"></i>Transaction
  197. records (7 years)
  198. </li>
  199. <li class="flex items-center">
  200. <i class="fa fa-clock-o mr-2 text-xs"></i>Payment
  201. information (7 years)
  202. </li>
  203. <li class="flex items-center">
  204. <i class="fa fa-clock-o mr-2 text-xs"></i>Tax-related
  205. documents (7 years)
  206. </li>
  207. <li class="flex items-center">
  208. <i class="fa fa-clock-o mr-2 text-xs"></i>Legal dispute
  209. records (as required)
  210. </li>
  211. </ul>
  212. <p class="text-xs text-blue-600 mt-3">
  213. * Retention periods are based on legal and regulatory
  214. requirements.
  215. </p>
  216. </div>
  217. </div>
  218. </div>
  219. </section>
  220. <!-- 删除请求表单 -->
  221. <section>
  222. <h2 class="text-xl font-semibold mb-4 flex items-center">
  223. <span
  224. class="inline-flex items-center justify-center w-8 h-8 bg-primary text-white rounded-full text-sm mr-3"
  225. >3</span
  226. >
  227. Submit Deletion Request
  228. </h2>
  229. <div class="ml-11">
  230. <form id="delete-account-form" class="space-y-5">
  231. <div>
  232. <label
  233. for="username"
  234. class="block text-sm font-medium text-gray-700 mb-1.5"
  235. >
  236. Username <span class="text-red-500">*</span>
  237. </label>
  238. <input
  239. type="text"
  240. id="username"
  241. name="username"
  242. required
  243. placeholder="Enter your username"
  244. class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-smooth"
  245. />
  246. </div>
  247. <div>
  248. <label
  249. for="password"
  250. class="block text-sm font-medium text-gray-700 mb-1.5"
  251. >
  252. Password <span class="text-red-500">*</span>
  253. </label>
  254. <input
  255. type="password"
  256. id="password"
  257. name="password"
  258. required
  259. placeholder="Enter your password"
  260. class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-smooth"
  261. />
  262. </div>
  263. <div>
  264. <label
  265. for="reason"
  266. class="block text-sm font-medium text-gray-700 mb-1.5"
  267. >
  268. Reason for Deletion (Optional)
  269. </label>
  270. <select
  271. id="reason"
  272. name="reason"
  273. class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-smooth"
  274. >
  275. <option value="">Select a reason</option>
  276. <option value="no-longer-use">
  277. I no longer use this service
  278. </option>
  279. <option value="privacy-concerns">Privacy concerns</option>
  280. <option value="too-many-emails">
  281. Too many emails/notifications
  282. </option>
  283. <option value="found-alternative">
  284. Found an alternative service
  285. </option>
  286. <option value="temporary-account">
  287. This was a temporary account
  288. </option>
  289. <option value="other">Other</option>
  290. </select>
  291. </div>
  292. <div>
  293. <label
  294. for="comments"
  295. class="block text-sm font-medium text-gray-700 mb-1.5"
  296. >
  297. Additional Comments (Optional)
  298. </label>
  299. <textarea
  300. id="comments"
  301. name="comments"
  302. rows="3"
  303. placeholder="Any additional information you'd like to share"
  304. class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-smooth resize-none"
  305. ></textarea>
  306. </div>
  307. <!-- 确认复选框 -->
  308. <div class="bg-gray-50 rounded-lg p-4">
  309. <label class="flex items-start cursor-pointer">
  310. <input
  311. type="checkbox"
  312. id="confirm-deletion"
  313. name="confirm-deletion"
  314. required
  315. class="mt-1 mr-3 w-4 h-4 text-primary border-gray-300 rounded focus:ring-primary"
  316. />
  317. <span class="text-sm text-gray-700">
  318. I understand that account deletion is
  319. <strong>permanent and irreversible</strong>. I have read
  320. and understood the data deletion policy above, and I
  321. confirm that I want to delete my Aisoco account.
  322. </span>
  323. </label>
  324. </div>
  325. <!-- 提交按钮 -->
  326. <button
  327. type="submit"
  328. class="w-full bg-red-500 hover:bg-red-600 text-white font-medium py-3.5 px-6 rounded-lg transition-smooth flex items-center justify-center"
  329. >
  330. <i class="fa fa-paper-plane mr-2"></i>
  331. Submit Deletion Request
  332. </button>
  333. </form>
  334. <!-- 其他联系方式 -->
  335. <div class="mt-6 pt-6 border-t border-gray-200 text-center">
  336. <p class="text-sm text-gray-600 mb-2">
  337. Need help? Contact our support team:
  338. </p>
  339. <a
  340. href="mailto:support@aisoco.com"
  341. class="text-primary hover:underline font-medium"
  342. >
  343. <i class="fa fa-envelope mr-1"></i>support@aisoco.com
  344. </a>
  345. </div>
  346. </div>
  347. </section>
  348. </div>
  349. <!-- 页脚信息 -->
  350. <div class="mt-8 text-center text-sm text-gray-500">
  351. <p>
  352. <a href="index.html" class="text-primary hover:underline">
  353. <i class="fa fa-arrow-left mr-1"></i>Back to Aisoco Homepage
  354. </a>
  355. </p>
  356. <p class="mt-4">&copy; 2025 Aisoco. All rights reserved.</p>
  357. </div>
  358. </div>
  359. </main>
  360. <script>
  361. // 表单提交处理
  362. const deleteForm = document.getElementById('delete-account-form');
  363. deleteForm.addEventListener('submit', function (e) {
  364. e.preventDefault();
  365. const username = document.getElementById('username').value;
  366. const password = document.getElementById('password').value;
  367. const confirmCheckbox =
  368. document.getElementById('confirm-deletion').checked;
  369. if (!username) {
  370. alert('Please enter your username.');
  371. return;
  372. }
  373. if (!password) {
  374. alert('Please enter your password.');
  375. return;
  376. }
  377. if (!confirmCheckbox) {
  378. alert('Please confirm that you understand the deletion policy.');
  379. return;
  380. }
  381. // 获取提交按钮
  382. const submitBtn = this.querySelector('button[type="submit"]');
  383. const originalText = submitBtn.innerHTML;
  384. // 显示加载状态
  385. submitBtn.disabled = true;
  386. submitBtn.innerHTML =
  387. '<i class="fa fa-spinner fa-spin mr-2"></i>Processing...';
  388. // 模拟提交请求
  389. setTimeout(() => {
  390. alert(
  391. 'Your account deletion request has been submitted successfully!\n\nOur team will review your request and process it within 30 business days. You will receive a notification once the deletion is complete.'
  392. );
  393. // 重置表单
  394. deleteForm.reset();
  395. submitBtn.disabled = false;
  396. submitBtn.innerHTML = originalText;
  397. }, 1500);
  398. });
  399. </script>
  400. </body>
  401. </html>