goodsList.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743
  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: #004564;
  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: #004564;
  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. .categ_color_name {
  180. width: 1160px;
  181. margin: 0px auto;
  182. height: 60px;
  183. line-height: 60px;
  184. color: #333;
  185. font-size: 18px;
  186. border-bottom: dashed 1px #E9E9E9;
  187. }
  188. .categ_color_in {
  189. padding: 6px 0px 0px;
  190. }
  191. .categ_color_a {
  192. float: left;
  193. height: 29px;
  194. line-height: 29px;
  195. color: #333;
  196. margin: 10px 10px 16px;
  197. font-size: 16px;
  198. padding: 0px 10px;
  199. }
  200. .categ_color_a_only {
  201. color: #fff;
  202. background: #004564;
  203. }
  204. }
  205. .categ_crumb {
  206. line-height: 26px;
  207. color: #999;
  208. font-size: 20px;
  209. margin-top: 30px;
  210. padding-bottom: 30px;
  211. border-bottom: solid 1px #D9D9D9;
  212. .categ_crumb_text {
  213. display: inline-block;
  214. line-height: 26px;
  215. color: #999;
  216. font-size: 20px;
  217. margin: 0px 11px;
  218. }
  219. span.categ_crumb_text {
  220. color: #333;
  221. }
  222. a.categ_crumb_text:hover {
  223. color: #004564;
  224. }
  225. }
  226. .box_1 {
  227. border: solid 1px #ddd;
  228. width: 588px;
  229. }
  230. .box_1:nth-of-type(odd) {
  231. float: left;
  232. }
  233. .box_1:nth-of-type(even) {
  234. float: right;
  235. }
  236. .box_1_head {
  237. height: 67px;
  238. background: #F7FBFE;
  239. border-bottom: solid 1px #ddd;
  240. position: relative;
  241. .box_1_head_name {
  242. float: left;
  243. height: 67px;
  244. line-height: 67px;
  245. margin-left: 20px;
  246. color: #004564;
  247. font-size: 22px;
  248. font-weight: bold;
  249. }
  250. .box_1_head_a {
  251. float: right;
  252. height: 67px;
  253. line-height: 67px;
  254. color: #999;
  255. font-size: 16px;
  256. margin-right: 20px;
  257. }
  258. .box_1_head_a::after {
  259. content: '';
  260. display: block;
  261. width: 100%;
  262. height: 100%;
  263. position: absolute;
  264. left: 0px;
  265. top: 0px;
  266. }
  267. }
  268. .img_ul_1 {
  269. margin: 20px auto 0px;
  270. width: 588px;
  271. box-sizing: border-box;
  272. padding: 0px 9px;
  273. min-height: 175px;
  274. .img_li_1 {
  275. float: left;
  276. width: 120px;
  277. margin: 0px 11px 19px;
  278. }
  279. .img_li_1_a {
  280. display: block;
  281. width: 120px;
  282. }
  283. .img_li_1_img_box {
  284. width: 120px;
  285. height: 120px;
  286. }
  287. .img_li_1_img {
  288. display: block;
  289. width: 120px;
  290. height: 120px;
  291. }
  292. .img_li_1_dot2 {
  293. height: 32px;
  294. line-height: 16px;
  295. color: #999;
  296. font-size: 12px;
  297. margin-top: 5px;
  298. text-align: center;
  299. }
  300. .img_li_1_a:hover .img_li_1_dot2 {
  301. color: #004564;
  302. }
  303. }
  304. .box_2_head {
  305. height: 67px;
  306. background: #F7FBFE;
  307. border-bottom: solid 1px #ddd;
  308. position: relative;
  309. .box_2_head_name {
  310. float: left;
  311. height: 67px;
  312. line-height: 67px;
  313. margin-left: 20px;
  314. color: #004564;
  315. font-size: 22px;
  316. font-weight: bold;
  317. }
  318. .box_2_head_a {
  319. float: right;
  320. height: 67px;
  321. line-height: 67px;
  322. color: #999;
  323. font-size: 16px;
  324. margin-right: 20px;
  325. }
  326. .box_2_head_a::after {
  327. content: '';
  328. display: block;
  329. width: 100%;
  330. height: 100%;
  331. position: absolute;
  332. left: 0px;
  333. top: 0px;
  334. }
  335. }
  336. .box_2 {
  337. border: solid 1px #ddd;
  338. }
  339. .img_ul_2 {
  340. margin: 20px auto 0px;
  341. box-sizing: border-box;
  342. padding: 0px 7px;
  343. min-height: 175px;
  344. .img_li_2 {
  345. float: left;
  346. width: 120px;
  347. margin: 0px 13.8px 19px;
  348. }
  349. .img_li_2_a {
  350. display: block;
  351. width: 120px;
  352. }
  353. .img_li_2_img_box {
  354. width: 120px;
  355. height: 120px;
  356. }
  357. .img_li_2_img {
  358. display: block;
  359. width: 120px;
  360. height: 120px;
  361. }
  362. .img_li_2_dot2 {
  363. height: 32px;
  364. line-height: 16px;
  365. color: #999;
  366. font-size: 12px;
  367. margin-top: 5px;
  368. text-align: center;
  369. }
  370. .img_li_2_a:hover .img_li_2_dot2 {
  371. color: #004564;
  372. }
  373. }
  374. .index_1 {
  375. margin-top: 30px;
  376. .shop_nav_2 {
  377. width: 1200px;
  378. min-height: 50px;
  379. line-height: 35px;
  380. border: 1px solid #ddd;
  381. background-color: #f7fbfe;
  382. margin-top: 20px;
  383. padding: 10px;
  384. box-sizing: border-box;
  385. font-size: 16px;
  386. font-weight: 600;
  387. .shop_nav_2_a {
  388. color: #004564;
  389. display: inline-block;
  390. width: 117px;
  391. text-align: center;
  392. }
  393. }
  394. }
  395. .index_2 {
  396. margin-top: 30px;
  397. }
  398. .index_3 {
  399. margin-top: 30px;
  400. }
  401. .index_4,
  402. .index_5,
  403. .index_6 {
  404. margin-top: 30px;
  405. }
  406. /* 三农市场网-商城-商品列表 */
  407. .categ_table {
  408. .categ_table_head_box {
  409. height: 61px;
  410. border-bottom: solid 1px #E9E9E9;
  411. }
  412. .categ_table_head_box>.categ_table_td_1 {
  413. height: 61px;
  414. line-height: 61px;
  415. }
  416. .categ_table_head_box>.categ_table_td_2 {
  417. height: 61px;
  418. line-height: 61px;
  419. }
  420. .categ_table_head_box>.categ_table_td_3 {
  421. height: 61px;
  422. line-height: 61px;
  423. }
  424. .categ_table_head_box>.categ_table_td_4 {
  425. height: 61px;
  426. line-height: 61px;
  427. }
  428. .categ_table_td_1 {
  429. float: left;
  430. height: 100%;
  431. text-align: center;
  432. color: #666;
  433. font-size: 16px;
  434. width: 155px;
  435. margin-right: 126px;
  436. }
  437. .categ_table_td_2 {
  438. float: left;
  439. height: 100%;
  440. text-align: center;
  441. color: #666;
  442. font-size: 16px;
  443. width: 480px;
  444. margin-right: 124px;
  445. }
  446. .categ_table_td_3 {
  447. float: left;
  448. height: 100%;
  449. text-align: center;
  450. color: #666;
  451. font-size: 16px;
  452. width: 120px;
  453. margin-right: 62px;
  454. }
  455. .categ_table_td_4 {
  456. float: left;
  457. height: 100%;
  458. text-align: center;
  459. color: #666;
  460. font-size: 16px;
  461. width: 133px;
  462. }
  463. .categ_table_li {
  464. height: 161px;
  465. box-sizing: border-box;
  466. padding: 15px 0px;
  467. border-bottom: solid 1px #E9E9E9;
  468. }
  469. .categ_table_td_1_img {
  470. display: block;
  471. width: 130px;
  472. height: 130px;
  473. margin: 0px auto;
  474. }
  475. .categ_table_li .categ_table_td_1 {
  476. line-height: 160px;
  477. line-height: 160px;
  478. }
  479. .categ_table_li .categ_table_td_2 {
  480. height: 100%;
  481. display: flex;
  482. align-items: center;
  483. }
  484. .categ_table_td_2_in {
  485. display: flex;
  486. flex-direction: column;
  487. width: 100%;
  488. }
  489. .categ_table_li .categ_table_td_2_dot1 {
  490. text-align: left;
  491. flex-basis: 100%;
  492. height: 21px;
  493. line-height: 21px;
  494. font-size: 16px;
  495. font-weight: bold;
  496. color: #333;
  497. }
  498. .categ_table_li .categ_table_td_2_dot2 {
  499. flex-basis: 100%;
  500. max-height: 36px;
  501. text-align: left;
  502. line-height: 18px;
  503. width: 100%;
  504. font-size: 14px;
  505. color: #999;
  506. }
  507. .categ_table_li .categ_table_td_3 {
  508. line-height: 144px;
  509. }
  510. .categ_table_li .categ_table_td_4 {
  511. line-height: 144px;
  512. }
  513. }
  514. .info_foot {
  515. margin-top: 60px;
  516. text-align: center;
  517. .info_foot_a {
  518. height: 34px;
  519. line-height: 34px;
  520. color: #666;
  521. display: inline-block;
  522. border-radius: 4px;
  523. margin: 0px 10px;
  524. font-size: 14px;
  525. border: solid 1px #EAEAEA;
  526. background: #F6F6F6;
  527. padding: 0px 15px;
  528. }
  529. .info_foot_a_only {
  530. font-weight: bold;
  531. background: #004564;
  532. color: #fff;
  533. }
  534. }
  535. @media screen and (min-width:1200px) {
  536. /*pc_1440*/
  537. @media screen and (max-width:1440px) {
  538. /*1200*/
  539. }
  540. .pc_none {
  541. display: none;
  542. }
  543. }
  544. @media screen and (max-width:599px) {}
  545. @media screen and (max-width:320px) {}
  546. //导航条
  547. .breadcrumb {
  548. width: 100%;
  549. height: 22px;
  550. padding-bottom: 30px;
  551. border-bottom: 1px solid #ccc;
  552. font-family: Microsoft YaHei, Microsoft YaHei;
  553. font-weight: 400;
  554. font-size: 20px;
  555. color: #666666;
  556. line-height: 23px;
  557. text-align: left;
  558. font-style: normal;
  559. text-transform: none;
  560. margin-top: 30px;
  561. :deep(.el-breadcrumb) {
  562. display: inline-block;
  563. vertical-align: -4px;
  564. }
  565. :deep(.el-breadcrumb__inner a),
  566. :deep(.el-breadcrumb__inner.is-link) {
  567. color: #666666;
  568. font-weight: 400;
  569. text-decoration: none;
  570. transition: var(--el-transition-color);
  571. }
  572. span {
  573. font-family: Microsoft YaHei, Microsoft YaHei;
  574. font-weight: 400;
  575. font-size: 20px;
  576. color: #666666;
  577. line-height: 23px;
  578. text-align: left;
  579. font-style: normal;
  580. text-transform: none;
  581. }
  582. span:hover {
  583. color: #666666;
  584. }
  585. .location {
  586. margin-right:5px;
  587. width: 100px;
  588. height: 22px;
  589. font-family: Microsoft YaHei, Microsoft YaHei;
  590. font-weight: 400;
  591. font-size: 20px;
  592. color: #666666;
  593. line-height: 23px;
  594. text-align: left;
  595. font-style: normal;
  596. text-transform: none;
  597. }
  598. }
  599. //分页
  600. .pagination1 {
  601. width: 1200px;
  602. height: 34px;
  603. margin-left: 141px;
  604. display: flex;
  605. justify-content: center;
  606. margin: 0;
  607. // 鼠标移入后字体颜色
  608. .el-pagination::v-deep :hover {
  609. color: #004564;
  610. }
  611. .el-pagination.is-background::v-deep .btn-next,
  612. .el-pagination.is-background::v-deep .btn-prev {
  613. width: 70px;
  614. height: 34px;
  615. margin: 0px 10px;
  616. border-radius: 4px;
  617. }
  618. .el-pagination.is-background::v-deep .el-pager li {
  619. margin: 0px 10px;
  620. width: 38px;
  621. height: 34px;
  622. border-radius: 4px;
  623. }
  624. .el-pagination.is-background::v-deep .btn-next.is-active,
  625. .el-pagination.is-background::v-deep .btn-prev.is-active,
  626. .el-pagination.is-background::v-deep .el-pager li.is-active {
  627. background-color: #004564;
  628. color: #fff;
  629. }
  630. }