pianoDetail.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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: 20rpx 25rpx 0;
  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. padding-bottom: 10rpx;
  92. }
  93. .code-view image {
  94. height: 500rpx;
  95. width: 500rpx;
  96. margin: 40rpx 100rpx;
  97. }
  98. .other-view {
  99. width: 700rpx;
  100. background: #FFF;
  101. margin: 20rpx 25rpx;
  102. padding: 20rpx 0;
  103. }
  104. .other-view view {
  105. height: 50rpx;
  106. line-height: 50rpx;
  107. text-indent: 25rpx;
  108. }
  109. .other-time {
  110. font-size: 24rpx;
  111. color: #999;
  112. }
  113. .school-list {
  114. width: 700rpx;
  115. margin: 25rpx;
  116. background: #FFF;
  117. }
  118. .school-title,
  119. .school-addr {
  120. display: flex;
  121. width: 650rpx;
  122. margin: 0 25rpx;
  123. }
  124. .school-name {
  125. height: 60rpx;
  126. line-height: 60rpx;
  127. width: 500rpx;
  128. margin-right: 30rpx;
  129. font-weight: 600;
  130. overflow: hidden;
  131. white-space: nowrap;
  132. text-overflow: ellipsis;
  133. }
  134. .call-phone {
  135. width: 120rpx;
  136. height: 60rpx;
  137. line-height: 60rpx;
  138. text-align: right;
  139. font-size: 28rpx;
  140. }
  141. .school-addr {
  142. font-size: 24rpx;
  143. color: #999;
  144. height: 60rpx;
  145. line-height: 60rpx;
  146. }
  147. .school-dis {
  148. max-width: 120rpx;
  149. margin-right: 20rpx;
  150. }
  151. .school-address {
  152. min-width: 510rpx;
  153. overflow: hidden;
  154. white-space: nowrap;
  155. text-overflow: ellipsis;
  156. }
  157. .school-box {
  158. border-bottom: 1px solid #eee;
  159. padding: 20rpx 0;
  160. }
  161. .tip-more-school {
  162. width: 700rpx;
  163. height: 80rpx;
  164. line-height: 80rpx;
  165. text-align: center;
  166. background: #FFF;
  167. }
  168. .share-btn {
  169. width: 300rpx;
  170. height: 80rpx;
  171. line-height: 80rpx;
  172. margin-left: 200rpx;
  173. text-align: center;
  174. border: 1px solid #cc6031;
  175. color: #cc6031;
  176. border-radius: 50rpx;
  177. margin-bottom: 40rpx;
  178. }
  179. .used-btn {
  180. width: 150rpx;
  181. height: 150rpx;
  182. line-height: 130rpx;
  183. position: absolute;
  184. margin-top: -250rpx;
  185. right: 180rpx;
  186. color: #cc6031;
  187. z-index: 2;
  188. border: 2px solid #cc6031;
  189. text-align: center;
  190. border-radius: 100rpx;
  191. font-weight: 600;
  192. font-size: 32rpx;
  193. transform: rotate(-18deg);
  194. }
  195. .used-btn view {
  196. border: 1px solid #cc6031;
  197. width: 130rpx;
  198. height: 130rpx;
  199. border-radius: 100rpx;
  200. margin: 10rpx;
  201. }
  202. .userCode {
  203. opacity: 0.1;
  204. }