index.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <template>
  2. <view class="container">
  3. <view class="content">
  4. <text class="title">扫码关注</text>
  5. <text class="subtitle">获取更多信息</text>
  6. <image class="qr-code" src="https://leaseraycos.oss-cn-shanghai.aliyuncs.com/document/20240912211812_4192249.jpg" mode="aspectFit"></image>
  7. <text class="slogan-cn">沟通造纸的桥梁,分享知识的宝地</text>
  8. <text class="slogan-en">Paperbridge, the partner you can trust.</text>
  9. </view>
  10. </view>
  11. </template>
  12. <script setup>
  13. // 这里可以添加任何需要的逻辑
  14. </script>
  15. <style>
  16. .container {
  17. display: flex;
  18. flex-direction: column;
  19. height: 100vh;
  20. background-color: #1296db;
  21. color: white;
  22. }
  23. .header {
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. padding: 20px;
  28. }
  29. .back-icon, .right-icons {
  30. font-size: 20px;
  31. }
  32. .content {
  33. flex: 1;
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. justify-content: center;
  38. padding: 0px 20px 60px 20px;
  39. }
  40. .title {
  41. font-size: 54px;
  42. font-weight: bold;
  43. margin-bottom: 10px;
  44. }
  45. .subtitle {
  46. font-size: 16px;
  47. margin-bottom: 30px;
  48. }
  49. .qr-code {
  50. width: 200px;
  51. height: 200px;
  52. margin-bottom: 30px;
  53. }
  54. .slogan-cn, .slogan-en {
  55. text-align: center;
  56. margin-bottom: 10px;
  57. }
  58. .slogan-en {
  59. font-size: 14px;
  60. }
  61. </style>