index.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. .page-wrap {
  2. padding-bottom: 41.21rpx;
  3. }
  4. .swiper-panel {
  5. width: 100%;
  6. height: 390.11rpx;
  7. .img {
  8. width: 100%;
  9. height: 100%;
  10. }
  11. }
  12. .product-panel {
  13. background: #fff;
  14. padding: 27.47rpx 27.47rpx 68.68rpx;
  15. position: relative;
  16. .name {
  17. font-size: 32.97rpx;
  18. word-break: break-all;
  19. }
  20. .desc {
  21. font-size: 27.47rpx;
  22. color: #999;
  23. word-break: break-all;
  24. margin-top: 6.87rpx;
  25. }
  26. .tags {
  27. overflow: hidden;
  28. margin-bottom: -41.21rpx;
  29. padding-right: 178.57rpx;
  30. .tag {
  31. float: left;
  32. font-size: 21.98rpx;
  33. color: #f97631;
  34. padding: 2.75rpx 13.74rpx;
  35. border: 1rpx solid #f97631;
  36. margin: 13.74rpx 13.74rpx 0 0;
  37. }
  38. }
  39. .price {
  40. font-size: 41.21rpx;
  41. color: #f97631;
  42. position: absolute;
  43. right: 27.47rpx;
  44. bottom: 27.47rpx;
  45. line-height: 1;
  46. &:before {
  47. content: '¥';
  48. font-size: 24.73rpx;
  49. }
  50. &::after {
  51. content: attr(data-text);
  52. font-size: 21.98rpx;
  53. color: #999;
  54. margin-left: 4.12rpx;
  55. vertical-align: middle;
  56. }
  57. }
  58. }
  59. .nav-panel {
  60. margin-top: 13.74rpx;
  61. background: #fff;
  62. .item {
  63. padding: 13.74rpx 27.47rpx;
  64. border-bottom: 1rpx solid #e0e0e0;
  65. display: flex;
  66. align-items: center;
  67. &:last-child {
  68. border: none;
  69. }
  70. }
  71. .label {
  72. flex: 1;
  73. font-size: 27.47rpx;
  74. word-break: break-all;
  75. }
  76. .text {
  77. font-size: 24.73rpx;
  78. color: #999;
  79. margin: 0 13.74rpx;
  80. }
  81. .icon {
  82. width: 54.95rpx;
  83. height: 54.95rpx;
  84. }
  85. }
  86. .info-panel {
  87. background: #fff;
  88. margin-top: 13.74rpx;
  89. &.collapse {
  90. .content {
  91. max-height: 192.31rpx;
  92. }
  93. .collapse-btn::after {
  94. content: '展开更多 ∨';
  95. }
  96. }
  97. .title {
  98. height: 82.42rpx;
  99. padding: 0 27.47rpx;
  100. font-size: 27.47rpx;
  101. line-height: 82.42rpx;
  102. border-bottom: 1rpx solid #e0e0e0;
  103. box-sizing: border-box;
  104. }
  105. .content {
  106. max-height: none;
  107. word-break: break-all;
  108. overflow: hidden;
  109. .explain-img {
  110. width: 100%;
  111. height: 2587.91rpx;
  112. }
  113. .p {
  114. font-size: 27.47rpx;
  115. line-height: 38.46rpx;
  116. color: #333;
  117. margin: 20.6rpx 27.47rpx;
  118. }
  119. .b {
  120. color: #0384d6;
  121. }
  122. }
  123. .collapse-btn {
  124. height: 82.42rpx;
  125. font-size: 24.73rpx;
  126. color: #999;
  127. line-height: 82.42rpx;
  128. text-align: center;
  129. border-top: 1rpx solid #e0e0e0;
  130. &::after {
  131. content: '收起 ∧';
  132. }
  133. }
  134. }
  135. .recommend-scorll {
  136. height: 260.99rpx;
  137. .recommend-list {
  138. display: flex;
  139. padding: 27.47rpx 13.74rpx 0 27.47rpx;
  140. }
  141. .item {
  142. margin-right: 13.74rpx;
  143. }
  144. .img {
  145. width: 192.31rpx;
  146. height: 164.84rpx;
  147. display: block;
  148. }
  149. .name {
  150. font-size: 24.73rpx;
  151. text-align: center;
  152. white-space: nowrap;
  153. overflow: hidden;
  154. text-overflow: ellipsis;
  155. padding: 0 13.74rpx;
  156. margin-top: 13.74rpx;
  157. }
  158. }
  159. .foot-panel {
  160. height: 96.15rpx;
  161. .foot-wrap {
  162. position: fixed;
  163. left: 0;
  164. right: 0;
  165. bottom: 0;
  166. height: 96.15rpx;
  167. background: #f7f7f7;
  168. display: flex;
  169. align-items: center;
  170. }
  171. .share-btn {
  172. height: 75.55rpx;
  173. display: flex;
  174. flex-direction: column;
  175. align-items: center;
  176. font-size: 24.73rpx;
  177. color: #333;
  178. line-height: 1;
  179. padding: 0;
  180. margin: 0 78.3rpx;
  181. .icon {
  182. width: 38.46rpx;
  183. height: 38.46rpx;
  184. margin-bottom: 8.24rpx;
  185. }
  186. }
  187. .btn {
  188. width: 219.78rpx;
  189. height: 68.68rpx;
  190. line-height: 68.68rpx;
  191. background: #f97631;
  192. border-radius: 8.24rpx;
  193. font-size: 27.47rpx;
  194. color: #fff;
  195. margin: 0 13.74rpx 0 0;
  196. &-1 {
  197. color: #000;
  198. background: #f9c421;
  199. }
  200. }
  201. }