index.wxss 2.5 KB

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