index.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. .red {
  2. color: #F01740;
  3. }
  4. .grey {
  5. color: #666666;
  6. }
  7. .black {
  8. color: #000000;
  9. }
  10. .title {
  11. font-weight: Medium;
  12. font-size: 36rpx;
  13. color: #222222;
  14. }
  15. .text-large {
  16. font-size: 36rpx;
  17. }
  18. .text {
  19. font-size: 30rpx;
  20. }
  21. .text-left {
  22. text-align: left;
  23. }
  24. .text-center {
  25. text-align: center;
  26. }
  27. .text-small {
  28. font-size: 24rpx;
  29. /* word-break: keep-all; */
  30. }
  31. .flex {
  32. display: flex;
  33. }
  34. .justify-between {
  35. justify-content: space-between;
  36. }
  37. .flex-aligin-center {
  38. display: flex;
  39. align-items: center;
  40. }
  41. .flex-justify-between {
  42. display: flex;
  43. justify-content: space-between;
  44. }
  45. .flex-1 {
  46. flex: 1;
  47. }
  48. .flex-grow-1 {
  49. flex-grow: 1;
  50. }
  51. .fixed-bottom {
  52. position: fixed;
  53. bottom: 0;
  54. left: 0;
  55. right: 0;
  56. }
  57. .w-100 {
  58. width: 100%;
  59. }
  60. .h-100 {
  61. height: 100%;
  62. }
  63. .page-section {
  64. margin: 20rpx;
  65. border-radius: 20rpx;
  66. background-color: #ffffff;
  67. }
  68. .page-section-spacing {
  69. padding: 20rpx;
  70. }
  71. .spacing-small {
  72. padding: 10rpx;
  73. }
  74. .border-trans {
  75. border: 1px solid transparent;
  76. }
  77. .ellipsis {
  78. width: 100%;
  79. overflow: hidden;
  80. text-overflow: ellipsis;
  81. display: -webkit-box;
  82. -webkit-line-clamp: 1;
  83. -webkit-box-orient: vertical;
  84. }
  85. .ellipsis-2 {
  86. width: 100%;
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. display: -webkit-box;
  90. -webkit-line-clamp: 2;
  91. -webkit-box-orient: vertical;
  92. }
  93. page {
  94. background: #f6f6f6;
  95. padding-bottom: 148rpx;
  96. }
  97. .page-section {
  98. margin: 20rpx;
  99. border-radius: 20rpx;
  100. background-color: #ffffff;
  101. }
  102. .page-section-spacing {
  103. padding: 20rpx;
  104. }
  105. .swiper-images-wrapper {
  106. background-color: #eee;
  107. }
  108. .swiper-images-wrapper .swiper-images {
  109. height: 400rpx;
  110. }
  111. .swiper-images-wrapper .swiper-image {
  112. width: 100%;
  113. height: 100%;
  114. background-repeat: no-repeat;
  115. background-position: center top;
  116. background-size: 100% 100%;
  117. border-radius: 20rpx;
  118. }
  119. .title {
  120. font-weight: Medium;
  121. font-size: 36rpx;
  122. color: #222222;
  123. }
  124. .text {
  125. font-size: 30rpx;
  126. }
  127. .text-small {
  128. font-size: 24rpx;
  129. }
  130. .tab-title {
  131. flex: none;
  132. width: 280rpx;
  133. }
  134. #detail {
  135. padding: 20rpx;
  136. }
  137. .footer-bar {
  138. position: fixed;
  139. bottom: 0;
  140. left: 0;
  141. right: 0;
  142. display: flex;
  143. align-items: center;
  144. justify-content: space-between;
  145. padding: 20rpx;
  146. z-index: 99;
  147. background-color: #ffffff;
  148. }
  149. .footer-bar .price {
  150. color: #F01740;
  151. font-weight: 600;
  152. }
  153. .footer-bar .btn {
  154. letter-spacing: 2px;
  155. }