goodsList.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. * {
  2. font-family: "微软雅黑", "microsoft yahei";
  3. }
  4. ul,
  5. ol {
  6. list-style: none;
  7. }
  8. a:active {
  9. text-decoration: none;
  10. }
  11. a:hover {
  12. text-decoration: none;
  13. }
  14. a:visited {
  15. text-decoration: none;
  16. }
  17. a:link {
  18. text-decoration: none;
  19. }
  20. a:focus {
  21. text-decoration: none;
  22. }
  23. body {
  24. position: relative;
  25. }
  26. .clearfix {
  27. overflow: hidden;
  28. }
  29. .clearfix_2::after {
  30. content: '';
  31. display: block;
  32. height: 0;
  33. visibility: hidden;
  34. clear: both;
  35. }
  36. .hiddenColor {
  37. visibility: hidden;
  38. }
  39. .hand {
  40. cursor: pointer;
  41. }
  42. .aTag_parent {
  43. position: relative;
  44. }
  45. .aTag_parent>a,
  46. .aTag {
  47. display: block;
  48. width: 100%;
  49. height: 100%;
  50. position: absolute;
  51. z-index: 99;
  52. border: 0px;
  53. top: 0px;
  54. left: 0px;
  55. background: rgba(0, 0, 0, 0);
  56. }
  57. .dot1 {
  58. display: block;
  59. word-break: keep-all;
  60. white-space: nowrap;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. }
  64. .dot2 {
  65. overflow: hidden;
  66. display: -webkit-box;
  67. -webkit-box-orient: vertical;
  68. -webkit-line-clamp: 2;
  69. }
  70. input,
  71. img {
  72. border: none;
  73. }
  74. .cover100 img {
  75. display: block;
  76. width: 100%;
  77. height: 100%;
  78. object-fit: cover;
  79. }
  80. .back100 {
  81. background-size: 100% 100%;
  82. background-repeat: no-repeat;
  83. }
  84. article,
  85. aside,
  86. footer,
  87. header,
  88. time,
  89. video,
  90. main,
  91. nav,
  92. h4,
  93. h3,
  94. section {
  95. display: block;
  96. }
  97. .index_main {
  98. margin: 0 auto;
  99. }
  100. .slow_6 {
  101. -webkit-transition: all .6s;
  102. -moz-transition: all .6s;
  103. -ms-transition: all .6s;
  104. -o-transition: all .6s;
  105. transition: all .6s;
  106. }
  107. .index_main {
  108. width: 1200px;
  109. margin: 0px auto 30px;
  110. }
  111. .banner_1 {
  112. margin-top: 29px;
  113. height: 90px;
  114. overflow: hidden;
  115. .banner_1_a {
  116. display: block;
  117. width: 100%;
  118. height: 100%;
  119. }
  120. .banner_1_img {
  121. display: block;
  122. width: 100%;
  123. }
  124. }
  125. .banner_2 {
  126. margin-top: 29px;
  127. height: 90px;
  128. overflow: hidden;
  129. .banner_2_a {
  130. display: block;
  131. width: 100%;
  132. height: 100%;
  133. }
  134. .banner_2_img {
  135. display: block;
  136. width: 100%;
  137. }
  138. }
  139. .shop_head_1 {
  140. height: 29px;
  141. position: relative;
  142. .shop_head_1_name {
  143. float: left;
  144. height: 29px;
  145. line-height: 29px;
  146. color: #a91b33;
  147. font-size: 22px;
  148. font-weight: bold;
  149. padding-left: 22px;
  150. background: url(@/public/shop/01.png) no-repeat left center;
  151. background-size: 12px 18px;
  152. a {
  153. color: #a91b33;
  154. }
  155. }
  156. .shop_head_1_more {
  157. height: 29px;
  158. line-height: 29px;
  159. color: #999;
  160. float: right;
  161. font-size: 16px;
  162. }
  163. .shop_head_1_more::after {
  164. content: '';
  165. display: block;
  166. left: 0px;
  167. top: 0px;
  168. position: absolute;
  169. width: 100%;
  170. height: 100%;
  171. z-index: 11;
  172. }
  173. }
  174. .categ_color_box {
  175. border: solid 1px #E9E9E9;
  176. background: #F8F8F8;
  177. margin-top: 30px;
  178. box-sizing: border-box;
  179. min-height: 50px;
  180. .categ_color_name {
  181. width: 1160px;
  182. margin: 0px auto;
  183. height: 60px;
  184. line-height: 60px;
  185. color: #333;
  186. font-size: 18px;
  187. border-bottom: dashed 1px #E9E9E9;
  188. }
  189. .categ_color_in {
  190. padding: 6px 0px 0px;
  191. }
  192. .categ_color_a {
  193. float: left;
  194. height: 29px;
  195. line-height: 29px;
  196. color: #333;
  197. margin: 10px 10px 16px;
  198. font-size: 16px;
  199. padding: 0px 10px;
  200. }
  201. .categ_color_a_only {
  202. color: #fff;
  203. background: #a91b33;
  204. }
  205. }
  206. .categ_crumb {
  207. line-height: 26px;
  208. color: #999;
  209. font-size: 20px;
  210. margin-top: 30px;
  211. padding-bottom: 30px;
  212. border-bottom: solid 1px #D9D9D9;
  213. .categ_crumb_text {
  214. display: inline-block;
  215. line-height: 26px;
  216. color: #999;
  217. font-size: 20px;
  218. margin: 0px 11px;
  219. }
  220. span.categ_crumb_text {
  221. color: #333;
  222. }
  223. a.categ_crumb_text:hover {
  224. color: #a91b33;
  225. }
  226. }
  227. .box_1 {
  228. border: solid 1px #ddd;
  229. width: 588px;
  230. }
  231. .box_1:nth-of-type(odd) {
  232. float: left;
  233. }
  234. .box_1:nth-of-type(even) {
  235. float: right;
  236. }
  237. .box_1_head {
  238. height: 67px;
  239. background: #f8f8f8;
  240. border-bottom: solid 1px #ddd;
  241. position: relative;
  242. .box_1_head_name {
  243. float: left;
  244. height: 67px;
  245. line-height: 67px;
  246. margin-left: 20px;
  247. color: #a91b33;
  248. font-size: 22px;
  249. font-weight: bold;
  250. }
  251. .box_1_head_a {
  252. float: right;
  253. height: 67px;
  254. line-height: 67px;
  255. color: #999;
  256. font-size: 16px;
  257. margin-right: 20px;
  258. }
  259. .box_1_head_a::after {
  260. content: '';
  261. display: block;
  262. width: 100%;
  263. height: 100%;
  264. position: absolute;
  265. left: 0px;
  266. top: 0px;
  267. }
  268. }
  269. .img_ul_1 {
  270. margin: 20px auto 0px;
  271. width: 588px;
  272. box-sizing: border-box;
  273. padding: 0px 9px;
  274. min-height: 175px;
  275. .img_li_1 {
  276. float: left;
  277. width: 120px;
  278. margin: 0px 11px 19px;
  279. }
  280. .img_li_1_a {
  281. display: block;
  282. width: 120px;
  283. }
  284. .img_li_1_img_box {
  285. width: 120px;
  286. height: 120px;
  287. }
  288. .img_li_1_img {
  289. display: block;
  290. width: 120px;
  291. height: 120px;
  292. }
  293. .img_li_1_dot2 {
  294. height: 32px;
  295. line-height: 16px;
  296. color: #999;
  297. font-size: 12px;
  298. margin-top: 5px;
  299. text-align: center;
  300. }
  301. .img_li_1_a:hover .img_li_1_dot2 {
  302. color: #a91b33;
  303. }
  304. }
  305. .box_2_head {
  306. height: 67px;
  307. background: #f8f8f8;
  308. border-bottom: solid 1px #ddd;
  309. position: relative;
  310. .box_2_head_name {
  311. float: left;
  312. height: 67px;
  313. line-height: 67px;
  314. margin-left: 20px;
  315. color: #a91b33;
  316. font-size: 22px;
  317. font-weight: bold;
  318. }
  319. .box_2_head_a {
  320. float: right;
  321. height: 67px;
  322. line-height: 67px;
  323. color: #999;
  324. font-size: 16px;
  325. margin-right: 20px;
  326. }
  327. .box_2_head_a::after {
  328. content: '';
  329. display: block;
  330. width: 100%;
  331. height: 100%;
  332. position: absolute;
  333. left: 0px;
  334. top: 0px;
  335. }
  336. }
  337. .box_2 {
  338. border: solid 1px #ddd;
  339. }
  340. .img_ul_2 {
  341. margin: 20px auto 0px;
  342. box-sizing: border-box;
  343. padding: 0px 7px;
  344. min-height: 175px;
  345. .img_li_2 {
  346. float: left;
  347. width: 120px;
  348. margin: 0px 13.8px 19px;
  349. }
  350. .img_li_2_a {
  351. display: block;
  352. width: 120px;
  353. }
  354. .img_li_2_img_box {
  355. width: 120px;
  356. height: 120px;
  357. }
  358. .img_li_2_img {
  359. display: block;
  360. width: 120px;
  361. height: 120px;
  362. }
  363. .img_li_2_dot2 {
  364. height: 32px;
  365. line-height: 16px;
  366. color: #999;
  367. font-size: 12px;
  368. margin-top: 5px;
  369. text-align: center;
  370. }
  371. .img_li_2_a:hover .img_li_2_dot2 {
  372. color: #a91b33;
  373. }
  374. }
  375. .index_1 {
  376. margin-top: 30px;
  377. .shop_nav_2 {
  378. width: 1200px;
  379. min-height: 50px;
  380. line-height: 35px;
  381. border: 1px solid #ddd;
  382. background-color: #f7fbfe;
  383. margin-top: 20px;
  384. padding: 10px;
  385. box-sizing: border-box;
  386. font-size: 16px;
  387. font-weight: 600;
  388. .shop_nav_2_a {
  389. color: #333333;
  390. display: inline-block;
  391. width: 117px;
  392. text-align: center;
  393. }
  394. .active {
  395. color: #a91b33;
  396. }
  397. }
  398. }
  399. .index_2 {
  400. margin-top: 30px;
  401. min-height: 100px;
  402. }
  403. .index_3 {
  404. margin-top: 30px;
  405. min-height: 100px;
  406. }
  407. .index_4 {
  408. margin-top: 30px;
  409. min-height: 100px;
  410. }
  411. .index_5 {
  412. margin-top: 30px;
  413. min-height: 100px;
  414. margin-bottom: 30px;
  415. }
  416. /* 三农市场网-商城-商品列表 */
  417. .categ_table {
  418. .categ_table_head_box {
  419. height: 61px;
  420. border-bottom: solid 1px #E9E9E9;
  421. }
  422. .categ_table_head_box>.categ_table_td_1 {
  423. height: 61px;
  424. line-height: 61px;
  425. }
  426. .categ_table_head_box>.categ_table_td_2 {
  427. height: 61px;
  428. line-height: 61px;
  429. }
  430. .categ_table_head_box>.categ_table_td_3 {
  431. height: 61px;
  432. line-height: 61px;
  433. }
  434. .categ_table_head_box>.categ_table_td_4 {
  435. height: 61px;
  436. line-height: 61px;
  437. }
  438. .categ_table_td_1 {
  439. float: left;
  440. height: 100%;
  441. text-align: center;
  442. color: #666;
  443. font-size: 16px;
  444. width: 155px;
  445. margin-right: 126px;
  446. }
  447. .categ_table_td_2 {
  448. float: left;
  449. height: 100%;
  450. text-align: center;
  451. color: #666;
  452. font-size: 16px;
  453. width: 480px;
  454. margin-right: 124px;
  455. }
  456. .categ_table_td_3 {
  457. float: left;
  458. height: 100%;
  459. text-align: center;
  460. color: #666;
  461. font-size: 16px;
  462. width: 120px;
  463. margin-right: 62px;
  464. }
  465. .categ_table_td_4 {
  466. float: left;
  467. height: 100%;
  468. text-align: center;
  469. color: #666;
  470. font-size: 16px;
  471. width: 133px;
  472. }
  473. .categ_table_li {
  474. height: 161px;
  475. box-sizing: border-box;
  476. padding: 15px 0px;
  477. border-bottom: solid 1px #E9E9E9;
  478. }
  479. .categ_table_td_1_img {
  480. display: block;
  481. width: 130px;
  482. height: 130px;
  483. margin: 0px auto;
  484. }
  485. .categ_table_li .categ_table_td_1 {
  486. line-height: 160px;
  487. line-height: 160px;
  488. }
  489. .categ_table_li .categ_table_td_2 {
  490. height: 100%;
  491. display: flex;
  492. align-items: center;
  493. }
  494. .categ_table_td_2_in {
  495. display: flex;
  496. flex-direction: column;
  497. width: 100%;
  498. }
  499. .categ_table_li .categ_table_td_2_dot1 {
  500. text-align: left;
  501. flex-basis: 100%;
  502. height: 21px;
  503. line-height: 21px;
  504. font-size: 16px;
  505. font-weight: bold;
  506. color: #333;
  507. }
  508. .categ_table_li .categ_table_td_2_dot2 {
  509. flex-basis: 100%;
  510. max-height: 36px;
  511. text-align: left;
  512. line-height: 18px;
  513. width: 100%;
  514. font-size: 14px;
  515. color: #999;
  516. }
  517. .categ_table_li .categ_table_td_3 {
  518. line-height: 144px;
  519. }
  520. .categ_table_li .categ_table_td_4 {
  521. line-height: 144px;
  522. }
  523. }
  524. .info_foot {
  525. margin-top: 60px;
  526. text-align: center;
  527. .info_foot_a {
  528. height: 34px;
  529. line-height: 34px;
  530. color: #666;
  531. display: inline-block;
  532. border-radius: 4px;
  533. margin: 0px 10px;
  534. font-size: 14px;
  535. border: solid 1px #EAEAEA;
  536. background: #F6F6F6;
  537. padding: 0px 15px;
  538. }
  539. .info_foot_a_only {
  540. font-weight: bold;
  541. background: #a91b33;
  542. color: #fff;
  543. }
  544. }
  545. @media screen and (min-width:1200px) {
  546. /*pc_1440*/
  547. @media screen and (max-width:1440px) {
  548. /*1200*/
  549. }
  550. .pc_none {
  551. display: none;
  552. }
  553. }
  554. @media screen and (max-width:599px) {}
  555. @media screen and (max-width:320px) {}
  556. //导航条
  557. .breadcrumb {
  558. width: 100%;
  559. height: 22px;
  560. padding-bottom: 30px;
  561. border-bottom: 1px solid #ccc;
  562. font-family: Microsoft YaHei, Microsoft YaHei;
  563. font-weight: 400;
  564. font-size: 20px;
  565. color: #666666;
  566. line-height: 23px;
  567. text-align: left;
  568. font-style: normal;
  569. text-transform: none;
  570. margin-top: 30px;
  571. :deep(.el-breadcrumb) {
  572. display: inline-block;
  573. vertical-align: -4px;
  574. }
  575. :deep(.el-breadcrumb__inner a),
  576. :deep(.el-breadcrumb__inner.is-link) {
  577. color: #666666;
  578. font-weight: 400;
  579. text-decoration: none;
  580. transition: var(--el-transition-color);
  581. }
  582. span {
  583. font-family: Microsoft YaHei, Microsoft YaHei;
  584. font-weight: 400;
  585. font-size: 20px;
  586. color: #666666;
  587. line-height: 23px;
  588. text-align: left;
  589. font-style: normal;
  590. text-transform: none;
  591. }
  592. span:hover {
  593. color: #666666;
  594. }
  595. .location {
  596. margin-right:5px;
  597. width: 100px;
  598. height: 22px;
  599. font-family: Microsoft YaHei, Microsoft YaHei;
  600. font-weight: 400;
  601. font-size: 20px;
  602. color: #666666;
  603. line-height: 23px;
  604. text-align: left;
  605. font-style: normal;
  606. text-transform: none;
  607. }
  608. }
  609. //分页
  610. .pagination1 {
  611. width: 1200px;
  612. height: 34px;
  613. margin-left: 141px;
  614. display: flex;
  615. justify-content: center;
  616. margin: 0;
  617. // 鼠标移入后字体颜色
  618. .el-pagination::v-deep :hover {
  619. color: #a91b33;
  620. }
  621. .el-pagination.is-background::v-deep .btn-next,
  622. .el-pagination.is-background::v-deep .btn-prev {
  623. width: 70px;
  624. height: 34px;
  625. margin: 0px 10px;
  626. border-radius: 4px;
  627. }
  628. .el-pagination.is-background::v-deep .el-pager li {
  629. margin: 0px 10px;
  630. width: 38px;
  631. height: 34px;
  632. border-radius: 4px;
  633. }
  634. .el-pagination.is-background::v-deep .btn-next.is-active,
  635. .el-pagination.is-background::v-deep .btn-prev.is-active,
  636. .el-pagination.is-background::v-deep .el-pager li.is-active {
  637. background-color: #a91b33;
  638. color: #fff;
  639. }
  640. }