code.blade.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Verification email</title>
  7. <style>
  8. body {
  9. font-family: Arial, sans-serif;
  10. background-color: #f4f4f9;
  11. padding: 20px;
  12. }
  13. .container {
  14. background-color: #ffffff;
  15. padding: 30px;
  16. border-radius: 8px;
  17. max-width: 600px;
  18. margin: 0 auto;
  19. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  20. }
  21. h1 {
  22. color: #333;
  23. font-size: 24px;
  24. margin-bottom: 20px;
  25. }
  26. .content {
  27. font-size: 16px;
  28. color: #666;
  29. line-height: 1.5;
  30. margin-bottom: 20px;
  31. }
  32. .code {
  33. font-size: 22px;
  34. font-weight: bold;
  35. color: #3e8e41;
  36. margin: 20px 0;
  37. padding: 10px;
  38. background-color: #e7f7e7;
  39. border-radius: 5px;
  40. text-align: center;
  41. }
  42. .footer {
  43. font-size: 14px;
  44. color: #aaa;
  45. text-align: center;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <div class="container">
  51. <h1>{{$data['appName']}}</h1>
  52. <div class="content">
  53. <p>Hey!</p>
  54. <p>Thank you for using our service. To ensure the security of your account, please use the following verification code for authentication:</p>
  55. <div class="code">{{$data['code']}}</div>
  56. <p>Please note that the verification code will be valid for {{$data['exp']}} minutes. In order to protect the security of your account, do not disclose the verification code to others.</p>
  57. </div>
  58. <div class="footer">
  59. <p>If you have not done so, please ignore this message.</p>
  60. <p>This email is sent automatically by the system, please do not reply.</p>
  61. </div>
  62. </div>
  63. </body>
  64. </html>