index.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. .container {
  2. position: relative;
  3. min-height: 100vh;
  4. background-color: #3609B8;
  5. overflow: hidden;
  6. .headerBg {
  7. position: absolute;
  8. width: 100%;
  9. height: 598rpx;
  10. }
  11. .body {
  12. position: relative;
  13. z-index: 2;
  14. margin: 206rpx auto 36rpx;
  15. width: 700rpx;
  16. .uploadBox {
  17. position: relative;
  18. width: 100%;
  19. height: 790rpx;
  20. .uploadBg {
  21. width: 100%;
  22. height: 100%;
  23. }
  24. .loading {
  25. position: absolute;
  26. width: 100%;
  27. top: 300rpx;
  28. text-align: center;
  29. z-index: 3;
  30. color: white;
  31. .loadingImg {
  32. width: 110rpx;
  33. height: 110rpx;
  34. animation: identifier 2.6s infinite linear;
  35. }
  36. .tips1 {
  37. margin: 42rpx 0rpx 42rpx;
  38. font-size: 34rpx;
  39. }
  40. .tips2 {
  41. font-size: 26rpx;
  42. }
  43. }
  44. .fillImg {
  45. position: absolute;
  46. width: 660rpx;
  47. height: 642rpx;
  48. left: 22rpx;
  49. top: 118rpx;
  50. border-radius: 20rpx;
  51. object-fit: cover;
  52. }
  53. .imgMask::before {
  54. position: absolute;
  55. content: "";
  56. width: 660rpx;
  57. height: 642rpx;
  58. background-color: rgba(0, 0, 0, 0.4);
  59. }
  60. }
  61. .templateBox {
  62. margin-top: 30rpx;
  63. .tHeaderBg {
  64. width: 700rpx;
  65. height: 48rpx;
  66. }
  67. .templates {
  68. position: relative;
  69. width: 100%;
  70. // height: 236rpx;
  71. border-radius: 20rpx;
  72. .tbg {
  73. position: absolute;
  74. z-index: -1;
  75. width: 100%;
  76. height: 100%;
  77. }
  78. .templateScroll {
  79. width: 100%;
  80. padding: 36rpx 0 6rpx 16rpx;
  81. white-space: nowrap;
  82. box-sizing: border-box;
  83. .template {
  84. margin-right: 10rpx;
  85. display: inline-block;
  86. .cover {
  87. width: 140rpx;
  88. height: 140rpx;
  89. margin-right: 20rpx;
  90. background-color: white;
  91. border-radius: 10rpx;
  92. }
  93. .name {
  94. margin-top: 12rpx;
  95. width: 140rpx;
  96. color: white;
  97. text-align: center;
  98. font-size: 26rpx;
  99. }
  100. .active {
  101. border: 4rpx solid #FDD841;
  102. box-sizing: border-box;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. }
  109. .btns {
  110. width: 700rpx;
  111. margin: 0 auto 40rpx;
  112. display: flex;
  113. align-items: center;
  114. justify-content: space-between;
  115. .btn {
  116. width: 285rpx;
  117. height: 82rpx;
  118. }
  119. }
  120. }