detail.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. .breadcrumb {
  2. padding-top: 10px;
  3. padding-bottom: 20px;
  4. padding-left: 16px;
  5. }
  6. .breadcrumb a {
  7. font-size: 16px;
  8. color: #666;
  9. text-decoration: none;
  10. }
  11. .service-type {
  12. position: relative;
  13. padding-left: 456px;
  14. height: 400px;
  15. }
  16. .service-type .service-img {
  17. width: 360px;
  18. height: 360px;
  19. }
  20. .main-title {
  21. position: absolute;
  22. top: 50px;
  23. }
  24. .service-type h2 {
  25. margin: 12px 0;
  26. font-size: 42px;
  27. color: #666;
  28. }
  29. .pet-price span {
  30. color: #ff7f00;
  31. font-size: 32px;
  32. }
  33. .pet-type {
  34. font-size: 0;
  35. }
  36. .pet-type a {
  37. position: relative;
  38. font-size: 14px;
  39. color: #999;
  40. border: 1px solid #ccc;
  41. width: 86px;
  42. height: 36px;
  43. text-align: center;
  44. line-height: 36px;
  45. display: inline-block;
  46. text-decoration: none;
  47. }
  48. .pet-type a:first-child {
  49. margin-right: 10px;
  50. }
  51. .pet-type a.active {
  52. border-color: #ff7f00;
  53. color: #ff7f00;
  54. }
  55. .pet-type a.active::before {
  56. content: "";
  57. position: absolute;
  58. border-left: 1px solid #ff7f00;
  59. border-top: 1px solid #ff7f00;
  60. width: 10px;
  61. height: 10px;
  62. background: #fff;
  63. left: 50%;
  64. top: -6px;
  65. -webkit-transform: translateX(-50%) rotate(45deg);
  66. -moz-transform: translateX(-50%) rotate(45deg);
  67. -o-transform: translateX(-50%) rotate(45deg);
  68. -ms-transform: translateX(-50%) rotate(45deg);
  69. transform: translateX(-50%) rotate(45deg);
  70. }
  71. .btn-order {
  72. position: absolute;
  73. left: 456px;
  74. bottom: 40px;
  75. display: block;
  76. width: 240px;
  77. height: 60px;
  78. background-color: #85c141;
  79. color: #fff;
  80. font-size: 24px;
  81. line-height: 60px;
  82. text-align: center;
  83. text-decoration: none;
  84. border-radius: 10px;
  85. }
  86. .tab-box {
  87. border-bottom: 1px solid #85c141;
  88. font-size: 0;
  89. margin-bottom: 20px;
  90. height: 46px;
  91. padding-left: 15px;
  92. }
  93. .tab-box a {
  94. position: relative;
  95. z-index: 1;
  96. display: inline-block;
  97. width: 150px;
  98. height: 45px;
  99. font-size: 16px;
  100. line-height: 45px;
  101. text-align: center;
  102. color: #999;
  103. text-decoration: none;
  104. }
  105. .tab-box a.active {
  106. color: #85c141;
  107. border: 1px solid #85c141;
  108. border-bottom-color: #fff;
  109. }
  110. .service-intro {
  111. width: 700px;
  112. margin-left: auto;
  113. margin-right: auto;
  114. }
  115. #chose-type {
  116. position: absolute;
  117. bottom: 135px;
  118. }
  119. .main_tips {
  120. margin-top: 10px;
  121. font-size: 14px;
  122. color: #999;
  123. }
  124. .detail-main-img {
  125. position: absolute;
  126. left: 16px;
  127. top: 0;
  128. width: 360px;
  129. height: 360px;
  130. }
  131. .detail-comments .comment-list {
  132. width: 900px;
  133. margin: auto;
  134. }
  135. .detail-comments {
  136. margin-top: 30px;
  137. }
  138. .page-container {
  139. width: 900px;
  140. margin: 0 auto 30px auto;
  141. padding: 10px 16px;
  142. background-color: #EEE;
  143. border-radius: 8px;
  144. }
  145. .page-container .page-item {
  146. display: inline-block;
  147. *display: inline;
  148. zoom: 1;
  149. background-color: white;
  150. font-size: 16px;
  151. margin-right: 4px;
  152. border-radius: 2px;
  153. }
  154. .page-container .page-item a {
  155. display: block;
  156. color: rgb(133, 193, 65);
  157. padding: 6px 8px;
  158. min-width: 28px;
  159. text-align: center;
  160. text-decoration: none;
  161. }
  162. .page-container ul {
  163. display: block;
  164. margin: 0 auto;
  165. max-width: 430px;
  166. }
  167. .page-container .page-disabled {
  168. color: #FFF;
  169. background-color: rgb(133, 193, 65);
  170. }
  171. .page-container .page-disabled a {
  172. color: #FFF;
  173. }
  174. .page-container .page-item:hover {
  175. background-color: rgb(133, 193, 65);
  176. }
  177. .page-container .page-item a:hover {
  178. color: #FFF;
  179. }
  180. .page-container .page-next {
  181. margin-right: 0;
  182. }