goodsList.less 12 KB

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