goodsList.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  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: #49a769;
  147. font-size: 22px;
  148. font-weight: bold;
  149. padding-left: 22px;
  150. background: url(@/public/image/01.png) no-repeat left center;
  151. background-size: 12px 18px;
  152. a {
  153. color: #49a769;
  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: #49a769;
  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: #49a769;
  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: #49a769;
  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: #49a769;
  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: #49a769;
  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: #49a769;
  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: #f8f8f8;
  383. margin-top: 20px;
  384. padding: 10px;
  385. box-sizing: border-box;
  386. font-size: 18px;
  387. .shop_nav_2_a {
  388. color: #666;
  389. display: inline-block;
  390. width: 117px;
  391. text-align: center;
  392. }
  393. .shop_nav_2_a:hover{
  394. color: #49a769;
  395. }
  396. }
  397. }
  398. .index_2 {
  399. margin-top: 30px;
  400. min-height: 100px;
  401. }
  402. .index_3 {
  403. margin-top: 30px;
  404. min-height: 100px;
  405. }
  406. .index_4 {
  407. margin-top: 30px;
  408. min-height: 100px;
  409. }
  410. .index_5 {
  411. margin-top: 30px;
  412. min-height: 100px;
  413. margin-bottom: 30px;
  414. }
  415. /* 三农市场网-商城-商品列表 */
  416. .categ_table {
  417. .categ_table_head_box {
  418. height: 61px;
  419. border-bottom: solid 1px #E9E9E9;
  420. }
  421. .categ_table_head_box>.categ_table_td_1 {
  422. height: 61px;
  423. line-height: 61px;
  424. }
  425. .categ_table_head_box>.categ_table_td_2 {
  426. height: 61px;
  427. line-height: 61px;
  428. }
  429. .categ_table_head_box>.categ_table_td_3 {
  430. height: 61px;
  431. line-height: 61px;
  432. }
  433. .categ_table_head_box>.categ_table_td_4 {
  434. height: 61px;
  435. line-height: 61px;
  436. }
  437. .categ_table_td_1 {
  438. float: left;
  439. height: 100%;
  440. text-align: center;
  441. color: #666;
  442. font-size: 16px;
  443. width: 155px;
  444. margin-right: 126px;
  445. }
  446. .categ_table_td_2 {
  447. float: left;
  448. height: 100%;
  449. text-align: center;
  450. color: #666;
  451. font-size: 16px;
  452. width: 480px;
  453. margin-right: 124px;
  454. }
  455. .categ_table_td_3 {
  456. float: left;
  457. height: 100%;
  458. text-align: center;
  459. color: #666;
  460. font-size: 16px;
  461. width: 120px;
  462. margin-right: 62px;
  463. }
  464. .categ_table_td_4 {
  465. float: left;
  466. height: 100%;
  467. text-align: center;
  468. color: #666;
  469. font-size: 16px;
  470. width: 133px;
  471. }
  472. .categ_table_li {
  473. height: 161px;
  474. box-sizing: border-box;
  475. padding: 15px 0px;
  476. border-bottom: solid 1px #E9E9E9;
  477. }
  478. .categ_table_td_1_img {
  479. display: block;
  480. width: 130px;
  481. height: 130px;
  482. margin: 0px auto;
  483. }
  484. .categ_table_li .categ_table_td_1 {
  485. line-height: 160px;
  486. line-height: 160px;
  487. }
  488. .categ_table_li .categ_table_td_2 {
  489. height: 100%;
  490. display: flex;
  491. align-items: center;
  492. }
  493. .categ_table_td_2_in {
  494. display: flex;
  495. flex-direction: column;
  496. width: 100%;
  497. }
  498. .categ_table_li .categ_table_td_2_dot1 {
  499. text-align: left;
  500. flex-basis: 100%;
  501. height: 21px;
  502. line-height: 21px;
  503. font-size: 16px;
  504. font-weight: bold;
  505. color: #333;
  506. }
  507. .categ_table_li .categ_table_td_2_dot2 {
  508. flex-basis: 100%;
  509. max-height: 36px;
  510. text-align: left;
  511. line-height: 18px;
  512. width: 100%;
  513. font-size: 14px;
  514. color: #999;
  515. }
  516. .categ_table_li .categ_table_td_3 {
  517. line-height: 144px;
  518. }
  519. .categ_table_li .categ_table_td_4 {
  520. line-height: 144px;
  521. }
  522. }
  523. .info_foot {
  524. margin-top: 60px;
  525. text-align: center;
  526. .info_foot_a {
  527. height: 34px;
  528. line-height: 34px;
  529. color: #666;
  530. display: inline-block;
  531. border-radius: 4px;
  532. margin: 0px 10px;
  533. font-size: 14px;
  534. border: solid 1px #EAEAEA;
  535. background: #F6F6F6;
  536. padding: 0px 15px;
  537. }
  538. .info_foot_a_only {
  539. font-weight: bold;
  540. background: #49a769;
  541. color: #fff;
  542. }
  543. }
  544. @media screen and (min-width:1200px) {
  545. /*pc_1440*/
  546. @media screen and (max-width:1440px) {
  547. /*1200*/
  548. }
  549. .pc_none {
  550. display: none;
  551. }
  552. }
  553. @media screen and (max-width:599px) {}
  554. @media screen and (max-width:320px) {}
  555. //导航条
  556. .breadcrumb {
  557. width: 100%;
  558. height: 22px;
  559. padding-bottom: 30px;
  560. border-bottom: 1px solid #ccc;
  561. font-family: Microsoft YaHei, Microsoft YaHei;
  562. font-weight: 400;
  563. font-size: 20px;
  564. color: #666666;
  565. line-height: 23px;
  566. text-align: left;
  567. font-style: normal;
  568. text-transform: none;
  569. margin-top: 30px;
  570. :deep(.el-breadcrumb) {
  571. display: inline-block;
  572. vertical-align: -4px;
  573. }
  574. :deep(.el-breadcrumb__inner a),
  575. :deep(.el-breadcrumb__inner.is-link) {
  576. color: #666666;
  577. font-weight: 400;
  578. text-decoration: none;
  579. transition: var(--el-transition-color);
  580. }
  581. span {
  582. font-family: Microsoft YaHei, Microsoft YaHei;
  583. font-weight: 400;
  584. font-size: 20px;
  585. color: #666666;
  586. line-height: 23px;
  587. text-align: left;
  588. font-style: normal;
  589. text-transform: none;
  590. }
  591. span:hover {
  592. color: #666666;
  593. }
  594. .location {
  595. margin-right: 5px;
  596. width: 100px;
  597. height: 22px;
  598. font-family: Microsoft YaHei, Microsoft YaHei;
  599. font-weight: 400;
  600. font-size: 20px;
  601. color: #666666;
  602. line-height: 23px;
  603. text-align: left;
  604. font-style: normal;
  605. text-transform: none;
  606. }
  607. }
  608. //分页
  609. .pagination1 {
  610. width: 1200px;
  611. height: 34px;
  612. margin-left: 141px;
  613. display: flex;
  614. justify-content: center;
  615. margin: 0;
  616. // 鼠标移入后字体颜色
  617. .el-pagination::v-deep :hover {
  618. color: #49a769;
  619. }
  620. .el-pagination.is-background::v-deep .btn-next,
  621. .el-pagination.is-background::v-deep .btn-prev {
  622. width: 70px;
  623. height: 34px;
  624. margin: 0px 10px;
  625. border-radius: 4px;
  626. }
  627. .el-pagination.is-background::v-deep .el-pager li {
  628. margin: 0px 10px;
  629. width: 38px;
  630. height: 34px;
  631. border-radius: 4px;
  632. }
  633. .el-pagination.is-background::v-deep .btn-next.is-active,
  634. .el-pagination.is-background::v-deep .btn-prev.is-active,
  635. .el-pagination.is-background::v-deep .el-pager li.is-active {
  636. background-color: #49a769;
  637. color: #fff;
  638. }
  639. }