service.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. /* pages/my/service/service.wxss */
  2. page {
  3. width: 100%;
  4. height: 100%;
  5. background-color: #fff;
  6. }
  7. .service-detail-container {
  8. padding-bottom: constant(safe-area-inset-bottom);
  9. /*兼容 IOS<11.2*/
  10. padding-bottom: env(safe-area-inset-bottom);
  11. /*兼容 IOS>11.2*/
  12. }
  13. .header {
  14. padding: 30rpx 0;
  15. background-color: #fff;
  16. }
  17. .header .groupWay {
  18. font-size: 28rpx;
  19. font-family: 'PingFang SC, PingFang SC-Regular';
  20. font-weight: 400;
  21. color: #1a1a1a;
  22. margin-left: 40rpx;
  23. }
  24. .header .groupWay .text {
  25. color: #808080;
  26. }
  27. .header .title {
  28. margin-bottom: 35rpx;
  29. text-align: center;
  30. font-size: 28rpx;
  31. font-family: 'PingFang SC, PingFang SC-Regular';
  32. font-weight: 400;
  33. color: #1a1a1a;
  34. }
  35. .header .title .label {
  36. margin-right: 40rpx;
  37. }
  38. .header .title .label:last-child {
  39. margin-right: 0;
  40. }
  41. .header .title .text {
  42. color: #808080;
  43. }
  44. .header .photo {
  45. display: flex;
  46. justify-content: center;
  47. }
  48. .header .photo .img-box {
  49. position: relative;
  50. }
  51. .header .photo .img-box:first-child:before {
  52. position: absolute;
  53. top: -20rpx;
  54. left: -30rpx;
  55. display: block;
  56. content: '拼主';
  57. width: 61rpx;
  58. height: 39rpx;
  59. background: #ffdc2f;
  60. border: 4rpx solid #ffffff;
  61. border-radius: 24rpx;
  62. font-size: 24rpx;
  63. text-align: center;
  64. line-height: 39rpx;
  65. z-index: 3;
  66. }
  67. .header .photo .img {
  68. width: 89rpx;
  69. height: 89rpx;
  70. margin-right: 30rpx;
  71. border-radius: 50%;
  72. }
  73. .header .photo .first-img {
  74. position: relative;
  75. width: 95rpx;
  76. height: 95rpx;
  77. margin-top: -10rpx;
  78. }
  79. .gary {
  80. height: 10rpx;
  81. background: #f5f5f5;
  82. }
  83. .detail {
  84. padding: 30rpx 30rpx 0;
  85. font-size: 28rpx;
  86. font-family: 'PingFang SC, PingFang SC-Regular';
  87. font-weight: 400;
  88. color: #808080;
  89. }
  90. .detail .title {
  91. margin-bottom: 20rpx;
  92. font-family: 'PingFang SC, PingFang SC-Bold';
  93. font-weight: 700;
  94. color: #060606;
  95. }
  96. .detail .tip {
  97. margin-bottom: 20rpx;
  98. }
  99. .detail .label {
  100. display: flex;
  101. justify-content: space-between;
  102. align-items: center;
  103. margin-bottom: 15rpx;
  104. }
  105. .label .price {
  106. font-size: 20rpx;
  107. font-family: 'PingFang SC, PingFang SC-Medium';
  108. font-weight: 700;
  109. color: #ec2e26;
  110. }
  111. .label .price .num {
  112. font-size: 32rpx;
  113. }
  114. .detail .label .label-text {
  115. flex-shrink: 0;
  116. color: #060606;
  117. }
  118. .share {
  119. padding: 30rpx;
  120. background-color: #fff;
  121. font-family: 'PingFang SC, PingFang SC-Regular';
  122. font-weight: 400;
  123. font-size: 24rpx;
  124. color: #1a1a1a;
  125. }
  126. .share .title {
  127. margin-bottom: 15rpx;
  128. font-size: 28rpx;
  129. font-family: 'PingFang SC, PingFang SC-Bold';
  130. font-weight: 700;
  131. }
  132. .share .share-people {
  133. display: flex;
  134. align-items: center;
  135. margin-bottom: 20rpx;
  136. font-size: 30rpx;
  137. }
  138. .share .share-people .avater {
  139. width: 83rpx;
  140. height: 83rpx;
  141. border-radius: 50%;
  142. margin-right: 18rpx;
  143. }
  144. .share .share-people .time {
  145. margin-left: auto;
  146. color: #999999;
  147. }
  148. .share .share-text {
  149. color: #666666;
  150. }
  151. .footer {
  152. position: fixed;
  153. bottom: 0;
  154. width: 100%;
  155. padding-bottom: constant(safe-area-inset-bottom);
  156. padding-bottom: env(safe-area-inset-bottom);
  157. }
  158. .footer .btn-box {
  159. display: flex;
  160. padding: 30rpx;
  161. border-top: 1px dashed #ccc;
  162. }
  163. .footer .btn {
  164. width: 320rpx;
  165. height: 85rpx;
  166. background: #fffae1;
  167. border: 1rpx solid #ffa836;
  168. border-radius: 44rpx;
  169. text-align: center;
  170. line-height: 85rpx;
  171. font-size: 30rpx;
  172. font-family: 'PingFang SC, PingFang SC-Regular';
  173. font-weight: 400;
  174. color: #ffa836;
  175. }
  176. .footer .other-btn {
  177. background: #ffa022;
  178. color: #1a1a1a;
  179. }
  180. .footer .text {
  181. height: 90rpx;
  182. text-align: center;
  183. line-height: 90rpx;
  184. font-size: 28rpx;
  185. font-family: 'PingFang SC, PingFang SC-Bold';
  186. font-weight: 700;
  187. color: #ffa836;
  188. background: #fffae1;
  189. }
  190. .textarea {
  191. width: 100%;
  192. height: 270rpx;
  193. padding: 20rpx;
  194. text-align: left;
  195. border: 1px solid #cccccc;
  196. border-radius: 10px;
  197. box-sizing: border-box;
  198. }
  199. .contactBox {
  200. position: fixed;
  201. top: 0;
  202. left: 0;
  203. width: 100%;
  204. height: 100%;
  205. background-color: rgba(0, 0, 0, .5);
  206. z-index: 9;
  207. box-sizing: border-box;
  208. }
  209. .contactBox .box {
  210. position: absolute;
  211. bottom: 0;
  212. width: 100%;
  213. padding: 30rpx;
  214. border-radius: 20rpx 20rpx 0 0;
  215. background-color: #fff;
  216. box-sizing: border-box;
  217. }
  218. .contactItem {
  219. display: flex;
  220. justify-content: space-around;
  221. align-items: center;
  222. font-size: 30rpx;
  223. color: #1a1a1a;
  224. padding: 30rpx 0;
  225. }
  226. .contactBox .cancel {
  227. padding: 30rpx 0;
  228. text-align: center;
  229. }
  230. .contactBox .gary {
  231. height: 10rpx;
  232. background-color: #f3f3f3;
  233. }