detail.css 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142
  1. /* 面包屑和店铺信息 */
  2. .hid {
  3. display: block;
  4. height: 100%;
  5. overflow: hidden;
  6. }
  7. .detail .crumbs-shop {
  8. width: 100%;
  9. background: #f7f7f7;
  10. }
  11. .detail .crumbs-shop .content {
  12. display: flex;
  13. }
  14. .detail .crumbs-shop .crumbs {
  15. flex: 1;
  16. padding: 16px 0 14px;
  17. }
  18. .detail .crumbs-shop .shop-box {
  19. display: flex;
  20. height: 16px;
  21. line-height: 16px;
  22. padding: 16px 0 14px;
  23. }
  24. .detail .crumbs-shop .shop-box .shop {
  25. display: block;
  26. height: 16px;
  27. line-height: 16px;
  28. }
  29. .detail .crumbs-shop .shop-box .shop .self {
  30. background: #e1251b;
  31. color: #fff;
  32. padding: 1px 3px;
  33. display: inline-block;
  34. height: 14px;
  35. line-height: 14px;
  36. border-radius: 2px;
  37. margin-right: 5px;
  38. vertical-align: top;
  39. }
  40. .detail .crumbs-shop .shop-box .shop .shop-icon {
  41. width: 14px;
  42. height: 14px;
  43. vertical-align: top;
  44. display: inline-block;
  45. margin-top: 1px;
  46. margin-right: 2px;
  47. background: url(../images/icons.png) no-repeat -28px -458px;
  48. font-size: 0;
  49. }
  50. .detail .crumbs-shop .shop-box .shop:hover .shop-icon {
  51. background-position: -9px -458px;
  52. }
  53. .detail .crumbs-shop .shop-box .shop:hover {
  54. color: #e1251b;
  55. }
  56. .detail .crumbs-shop .shop-box .favourite {
  57. display: inline-block;
  58. cursor: pointer;
  59. margin: 0 15px;
  60. }
  61. .detail .crumbs-shop .shop-box .favourite:hover {
  62. color: #e1251b;
  63. }
  64. .detail .crumbs-shop .shop-box .favourite .favourite-icon {
  65. vertical-align: top;
  66. display: inline-block;
  67. width: 16px;
  68. height: 16px;
  69. background: url(../images/icons.png) no-repeat 0 -135px;
  70. margin-right: 5px;
  71. }
  72. .detail .crumbs-shop .shop-box .favourite:hover .favourite-icon,
  73. .detail .crumbs-shop .shop-box .favourite.active .favourite-icon {
  74. background-position: -21px -135px;
  75. }
  76. /* 面包屑和店铺信息 end */
  77. /* 详情上部分 */
  78. .detail .detail-up {
  79. display: flex;
  80. margin-top: 20px;
  81. }
  82. /* 商品图片 */
  83. .detail .detail-up .img {
  84. width: 450px;
  85. margin-right: 40px;
  86. }
  87. .detail .detail-up .img .big-img {
  88. width: 100%;
  89. height: 450px;
  90. text-align: center;
  91. line-height: 430px;
  92. font-size: 0;
  93. position: relative;
  94. }
  95. .prod-video {
  96. background-color: #000;
  97. }
  98. .detail .detail-up .img .oper-btn {
  99. position: absolute;
  100. display: flex;
  101. justify-content: center;
  102. cursor: pointer;
  103. border-radius: 50%;
  104. background: rgba(0, 0, 0, 0.09);
  105. width: 50px;
  106. height: 50px;
  107. top: 50%;
  108. left: 50%;
  109. transform: translate(-50%, -50%);
  110. opacity: 0.6;
  111. }
  112. .detail .detail-up .img .oper-btn:hover {
  113. opacity: 1;
  114. }
  115. .close-btn {
  116. position: absolute;
  117. display: flex;
  118. justify-content: center;
  119. cursor: pointer;
  120. border-radius: 50%;
  121. width: 20px;
  122. height: 20px;
  123. top: 20px;
  124. right: 10px;
  125. transform: translateX(-50%);
  126. }
  127. .detail .detail-up .img .oper-btn img {
  128. width: 100%;
  129. height: 100%;
  130. }
  131. .detail .detail-up .img .big-img img {
  132. max-width: 100%;
  133. max-height: 100%;
  134. vertical-align: middle;
  135. }
  136. .detail .detail-up .img .small-img {
  137. position: relative;
  138. }
  139. .detail .detail-up .img .small-img .left-arrow,
  140. .detail .detail-up .img .small-img .right-arrow {
  141. position: absolute;
  142. top: 0;
  143. display: block;
  144. width: 35px;
  145. height: 68px;
  146. line-height: 64px;
  147. font-size: 40px;
  148. color: #ccc;
  149. font-family: Consolas;
  150. cursor: pointer;
  151. -moz-transition: all 0.2s;
  152. -webkit-transition: all 0.2s;
  153. -o-transition: all 0.2s;
  154. transition: all 0.2s;
  155. }
  156. .detail .detail-up .img .small-img .left-arrow {
  157. left: 0;
  158. text-align: left;
  159. }
  160. .detail .detail-up .img .small-img .right-arrow {
  161. right: 0;
  162. text-align: right;
  163. }
  164. .detail .detail-up .img .small-img .left-arrow:hover,
  165. .detail .detail-up .img .small-img .right-arrow:hover {
  166. color: #999;
  167. }
  168. .detail .detail-up .img .small-img .limit {
  169. color: #eee;
  170. }
  171. .detail .detail-up .img .small-img .limit:hover {
  172. color: #eee;
  173. }
  174. .detail .detail-up .img .small-img .img-box {
  175. margin: 15px 35px 0;
  176. width: 380px;
  177. height: 68px;
  178. overflow: hidden;
  179. position: relative;
  180. }
  181. .detail .detail-up .img .small-img .img-box .offset-box {
  182. position: absolute;
  183. left: 0;
  184. -webkit-transition: all 0.3s;
  185. -moz-transition: all 0.3s;
  186. transition: all 0.3s;
  187. }
  188. .detail .detail-up .img .small-img .img-box .item {
  189. display: inline-block;
  190. width: 64px;
  191. height: 64px;
  192. font-size: 0;
  193. line-height: 64px;
  194. text-align: center;
  195. border: 2px solid #fff;
  196. margin-left: 10px;
  197. }
  198. .detail .detail-up .img .small-img .img-box .item:first-child {
  199. margin-left: 0;
  200. }
  201. .detail .detail-up .img .small-img .img-box .item.active,
  202. .detail .detail-up .img .small-img .img-box .item:hover {
  203. border: 2px solid #e1251b;
  204. }
  205. .detail .detail-up .img .small-img .img-box .item img {
  206. max-width: 100%;
  207. max-height: 100%;
  208. vertical-align: middle;
  209. }
  210. /* 商品图片 end */
  211. /* 商品详情 */
  212. .detail .detail-up .info {
  213. flex: 1;
  214. }
  215. .detail .detail-up .info .name-box {
  216. margin-bottom: 15px;
  217. margin-top: 5px;
  218. }
  219. .detail .detail-up .info .name-box .name {
  220. width: 710px;
  221. font-size: 24px;
  222. line-height: 28px;
  223. text-overflow: ellipsis;
  224. display: -webkit-box;
  225. -webkit-line-clamp: 3;
  226. -webkit-box-orient: vertical;
  227. position: relative;
  228. word-wrap: break-word;
  229. word-break: break-all;
  230. }
  231. .detail .detail-up .info .name-box .des {
  232. margin-top: 7px;
  233. color: #999;
  234. line-height: 18px;
  235. font-size: 12px;
  236. padding-right:15px
  237. }
  238. .detail .detail-up .info .name-box .des .brief {
  239. max-width: 550px;
  240. line-clamp: 2;
  241. -webkit-line-clamp: 2;
  242. display: -webkit-box;
  243. -webkit-box-orient: vertical;
  244. overflow: hidden;
  245. word-break: break-all;
  246. text-overflow: ellipsis;
  247. }
  248. .detail .detail-up .info .name-box .des .discount-info {
  249. color: #999;
  250. margin-top:5px;
  251. max-width: 550px;
  252. line-clamp: 2;
  253. -webkit-line-clamp: 2;
  254. display: -webkit-box;
  255. -webkit-box-orient: vertical;
  256. overflow: hidden;
  257. word-break: break-all;
  258. text-overflow: ellipsis;
  259. }
  260. .detail .detail-up .info .name-box .des .discount-info .go-discount {
  261. color: #005ea7;
  262. }
  263. .detail .detail-up .info .name-box .des .discount-info .go-discount:hover {
  264. text-decoration: underline;
  265. }
  266. .detail .detail-up .info .name-box .des .discount-info .go-discount .arr {
  267. font-family: Consolas;
  268. }
  269. .detail .detail-up .info .activity {
  270. height: 40px;
  271. line-height: 38px;
  272. display: flex;
  273. padding: 0 15px 0 0;
  274. color: #fff;
  275. background: -webkit-linear-gradient(left, #f53e00, #e1251b);
  276. background: -o-linear-gradient(right, #f53e00, #e1251b);
  277. background: -moz-linear-gradient(right, #f53e00, #e1251b);
  278. background: linear-gradient(to right, #f53e00, #e1251b);
  279. position: relative;
  280. border-bottom: 1px solid #eb6060;
  281. }
  282. .detail .detail-up .info .activity .name {
  283. flex: 1;
  284. font-size: 16px;
  285. padding-left: 50px;
  286. position: relative;
  287. margin-right: 20px;
  288. word-break: break-word;
  289. display: -webkit-box;
  290. -webkit-box-orient: vertical;
  291. -webkit-line-clamp: 1;
  292. overflow: hidden;
  293. text-overflow: ellipsis;
  294. }
  295. .detail .detail-up .info .activity .name::before {
  296. position: absolute;
  297. left: 0;
  298. top: 0;
  299. display: block;
  300. width: 40px;
  301. height: 40px;
  302. content: ' ';
  303. background: url(../images/icons.png) no-repeat;
  304. }
  305. .detail .detail-up .info .activity .name.flash-sale::before {
  306. background-position: -65px -182px;
  307. }
  308. .detail .detail-up .info .activity .name.group-buy::before {
  309. background-position: -10px -182px;
  310. }
  311. .detail .detail-up .info .activity .limit .time {
  312. font-family: arial;
  313. }
  314. .detail .detail-up .info .price-box {
  315. background: #f9f9f9;
  316. border-top: 1px dotted #eee;
  317. border-bottom: 1px dotted #eee;
  318. padding: 0 0 13px;
  319. line-height: 24px;
  320. margin-top: -1px;
  321. margin-bottom: 20px;
  322. }
  323. .detail .detail-up .info .price-box .item {
  324. display: flex;
  325. margin-top: 15px;
  326. }
  327. .detail .detail-up .info .price-box .discount {
  328. align-items: baseline;
  329. }
  330. .detail .detail-up .info .price-box .item .tit {
  331. margin: 0 15px;
  332. color: #999;
  333. }
  334. .detail .detail-up .info .price-box .item .con {
  335. flex: 1;
  336. }
  337. .detail .detail-up .info .price-box .item .con.pre-sale-red {
  338. color: #e43130;
  339. }
  340. .detail .detail-up .info .price-box .item.goods-price {
  341. height: 30px;
  342. line-height: 35px;
  343. }
  344. .detail .detail-up .info .price-box .item.goods-price .con {
  345. display: flex;
  346. }
  347. .detail .detail-up .info .price-box .item.goods-price .con .price {
  348. font-size: 18px;
  349. height: 30px;
  350. line-height: 30px;
  351. display: flex;
  352. align-items: baseline;
  353. }
  354. .detail .detail-up .info .price-box .item.goods-price .con .price .big {
  355. font-size: 26px;
  356. }
  357. .detail .detail-up .info .price-box .item.goods-price .con .old-price {
  358. font-family: arial;
  359. color: #999;
  360. text-decoration: line-through;
  361. margin-left: 10px;
  362. }
  363. .detail .detail-up .info .price-box .item.coupons .con {
  364. display: flex;
  365. flex-wrap: wrap;
  366. }
  367. .detail .detail-up .info .price-box .item.coupons .con .conpon {
  368. display: inline-block;
  369. margin-right: 12px;
  370. position: relative;
  371. height: 16px;
  372. line-height: 16px;
  373. text-align: center;
  374. border-top: 1px solid #e1251b;
  375. border-bottom: 1px solid #e1251b;
  376. padding: 0 10px 0 12px;
  377. background: #ffdedf;
  378. cursor: pointer;
  379. color: #e1251b;
  380. font-family: arial;
  381. -moz-transition: all 0.2s;
  382. -webkit-transition: all 0.2s;
  383. -o-transition: all 0.2s;
  384. transition: all 0.2s;
  385. }
  386. .detail .detail-up .info .price-box .item.coupons .con .conpon:hover {
  387. background: #fff;
  388. }
  389. .detail .detail-up .info .price-box .item.coupons .con .conpon::before,
  390. .detail .detail-up .info .price-box .item.coupons .con .conpon::after {
  391. position: absolute;
  392. top: -1px;
  393. display: block;
  394. height: 18px;
  395. width: 2px;
  396. content: ' ';
  397. background: url(../images/icons.png) no-repeat 0 -453px;
  398. }
  399. .detail .detail-up .info .price-box .item.coupons .con .conpon::before {
  400. left: 0;
  401. background-position: -2px -453px;
  402. }
  403. .detail .detail-up .info .price-box .item.coupons .con .conpon::after {
  404. right: -2px;
  405. }
  406. .detail .detail-up .info .price-box .item.coupons .con .more {
  407. color: #999;
  408. }
  409. .detail .detail-up .info .price-box .item.coupons .con .more:hover {
  410. color: #e1251b;
  411. }
  412. .detail .detail-up .info .price-box .item.coupons .con .arrow {
  413. font-family: Consolas;
  414. }
  415. .detail .detail-up .info .price-box .item.discount .con .discount-item {
  416. display: flex;
  417. margin-bottom: 5px;
  418. align-items: center;
  419. flex-wrap: wrap;
  420. line-height: 24px;
  421. }
  422. .detail .detail-up .info .price-box .item.discount .con .discount-item .type {
  423. margin-right: 5px;
  424. padding: 1px 3px;
  425. border: 1px solid #e1251b;
  426. color: #e1251b;
  427. line-height: 14px;
  428. height: 14px;
  429. }
  430. .detail .detail-up .info .price-box .item.discount .con .discount-item .packge-item {
  431. display: flex;
  432. align-items: center;
  433. margin-left: 10px;
  434. margin-right: 10px;
  435. }
  436. .detail .detail-up .info .price-box .item.discount .con .discount-item .packge-item img {
  437. width: 29px;
  438. height: 29px;
  439. margin-right: 5px;
  440. border: 1px solid #f2f2f2;
  441. }
  442. .detail .detail-up .info .price-box .item.discount .con .discount-item .packge-item .count {
  443. font-size: 12px;
  444. display: flex;
  445. align-items: center;
  446. color: #999999;
  447. }
  448. .detail .detail-up .info .price-box .item.discount .con .discount-item .text {
  449. margin: 0 10px 0 5px;
  450. max-width: 500px;
  451. display: -webkit-box;
  452. -webkit-box-orient: vertical;
  453. -webkit-line-clamp: 1;
  454. overflow: hidden;
  455. text-overflow: ellipsis;
  456. word-break: keep-all;
  457. }
  458. .detail .detail-up .info .price-box .item.discount .con .discount-item .det {
  459. color: #999;
  460. }
  461. .detail
  462. .detail-up
  463. .info
  464. .price-box
  465. .item.discount
  466. .con
  467. .discount-item
  468. .det
  469. .arr {
  470. font-family: Consolas;
  471. }
  472. .detail
  473. .detail-up
  474. .info
  475. .price-box
  476. .item.discount
  477. .con
  478. .discount-item
  479. .det:hover {
  480. color: #e1251b;
  481. }
  482. .detail
  483. .detail-up
  484. .info
  485. .price-box
  486. .item.discount
  487. .con
  488. .discount-item.item-box {
  489. display: inline-block;
  490. }
  491. .detail
  492. .detail-up
  493. .info
  494. .price-box
  495. .item.discount
  496. .con
  497. .discount-item.item-box
  498. .text,
  499. .detail
  500. .detail-up
  501. .info
  502. .price-box
  503. .item.discount
  504. .con
  505. .discount-item.item-box
  506. .det {
  507. display: none;
  508. }
  509. .detail
  510. .detail-up
  511. .info
  512. .price-box
  513. .item.discount
  514. .con:hover
  515. .discount-item.item-box {
  516. display: flex;
  517. }
  518. .detail
  519. .detail-up
  520. .info
  521. .price-box
  522. .item.discount
  523. .con:hover
  524. .discount-item.item-box
  525. .text,
  526. .detail
  527. .detail-up
  528. .info
  529. .price-box
  530. .item.discount
  531. .con:hover
  532. .discount-item.item-box
  533. .det {
  534. display: block;
  535. }
  536. .detail .detail-up .info .sku-box .items {
  537. display: flex;
  538. margin-top: 10px;
  539. }
  540. .detail .detail-up .info .sku-box .items .tit {
  541. margin: 0 15px;
  542. color: #999;
  543. display: block;
  544. line-height: 30px;
  545. word-break: break-all; /* 解决数字不换行 */
  546. width: 5em; /* 5个字的大小 */
  547. }
  548. .detail .detail-up .info .sku-box .items .con {
  549. flex: 1;
  550. display: flex;
  551. flex-wrap: wrap;
  552. }
  553. .detail .detail-up .info .sku-box .items .con .item {
  554. display: inline-block;
  555. border: 1px solid #ddd;
  556. position: relative;
  557. margin-right: 10px;
  558. margin-bottom: 10px;
  559. vertical-align: middle;
  560. -moz-transition: all 0.2s;
  561. -webkit-transition: all 0.2s;
  562. -o-transition: all 0.2s;
  563. transition: all 0.2s;
  564. cursor: pointer;
  565. }
  566. .detail .detail-up .info .sku-box .items .con .item.not-optional {
  567. border: 1px dashed #bbb;
  568. color: #bbb;
  569. }
  570. .detail .detail-up .info .sku-box .items .con .item.active,
  571. .detail .detail-up .info .sku-box .items .con .item:hover {
  572. border: 1px solid #e1251b;
  573. color: #e1251b;
  574. }
  575. .detail .detail-up .info .sku-box .items.sku-img .tit {
  576. line-height: 52px;
  577. }
  578. .detail .detail-up .info .sku-box .items.sku-img .con .item {
  579. width: 50px;
  580. height: 50px;
  581. font-size: 0;
  582. line-height: 50px;
  583. }
  584. .detail .detail-up .info .sku-box .items.sku-img .con .item img {
  585. width: 100%;
  586. height: 100%;
  587. vertical-align: middle;
  588. }
  589. .detail .detail-up .info .sku-box .items.sku-text .con .item {
  590. padding: 0 16px;
  591. line-height: 28px;
  592. height: 28px;
  593. }
  594. .detail .detail-up .info .sku-box .items .con .goods-number {
  595. height: 30px;
  596. }
  597. .detail .detail-up .info .sku-box .items .con .goods-number .reduce,
  598. .detail .detail-up .info .sku-box .items .con .goods-number .increase {
  599. display: inline-block;
  600. vertical-align: top;
  601. width: 30px;
  602. height: 30px;
  603. background: #e9e9e9;
  604. font-size: 22px;
  605. text-align: center;
  606. line-height: 26px;
  607. color: #999;
  608. cursor: pointer;
  609. }
  610. .detail .detail-up .info .sku-box .items .con .goods-number .limit {
  611. cursor: not-allowed;
  612. color: #ccc;
  613. }
  614. .detail .detail-up .info .sku-box .items .con .goods-number .number {
  615. border: 0;
  616. width: 60px;
  617. height: 30px;
  618. text-align: center;
  619. font-family: arial;
  620. vertical-align: top;
  621. }
  622. .detail .detail-up .info .btns {
  623. margin-top: 30px;
  624. padding-left: 15px;
  625. display: flex;
  626. }
  627. .detail .detail-up .info .btns .buy-now,
  628. .detail .detail-up .info .btns .add-cart,
  629. .detail .detail-up .info .btns .collect,
  630. .detail .detail-up .info .btns .collected,
  631. .detail .detail-up .info .btns .shortage {
  632. height: 46px;
  633. line-height: 46px;
  634. padding: 0 50px;
  635. font-size: 16px;
  636. border-radius: 2px;
  637. }
  638. .detail .detail-up .info .btns .buy-now {
  639. background: #e1251b;
  640. color: #fff;
  641. height: 48px;
  642. line-height: 48px;
  643. }
  644. .detail .detail-up .info .btns .buy-now:hover {
  645. opacity: 0.9;
  646. }
  647. .detail .detail-up .info .btns .add-cart {
  648. margin-left: 10px;
  649. background: #ffdedf;
  650. border: 1px solid #e1251b;
  651. color: #e1251b;
  652. }
  653. .detail .detail-up .info .btns .add-cart:hover {
  654. background: #fff;
  655. }
  656. .detail .detail-up .info .btns .add-cart-group {
  657. padding: 0 22px;
  658. }
  659. .detail .detail-up .info .btns .collect,
  660. .detail .detail-up .info .btns .collected {
  661. border: 1px solid #ddd;
  662. padding: 0 30px;
  663. margin-left: 10px;
  664. }
  665. .detail .detail-up .info .btns .collect .icon {
  666. display: inline-block;
  667. width: 16px;
  668. height: 16px;
  669. vertical-align: top;
  670. margin-right: 10px;
  671. margin-top: 16px;
  672. background: url(../images/icons.png) no-repeat 0 -156px;
  673. }
  674. .detail .detail-up .info .btns .collected .icon {
  675. display: inline-block;
  676. width: 16px;
  677. height: 16px;
  678. vertical-align: top;
  679. margin-right: 10px;
  680. margin-top: 16px;
  681. background: url(../images/icons.png) no-repeat -21px -156px;
  682. }
  683. .detail .detail-up .info .btns .collect.active .icon {
  684. background-position: -21px -156px;
  685. }
  686. .detail .detail-up .info .btns .shortage {
  687. height: 48px;
  688. line-height: 48px;
  689. background: #f7f7f7;
  690. color: #999;
  691. cursor: not-allowed;
  692. }
  693. /* 拼团按钮 */
  694. .detail .detail-up .info .group-btn .build-group,
  695. .detail .detail-up .info .group-btn .alone-group {
  696. display: block;
  697. position: relative;
  698. height: 48px;
  699. padding: 0 20px;
  700. color: #fff;
  701. text-align: center;
  702. font-size: 14px;
  703. font-weight: 600;
  704. border-radius: 2px;
  705. min-width: 90px;
  706. }
  707. .detail .detail-up .info .group-btn .en,
  708. .detail .detail-up .info .group-btn .en {
  709. padding: 0 10px;
  710. }
  711. .detail .detail-up .info .group-btn .alone-group:hover {
  712. opacity: 0.9;
  713. }
  714. .detail .detail-up .info .group-btn .build-group {
  715. background: #e1251b;
  716. }
  717. .detail .detail-up .info .group-btn .alone-group {
  718. background: #85c360;
  719. margin-left: 10px;
  720. }
  721. .detail .detail-up .info .group-btn .alone-group.cannotbuy {
  722. background: #bbb;
  723. }
  724. .detail .detail-up .info .group-btn .group-price {
  725. display: block;
  726. line-height: 14px;
  727. margin-top: 9px;
  728. }
  729. .detail .detail-up .info .group-btn .build-group .group-text {
  730. display: block;
  731. line-height: 14px;
  732. margin-top: 3px;
  733. }
  734. .detail .detail-up .info .group-btn .build-group .group-code {
  735. display: none;
  736. position: absolute;
  737. left: 0;
  738. top: 58px;
  739. width: 130px;
  740. box-sizing: border-box;
  741. border: 1px solid #eee;
  742. background: #fff;
  743. box-shadow: 0 0 3px rgba(0, 0, 0, 0.07);
  744. }
  745. .detail .detail-up .info .group-btn .build-group:hover .group-code {
  746. display: block;
  747. }
  748. .detail .detail-up .info .group-btn .build-group .group-code::before,
  749. .detail .detail-up .info .group-btn .build-group .group-code::after {
  750. position: absolute;
  751. left: 20px;
  752. display: block;
  753. width: 0;
  754. height: 0;
  755. border: 5px solid transparent;
  756. content: ' ';
  757. }
  758. .detail .detail-up .info .group-btn .build-group .group-code::before {
  759. top: -11px;
  760. border-bottom: 5px solid #e4e4e4;
  761. }
  762. .detail .detail-up .info .group-btn .build-group .group-code::after {
  763. top: -10px;
  764. border-bottom: 5px solid #f5f5f5;
  765. }
  766. .detail .detail-up .info .group-btn .build-group .group-code .text {
  767. display: block;
  768. width: 100%;
  769. height: 30px;
  770. line-height: 30px;
  771. padding-left: 10px;
  772. box-sizing: border-box;
  773. background: #f5f5f5;
  774. font-size: 13px;
  775. font-family: arial;
  776. font-weight: 400;
  777. text-align: left;
  778. color: #666;
  779. }
  780. .detail .detail-up .info .group-btn .build-group .group-code .code-img {
  781. display: block;
  782. margin: 10px auto;
  783. width: 110px;
  784. height: 110px;
  785. font-size: 0;
  786. }
  787. .detail .detail-up .info .group-btn .build-group .group-code .display-none {
  788. display: none !important;
  789. }
  790. .detail .detail-up .info .group-btn .build-group .group-code .code-img img {
  791. width: 100%;
  792. height: 100%;
  793. }
  794. /* 拼团按钮 end */
  795. /* 商品详情 end */
  796. /* 详情上部分 end */
  797. /* 详情下部分 */
  798. .detail .detail-down {
  799. display: flex;
  800. margin-top: 30px;
  801. }
  802. .detail .detail-down .introduce-box {
  803. flex: 1;
  804. margin-right: 20px;
  805. max-width: 938px;
  806. }
  807. .detail .detail-down .introduce-box.packages{
  808. margin-right: 0;
  809. max-width: 1200px;
  810. }
  811. .detail .detail-down .introduce-box .tab {
  812. display: flex;
  813. flex-wrap: wrap;
  814. background: #f9f9f9;
  815. border: 1px solid #eee;
  816. border-bottom-color: #e1251b;
  817. }
  818. .detail .detail-down .introduce-box .tab .item {
  819. height: 40px;
  820. line-height: 40px;
  821. padding: 0 30px;
  822. font-size: 14px;
  823. -moz-transition: all 0.2s;
  824. -webkit-transition: all 0.2s;
  825. -o-transition: all 0.2s;
  826. transition: all 0.2s;
  827. cursor: pointer;
  828. margin-left: -1px;
  829. margin-top: -1px;
  830. }
  831. .detail .detail-down .introduce-box .tab .item:hover {
  832. color: #e1251b;
  833. }
  834. .detail .detail-down .introduce-box .tab .item.active {
  835. background: #e1251b;
  836. color: #fff;
  837. }
  838. .detail .detail-down .introduce-box .tab .item .number {
  839. color: #e1251b;
  840. font-family: arial;
  841. }
  842. .detail .detail-down .introduce-box .tab .item.active .number {
  843. color: #fff;
  844. }
  845. /* 商品介绍 */
  846. .detail .detail-down .introduce-box .introduce {
  847. margin-top: 30px;
  848. }
  849. .detail .detail-down .introduce-box .introduce img {
  850. display: block;
  851. margin: auto;
  852. max-width: 100%;
  853. }
  854. /* 商品介绍 end */
  855. /* 套餐 */
  856. .detail .detail-down .introduce-box.packages .packages-content {
  857. margin-top: 20px;
  858. display: flex;
  859. }
  860. .detail .detail-down .introduce-box.packages .packages-content .add-icon {
  861. display: flex;
  862. align-items: center;
  863. justify-content: center;
  864. width: 34px;
  865. height: 34px;
  866. margin: 43px 40px 0;
  867. }
  868. .detail .detail-down .introduce-box.packages .packages-content .add-icon::before {
  869. content: '';
  870. position: absolute;
  871. width: 26px;
  872. border-top: 4px solid #ddd;
  873. }
  874. .detail .detail-down .introduce-box.packages .packages-content .add-icon::after {
  875. content: '';
  876. position: absolute;
  877. height: 26px;
  878. border-left: 4px solid #ddd;
  879. }
  880. .detail .detail-down .introduce-box.packages .packages-content .mean-icon {
  881. display: inline-block;
  882. width: 34px;
  883. height: 34px;
  884. margin: 53px 40px 0 0;
  885. }
  886. .detail .detail-down .introduce-box.packages .packages-content .mean-icon::before {
  887. content: '';
  888. position: absolute;
  889. width: 26px;
  890. border-top: 4px solid #ddd;
  891. }
  892. .detail .detail-down .introduce-box.packages .packages-content .mean-icon::after {
  893. content: '';
  894. position: absolute;
  895. margin-top: 10px;
  896. width: 26px;
  897. border-bottom: 4px solid #ddd;
  898. /* transform: rotate(45deg); */
  899. }
  900. .detail .detail-down .introduce-box.packages .packages-content .left{
  901. width: 938px;
  902. margin-right: 20px;
  903. display: flex;
  904. }
  905. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box {
  906. display: flex;
  907. flex-direction: column;
  908. justify-content: space-between;
  909. width: 120px;
  910. height: 200px;
  911. }
  912. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box.necessary {
  913. margin-right: 70px;
  914. }
  915. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box.necessary:last-child {
  916. margin-right: 0;
  917. }
  918. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .img{
  919. width: 120px;
  920. height: 120px;
  921. box-sizing: border-box;
  922. border: 1px solid #f2f2f2;
  923. }
  924. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .prod-name{
  925. margin-top: 10px;
  926. font-size: 14px;
  927. font-weight: 400;
  928. line-height: 19px;
  929. display: -webkit-box;
  930. -webkit-box-orient: vertical;
  931. -webkit-line-clamp: 2;
  932. overflow: hidden;
  933. color: #333333;
  934. }
  935. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .checkbox {
  936. margin-right: 4px;
  937. }
  938. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .price{
  939. margin-top: 10px;
  940. font-size: 14px;
  941. font-weight: 400;
  942. color: #E1251B;
  943. display: flex;
  944. align-items: center;
  945. justify-content: space-between;
  946. }
  947. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .price .price-count-con{
  948. display: flex;
  949. align-items: center;
  950. flex: 1;
  951. }
  952. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .price .price-count-con > span{
  953. flex: 1;
  954. display: -webkit-box;
  955. -webkit-line-clamp: 1;
  956. -webkit-box-orient: vertical;
  957. word-break: break-all;
  958. overflow: hidden;
  959. text-overflow: ellipsis;
  960. }
  961. .detail .detail-down .introduce-box.packages .packages-content .left .prod-box .price .combo-count {
  962. margin-left: auto;
  963. width: 40px;
  964. color: #999;
  965. text-align: right;
  966. }
  967. .detail .detail-down .introduce-box.packages .packages-content .right{
  968. width: 240px;
  969. display: flex;
  970. }
  971. .detail .detail-down .introduce-box.packages .packages-content .right .item {
  972. margin-top: 12px;
  973. }
  974. .detail .detail-down .introduce-box.packages .packages-content .right .settlement-box{
  975. width: 140px;
  976. }
  977. .detail .detail-down .introduce-box.packages .packages-content .right .settlement-box .text{
  978. font-size: 14px;
  979. font-weight: 400;
  980. line-height: 19px;
  981. color: #666666;
  982. }
  983. .detail .detail-down .introduce-box.packages .packages-content .right .settlement-box .price-text {
  984. font-size: 16px;
  985. font-weight: bold;
  986. line-height: 21px;
  987. color: #E1251B;
  988. }
  989. .detail .detail-down .introduce-box.packages .packages-content .right .settlement-box .btn {
  990. width: 104px;
  991. height: 33px;
  992. background: #E1251B;
  993. font-size: 14px;
  994. font-weight: 400;
  995. line-height: 19px;
  996. color: #FFFFFF;
  997. display: flex;
  998. justify-content: center;
  999. align-items:center;
  1000. cursor: pointer;
  1001. }
  1002. .detail .detail-down .introduce-box.packages .packages-content .right .settlement-box .btn-add-cart {
  1003. width: 104px;
  1004. height: 33px;
  1005. background: #FFECEC;
  1006. border: 1px solid #E1251B;
  1007. font-size: 14px;
  1008. font-weight: 400;
  1009. line-height: 19px;
  1010. color: #E1251B;
  1011. display: flex;
  1012. justify-content: center;
  1013. align-items:center;
  1014. cursor: pointer;
  1015. box-sizing: border-box;
  1016. }
  1017. /* 套餐end */
  1018. /* 商品评论 */
  1019. .detail .detail-down .introduce-box .comment {
  1020. margin-top: 30px;
  1021. }
  1022. .detail .detail-down .introduce-box .comment .good-rates {
  1023. display: flex;
  1024. padding: 20px 0;
  1025. }
  1026. .detail .detail-down .introduce-box .comment .good-rates .score {
  1027. border-right: 1px solid #eee;
  1028. text-align: center;
  1029. display: flex;
  1030. padding: 0 60px;
  1031. align-items: center;
  1032. }
  1033. .detail .detail-down .introduce-box .comment .good-rates .score .tit {
  1034. margin-right: 20px;
  1035. font-size: 14px;
  1036. }
  1037. .detail .detail-down .introduce-box .comment .good-rates .score .con {
  1038. font-size: 45px;
  1039. color: #e1251b;
  1040. font-family: arial;
  1041. }
  1042. .detail .detail-down .introduce-box .comment .good-rates .average {
  1043. margin-left: 50px;
  1044. }
  1045. .detail .detail-down .introduce-box .comment .good-rates .average .item {
  1046. display: flex;
  1047. height: 14px;
  1048. line-height: 14px;
  1049. margin-top: 10px;
  1050. }
  1051. .detail
  1052. .detail-down
  1053. .introduce-box
  1054. .comment
  1055. .good-rates
  1056. .average
  1057. .item:first-child {
  1058. margin-top: 0;
  1059. }
  1060. .detail .detail-down .introduce-box .comment .good-rates .average .item .number,
  1061. .detail .detail-down .introduce-box .comment .good-rates .average .item .text {
  1062. font-family: arial;
  1063. display: inline-block;
  1064. vertical-align: top;
  1065. }
  1066. .detail .detail-down .introduce-box .comment .good-rates .average .item .stars {
  1067. margin: 0 10px;
  1068. }
  1069. .detail
  1070. .detail-down
  1071. .introduce-box
  1072. .comment
  1073. .good-rates
  1074. .average
  1075. .item
  1076. .stars
  1077. .star,
  1078. .detail
  1079. .detail-down
  1080. .introduce-box
  1081. .comment
  1082. .good-rates
  1083. .average
  1084. .item
  1085. .stars
  1086. .star-gray {
  1087. display: inline-block;
  1088. vertical-align: top;
  1089. width: 14px;
  1090. height: 14px;
  1091. }
  1092. .detail
  1093. .detail-down
  1094. .introduce-box
  1095. .comment
  1096. .good-rates
  1097. .average
  1098. .item
  1099. .stars
  1100. .star {
  1101. background: url(../images/icons.png) no-repeat;
  1102. background-position: -42px -138px;
  1103. }
  1104. .detail
  1105. .detail-down
  1106. .introduce-box
  1107. .comment
  1108. .good-rates
  1109. .average
  1110. .item
  1111. .stars
  1112. .star-gray {
  1113. background: url(../images/icons.png) no-repeat;
  1114. background-position: -61px -138px;
  1115. }
  1116. .detail .detail-down .introduce-box .comment .comment-tab {
  1117. display: flex;
  1118. background: #f9f9f9;
  1119. padding: 10px;
  1120. border: 1px solid #eee;
  1121. margin-top: 20px;
  1122. }
  1123. .detail .detail-down .introduce-box .comment .comment-tab .item {
  1124. padding: 0 10px;
  1125. cursor: pointer;
  1126. -moz-transition: all 0.2s;
  1127. -webkit-transition: all 0.2s;
  1128. -o-transition: all 0.2s;
  1129. transition: all 0.2s;
  1130. }
  1131. .detail .detail-down .introduce-box .comment .comment-tab .item:hover,
  1132. .detail .detail-down .introduce-box .comment .comment-tab .item.active {
  1133. color: #e1251b;
  1134. }
  1135. .detail .detail-down .introduce-box .comment .comment-tab .item .number {
  1136. font-family: arial;
  1137. }
  1138. .detail .detail-down .introduce-box .comment .comment-con {
  1139. margin-top: 15px;
  1140. }
  1141. .detail .detail-down .introduce-box .comment .comment-con .item {
  1142. padding: 15px;
  1143. display: flex;
  1144. border-bottom: 1px solid #eee;
  1145. }
  1146. .detail .detail-down .introduce-box .comment .comment-con .item .buyer-msg {
  1147. width: 80px;
  1148. text-align: center;
  1149. }
  1150. .detail
  1151. .detail-down
  1152. .introduce-box
  1153. .comment
  1154. .comment-con
  1155. .item
  1156. .buyer-msg
  1157. .img {
  1158. width: 50px;
  1159. height: 50px;
  1160. border-radius: 50%;
  1161. overflow: hidden;
  1162. margin: auto;
  1163. }
  1164. .detail
  1165. .detail-down
  1166. .introduce-box
  1167. .comment
  1168. .comment-con
  1169. .item
  1170. .buyer-msg
  1171. .img
  1172. img {
  1173. width: 100%;
  1174. height: 100%;
  1175. display: block;
  1176. }
  1177. .detail
  1178. .detail-down
  1179. .introduce-box
  1180. .comment
  1181. .comment-con
  1182. .item
  1183. .buyer-msg
  1184. .name {
  1185. margin: 7px auto 0;
  1186. white-space: nowrap;
  1187. text-overflow: ellipsis;
  1188. overflow: hidden;
  1189. }
  1190. .detail .detail-down .introduce-box .comment .comment-con .item .buyer-comment {
  1191. margin-left: 10px;
  1192. line-height: 20px;
  1193. flex: 1;
  1194. }
  1195. .detail
  1196. .detail-down
  1197. .introduce-box
  1198. .comment
  1199. .comment-con
  1200. .item
  1201. .buyer-comment
  1202. .stars
  1203. .star,
  1204. .detail
  1205. .detail-down
  1206. .introduce-box
  1207. .comment
  1208. .comment-con
  1209. .item
  1210. .buyer-comment
  1211. .stars
  1212. .star-gray {
  1213. display: inline-block;
  1214. vertical-align: top;
  1215. width: 14px;
  1216. height: 14px;
  1217. }
  1218. .detail
  1219. .detail-down
  1220. .introduce-box
  1221. .comment
  1222. .comment-con
  1223. .item
  1224. .buyer-comment
  1225. .stars {
  1226. padding-top: 2px;
  1227. height: 14px;
  1228. }
  1229. .detail
  1230. .detail-down
  1231. .introduce-box
  1232. .comment
  1233. .comment-con
  1234. .item
  1235. .buyer-comment
  1236. .stars
  1237. .star {
  1238. background: url(../images/icons.png) no-repeat;
  1239. background-position: -42px -138px;
  1240. margin-right: 3px;
  1241. }
  1242. .detail
  1243. .detail-down
  1244. .introduce-box
  1245. .comment
  1246. .comment-con
  1247. .item
  1248. .buyer-comment
  1249. .stars
  1250. .star-gray {
  1251. background: url(../images/icons.png) no-repeat;
  1252. background-position: -61px -138px;
  1253. margin-right: 3px;
  1254. }
  1255. .detail
  1256. .detail-down
  1257. .introduce-box
  1258. .comment
  1259. .comment-con
  1260. .item
  1261. .buyer-comment
  1262. .text {
  1263. margin-top: 5px;
  1264. }
  1265. .detail
  1266. .detail-down
  1267. .introduce-box
  1268. .comment
  1269. .comment-con
  1270. .item
  1271. .buyer-comment
  1272. .img-box
  1273. .img {
  1274. display: inline-block;
  1275. text-align: center;
  1276. width: 60px;
  1277. height: 60px;
  1278. line-height: 60px;
  1279. font-size: 0;
  1280. border: 1px solid #fff;
  1281. margin: 10px 10px 0 0;
  1282. }
  1283. .detail
  1284. .detail-down
  1285. .introduce-box
  1286. .comment
  1287. .comment-con
  1288. .item
  1289. .buyer-comment
  1290. .img-box
  1291. .img:hover {
  1292. border-color: #e1251b;
  1293. }
  1294. .detail
  1295. .detail-down
  1296. .introduce-box
  1297. .comment
  1298. .comment-con
  1299. .item
  1300. .buyer-comment
  1301. .img-box
  1302. .img
  1303. img {
  1304. display: inline-block;
  1305. text-align: center;
  1306. max-width: 100%;
  1307. max-height: 100%;
  1308. vertical-align: middle;
  1309. -moz-transition: all 0.2s;
  1310. -webkit-transition: all 0.2s;
  1311. -o-transition: all 0.2s;
  1312. transition: all 0.2s;
  1313. cursor: pointer;
  1314. }
  1315. .detail
  1316. .detail-down
  1317. .introduce-box
  1318. .comment
  1319. .comment-con
  1320. .item
  1321. .buyer-comment
  1322. .time-sku {
  1323. margin-top: 10px;
  1324. color: #999;
  1325. }
  1326. .detail
  1327. .detail-down
  1328. .introduce-box
  1329. .comment
  1330. .comment-con
  1331. .item
  1332. .buyer-comment
  1333. .time-sku
  1334. .time {
  1335. font-family: arial;
  1336. }
  1337. .detail
  1338. .detail-down
  1339. .introduce-box
  1340. .comment
  1341. .comment-con
  1342. .item
  1343. .buyer-comment
  1344. .time-sku
  1345. .sku {
  1346. margin-left: 20px;
  1347. }
  1348. .detail
  1349. .detail-down
  1350. .introduce-box
  1351. .comment
  1352. .comment-con
  1353. .item
  1354. .buyer-comment
  1355. .append-comment {
  1356. margin-top: 10px;
  1357. padding-top: 10px;
  1358. border-top: 1px solid #eee;
  1359. }
  1360. .detail
  1361. .detail-down
  1362. .introduce-box
  1363. .comment
  1364. .comment-con
  1365. .item
  1366. .buyer-comment
  1367. .append-comment
  1368. .append-time {
  1369. color: #999;
  1370. }
  1371. .detail
  1372. .detail-down
  1373. .introduce-box
  1374. .comment
  1375. .comment-con
  1376. .item
  1377. .buyer-comment
  1378. .append-comment
  1379. .append-con {
  1380. margin-top: 5px;
  1381. padding-bottom: 3px;
  1382. }
  1383. .detail
  1384. .detail-down
  1385. .introduce-box
  1386. .comment
  1387. .comment-con
  1388. .item
  1389. .buyer-comment
  1390. .seller-reply {
  1391. margin-top: 10px;
  1392. padding-top: 10px;
  1393. border-top: 1px solid #eee;
  1394. }
  1395. .detail
  1396. .detail-down
  1397. .introduce-box
  1398. .comment
  1399. .comment-con
  1400. .item
  1401. .buyer-comment
  1402. .seller-reply
  1403. .tit {
  1404. color: #e1251b;
  1405. }
  1406. .detail
  1407. .detail-down
  1408. .introduce-box
  1409. .comment
  1410. .comment-con
  1411. .item
  1412. .buyer-comment
  1413. .seller-reply
  1414. .con {
  1415. margin-top: 5px;
  1416. overflow: hidden;
  1417. text-overflow: ellipsis;
  1418. display: -webkit-box;
  1419. /* -webkit-line-clamp: 3; */
  1420. -webkit-box-orient: vertical;
  1421. position: relative;
  1422. line-height: 1.5;
  1423. word-wrap: break-word;
  1424. word-break: break-all;
  1425. word-break: break-word
  1426. }
  1427. .detail
  1428. .detail-down
  1429. .introduce-box
  1430. .comment
  1431. .comment-con
  1432. .item
  1433. .buyer-comment
  1434. .seller-reply
  1435. .time {
  1436. margin-top: 10px;
  1437. color: #999;
  1438. font-family: arial;
  1439. }
  1440. .detail .detail-down .introduce-box .comment .comment-con .comment-empty {
  1441. text-align: center;
  1442. color: #999;
  1443. padding: 80px 0;
  1444. border-bottom: 1px solid #eee;
  1445. }
  1446. .detail .detail-down .introduce-box .comment .pages {
  1447. margin-top: 20px;
  1448. }
  1449. /* 评论大图 */
  1450. .introduce-box .comment .comment-con .buyer-comment .big-img-show {
  1451. position: fixed;
  1452. top: 0;
  1453. left: 0;
  1454. width: 100%;
  1455. height: 100%;
  1456. z-index: 1000;
  1457. background-color: #333;
  1458. overflow: hidden;
  1459. }
  1460. .introduce-box .comment .comment-con .buyer-comment .big-img-show .left-arrow {
  1461. width: 100px;
  1462. height: 100px;
  1463. font-size: 80px;
  1464. color: #d8d3d3;
  1465. position: absolute;
  1466. top: 40%;
  1467. left: 10%;
  1468. z-index: 1002;
  1469. cursor: pointer;
  1470. }
  1471. .introduce-box .comment .comment-con .buyer-comment .big-img-show .right-arrow {
  1472. width: 100px;
  1473. height: 100px;
  1474. font-size: 80px;
  1475. color: #d8d3d3;
  1476. position: absolute;
  1477. top: 40%;
  1478. right: 10%;
  1479. z-index: 1002;
  1480. cursor: pointer;
  1481. }
  1482. .introduce-box .comment .comment-con .buyer-comment .big-img-show .mask {
  1483. position: relative;
  1484. top: 0;
  1485. left: 0;
  1486. /* width: 100%; */
  1487. width: calc(100% + 17px);
  1488. height: 100%;
  1489. /* background: rgba(0, 0, 0, 0.5); */
  1490. background: rgba(0, 0, 0);
  1491. opacity: 0.9;
  1492. /* overflow-y: hidden; */
  1493. }
  1494. .introduce-box .comment .comment-con .buyer-comment .big-img-show img {
  1495. position: absolute;
  1496. top: 50%;
  1497. left: 50%;
  1498. transform: translate(-50%, -50%);
  1499. width: auto;
  1500. max-height: 100%;
  1501. z-index: 1001;
  1502. }
  1503. /* 视频大小 */
  1504. .introduce div p video {
  1505. width: 938px;
  1506. }
  1507. /* 商品评论 end */
  1508. .detail .detail-down .side {
  1509. width: 242px;
  1510. }
  1511. /* 店内搜索 */
  1512. .detail .detail-down .side .shop-search {
  1513. border: 1px solid #eee;
  1514. }
  1515. .detail .detail-down .side .shop-search .tit,
  1516. .detail .detail-down .side .shop-category .tit,
  1517. .detail .detail-down .side .sale-well .tit {
  1518. background: #f9f9f9;
  1519. padding: 10px;
  1520. font-size: 14px;
  1521. border-bottom: 1px solid #eee;
  1522. }
  1523. .detail .detail-down .side .shop-search .con {
  1524. padding: 15px;
  1525. display: flex;
  1526. }
  1527. .detail .detail-down .side .shop-search .text {
  1528. height: 26px;
  1529. line-height: 26px;
  1530. vertical-align: top;
  1531. border: 1px solid #ddd;
  1532. background: #fff;
  1533. border-right: none;
  1534. font-size: 12px;
  1535. padding: 0 10px;
  1536. flex: 1;
  1537. }
  1538. .detail .detail-down .side .shop-search .btn {
  1539. width: 30px;
  1540. height: 28px;
  1541. position: relative;
  1542. background: #e1251b;
  1543. }
  1544. .detail .detail-down .side .shop-search .btn::before {
  1545. position: absolute;
  1546. left: 8px;
  1547. top: 6px;
  1548. display: block;
  1549. width: 14px;
  1550. height: 14px;
  1551. content: ' ';
  1552. font-size: 0;
  1553. background: url(../images/icons.png) no-repeat;
  1554. background-position: 0 -58px;
  1555. }
  1556. .detail .detail-down .side .shop-search .btn:hover {
  1557. opacity: 0.8;
  1558. }
  1559. /* 店内搜索 end */
  1560. /* 店内分类 */
  1561. .detail .detail-down .side .shop-category {
  1562. margin-top: 20px;
  1563. border: 1px solid #eee;
  1564. }
  1565. .detail .detail-down .side .shop-category .con {
  1566. padding: 10px 15px;
  1567. line-height: 30px;
  1568. }
  1569. .detail .detail-down .side .shop-category .con .items .item-main {
  1570. position: relative;
  1571. padding-left: 15px;
  1572. cursor: pointer;
  1573. height: 30px;
  1574. white-space: nowrap;
  1575. overflow: hidden;
  1576. text-overflow: ellipsis;
  1577. -moz-transition: all 0.2s;
  1578. -webkit-transition: all 0.2s;
  1579. -o-transition: all 0.2s;
  1580. transition: all 0.2s;
  1581. }
  1582. .detail .detail-down .side .shop-category .con .items .item-main .arrow {
  1583. position: absolute;
  1584. left: 0;
  1585. top: 12px;
  1586. width: 0;
  1587. height: 0;
  1588. border: 4px solid transparent;
  1589. border-left: 5px solid #333;
  1590. border-radius: 2px;
  1591. }
  1592. .detail .detail-down .side .shop-category .con .items.active .item-main .arrow {
  1593. border-left: 4px solid transparent;
  1594. border-top: 4px solid #333;
  1595. top: 15px;
  1596. }
  1597. .detail .detail-down .side .shop-category .con .items .item-main:hover,
  1598. .detail .detail-down .side .shop-category .con .items.active .item-main {
  1599. text-decoration: underline;
  1600. }
  1601. .detail .detail-down .side .shop-category .con .items .item-con {
  1602. display: none;
  1603. }
  1604. .detail .detail-down .side .shop-category .con .items.active .item-con {
  1605. display: block;
  1606. }
  1607. .detail .detail-down .side .shop-category .con .items .item-con .item {
  1608. padding-left: 15px;
  1609. color: #999;
  1610. height: 30px;
  1611. white-space: nowrap;
  1612. overflow: hidden;
  1613. text-overflow: ellipsis;
  1614. cursor: pointer;
  1615. -moz-transition: all 0.2s;
  1616. -webkit-transition: all 0.2s;
  1617. -o-transition: all 0.2s;
  1618. transition: all 0.2s;
  1619. }
  1620. .detail .detail-down .side .shop-category .con .items .item-con .item:hover {
  1621. color: #e1251b;
  1622. }
  1623. /* 店内分类 end */
  1624. /* 热卖商品 */
  1625. .detail .detail-down .side .sale-well {
  1626. margin-top: 20px;
  1627. border: 1px solid #eee;
  1628. }
  1629. .detail .detail-down .side .sale-well .con {
  1630. padding: 15px;
  1631. }
  1632. .detail .detail-down .side .sale-well .con .item {
  1633. position: relative;
  1634. margin: 15px auto 0;
  1635. cursor: pointer;
  1636. -moz-transition: all 0.2s;
  1637. -webkit-transition: all 0.2s;
  1638. -o-transition: all 0.2s;
  1639. transition: all 0.2s;
  1640. }
  1641. .detail .detail-down .side .sale-well .con .item:hover {
  1642. opacity: 0.8;
  1643. }
  1644. .detail .detail-down .side .sale-well .con .item:first-child {
  1645. margin-top: 0;
  1646. }
  1647. .detail .detail-down .side .sale-well .con .item .goods-img {
  1648. width: 210px;
  1649. height: 210px;
  1650. line-height: 210px;
  1651. text-align: center;
  1652. font-size: 0;
  1653. }
  1654. .detail .detail-down .side .sale-well .con .item .goods-img img {
  1655. max-width: 100%;
  1656. max-height: 100%;
  1657. vertical-align: middle;
  1658. }
  1659. .detail .detail-down .side .sale-well .con .item .goods-msg {
  1660. text-align: center;
  1661. padding-top: 10px;
  1662. padding-bottom: 5px;
  1663. }
  1664. .detail .detail-down .side .sale-well .con .item .goods-msg .goods-name {
  1665. height: 14px;
  1666. line-height: 14px;
  1667. font-size: 14px;
  1668. max-width: 100%;
  1669. white-space: nowrap;
  1670. overflow: hidden;
  1671. text-overflow: ellipsis;
  1672. }
  1673. .detail .detail-down .side .sale-well .con .item .goods-msg .goods-price {
  1674. display: flex;
  1675. justify-content: center;
  1676. height: 16px;
  1677. line-height: 16px;
  1678. margin: 10px 0;
  1679. overflow: hidden;
  1680. }
  1681. .detail
  1682. .detail-down
  1683. .side
  1684. .sale-well
  1685. .con
  1686. .item
  1687. .goods-msg
  1688. .goods-price
  1689. .old-price {
  1690. margin-left: 10px;
  1691. color: #999;
  1692. font-family: arial;
  1693. text-decoration: line-through;
  1694. height: 12px;
  1695. line-height: 12px;
  1696. margin-top: 4px;
  1697. }
  1698. /* 热卖商品 end */
  1699. /* 详情下部分 end */
  1700. /* 滑动导航 */
  1701. .scroll-tab {
  1702. position: fixed;
  1703. top: 0;
  1704. left: 0;
  1705. width: 100%;
  1706. background: #fff;
  1707. animation: hdnav2-show 0.3s;
  1708. -webkit-animation: hdnav2-show 0.3s;
  1709. -moz-animation: hdnav2-show 0.3s;
  1710. -o-animation: hdnav2-show 0.3s;
  1711. z-index: 10;
  1712. -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  1713. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  1714. }
  1715. .scroll-tab .content {
  1716. position: relative;
  1717. }
  1718. .scroll-tab .content .tab {
  1719. display: flex;
  1720. background: #f9f9f9;
  1721. border: 1px solid #eee;
  1722. border-bottom-color: #e1251b;
  1723. border-top-color: #f9f9f9;
  1724. border-right-color: #f9f9f9;
  1725. }
  1726. .scroll-tab .content .tab .item {
  1727. height: 40px;
  1728. line-height: 40px;
  1729. padding: 0 30px;
  1730. font-size: 14px;
  1731. -moz-transition: all 0.2s;
  1732. -webkit-transition: all 0.2s;
  1733. -o-transition: all 0.2s;
  1734. transition: all 0.2s;
  1735. cursor: pointer;
  1736. margin-left: -1px;
  1737. margin-top: -1px;
  1738. }
  1739. .scroll-tab .content .tab .item:hover {
  1740. color: #e1251b;
  1741. }
  1742. .scroll-tab .content .tab .item.active {
  1743. background: #e1251b;
  1744. color: #fff;
  1745. }
  1746. .scroll-tab .content .tab .item .number {
  1747. color: #e1251b;
  1748. font-family: arial;
  1749. }
  1750. .scroll-tab .content .tab .item.active .number {
  1751. color: #fff;
  1752. }
  1753. .scroll-tab .content .shop-search {
  1754. position: absolute;
  1755. right: 120px;
  1756. top: 6px;
  1757. display: flex;
  1758. }
  1759. .scroll-tab .content .shop-search .text {
  1760. height: 26px;
  1761. line-height: 26px;
  1762. vertical-align: top;
  1763. border: 1px solid #ddd;
  1764. background: #fff;
  1765. border-right: none;
  1766. font-size: 12px;
  1767. padding: 0 10px;
  1768. }
  1769. .scroll-tab .content .shop-search .btn {
  1770. width: 30px;
  1771. height: 28px;
  1772. position: relative;
  1773. background: #e1251b;
  1774. }
  1775. .scroll-tab .content .shop-search .btn::before {
  1776. position: absolute;
  1777. left: 8px;
  1778. top: 6px;
  1779. display: block;
  1780. width: 14px;
  1781. height: 14px;
  1782. content: ' ';
  1783. font-size: 0;
  1784. background: url(../images/icons.png) no-repeat;
  1785. background-position: 0 -58px;
  1786. }
  1787. .scroll-tab .content .shop-search .btn:hover {
  1788. opacity: 0.8;
  1789. }
  1790. .scroll-tab .content .add-cart-btn {
  1791. position: absolute;
  1792. right: 15px;
  1793. top: 6px;
  1794. height: 28px;
  1795. line-height: 28px;
  1796. padding: 0 15px;
  1797. background: #e1251b;
  1798. color: #fff;
  1799. -moz-transition: all 0.2s;
  1800. -webkit-transition: all 0.2s;
  1801. -o-transition: all 0.2s;
  1802. transition: all 0.2s;
  1803. cursor: pointer;
  1804. }
  1805. .scroll-tab .content .add-cart-btn:hover {
  1806. opacity: 0.8;
  1807. }
  1808. /* 滑动导航 end */
  1809. /* 商品数量-input: 去除input标签type='number' 的默认加减箭头 */
  1810. input::-webkit-outer-spin-button,
  1811. input::-webkit-inner-spin-button {
  1812. -webkit-appearance: none;
  1813. }
  1814. input[type='number'] {
  1815. -moz-appearance: textfield;
  1816. }
  1817. /* 秒杀/拼团未开始时的样式禁用样式 */
  1818. .disabled-gray {
  1819. cursor: not-allowed !important;
  1820. background-color: #f7f7f7 !important;
  1821. color: #999 !important;
  1822. }
  1823. /* 评论 */
  1824. .buyer-comment .text{
  1825. overflow: hidden;
  1826. text-overflow: ellipsis;
  1827. display: -webkit-box;
  1828. /* -webkit-line-clamp: 3; */
  1829. -webkit-box-orient: vertical;
  1830. position: relative;
  1831. line-height: 1.5;
  1832. word-wrap: break-word;
  1833. word-break: break-all;
  1834. width: 816px;
  1835. }
  1836. /* 客服按钮 */
  1837. .btn-im{
  1838. display: inline-block;
  1839. width: 16px;
  1840. height: 16px;
  1841. margin: 0 5px 3px 8px;
  1842. overflow: hidden;
  1843. background: url('../images/chat/sprite-im.png') no-repeat;
  1844. vertical-align: middle;
  1845. }
  1846. /* 客服按钮 */
  1847. .im-chat:hover .btn-im{
  1848. background: url('../images/chat/sprite-im-hover.png') no-repeat;
  1849. }
  1850. .shop-box .im-chat:hover{
  1851. color: #e1251b;
  1852. }
  1853. .params {
  1854. display: flex;
  1855. border-bottom: 1px dashed #DCDCDC;
  1856. }
  1857. .params:last-child {
  1858. border: none;
  1859. }
  1860. .introduce .params-box {
  1861. width: 280px;
  1862. height: 40px;
  1863. display: flex;
  1864. justify-content: space-between;
  1865. align-items: center;
  1866. margin-right: 40px;
  1867. }
  1868. .introduce .params-box:nth-child(3n) {
  1869. margin-right: 0;
  1870. }
  1871. .introduce .params-box .key {
  1872. color: #999999;
  1873. float: left;
  1874. margin-left: 10px;
  1875. }
  1876. .introduce .params-box .value {
  1877. text-indent: 10px;
  1878. max-width: 150px;
  1879. overflow: hidden;
  1880. text-overflow:ellipsis;
  1881. white-space: nowrap;
  1882. }