pianoDetail.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. /* pages/pianoDetail/pianoDetail.wxss */
  2. .container {
  3. padding: 0;
  4. margin: 0;
  5. width: 750rpx;
  6. }
  7. page {
  8. background: #f9f9f9;
  9. }
  10. .top-view {
  11. width: 650rpx;
  12. display: flex;
  13. background: #FFF;
  14. margin-top: 20rpx;
  15. padding: 20rpx 25rpx;
  16. border-bottom: 1px dashed #CCC;
  17. }
  18. .top-img {
  19. width: 240rpx;
  20. height: 180rpx;
  21. margin-right: 20rpx;
  22. }
  23. .top-img image {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .top-msg {
  28. width: 440rpx;
  29. font-size: 32rpx;
  30. }
  31. .top-content,
  32. .top-price {
  33. font-size: 28rpx;
  34. }
  35. .top-title {
  36. height: 70rpx;
  37. line-height: 35rpx;
  38. overflow: hidden;
  39. text-overflow: ellipsis;
  40. display: -webkit-box;
  41. -webkit-line-clamp: 2;
  42. -webkit-box-orient: vertical;
  43. }
  44. .top-content {
  45. height: 80rpx;
  46. line-height: 40rpx;
  47. color: #999;
  48. overflow: hidden;
  49. text-overflow: ellipsis;
  50. display: -webkit-box;
  51. -webkit-line-clamp: 2;
  52. -webkit-box-orient: vertical;
  53. }
  54. .top-price {
  55. height: 30rpx;
  56. line-height: 30rpx;
  57. }
  58. .style-view {
  59. display: flex;
  60. width: 700rpx;
  61. margin: 0 25rpx;
  62. position: relative;
  63. }
  64. .right-style {
  65. height: 30rpx;
  66. width: 30rpx;
  67. background: #f9f9f9;
  68. margin-left: auto;
  69. border-radius: 50rpx 0 0 50rpx;
  70. margin-top: -15rpx;
  71. line-height: 20rpx;
  72. position: absolute;
  73. right: -15rpx;
  74. }
  75. .left-style {
  76. height: 30rpx;
  77. width: 30rpx;
  78. background: #f9f9f9;
  79. margin-left: auto;
  80. border-radius: 0 50rpx 50rpx 0;
  81. margin-top: -15rpx;
  82. line-height: 20rpx;
  83. position: absolute;
  84. left: -15rpx;
  85. }
  86. .code-view {
  87. background: #FFF;
  88. width: 700rpx;
  89. margin: 0 25rpx;
  90. box-shadow: 0 0 10rpx #eee;
  91. }
  92. .code-view image {
  93. height: 500rpx;
  94. width: 500rpx;
  95. margin: 40rpx 100rpx;
  96. }
  97. .other-view {
  98. width: 700rpx;
  99. background: #FFF;
  100. margin: 0 25rpx;
  101. padding-bottom: 20rpx;
  102. }
  103. .other-view view {
  104. height: 50rpx;
  105. line-height: 50rpx;
  106. text-indent: 25rpx;
  107. }
  108. .other-time {
  109. font-size: 24rpx;
  110. color: #999;
  111. }
  112. .school-list {
  113. width: 700rpx;
  114. margin: 25rpx;
  115. background: #FFF;
  116. }
  117. .school-title,
  118. .school-addr {
  119. display: flex;
  120. width: 650rpx;
  121. margin: 0 25rpx;
  122. }
  123. .school-name {
  124. height: 60rpx;
  125. line-height: 60rpx;
  126. width: 500rpx;
  127. margin-right: 30rpx;
  128. font-weight: 600;
  129. overflow: hidden;
  130. white-space: nowrap;
  131. text-overflow: ellipsis;
  132. }
  133. .call-phone {
  134. width: 120rpx;
  135. height: 60rpx;
  136. line-height: 60rpx;
  137. text-align: right;
  138. font-size: 28rpx;
  139. }
  140. .school-addr {
  141. font-size: 24rpx;
  142. color: #999;
  143. height: 60rpx;
  144. line-height: 60rpx;
  145. }
  146. .school-dis {
  147. max-width: 120rpx;
  148. margin-right: 20rpx;
  149. }
  150. .school-address {
  151. min-width: 510rpx;
  152. overflow: hidden;
  153. white-space: nowrap;
  154. text-overflow: ellipsis;
  155. }
  156. .school-box {
  157. border-bottom: 1px solid #eee;
  158. padding: 20rpx 0;
  159. }
  160. .tip-more-school {
  161. width: 700rpx;
  162. height: 80rpx;
  163. line-height: 80rpx;
  164. text-align: center;
  165. background: #FFF;
  166. }
  167. .share-btn {
  168. width: 300rpx;
  169. height: 80rpx;
  170. line-height: 80rpx;
  171. margin-left: 200rpx;
  172. text-align: center;
  173. border: 1px solid #cc6031;
  174. color: #cc6031;
  175. border-radius: 50rpx;
  176. margin-bottom: 40rpx;
  177. }
  178. .used-btn {
  179. width: 150rpx;
  180. height: 150rpx;
  181. line-height: 130rpx;
  182. position: absolute;
  183. margin-top: -250rpx;
  184. right: 180rpx;
  185. color: #cc6031;
  186. z-index: 2;
  187. border: 2px solid #cc6031;
  188. text-align: center;
  189. border-radius: 100rpx;
  190. font-weight: 600;
  191. font-size: 32rpx;
  192. transform: rotate(-18deg);
  193. }
  194. .used-btn view {
  195. border: 1px solid #cc6031;
  196. width: 130rpx;
  197. height: 130rpx;
  198. border-radius: 100rpx;
  199. margin: 10rpx;
  200. }
  201. .userCode {
  202. opacity: 0.1;
  203. }