goods-detail.css 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. .head-l-svg{
  2. display: inline-block;
  3. width: 25px;
  4. height: 25px;
  5. background: url("../img/svg/head-l.svg");
  6. margin-top: 10px;
  7. }
  8. .head-r-svg{
  9. display: inline-block;
  10. width: 25px;
  11. height: 25px;
  12. background: url("../img/svg/head-r.svg");
  13. margin-top: 10px;
  14. }
  15. .head-length {
  16. font-style: normal;
  17. font-size: 0.1rem;
  18. position: absolute;
  19. top: 5px;
  20. right: -6px;
  21. background: #f23030;
  22. color: #fff;
  23. line-height: initial;
  24. padding: 0px 4px;
  25. border-radius: 50px;
  26. }
  27. .swiper-slide img{
  28. width: 100%;
  29. }
  30. .swiper-pagination-bullet-active {
  31. opacity: 1;
  32. }
  33. .index-class{
  34. padding: 1.5rem 0.625rem;
  35. }
  36. .index-class .weui-flex__item{
  37. text-align: center;
  38. }
  39. .index-class .index-class-img{}
  40. .index-class .index-class-text{
  41. margin: 0;
  42. line-height: 2.5rem;
  43. color: #444;
  44. }
  45. .index-news{
  46. padding: 0.4rem 0.625rem;
  47. }
  48. .index-news .news-cont{
  49. position: relative;
  50. padding: 0 0.625rem;
  51. height: 30px;
  52. line-height: 30px;
  53. border-radius: 4px;
  54. overflow: hidden;
  55. }
  56. .index-news .news-cont strong{
  57. position: absolute;
  58. top: 0;
  59. left: 0.625rem;
  60. }
  61. .index-news .news-cont strong em{
  62. font-style: normal;
  63. font-size: 0.8rem;
  64. color: #fff;
  65. padding: 1px 2px 0;
  66. margin-left: 2px;
  67. border-radius: 2px;
  68. }
  69. .index-news .infoBox{
  70. display: inline-block;
  71. }
  72. .index-news .news-cont ul{
  73. list-style-type: none;
  74. margin: 0;
  75. }
  76. .index-news .news-cont ul li{
  77. line-height: 30px;
  78. }
  79. .index-news .news-cont ul li span{
  80. padding-left: 72px;
  81. word-break: break-all;
  82. white-space: nowrap;
  83. overflow: hidden;
  84. }
  85. .index-news .news-cont ul li span i{
  86. font-style: normal;
  87. font-size: 0.8rem;
  88. border: 1px solid #fe7900;
  89. color: #fe7900;
  90. border-radius: 2px;
  91. padding: 0 1px;
  92. margin-right: 5px;
  93. }
  94. .index-news .news-cont .news-more{
  95. position: absolute;
  96. top: 0;
  97. right: 0;
  98. display: inline-block;
  99. background: #fff;
  100. padding: 0 0.625rem;
  101. border-left: 1px solid #f2f2f2;
  102. }
  103. .index-seckill{}
  104. .index-seckill .seckill-hd{
  105. position: relative;
  106. height: 30px;
  107. padding: 0 0.625rem;
  108. margin-bottom: 0.5rem;
  109. }
  110. span.seckill-hd-title.theme-color {
  111. font-weight: bold;
  112. font-size: 1.25rem;
  113. }
  114. .index-seckill .seckill-hd strong{
  115. line-height: 30px;
  116. font-size: 0.8rem;
  117. }
  118. .index-seckill .seckill-hd #time {
  119. position: absolute;
  120. top: 0;
  121. left: 42%;
  122. line-height: 30px;
  123. }
  124. .seckill-hd #time span{
  125. padding: 0 3px;
  126. border: 1px solid #dedede;
  127. border-radius: 4px;
  128. font-size: 0.8rem;
  129. }
  130. .index-seckill .seckill-hd-r{
  131. position: absolute;
  132. right: 0.625rem;
  133. top: 0;
  134. line-height: 30px;
  135. font-size: 0.8rem;
  136. }
  137. .index-seckill .seckill-bd{
  138. width: 100%;
  139. overflow: hidden;
  140. }
  141. .index-seckill .seckill-bd .seckill-wares{}
  142. .index-seckill .seckill-bd .seckill-wares .seckill-ware{
  143. text-align: center;
  144. padding: 0.625rem;
  145. }
  146. .seckill-ware img{
  147. width: 100%;
  148. }
  149. .seckill-ware p{
  150. margin: 5px 0 0;
  151. font-size: 0.8rem;
  152. font-weight: bold;
  153. }
  154. .seckill-ware p strong{
  155. font-size: 1.25rem;
  156. }
  157. .seckill-ware del{
  158. font-size: 0.8rem;
  159. color: #999;
  160. }
  161. .index-show{
  162. width: 100%;
  163. }
  164. .index-show img{
  165. width: 100%;
  166. }
  167. .index-show .col-sm-12, .index-show .col-sm-4, .index-show .col-sm-6, .index-show .col-xs-12, .index-show .col-xs-4, .index-show .col-xs-6{
  168. padding: 0;
  169. }
  170. ul, ol, li{list-style-type: none;}
  171. .index-wares{
  172. width: 100%;
  173. }
  174. .index-wares .wares-title {
  175. line-height: 3rem;
  176. text-align: center;
  177. font-size: 1.3rem;
  178. margin-top: 0.625rem;
  179. }
  180. .index-wares .wares-title img{
  181. width: 100%;
  182. }
  183. .index-wares .wares-cont{
  184. margin: 0;
  185. padding: 0;
  186. background: #fff;
  187. }
  188. .index-wares .wares-cont .ware-box{
  189. width: 49.6%;
  190. float: left;
  191. padding-bottom: 5px;
  192. border-bottom: 1px solid #f4f4f4;
  193. }
  194. .index-wares .wares-cont .ware-box:nth-child(2n+1){
  195. border-right: 1px solid #f4f4f4;
  196. }
  197. .index-wares .wares-cont .ware-box .ware-img{
  198. position: relative;
  199. padding: 20px;
  200. }
  201. .index-wares .wares-cont .ware-box .ware-img img{
  202. width: 100%;
  203. }
  204. .index-wares .wares-cont .ware-box .ware-img .ware-vip{
  205. position: absolute;
  206. background: #ff6585;
  207. color: #fff;
  208. padding: 1px 7px;
  209. font-size: 0.8rem;
  210. bottom: 0;
  211. left: 0;
  212. }
  213. .index-wares .wares-cont .ware-box .ware-title{
  214. font-size: 1.2rem;
  215. line-height: 25px;
  216. margin: 0;
  217. word-break: break-all;
  218. white-space: nowrap;
  219. overflow: hidden;
  220. text-overflow: ellipsis;
  221. }
  222. .index-wares .wares-cont .ware-box .ware-des{
  223. margin: 0;
  224. line-height: 20px;
  225. font-size: 1rem;
  226. color: #bbbbbb;
  227. word-break: break-all;
  228. white-space: nowrap;
  229. overflow: hidden;
  230. text-overflow: ellipsis;
  231. }
  232. .index-wares .wares-cont .ware-box .ware-prince{
  233. font-size: 1.1rem;
  234. }
  235. .index-navs .weui-btn {
  236. border-radius: 2.5rem;
  237. height: 5rem;
  238. line-height: 5rem;
  239. color: #5A5A5A;
  240. border: 1px solid #5A5A5A;
  241. }
  242. /*优惠券页面*/
  243. .coupon-cont{
  244. padding: 1.5rem;
  245. }
  246. .coupon-cont img{width: 100%; margin-bottom: 1.5rem;}
  247. .weui-notice {
  248. margin: 1rem 15px 2rem;
  249. }
  250. .notice-header {
  251. height: 3rem;
  252. line-height: 3rem;
  253. font-size: 16px;
  254. font-weight: bold;
  255. }
  256. .notice-box {
  257. height: 365px;
  258. overflow: hidden;
  259. border: 1px solid #ccc;
  260. text-indent: .25rem;
  261. border-radius: 2px;
  262. }
  263. .notice-list .swiper-slide {
  264. overflow: hidden;
  265. }
  266. .notice-item {
  267. height: 30px;
  268. line-height: 30px;
  269. font-size: 16px;
  270. }
  271. .notice-item .name {
  272. width: 120px;
  273. text-overflow: ellipsis;
  274. white-space: nowrap;
  275. overflow: hidden;
  276. }
  277. .notice-item .time {
  278. width: 80px;
  279. }
  280. .notice-item span {
  281. margin-right: 1rem;
  282. display: inline-block;
  283. vertical-align: middle;
  284. }
  285. .weui-detail {
  286. margin: 0 .5rem;
  287. font-size: 1.5rem;
  288. }
  289. .weui-detail .name {
  290. line-height: 5rem;
  291. font-size: 1.5rem;
  292. }
  293. .weui-detail .price {
  294. font-weight: bold;
  295. }
  296. .weui-detail .stock {
  297. float: right;
  298. }
  299. .weui-detail .attr {
  300. line-height: 3rem;
  301. margin: 1rem auto 2rem;
  302. /*padding-bottom: 1rem;*/
  303. /*border-bottom: 1px solid #777;*/
  304. }
  305. .weui-btn-area.op {
  306. margin-top: 2rem;
  307. position: fixed;
  308. bottom: 0rem;
  309. width: 100%;
  310. margin: 0;
  311. border-top: 1px solid #ccc;
  312. border-bottom: 1px solid #ccc;
  313. }
  314. .weui-btn-area.op a {
  315. float: left;
  316. width: 50%;
  317. padding: 0;
  318. margin-top: 0;
  319. border-radius: 0;
  320. background: #fff;
  321. }
  322. .weui-btn-area.op .total {
  323. font-weight: bold;
  324. }
  325. .weui-btn-area.op a:after {
  326. width: 0;
  327. border: none;
  328. }
  329. .weui-btn-area.op .exchange:after {
  330. border: 1px solid rgba(0,0,0,.2);
  331. }
  332. .content .title {
  333. height: 36px;
  334. background: #eee;
  335. }
  336. .content .title span {
  337. display: inline-block;
  338. min-width: 6rem;
  339. background-color: #c994ff;
  340. height: 36px;
  341. text-align: center;
  342. line-height: 36px;
  343. }
  344. .content .detail {
  345. padding: 1rem .5rem;
  346. }
  347. .swiper-wrapper {
  348. border-bottom: 1px solid #eee;
  349. }
  350. .weui-btn-area.op a.exchange {
  351. background: #956bff;
  352. color: #fff;
  353. border: 1px solid #956bff;
  354. }