goodsDetail1.less 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  1. @charset "utf-8";
  2. * {
  3. // margin: 0;
  4. // padding: 0;
  5. font-family: "微软雅黑", "microsoft yahei";
  6. }
  7. ul,
  8. ol {
  9. list-style: none;
  10. }
  11. a:active {
  12. text-decoration: none;
  13. }
  14. a:hover {
  15. text-decoration: none;
  16. }
  17. a:visited {
  18. text-decoration: none;
  19. }
  20. a:link {
  21. text-decoration: none;
  22. }
  23. a:focus {
  24. text-decoration: none;
  25. }
  26. body {
  27. position: relative;
  28. }
  29. .clearfix {
  30. overflow: hidden;
  31. }
  32. .clearfix_2::after {
  33. content: '';
  34. display: block;
  35. height: 0;
  36. visibility: hidden;
  37. clear: both;
  38. }
  39. .hiddenColor {
  40. visibility: hidden;
  41. }
  42. .hand {
  43. cursor: pointer;
  44. }
  45. .aTag_parent {
  46. position: relative;
  47. }
  48. .aTag_parent>a,
  49. .aTag {
  50. display: block;
  51. width: 100%;
  52. height: 100%;
  53. position: absolute;
  54. z-index: 99;
  55. border: 0px;
  56. top: 0px;
  57. left: 0px;
  58. background: rgba(0, 0, 0, 0);
  59. }
  60. .dot1 {
  61. display: block;
  62. word-break: keep-all;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. }
  67. .dot2 {
  68. overflow: hidden;
  69. display: -webkit-box;
  70. -webkit-box-orient: vertical;
  71. -webkit-line-clamp: 2;
  72. }
  73. input,
  74. img {
  75. border: none;
  76. }
  77. .cover100 img {
  78. display: block;
  79. width: 100%;
  80. height: 100%;
  81. object-fit: cover;
  82. }
  83. .back100 {
  84. background-size: 100% 100%;
  85. background-repeat: no-repeat;
  86. }
  87. article,
  88. aside,
  89. footer,
  90. header,
  91. time,
  92. video,
  93. main,
  94. nav,
  95. h4,
  96. h3,
  97. section {
  98. display: block;
  99. }
  100. .index_main {
  101. margin: 0 auto 30px;
  102. }
  103. .slow_6 {
  104. -webkit-transition: all .6s;
  105. -moz-transition: all .6s;
  106. -ms-transition: all .6s;
  107. -o-transition: all .6s;
  108. transition: all .6s;
  109. }
  110. .index_main {
  111. width: 1200px;
  112. }
  113. .banner_1 {
  114. margin-top: 29px;
  115. height: 90px;
  116. overflow: hidden;
  117. .banner_1_a {
  118. display: block;
  119. width: 100%;
  120. height: 100%;
  121. }
  122. .banner_1_img {
  123. display: block;
  124. width: 100%;
  125. }
  126. }
  127. .categ_crumb {
  128. line-height: 26px;
  129. color: #999;
  130. font-size: 20px;
  131. margin-top: 30px;
  132. padding-bottom: 30px;
  133. border-bottom: solid 1px #D9D9D9;
  134. .categ_crumb_text {
  135. display: inline-block;
  136. line-height: 26px;
  137. color: #999;
  138. font-size: 20px;
  139. margin: 0px 11px;
  140. }
  141. span.categ_crumb_text {
  142. color: #333;
  143. }
  144. a.categ_crumb_text:hover {
  145. color: #a91b33;
  146. }
  147. }
  148. .index_2 {
  149. margin-top: 30px;
  150. }
  151. .index_2_img {
  152. float: left;
  153. width: 330px;
  154. height: 330px;
  155. }
  156. .index_2_left {
  157. float: left;
  158. margin-left: 20px;
  159. width: 850px;
  160. }
  161. .index_2_h4 {
  162. line-height: 29px;
  163. color: #333;
  164. font-size: 22px;
  165. border-bottom: solid 1px #E9E9E9;
  166. padding-bottom: 20px;
  167. }
  168. .index_2_title_box {}
  169. .index_2_title {
  170. float: left;
  171. line-height: 31px;
  172. color: #999;
  173. font-size: 16px;
  174. padding: 0px 10px;
  175. margin: 14px 20px 0px 0px;
  176. background: #F8F8F8;
  177. }
  178. .index_2_ul {
  179. margin-top: 20px;
  180. }
  181. .index_2_li {
  182. display: flex;
  183. margin-bottom: 11px;
  184. .index_2_li_label {
  185. line-height: 21px;
  186. color: #999;
  187. font-size: 16px;
  188. min-width: 64px;
  189. margin-right: 15px;
  190. }
  191. .index_2_li_text {
  192. line-height: 21px;
  193. color: #333;
  194. font-size: 16px;
  195. }
  196. }
  197. .shop_head_1 {
  198. position: relative;
  199. padding-bottom: 30px;
  200. border-bottom: solid 1px #E9E9E9;
  201. .shop_head_1_name {
  202. float: left;
  203. height: 29px;
  204. line-height: 29px;
  205. color: #666;
  206. font-size: 22px;
  207. font-weight: bold;
  208. padding-left: 22px;
  209. }
  210. .shop_head_1_name_only {
  211. color: #a91b33;
  212. }
  213. .shop_head_1_name:nth-of-type(1) {
  214. background: url(@/public/shop/01.png) no-repeat left center;
  215. background-size: 12px 18px;
  216. }
  217. }
  218. .card_out {
  219. margin-top: 30px;
  220. .card_1_box {
  221. display: none;
  222. }
  223. .card_1_box_only {
  224. display: block;
  225. }
  226. }
  227. .box_1_head {
  228. height: 67px;
  229. background: #F7FBFE;
  230. border-bottom: solid 1px #ddd;
  231. position: relative;
  232. .box_1_head_name {
  233. float: left;
  234. height: 67px;
  235. line-height: 67px;
  236. margin-left: 20px;
  237. color: #a91b33;
  238. font-size: 22px;
  239. font-weight: bold;
  240. }
  241. .box_1_head_a {
  242. float: right;
  243. height: 67px;
  244. line-height: 67px;
  245. color: #999;
  246. font-size: 16px;
  247. margin-right: 20px;
  248. }
  249. .box_1_head_a::after {
  250. content: '';
  251. display: block;
  252. width: 100%;
  253. height: 100%;
  254. position: absolute;
  255. left: 0px;
  256. top: 0px;
  257. }
  258. }
  259. .box_1 {
  260. border: solid 1px #ddd;
  261. margin-top: 30px;
  262. }
  263. .img_ul_1 {
  264. margin: 20px auto 0px;
  265. box-sizing: border-box;
  266. padding: 0px 7px;
  267. min-height: 176px;
  268. .img_li_1 {
  269. float: left;
  270. width: 120px;
  271. margin: 0px 13.8px 19px;
  272. }
  273. .img_li_1_a {
  274. display: block;
  275. width: 120px;
  276. }
  277. .img_li_1_img_box {
  278. width: 120px;
  279. height: 120px;
  280. }
  281. .img_li_1_img {
  282. display: block;
  283. width: 120px;
  284. height: 120px;
  285. }
  286. .img_li_1_dot2 {
  287. height: 32px;
  288. line-height: 16px;
  289. color: #999;
  290. font-size: 12px;
  291. margin-top: 5px;
  292. }
  293. .img_li_1_a:hover .img_li_1_dot2 {
  294. color: #a91b33;
  295. }
  296. }
  297. .index_3 {
  298. margin-top: 17px;
  299. }
  300. .index_4 {}
  301. .index_out_1_left {
  302. float: left;
  303. width: 894px;
  304. }
  305. /* 选项卡 */
  306. .choice_1_box {
  307. border: solid 1px #E9E9E9;
  308. box-sizing: border-box;
  309. .choice_1_btn_box {
  310. height: 64px;
  311. }
  312. .choice_1_btn {
  313. height: 64px;
  314. width: 50%;
  315. float: left;
  316. }
  317. .choice_1_btn_a {
  318. display: block;
  319. width: 100%;
  320. line-height: 64px;
  321. color: #333;
  322. font-style: italic;
  323. height: 64px;
  324. background: #F8F8F8;
  325. text-align: center;
  326. font-size: 16px;
  327. box-sizing: border-box;
  328. font-family: DingTalk JinBuTi, DingTalk JinBuTi;
  329. letter-spacing: 1px;
  330. }
  331. .choice_1_btn_only {}
  332. .choice_1_btn_only .choice_1_btn_a {
  333. background: #fff;
  334. border-bottom: solid 1px #fff;
  335. }
  336. }
  337. /* 选项卡 */
  338. .shop_3_right {
  339. margin-top: 87px;
  340. float: right;
  341. width: 280px;
  342. }
  343. .shop_ul_img_2 {
  344. height: 285px;
  345. width: 252px;
  346. margin: 20px auto 0px;
  347. }
  348. .shop_li_img_2 {
  349. width: 252px;
  350. height: 22px;
  351. margin-bottom: 22px;
  352. .shop_li_img_2_a {
  353. display: block;
  354. height: 22px;
  355. display: flex;
  356. }
  357. .shop_li_img_2_num {
  358. width: 22px;
  359. max-width: 22px;
  360. min-width: 22px;
  361. height: 22px;
  362. line-height: 22px;
  363. text-align: center;
  364. background: #ccc;
  365. color: #F6F6F6;
  366. font-size: 16px;
  367. font-weight: bold;
  368. border-radius: 4px;
  369. margin-right: 10px;
  370. }
  371. .shop_li_img_2_right {
  372. height: 22px;
  373. }
  374. .shop_li_img_2_img {
  375. display: none;
  376. }
  377. .shop_li_img_2_text {
  378. height: 22px;
  379. line-height: 22px;
  380. color: #333;
  381. font-size: 16px;
  382. display: block;
  383. word-break: keep-all;
  384. white-space: nowrap;
  385. overflow: hidden;
  386. text-overflow: ellipsis;
  387. }
  388. }
  389. .shop_li_img_2:nth-of-type(1) {
  390. height: auto;
  391. margin-bottom: 15px;
  392. }
  393. .shop_li_img_2:nth-of-type(1) .shop_li_img_2_a {
  394. height: auto;
  395. }
  396. .shop_li_img_2:nth-of-type(1) .shop_li_img_2_right {
  397. width: 252px;
  398. height: auto;
  399. display: flex;
  400. border-bottom: solid 1px #E9E9E9;
  401. padding-bottom: 10px;
  402. }
  403. .shop_li_img_2:nth-of-type(1) .shop_li_img_2_img {
  404. display: block;
  405. width: 45px;
  406. height: 45px;
  407. margin-right: 10px;
  408. }
  409. .shop_li_img_2:nth-of-type(1) .shop_li_img_2_text {
  410. height: 44px;
  411. line-height: 22px;
  412. color: #333;
  413. font-size: 16px;
  414. font-weight: bold;
  415. overflow: hidden;
  416. display: -webkit-box !important;
  417. -webkit-box-orient: vertical;
  418. -webkit-line-clamp: 2;
  419. word-break: break-all;
  420. white-space: wrap;
  421. }
  422. .shop_li_img_2:nth-of-type(-n+3) .shop_li_img_2_num {
  423. background: #a91b33;
  424. color: #fff;
  425. }
  426. .shop_li_img_2:hover .shop_li_img_2_text {
  427. color: #a91b33;
  428. }
  429. @media screen and (min-width:1200px) {
  430. /*pc_1440*/
  431. @media screen and (max-width:1440px) {
  432. /*1200*/
  433. }
  434. .pc_none {
  435. display: none;
  436. }
  437. }
  438. @media screen and (max-width:599px) {}
  439. @media screen and (max-width:320px) {}