detail.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. /*详情页的样式文件*/
  2. .de_container {
  3. margin-top: 20px;
  4. }
  5. .crumb_wrap {
  6. height: 25px;
  7. }
  8. .crumb_wrap a {
  9. margin-right: 10px;
  10. }
  11. .preview_wrap {
  12. width: 400px;
  13. height: 590px;
  14. }
  15. .preview_img {
  16. height: 398px;
  17. border: 1px solid #ccc;
  18. }
  19. .preview_list {
  20. position: relative;
  21. height: 60px;
  22. margin-top: 60px;
  23. }
  24. .list_item {
  25. width: 320px;
  26. height: 60px;
  27. margin: 0 auto;
  28. }
  29. .list_item li {
  30. float: left;
  31. width: 56px;
  32. height: 56px;
  33. border: 2px solid transparent;
  34. margin: 0 2px;
  35. }
  36. .list_item li.current {
  37. border-color: #c81623;
  38. }
  39. .arrow_prev,
  40. .arrow_next {
  41. position: absolute;
  42. top: 15px;
  43. width: 22px;
  44. height: 32px;
  45. background-color: purple;
  46. }
  47. .arrow_prev {
  48. left: 0;
  49. background: url(../img/arrow-prev.png) no-repeat;
  50. }
  51. .arrow_next {
  52. right: 0;
  53. background: url(../img/arrow-next.png) no-repeat;
  54. }
  55. .itemInfo_wrap {
  56. width: 718px;
  57. }
  58. .sku_name {
  59. height: 30px;
  60. font-size: 16px;
  61. font-weight: 700;
  62. }
  63. .news {
  64. height: 32px;
  65. color: #e12228;
  66. }
  67. .summary dl {
  68. overflow: hidden;
  69. }
  70. .summary dt,
  71. .summary dd {
  72. float: left;
  73. }
  74. .summary dt {
  75. width: 60px;
  76. padding-left: 10px;
  77. line-height: 36px;
  78. }
  79. .summary_price ,
  80. .summary_promotion {
  81. position: relative;
  82. padding: 10px 0;
  83. background-color: #fee9eb;
  84. }
  85. .price {
  86. font-size: 24px;
  87. color: #e12228;
  88. }
  89. .summary_price a {
  90. color: #c81623;
  91. }
  92. .remark {
  93. position: absolute;
  94. right: 10px;
  95. top: 20px;
  96. }
  97. .summary_promotion {
  98. padding-top: 0;
  99. }
  100. .summary_promotion dd {
  101. width: 450px;
  102. line-height: 36px;
  103. }
  104. .summary_promotion em {
  105. display: inline-block;
  106. width: 40px;
  107. height: 22px;
  108. background-color: #c81623;
  109. text-align: center;
  110. line-height: 22px;
  111. color: #fff;
  112. }
  113. .summary_support dd {
  114. line-height: 36px;
  115. }
  116. .choose_color a {
  117. display: inline-block;
  118. width: 80px;
  119. height: 41px;
  120. background-color: #f7f7f7;
  121. border: 1px solid #ededed;
  122. text-align: center;
  123. line-height: 41px;
  124. }
  125. .summary a.current {
  126. border-color: #c81623;
  127. }
  128. .choose_version {
  129. margin: 10px 0;
  130. }
  131. .choose_version a,
  132. .choose_type a {
  133. display: inline-block;
  134. height: 32px;
  135. padding: 0 12px;
  136. background-color: #f7f7f7;
  137. border: 1px solid #ededed;
  138. text-align: center;
  139. line-height: 32px;
  140. }
  141. .choose_btns {
  142. margin-top: 20px;
  143. }
  144. .choose_amount {
  145. position: relative;
  146. float: left;
  147. width: 50px;
  148. height: 46px;
  149. background-color: pink;
  150. }
  151. .choose_amount input {
  152. width: 33px;
  153. height: 44px;
  154. border: 1px solid #ccc;
  155. text-align: center;
  156. }
  157. .add,
  158. .reduce {
  159. position: absolute;
  160. right: 0;
  161. width: 15px;
  162. height: 22px;
  163. border: 1px solid #ccc;
  164. background-color: #f1f1f1;
  165. text-align: center;
  166. line-height: 22px;
  167. }
  168. .add {
  169. top: 0;
  170. }
  171. .reduce {
  172. bottom: 0;
  173. /*禁止鼠标样式*/
  174. cursor: not-allowed; /* pointer 小手 move 移动 */
  175. }
  176. .addcar {
  177. float: left;
  178. width: 142px;
  179. height: 46px;
  180. background-color: #c81623;
  181. text-align: center;
  182. line-height: 46px;
  183. font-size: 18px;
  184. color: #fff;
  185. margin-left: 10px;
  186. font-weight: 700;
  187. }
  188. .product_detail {
  189. margin-bottom: 50px;
  190. }
  191. .aside {
  192. width: 208px;
  193. border: 1px solid #ccc;
  194. }
  195. .tab_list {
  196. overflow: hidden;
  197. height: 34px;
  198. }
  199. /*把背景颜色 底边框都给 li*/
  200. .tab_list li {
  201. float: left;
  202. background-color: #f1f1f1;
  203. border-bottom: 1px solid #ccc;
  204. height: 33px;
  205. text-align: center;
  206. line-height: 33px;
  207. }
  208. /*鼠标单击 li 变化样式 背景变白色 去掉下边框 文字变颜色*/
  209. .tab_list .current {
  210. background-color: #fff;
  211. border-bottom: 0;
  212. color: red;
  213. }
  214. .first_tab {
  215. width: 104px;
  216. }
  217. .second_tab {
  218. width: 103px;
  219. border-left: 1px solid #ccc;
  220. }
  221. .tab_con {
  222. padding: 0 10px;
  223. }
  224. .tab_con li {
  225. border-bottom: 1px solid #ccc;
  226. }
  227. .tab_con li h5 {
  228. /*超出的文字省略号显示*/
  229. white-space: nowrap;
  230. overflow: hidden;
  231. text-overflow: ellipsis;
  232. font-weight: 400;
  233. }
  234. .aside_price {
  235. font-weight: 700;
  236. margin: 10px 0;
  237. }
  238. .as_addcar {
  239. display: block;
  240. width: 88px;
  241. height: 26px;
  242. border: 1px solid #ccc;
  243. background-color: #f7f7f7;
  244. margin: 10px auto;
  245. text-align: center;
  246. line-height: 26px;
  247. }
  248. .detail {
  249. width: 978px;
  250. }
  251. .detail_tab_list {
  252. height: 39px;
  253. border: 1px solid #ccc;
  254. background-color: #f1f1f1;
  255. }
  256. .detail_tab_list li {
  257. float: left;
  258. height: 39px;
  259. line-height: 39px;
  260. padding: 0 20px;
  261. text-align: center;
  262. cursor: pointer;
  263. }
  264. .detail_tab_list .current {
  265. background-color: #c81623;
  266. color: #fff;
  267. }
  268. .item_info {
  269. padding: 20px 0 0 20px;
  270. }
  271. .item_info li {
  272. line-height: 22px;
  273. }
  274. .more {
  275. float: right;
  276. font-weight: 700;
  277. font-family: 'icomoon';
  278. }