You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
952 B

1 month ago
  1. <template>
  2. <view class="background">
  3. <image
  4. class="logo"
  5. src="../../../static/icons/start-logo.png"
  6. mode="scaleToFill"
  7. />
  8. <view class="logo-text"> DeepChart </view>
  9. </view>
  10. </template>
  11. <script setup>
  12. import { onShow } from "@dcloudio/uni-app";
  13. onShow(() => {
  14. setTimeout(() => {
  15. uni.redirectTo({
  16. url: "/pages/start/select/select",
  17. animationType: "slide-in-right",
  18. animationDuration: 1000,
  19. });
  20. }, 1500);
  21. });
  22. </script>
  23. <style>
  24. .background {
  25. background: linear-gradient(180deg, #FB6967, #FB6967);
  26. width: 100vw;
  27. height: 100vh;
  28. }
  29. .logo-text {
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. color: white;
  34. font-weight: bold;
  35. font-size: 24px;
  36. position: absolute;
  37. bottom: 5%;
  38. left: 50%;
  39. transform: translateX(-50%);
  40. }
  41. .logo{
  42. width: 320rpx;
  43. height: 200rpx;
  44. position: absolute;
  45. top: 30%;
  46. left: 50%;
  47. transform: translate(-50%, -50%);
  48. }
  49. </style>