detail.css 5.6 KB

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