shop.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /*
  2. 用户中心页面样式
  3. By:Jayson
  4. */
  5. /*首页*/
  6. /*焦点图*/
  7. .focus{ width:100%; height:550px; margin:auto; text-align:center; background-color:#FFF; }
  8. .focus img{ height:550px; }
  9. .index-fast{ width:100%; margin-top:20px; text-align:justify; text-align-last:justify; height:202px; }
  10. @media all and (-webkit-min-device-pixel-ratio:0){
  11. .index-fast{ font-size:0; }
  12. }
  13. .index-fast:after{ display:inline-block; overflow:hidden; width:100%; height:0; content:''; }
  14. .index-fast a{ width:24%; display:inline-block; font-size:15px; text-align-last:initial; height:200px; color:#000; border:1px solid #DDD; border-radius:2px; background-color:#FFF; }
  15. .index-fast img{ margin:30px auto 20px; }
  16. .index-fast h3{ text-align:center; }
  17. .bread-nav a {
  18. color: #f96768;
  19. }
  20. /*商城导航*/
  21. .s-subnav{ width:180px; margin-right:18px; float:left; border-left:1px solid #EEE; border-bottom:1px solid #EEE; border-right:1px solid #EEE; border-top:1px solid #f96768; box-shadow:1px 1px 1px #EEE; }
  22. .s-subnav dt, .s-subnav dd{ height:40px; line-height:40px; padding:0 15px; font-size:14px; border-bottom:1px solid #EEE; }
  23. .s-subnav dt{ font-weight:bold; color:#f96768; }
  24. .s-subnav dd a{ padding-left:14px; position:relative; line-height:40px; color:#666; background:url(s-subnav-icon.png) no-repeat center left; }
  25. .s-subnav dd a:hover{ color:#f96768; }
  26. .s-subnav dd .cur{ color:#f96768; }
  27. .s-subnav dd .hot{ width:71px; height:16px; position:absolute; right:-72px; top:-8px; background:url(s-subnav-tips1.png) no-repeat; }
  28. .s-list ul li {
  29. margin: 0px 16px 20px 0;
  30. }
  31. .s-list ul li .add-cart {
  32. display: flex;
  33. justify-content: space-between;
  34. align-items: flex-end;
  35. }
  36. .s-list ul li .add-cart button {
  37. height: 30px;
  38. width: 100px;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. background-color: #f96768;
  43. border: none;
  44. outline: none;
  45. font-size: 15px;
  46. color: #fff;
  47. letter-spacing: 6px;
  48. }
  49. .s-list ul li .add-cart button img {
  50. height: 22px;
  51. margin-top: 3px;
  52. margin-right: 5px;
  53. margin-bottom: 0px;
  54. width: 28px;
  55. }
  56. /*列表*/
  57. .s-list-box{ margin-left:200px; }
  58. /*商城筛选*/
  59. .opt{ height:40px; display:block; border:1px solid #EEE; box-shadow:1px 1px 1px #FCFCFC; }
  60. .opt dt{ padding:0 10px; float:left; }
  61. .opt dt a{ line-height:40px; font-size:14px; color:#333; }
  62. .opt dt .cur{ color:#f96768; }
  63. .opt dt .up, .opt dt .down{ width:9px; height:12px; display:inline-block; margin-left:4px; }
  64. .opt dt .up{ background:url(up.png) no-repeat; }
  65. .opt dt .down{ background:url(down.png) no-repeat; }
  66. .opt span{ float:left; font-size:14px; line-height:38px; color:#EEE; }
  67. /*列表部分*/
  68. .s-list{ width:760px; }
  69. .s-list ul{ width:760px; }
  70. .s-list ul li{ margin:20px 16px 20px; }
  71. @media screen and (min-width:1200px){
  72. .s-list{ width:920px; }
  73. .s-list ul{ width:936px; }
  74. .s-list ul li{ margin:20px 16px 20px 0; }
  75. }
  76. @media screen and (max-width:1200px){
  77. .s-list{ width:760px; }
  78. .s-list ul{ width:760px; }
  79. .s-list ul li{ margin:20px 16px 20px; }
  80. }
  81. .s-list ul li{ width:210px; padding:4px 4px 4px; float:left; }
  82. .s-list ul li:hover{ box-shadow:0 0 2px #DDD; }
  83. .s-list ul li img{ width:210px; height:168px; margin-bottom:10px; }
  84. .s-list ul li h3, .s-list ul li h6, .s-list ul li .price { padding:3px 3px; font-weight:normal; width:204px; }
  85. .s-list ul li h3{ font-size:16px; color:#333; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  86. .s-list ul li h6{ height:32px; line-height:150%; font-size:12px; color:#A3AAB6; overflow:hidden; }
  87. .s-list ul li .price i{ font-size:13px; color:#FF771F; font-style:normal; font-family:"Helvetica"; margin-right:3px; }
  88. .s-list ul li .price strong{ font-size:17px; color:#FF771F; font-weight:normal; }
  89. .s-list ul li .price span{ font-size:12px; color:#999; margin-left:10px; text-decoration:line-through; }
  90. /*.s-list ul li .add-cart button{ width:90px; height:28px; line-height:26px; background-color:#F9F9F9; border:1px solid #F3F3F3; border-radius:2px; color:#f96768; cursor:pointer; font-size:12px; }*/
  91. .s-list ul li .add-cart span{ line-height:30px; font-size:12px; float:right; color:#CCC; }
  92. /*详情*/
  93. .re-look{ display:none; }
  94. @media screen and (min-width:1200px) {
  95. .re-look{ display:block; }
  96. }
  97. /*商品参数*/
  98. .bdsharebuttonbox a{ color:#999; }
  99. .s-view{ width:580px; }
  100. .s-view h6{ font-weight:normal; }
  101. .s-view dl{ clear:both; padding:8px 0; overflow:hidden; }
  102. .s-view dt{ width:50px; float:left; line-height:32px; padding-left:10px; font-size:12px; color:#999; }
  103. .s-view dd{ float:left; line-height:32px; }
  104. .s-view .price{ width:100%; height:90px; margin-top:15px; background-color:#F9F9F9; }
  105. .s-view .price dl{ padding:5px 0; }
  106. .s-view .price i{ font-style:normal; font-family:Helvetica; }
  107. .s-view .buy, .s-view .add-card{ width:160px; height:36px; font-size:14px; border:1px solid #FF771F; cursor:pointer; border-radius:3px; }
  108. .s-view .buy{ background-color:#FFF9F5; color:#FF771F; }
  109. .s-view .add-card{ background-color:#FF771F; color:#FFF; }
  110. .s-view .alipay, .s-view .wxpay, .s-view .visa{ margin-left:10px; padding-left:20px; height:16px; display:inline-block; line-height:16px; color:#999; font-size:12px; }
  111. .s-view .alipay{ background:url(alipay.png) no-repeat; }
  112. .s-view .wxpay{ background:url(wxpay.png) no-repeat; }
  113. .s-view .visa{ background:url(visa.png) no-repeat; }
  114. .s-view .promise span{ float:left; font-size:14px; color:#DDD; margin:0 15px; }
  115. .chaoshitui, .suishitui, .zhuanye{ height:32px; float:left; padding-left:25px; color:#CCC; line-height:32px; font-size:14px; }
  116. .chaoshitui{ background:url(chaoshitui.png) no-repeat left center; }
  117. .suishitui{ background:url(suishitui.png) no-repeat left center; }
  118. .zhuanye{ background:url(zhuanyefuwu.png) no-repeat left center; }
  119. /*看了又看*/
  120. .re-look{ width:140px; }
  121. .re-look dt{ height:24px; background:url(EEE_dot.png) repeat-x center; text-align:center; }
  122. .re-look dt span{ line-height:24px; font-size:12px; color:#999; padding:0 5px; background-color:#FFF; }
  123. .re-look dd{ width:140px; height:140px; margin:5px 0; overflow:hidden; display:inline-block; position:relative; }
  124. .re-look dd img{ width:140px; vertical-align:middle; }
  125. .re-look dd span{ position:absolute; left:0; bottom:0; background-color:rgba(255,255,255,.5); color:#000; text-align:center; font-size:12px; width:140px; height:20px; line-height:20px; }
  126. /*在线客服*/
  127. .kefu-btn{ width:200px; background-color:#CCC; }
  128. .s-v-fl{ width:180px; margin-top:20px; display:block; padding:0 9px; border:1px solid #EEE; }
  129. .s-v-fl dt{ font-size:16px; color:#333; padding:15px 0; }
  130. .s-v-fl dd{ border-top:1px dotted #EEE; padding-left:10px; background:url(DDDx3_dot.png) no-repeat center left; height:38px; line-height:38px; }
  131. .s-v-fl dd a{ font-size:12px; color:#333; }
  132. /*商品介绍*/
  133. .s-tab{ border:1px solid #EEE; height:46px; }
  134. .s-tab li{ height:46px; padding:0 20px; float:left; line-height:46px; font-size:12px; color:#666; border-top:2px solid #FFF; cursor:pointer; }
  135. .s-tab .cli{ margin-top:-1px; border-top:2px solid #f96768; color:#f96768; }
  136. .s-con{ width:740px; margin-top:20px; overflow:hidden; }
  137. .v-title{ text-align:center; margin-top:30px; margin-bottom:20px; }
  138. .v-title span{ padding:3px 15px; background-color:#EEE; color:#AAA; margin:auto; font-size:1rem; border-radius:2px; }
  139. .v-syrq{ width:100%; }
  140. .v-syrq td{ border:none; text-align:center; }
  141. .v-syrq td img{ width:100px; height:100px; }
  142. .v-syrq td p{ font-size:14px; color:#333; margin-top:10px; }
  143. .v-view{ margin:10px 0; }
  144. .v-view h3{ width:100%; text-align:center; font-size:16px; color:#999; }
  145. .v-view table{ width:100%; border:none; margin-top:10px; margin-bottom:20px; }
  146. .v-view td{ height:30px; vertical-align:middle; border:1px solid #F6F6F6; padding:5px 10px; font-size:.8rem; }
  147. .v-tips{ font-size:14px; color:#666; line-height:160%; padding:10px; border:1px solid #F6F6F6; }
  148. /*购物车*/
  149. .cart-list td{ vertical-align:middle; padding:10px 5px; border-bottom:1px solid #EEE; }
  150. .cart-list td input{ vertical-align:middle; }
  151. .cart-list-total{ padding-left:5px; height:50px; }
  152. .cart-list-total .l{ line-height:50px; }
  153. .cart-list-total input{ vertical-align:middle; margin-right:5px; }
  154. .cart-list-total button{ width:160px; height:50px; background-color:#FE6B00; color:#FFF; border:none; font-size:16px; cursor:pointer; }
  155. /*订单详情*/
  156. .d-view{}
  157. .d-view .btn{ width:130px; height:32px; margin-top:15px; cursor:pointer; color:#FFF; background-color:#FF0000; border:none; }
  158. .d-view .o-rdo{ height:32px; line-height:32px; width:130px; }
  159. .d-view .fp-view{ border:1px dotted #DDD; border-radius:3px; padding:10px; overflow:hidden; margin-top:20px; }
  160. .d-view .fp-view h3{ font-size:14px; color:#f96768; }
  161. .d-view .fp-view dl{ clear:both; overflow:hidden; margin-top:10px; }
  162. .d-view .fp-view dt{ width:150px; line-height:30px; float:left; font-size:12px; color:#666; text-align:right; }
  163. .d-view .fp-view dd{ float:left; line-height:30px; font-size:12px; color:#666; }
  164. .d-view .fp-view dd .txt{ width:300px; height:28px; font-size:14px; color:#000; padding:0 3px; border:1px solid #CCC; border-radius:2px; }
  165. .d-view .alzf, .d-view .wxzf, .d-view .wyzf{ width:150px; height:40px; }
  166. .d-view .alzf{ background:url(d-view-alipay.jpg) no-repeat; }
  167. .d-view .wxzf{ background:url(d-view-wxpay.jpg) no-repeat; }
  168. .d-view .wyzf{ background:url(d-view-wypay.jpg) no-repeat; }
  169. .d-view-list{}
  170. .d-view-list dl{ margin-top:20px; }
  171. .d-view-list dt{ width:90%; line-height:30px; font-size:12px; text-align:right; float:left; }
  172. .d-view-list dd{ width:10%; line-height:30px; font-size:12px; text-align:right; float:left; }
  173. .d-view-list button{ float:right; width:160px; height:50px; background-color:#FE6B00; cursor:pointer; color:#FFF; border:none; font-size:20px; }
  174. .d-view-list em{ font-style:normal; }
  175. .d-view-list span{ line-height:50px; font-size:20px; margin-right:20px; float:right; }
  176. .d-view-list strong{ color:#FE6B00; }