release.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. /* pages/my/activity/release.wxss */
  2. page {
  3. width: 100%;
  4. /* height: 100%; */
  5. }
  6. .activity-release-container {
  7. padding-top: 100rpx;
  8. padding-bottom: calc(100rpx + constant(safe-area-inset-bottom));
  9. /*兼容 IOS<11.2*/
  10. padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
  11. /*兼容 IOS>11.2*/
  12. }
  13. .tabs {
  14. position: fixed;
  15. top: 0;
  16. left: 0;
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. width: 100%;
  21. height: 100rpx;
  22. padding: 0 60rpx;
  23. font-size: 28rpx;
  24. font-family: 'PingFang SC, PingFang SC-Regular';
  25. font-weight: 400;
  26. color: #666666;
  27. background-color: #fff;
  28. box-sizing: border-box;
  29. z-index: 9;
  30. }
  31. .tabs .tab {
  32. position: relative;
  33. height: 100%;
  34. line-height: 100rpx;
  35. }
  36. .tabs .tab-active {
  37. font-size: 32rpx;
  38. font-family: 'PingFang SC, PingFang SC-Bold';
  39. font-weight: 700;
  40. color: #1a1a1a;
  41. }
  42. .tabs .tab-active::after {
  43. display: block;
  44. position: absolute;
  45. bottom: 0;
  46. content: '';
  47. width: 100%;
  48. height: 4rpx;
  49. background: #ffdd36;
  50. border-radius: 2rpx;
  51. z-index: 1;
  52. }
  53. .body {
  54. padding: 30rpx 30rpx;
  55. }
  56. .activity-box {
  57. position: relative;
  58. height: 461rpx;
  59. background: #ffffff;
  60. border-radius: 8rpx;
  61. margin-bottom: 20rpx;
  62. overflow: hidden;
  63. }
  64. .status {
  65. position: absolute;
  66. top: 0;
  67. left: 0;
  68. padding: 3rpx 20rpx;
  69. font-size: 24rpx;
  70. background-color: #ffdb29;
  71. border-radius: 8rpx 0 8rpx 0;
  72. font-family: 'PingFang SC, PingFang SC-Regular';
  73. font-weight: 400;
  74. color: #51491d;
  75. z-index: 3;
  76. }
  77. .pic-box {
  78. position: relative;
  79. margin-bottom: 10rpx; overflow: hidden;
  80. }
  81. .pic-box .status-pic {
  82. width: 100%;
  83. height: 260rpx;
  84. }
  85. .pic-box .pic {
  86. position: absolute;
  87. top: 50%;
  88. left: 50%;
  89. width: 133rpx;
  90. height: 116rpx;
  91. font-size: 130rpx;
  92. color: #fff;
  93. transform: translate(-50%, -50%);
  94. }
  95. .activity-box .info {
  96. padding: 0 30rpx;
  97. }
  98. .activity-box .info .title {
  99. font-size: 28rpx;
  100. font-family: 'PingFang SC, PingFang SC-Bold';
  101. font-weight: 700;
  102. color: #1a1a1a;
  103. margin-bottom: 7rpx;
  104. }
  105. .activity-box .info {
  106. font-size: 24rpx;
  107. font-family: 'PingFang SC, PingFang SC-Regular';
  108. font-weight: 400;
  109. color: #333333;
  110. }
  111. .activity-box .info .time {
  112. color: #333333;
  113. margin-bottom: 7rpx;
  114. }
  115. .activity-box .info .info-box {
  116. display: flex;
  117. justify-content: space-between;
  118. align-items: center;
  119. margin-bottom: 7rpx;
  120. }
  121. .activity-box .info .info-box .activity-price {
  122. font-size: 20rpx;
  123. color: #ec2e26;
  124. font-weight: 500;
  125. }
  126. .activity-box .info .info-box .activity-price .price-num {
  127. font-size: 32rpx;
  128. color: #ec2e26;
  129. font-weight: 700;
  130. }
  131. .activity-box .info .info-box .address {
  132. color: #999999;
  133. }
  134. .footer {
  135. position: fixed;
  136. left: 50%;
  137. bottom: 0;
  138. width: 100%;
  139. padding: 30rpx;
  140. background-color: #fff;
  141. transform: translateX(-50%);
  142. padding-bottom: constant(safe-area-inset-bottom);
  143. /*兼容 IOS<11.2*/
  144. padding-bottom: env(safe-area-inset-bottom);
  145. }
  146. .footer .btn {
  147. width: 690rpx;
  148. height: 85rpx;
  149. background: #ffdc2f;
  150. border-radius: 43rpx;
  151. font-size: 30rpx;
  152. font-family: 'PingFang SC, PingFang SC-Regular';
  153. font-weight: 400;
  154. text-align: center;
  155. color: #1a1a1a;
  156. color: #fff;
  157. line-height: 85rpx;
  158. }