chinese.uvue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <script setup lang='ts'>
  2. import { ref } from 'vue'
  3. import { router } from '@/.cool'
  4. import { user } from '@/.cool'
  5. function handleView(url) {
  6. router.push({ path: url })
  7. }
  8. </script>
  9. <template>
  10. <view class="flex flex-row items-center justify-center w-full " style="height: calc(97vh - 85px);">
  11. <view class="content" @tap="handleView('/pages/chinese/index')">
  12. <image mode="aspectFill" src="https://oss.xiaoxiongcode.com/static/语文/图层 4.png" alt="" lazy-load
  13. class="w-full h-full object-cover absolute top-0 left-0" />
  14. <view class=" flex items-center justify-center ft">
  15. <view class="text-[10vh] font-bold">
  16. 语文启蒙
  17. </view>
  18. </view>
  19. <view class="flex items-center justify-center h-[60vh]">
  20. <cl-image src="https://oss.xiaoxiongcode.com/static/home/play.png" mode="heightFix" lazy-load height="60%"
  21. width="auto" class="ml-10" />
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <style lang="scss" scoped>
  27. .bottom {
  28. @apply absolute bottom-[1vh] left-1/2 w-full max-w-[800px] rounded-[20px] px-10 py-1 flex flex-row items-center justify-between gap-5;
  29. transform: translateX(-50%);
  30. .progress {
  31. @apply w-[400px] h-[80px] rounded-[40px] flex justify-center gap-2 px-[30px] gap-3;
  32. background: linear-gradient(0deg, #AAE3FF 0%, #DFF4FD 100%);
  33. width: 40%;
  34. }
  35. .check {
  36. background: linear-gradient(0deg, #FBD00E 0%, #FBEC92 100%);
  37. line-height: 20px;
  38. }
  39. }
  40. .bg1 {
  41. background: linear-gradient(0deg, #7597FA 0%, #C1DAFF 100%);
  42. border-radius: 28px;
  43. height: 80px;
  44. }
  45. .bg2 {
  46. background: linear-gradient(0deg, #3CD3DE 0%, #ADFBFF 100%);
  47. border-radius: 28px;
  48. height: 80px;
  49. }
  50. .bg3 {
  51. background: linear-gradient(0deg, #FFCE4A 0%, #FFEC88 100%);
  52. border-radius: 28px;
  53. height: 80px;
  54. }
  55. .ft {
  56. font-family: eryazhaocaimao;
  57. text-shadow:
  58. -1px -1px 0 #000,
  59. 1px -1px 0 #000,
  60. -1px 1px 0 #000,
  61. 1px 1px 0 #000;
  62. }
  63. .content {
  64. @apply relative mx-auto text-white w-[90vw] border-[3px] border-[#fff] border-solid rounded-[30px] flex flex-row items-center justify-around gap-4 h-[60vh];
  65. }
  66. </style>