1.vue 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283
  1. <template>
  2. <div class="listNewsBox">
  3. <div class="left_in_1" v-if="componentStyle == 1">
  4. <h4 class="ul_head">
  5. <span>动态资讯</span>
  6. </h4>
  7. <div class="img_ul">
  8. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  9. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  10. :target="item.islink == 1 ? '_blank' : '_self'">
  11. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  12. <div class="img_ul_li_dot4">{{ item.title }}</div>
  13. </NuxtLink>
  14. </div>
  15. </div>
  16. <div class="ul_box">
  17. <div class="ul_li" v-for="item in component_style1_News2Array">
  18. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  19. :target="item.islink == 1 ? '_blank' : '_self'">
  20. {{ item.title }}
  21. </NuxtLink>
  22. </div>
  23. </div>
  24. <div class="img_2_ul">
  25. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  26. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  27. :target="item.islink == 1 ? '_blank' : '_self'">
  28. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  29. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  30. </NuxtLink>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="left_in_2" v-if="componentStyle == 2">
  35. <h4 class="ul_head">
  36. <span>动态资讯</span>
  37. </h4>
  38. <div class="img_ul">
  39. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  40. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  41. :target="item.islink == 1 ? '_blank' : '_self'">
  42. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  43. <div class="img_ul_li_dot4">{{ item.title }}</div>
  44. </NuxtLink>
  45. </div>
  46. </div>
  47. <div class="ul_box">
  48. <div class="ul_li" v-for="item in component_style1_News2Array">
  49. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  50. :target="item.islink == 1 ? '_blank' : '_self'">
  51. {{ item.title }}
  52. </NuxtLink>
  53. </div>
  54. </div>
  55. <div class="img_2_ul">
  56. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  57. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  58. :target="item.islink == 1 ? '_blank' : '_self'">
  59. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  60. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  61. </NuxtLink>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="left_in_3" v-if="componentStyle == 3">
  66. <h4 class="ul_head">
  67. <span>动态资讯</span>
  68. </h4>
  69. <div class="img_ul">
  70. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  71. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  72. :target="item.islink == 1 ? '_blank' : '_self'">
  73. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  74. <div class="img_ul_li_dot4">{{ item.title }}</div>
  75. </NuxtLink>
  76. </div>
  77. </div>
  78. <div class="img_2_ul">
  79. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  80. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  81. :target="item.islink == 1 ? '_blank' : '_self'">
  82. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  83. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  84. </NuxtLink>
  85. </div>
  86. </div>
  87. <div class="ul_box">
  88. <div class="ul_li" v-for="item in component_style1_News2Array">
  89. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  90. :target="item.islink == 1 ? '_blank' : '_self'">
  91. {{ item.title }}
  92. </NuxtLink>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="left_in_4" v-if="componentStyle == 4">
  97. <h4 class="ul_head">
  98. <span>动态资讯</span>
  99. </h4>
  100. <div class="img_ul">
  101. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  102. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  103. :target="item.islink == 1 ? '_blank' : '_self'">
  104. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  105. <div class="img_ul_li_dot4">{{ item.title }}</div>
  106. </NuxtLink>
  107. </div>
  108. </div>
  109. <div class="img_2_ul">
  110. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  111. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  112. :target="item.islink == 1 ? '_blank' : '_self'">
  113. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  114. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  115. </NuxtLink>
  116. </div>
  117. </div>
  118. <div class="ul_box">
  119. <div class="ul_li" v-for="item in component_style1_News2Array">
  120. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  121. :target="item.islink == 1 ? '_blank' : '_self'">
  122. {{ item.title }}
  123. </NuxtLink>
  124. </div>
  125. </div>
  126. </div>
  127. <div class="left_in_5" v-if="componentStyle == 5">
  128. <h4 class="ul_head">
  129. <span>动态资讯</span>
  130. </h4>
  131. <div class="ul_box">
  132. <div class="ul_li" v-for="item in component_style1_News2Array">
  133. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  134. :target="item.islink == 1 ? '_blank' : '_self'">
  135. {{ item.title }}
  136. </NuxtLink>
  137. </div>
  138. </div>
  139. <div class="img_ul">
  140. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  141. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  142. :target="item.islink == 1 ? '_blank' : '_self'">
  143. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  144. <div class="img_ul_li_dot4">{{ item.title }}</div>
  145. </NuxtLink>
  146. </div>
  147. </div>
  148. <div class="img_2_ul">
  149. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  150. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  151. :target="item.islink == 1 ? '_blank' : '_self'">
  152. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  153. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  154. </NuxtLink>
  155. </div>
  156. </div>
  157. </div>
  158. <div class="left_in_6" v-if="componentStyle == 6">
  159. <h4 class="ul_head">
  160. <span>动态资讯</span>
  161. </h4>
  162. <div class="ul_box">
  163. <div class="ul_li" v-for="item in component_style1_News2Array">
  164. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  165. :target="item.islink == 1 ? '_blank' : '_self'">
  166. {{ item.title }}
  167. </NuxtLink>
  168. </div>
  169. </div>
  170. <div class="img_ul">
  171. <div class="img_ul_li" v-for="item in component_style1_News1Array">
  172. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  173. :target="item.islink == 1 ? '_blank' : '_self'">
  174. <img class="img_ul_li_img" :src="item.imgurl" alt="item.title">
  175. <div class="img_ul_li_dot4">{{ item.title }}</div>
  176. </NuxtLink>
  177. </div>
  178. </div>
  179. <div class="img_2_ul">
  180. <div class="img_2_ul_li" v-for="item in component_style1_News1Array_1">
  181. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title"
  182. :target="item.islink == 1 ? '_blank' : '_self'">
  183. <img class="img_2_ul_li_img" :src="item.imgurl" alt="item.title">
  184. <span class="img_2_ul_li_dot1">{{ item.title }}</span>
  185. </NuxtLink>
  186. </div>
  187. </div>
  188. </div>
  189. </div>
  190. </template>
  191. <script setup>
  192. //引入vue
  193. import { ref } from 'vue';
  194. //获得新闻数据
  195. const props = defineProps({
  196. componentStyle: Number,//样式编号
  197. });
  198. const component_style1_News1Array = ref([]);
  199. const component_style1_News1Array_1 = ref([]);
  200. const component_style1_News2Array = ref([]);
  201. //最新资讯数据 start ---------------------------------------->
  202. async function getPageData() {
  203. const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
  204. method: 'GET',
  205. query: {
  206. 'imgnum': 4,
  207. 'textnum': 4,
  208. 'level': 4,
  209. 'id': 0,
  210. 'placeid': 0,
  211. },
  212. });
  213. if (mkdata.code == 200) {
  214. component_style1_News1Array.value = mkdata.data.img.slice(0, 1);
  215. component_style1_News1Array_1.value = mkdata.data.img.slice(1, 3);
  216. component_style1_News2Array.value = mkdata.data.text.slice(0, 6);
  217. }
  218. }
  219. getPageData();
  220. //最新资讯数据 end ---------------------------------------->
  221. </script>
  222. <style lang="less" scoped>
  223. //基本样式
  224. .listNewsBox {
  225. position: relative;
  226. .listNewsTitle {
  227. font-size: 22px;
  228. font-weight: bold;
  229. height: 40px;
  230. line-height: 40px;
  231. border-bottom: 2px solid #004564;
  232. color: #004564;
  233. margin-bottom: 20px;
  234. box-sizing: border-box;
  235. }
  236. .listNewsContent {
  237. .listNewsContentItem {
  238. display: flex;
  239. background: #F9FAFB;
  240. align-items: flex-start;
  241. margin-bottom: 20px;
  242. &:last-child {
  243. margin-bottom: 0;
  244. }
  245. .listNewsContentItemLeft {
  246. width: 170px;
  247. height: 110px;
  248. position: relative;
  249. img {
  250. display: block;
  251. width: 170px;
  252. height: 110px;
  253. }
  254. .listNewsContentItemLeftTitle {
  255. position: absolute;
  256. bottom: 0;
  257. z-index: 1;
  258. width: 100%;
  259. color: #fff;
  260. height: 28px;
  261. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  262. box-sizing: border-box;
  263. padding: 0 5px;
  264. overflow: hidden;
  265. text-overflow: ellipsis;
  266. white-space: nowrap;
  267. line-height: 28px;
  268. font-size: 14px;
  269. }
  270. }
  271. .listNewsContentItemRight {
  272. padding: 10px;
  273. box-sizing: border-box;
  274. flex: 1;
  275. height: 110px;
  276. overflow: hidden;
  277. div {
  278. box-sizing: border-box;
  279. height: 24px;
  280. line-height: 24px;
  281. padding-left: 16px;
  282. font-size: 18px;
  283. color: #333333;
  284. margin-bottom: 10px;
  285. background: url(http://img.bjzxtw.org.cn/pre/image/png/20250605/1749100871349444.png) no-repeat left center;
  286. &:last-child {
  287. margin-bottom: 0;
  288. }
  289. &:first-child {
  290. font-weight: bold;
  291. }
  292. }
  293. }
  294. }
  295. }
  296. }
  297. //样式4
  298. .listNewsBox {
  299. .listNewsStyle4 {
  300. .listNewsContentItem {
  301. .listNewsContentItemRight {
  302. div {
  303. background: url(https://img.bjzxtw.org.cn/pre/image/png/20250909/1757379542529609.png) no-repeat left center;
  304. }
  305. }
  306. }
  307. }
  308. }
  309. //样式5
  310. .listNewsBox {
  311. .listNewsStyle5 {
  312. .listNewsContentItem {
  313. .listNewsContentItemRight {
  314. div {
  315. background: url(https://img.bjzxtw.org.cn/pre/image/png/20250909/1757386056889702.png) no-repeat left center;
  316. }
  317. }
  318. }
  319. }
  320. }
  321. //样式6
  322. .listNewsBox {
  323. .listNewsStyle6 {
  324. .listNewsContentItem {
  325. .listNewsContentItemRight {
  326. div {
  327. padding-left: 0px;
  328. background: none;
  329. }
  330. }
  331. }
  332. }
  333. }
  334. //样式9
  335. .listNewsBox {
  336. .listNewsStyle9 {
  337. .listNewsContentItem {
  338. .listNewsContentItemRight {
  339. div {
  340. &:first-child {
  341. font-weight: 400;
  342. }
  343. }
  344. }
  345. }
  346. }
  347. }
  348. .listNewsContent {
  349. display: none;
  350. }
  351. .left_in_1 {
  352. width: 100%;
  353. .ul_head {
  354. height: 47px;
  355. border-bottom: solid 1px #93969A;
  356. border-top: solid 1px #DCDDDF;
  357. margin: 0px;
  358. box-sizing: border-box;
  359. }
  360. .ul_head * {
  361. float: left;
  362. height: 100%;
  363. line-height: 47px;
  364. box-sizing: border-box;
  365. font-weight: bold;
  366. color: #A72213;
  367. font-size: 20px;
  368. border-bottom: solid 2px #A72213;
  369. }
  370. .img_ul {
  371. margin-top: 20px;
  372. }
  373. .img_ul_li {
  374. margin-bottom: 23px;
  375. display: flex;
  376. overflow: hidden;
  377. width: 100%;
  378. a {
  379. color:#333;
  380. display: flex;
  381. align-items: center;
  382. justify-content: space-between;
  383. }
  384. }
  385. .img_ul_li_img {
  386. width: 185px;
  387. height: 130px;
  388. margin-right: 20px;
  389. }
  390. .img_ul_li_dot4 {
  391. height: 96px;
  392. line-height: 24px;
  393. color: #333;
  394. font-size: 18px;
  395. margin-top: 17px;
  396. flex: 1;
  397. overflow: hidden;
  398. display: -webkit-box !important;
  399. -webkit-box-orient: vertical;
  400. -webkit-line-clamp: 4;
  401. }
  402. .ul_box {
  403. margin-top: 20px;
  404. overflow: hidden;
  405. width: 100%;
  406. .ul_li {
  407. line-height: 24px;
  408. height: 24px;
  409. position: relative;
  410. color: #333;
  411. font-size: 18px;
  412. text-indent: 16px;
  413. margin-bottom: 20px;
  414. word-break: keep-all;
  415. white-space: nowrap;
  416. overflow: hidden;
  417. text-overflow: ellipsis;
  418. a {
  419. color: #333;
  420. }
  421. }
  422. .ul_li:nth-last-of-type(1) {
  423. margin-bottom: 0px;
  424. }
  425. .ul_li::before {
  426. content: '';
  427. position: absolute;
  428. left: 0px;
  429. top: 10px;
  430. width: 6px;
  431. height: 6px;
  432. background: #F2F2F2;
  433. }
  434. }
  435. .img_2_ul {
  436. overflow: hidden;
  437. margin-top: 20px;
  438. width: 100%;
  439. }
  440. .img_2_ul_li {
  441. width: 185px;
  442. height: 130px;
  443. position: relative;
  444. }
  445. .img_2_ul_li:nth-of-type(odd) {
  446. float: left;
  447. }
  448. .img_2_ul_li:nth-of-type(even) {
  449. float: right;
  450. }
  451. .img_2_ul_li a {
  452. display: block;
  453. width: 100%;
  454. height: 100%;
  455. }
  456. .img_2_ul_li_img {
  457. display: block;
  458. width: 100%;
  459. height: 100%;
  460. }
  461. .img_2_ul_li_dot1 {
  462. font-weight: bold;
  463. width: 100%;
  464. height: 29px;
  465. line-height: 29px;
  466. display: block;
  467. position: absolute;
  468. left: 0px;
  469. bottom: 0px;
  470. text-align: center;
  471. color: #fff;
  472. font-size: 12px;
  473. box-sizing: border-box;
  474. padding: 0px 9px;
  475. word-break: keep-all;
  476. white-space: nowrap;
  477. overflow: hidden;
  478. text-overflow: ellipsis;
  479. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  480. }
  481. }
  482. .left_in_2 {
  483. width: 100%;
  484. .ul_head {
  485. height: 47px;
  486. border-bottom: solid 1px #93969A;
  487. border-top: solid 1px #DCDDDF;
  488. margin: 0px;
  489. box-sizing: border-box;
  490. }
  491. .ul_head * {
  492. float: left;
  493. height: 100%;
  494. line-height: 47px;
  495. box-sizing: border-box;
  496. font-weight: bold;
  497. color: #A72213;
  498. font-size: 20px;
  499. border-bottom: solid 2px #A72213;
  500. }
  501. .img_ul {
  502. margin-top: 20px;
  503. }
  504. .img_ul_li {
  505. margin-bottom: 23px;
  506. display: flex;
  507. overflow: hidden;
  508. width: 100%;
  509. a {
  510. color:#333;
  511. display: flex;
  512. align-items: center;
  513. justify-content: space-between;
  514. }
  515. }
  516. .img_ul_li_img {
  517. width: 185px;
  518. height: 130px;
  519. margin-right: 20px;
  520. }
  521. .img_ul_li_dot4 {
  522. height: 96px;
  523. line-height: 24px;
  524. color: #333;
  525. font-size: 18px;
  526. margin-top: 17px;
  527. flex: 1;
  528. overflow: hidden;
  529. display: -webkit-box !important;
  530. -webkit-box-orient: vertical;
  531. -webkit-line-clamp: 4;
  532. }
  533. .ul_box {
  534. margin-top: 20px;
  535. overflow: hidden;
  536. width: 100%;
  537. .ul_li {
  538. line-height: 24px;
  539. height: 24px;
  540. position: relative;
  541. color: #333;
  542. font-size: 18px;
  543. text-indent: 16px;
  544. margin-bottom: 20px;
  545. word-break: keep-all;
  546. white-space: nowrap;
  547. overflow: hidden;
  548. text-overflow: ellipsis;
  549. a {
  550. color: #333;
  551. }
  552. }
  553. .ul_li:nth-of-type(3n-2) {
  554. font-weight: bold;
  555. }
  556. .ul_li:nth-last-of-type(1) {
  557. margin-bottom: 0px;
  558. }
  559. .ul_li::before {
  560. content: '';
  561. position: absolute;
  562. left: 0px;
  563. top: 10px;
  564. width: 6px;
  565. height: 6px;
  566. background: #F2F2F2;
  567. }
  568. }
  569. .img_2_ul {
  570. overflow: hidden;
  571. margin-top: 20px;
  572. width: 100%;
  573. }
  574. .img_2_ul_li {
  575. width: 185px;
  576. height: 130px;
  577. position: relative;
  578. }
  579. .img_2_ul_li:nth-of-type(odd) {
  580. float: left;
  581. }
  582. .img_2_ul_li:nth-of-type(even) {
  583. float: right;
  584. }
  585. .img_2_ul_li a {
  586. display: block;
  587. width: 100%;
  588. height: 100%;
  589. }
  590. .img_2_ul_li_img {
  591. display: block;
  592. width: 100%;
  593. height: 100%;
  594. }
  595. .img_2_ul_li_dot1 {
  596. font-weight: bold;
  597. width: 100%;
  598. height: 29px;
  599. line-height: 29px;
  600. display: block;
  601. position: absolute;
  602. left: 0px;
  603. bottom: 0px;
  604. text-align: center;
  605. color: #fff;
  606. font-size: 12px;
  607. box-sizing: border-box;
  608. padding: 0px 9px;
  609. word-break: keep-all;
  610. white-space: nowrap;
  611. overflow: hidden;
  612. text-overflow: ellipsis;
  613. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  614. }
  615. }
  616. .left_in_3 {
  617. width: 100%;
  618. .ul_head {
  619. height: 47px;
  620. border-bottom: solid 1px #93969A;
  621. border-top: solid 1px #DCDDDF;
  622. margin: 0px;
  623. box-sizing: border-box;
  624. }
  625. .ul_head * {
  626. float: left;
  627. height: 100%;
  628. line-height: 47px;
  629. box-sizing: border-box;
  630. font-weight: bold;
  631. color: #A72213;
  632. font-size: 20px;
  633. border-bottom: solid 2px #A72213;
  634. }
  635. .img_ul {
  636. margin-top: 20px;
  637. }
  638. .img_ul_li {
  639. margin-bottom: 23px;
  640. display: flex;
  641. overflow: hidden;
  642. width: 100%;
  643. a {
  644. color:#333;
  645. display: flex;
  646. align-items: center;
  647. justify-content: space-between;
  648. }
  649. }
  650. .img_ul_li_img {
  651. width: 185px;
  652. height: 130px;
  653. margin-right: 20px;
  654. }
  655. .img_ul_li_dot4 {
  656. height: 96px;
  657. line-height: 24px;
  658. color: #333;
  659. font-size: 18px;
  660. margin-top: 17px;
  661. overflow: hidden;
  662. display: -webkit-box !important;
  663. -webkit-box-orient: vertical;
  664. -webkit-line-clamp: 4;
  665. }
  666. .ul_box {
  667. margin-top: 20px;
  668. overflow: hidden;
  669. width: 100%;
  670. .ul_li {
  671. line-height: 24px;
  672. height: 24px;
  673. position: relative;
  674. color: #333;
  675. font-size: 18px;
  676. text-indent: 16px;
  677. margin-bottom: 19px;
  678. word-break: keep-all;
  679. white-space: nowrap;
  680. overflow: hidden;
  681. text-overflow: ellipsis;
  682. a {
  683. color: #333;
  684. }
  685. }
  686. .ul_li:nth-last-of-type(1) {
  687. margin-bottom: 0px;
  688. }
  689. .ul_li::before {
  690. content: '';
  691. position: absolute;
  692. left: 0px;
  693. top: 10px;
  694. width: 6px;
  695. height: 6px;
  696. background: #F2F2F2;
  697. }
  698. }
  699. .img_2_ul {
  700. overflow: hidden;
  701. margin-top: 20px;
  702. width: 100%;
  703. }
  704. .img_2_ul_li {
  705. width: 185px;
  706. height: 130px;
  707. position: relative;
  708. }
  709. .img_2_ul_li:nth-of-type(odd) {
  710. float: left;
  711. }
  712. .img_2_ul_li:nth-of-type(even) {
  713. float: right;
  714. }
  715. .img_2_ul_li a {
  716. display: block;
  717. width: 100%;
  718. height: 100%;
  719. }
  720. .img_2_ul_li_img {
  721. display: block;
  722. width: 100%;
  723. height: 100%;
  724. }
  725. .img_2_ul_li_dot1 {
  726. font-weight: bold;
  727. width: 100%;
  728. height: 29px;
  729. line-height: 29px;
  730. display: block;
  731. position: absolute;
  732. left: 0px;
  733. bottom: 0px;
  734. text-align: center;
  735. color: #fff;
  736. font-size: 12px;
  737. box-sizing: border-box;
  738. padding: 0px 9px;
  739. word-break: keep-all;
  740. white-space: nowrap;
  741. overflow: hidden;
  742. text-overflow: ellipsis;
  743. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  744. }
  745. }
  746. .left_in_4 {
  747. width: 100%;
  748. .ul_head {
  749. height: 47px;
  750. border-bottom: solid 1px #93969A;
  751. border-top: solid 1px #DCDDDF;
  752. margin: 0px;
  753. box-sizing: border-box;
  754. }
  755. .ul_head * {
  756. float: left;
  757. height: 100%;
  758. line-height: 47px;
  759. box-sizing: border-box;
  760. font-weight: bold;
  761. color: #A72213;
  762. font-size: 20px;
  763. border-bottom: solid 2px #A72213;
  764. }
  765. .img_ul {
  766. margin-top: 20px;
  767. }
  768. .img_ul_li {
  769. margin-bottom: 23px;
  770. display: flex;
  771. overflow: hidden;
  772. width: 100%;
  773. a {
  774. color:#333;
  775. display: flex;
  776. align-items: center;
  777. justify-content: space-between;
  778. }
  779. }
  780. .img_ul_li_img {
  781. width: 185px;
  782. height: 130px;
  783. margin-right: 20px;
  784. }
  785. .img_ul_li_dot4 {
  786. height: 96px;
  787. line-height: 24px;
  788. color: #333;
  789. font-size: 18px;
  790. margin-top: 17px;
  791. overflow: hidden;
  792. display: -webkit-box !important;
  793. -webkit-box-orient: vertical;
  794. -webkit-line-clamp: 4;
  795. }
  796. .ul_box {
  797. margin-top: 20px;
  798. overflow: hidden;
  799. width: 100%;
  800. .ul_li {
  801. line-height: 24px;
  802. height: 24px;
  803. position: relative;
  804. color: #333;
  805. font-size: 18px;
  806. text-indent: 16px;
  807. margin-bottom: 19px;
  808. word-break: keep-all;
  809. white-space: nowrap;
  810. overflow: hidden;
  811. text-overflow: ellipsis;
  812. a {
  813. color: #333;
  814. }
  815. }
  816. .ul_li:nth-last-of-type(1) {
  817. margin-bottom: 0px;
  818. }
  819. .ul_li:nth-of-type(3n-2) {
  820. font-weight: bold;
  821. }
  822. .ul_li::before {
  823. content: '';
  824. position: absolute;
  825. left: 0px;
  826. top: 10px;
  827. width: 6px;
  828. height: 6px;
  829. background: #F2F2F2;
  830. }
  831. }
  832. .img_2_ul {
  833. overflow: hidden;
  834. margin-top: 20px;
  835. width: 100%;
  836. }
  837. .img_2_ul_li {
  838. width: 185px;
  839. height: 130px;
  840. position: relative;
  841. }
  842. .img_2_ul_li:nth-of-type(odd) {
  843. float: left;
  844. }
  845. .img_2_ul_li:nth-of-type(even) {
  846. float: right;
  847. }
  848. .img_2_ul_li a {
  849. display: block;
  850. width: 100%;
  851. height: 100%;
  852. }
  853. .img_2_ul_li_img {
  854. display: block;
  855. width: 100%;
  856. height: 100%;
  857. }
  858. .img_2_ul_li_dot1 {
  859. font-weight: bold;
  860. width: 100%;
  861. height: 29px;
  862. line-height: 29px;
  863. display: block;
  864. position: absolute;
  865. left: 0px;
  866. bottom: 0px;
  867. text-align: center;
  868. color: #fff;
  869. font-size: 12px;
  870. box-sizing: border-box;
  871. padding: 0px 9px;
  872. word-break: keep-all;
  873. white-space: nowrap;
  874. overflow: hidden;
  875. text-overflow: ellipsis;
  876. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  877. }
  878. }
  879. .left_in_5 {
  880. width: 100%;
  881. .ul_head {
  882. height: 47px;
  883. border-bottom: solid 1px #93969A;
  884. border-top: solid 1px #DCDDDF;
  885. margin: 0px;
  886. box-sizing: border-box;
  887. }
  888. .ul_head * {
  889. float: left;
  890. height: 100%;
  891. line-height: 47px;
  892. box-sizing: border-box;
  893. font-weight: bold;
  894. color: #A72213;
  895. font-size: 20px;
  896. border-bottom: solid 2px #A72213;
  897. }
  898. .img_ul {
  899. margin-top: 20px;
  900. }
  901. .img_ul_li {
  902. margin-bottom: 23px;
  903. display: flex;
  904. overflow: hidden;
  905. width: 100%;
  906. a {
  907. color:#333;
  908. display: flex;
  909. align-items: center;
  910. justify-content: space-between;
  911. }
  912. }
  913. .img_ul_li_img {
  914. width: 185px;
  915. height: 130px;
  916. margin-right: 20px;
  917. }
  918. .img_ul_li_dot4 {
  919. height: 96px;
  920. line-height: 24px;
  921. color: #333;
  922. font-size: 18px;
  923. margin-top: 17px;
  924. overflow: hidden;
  925. display: -webkit-box !important;
  926. -webkit-box-orient: vertical;
  927. -webkit-line-clamp: 4;
  928. }
  929. .ul_box {
  930. margin-top: 20px;
  931. overflow: hidden;
  932. width: 100%;
  933. .ul_li {
  934. line-height: 24px;
  935. height: 24px;
  936. position: relative;
  937. color: #333;
  938. font-size: 18px;
  939. text-indent: 16px;
  940. margin-bottom: 20px;
  941. word-break: keep-all;
  942. white-space: nowrap;
  943. overflow: hidden;
  944. text-overflow: ellipsis;
  945. a {
  946. color: #333;
  947. }
  948. }
  949. .ul_li:nth-last-of-type(1) {
  950. margin-bottom: 0px;
  951. }
  952. .ul_li::before {
  953. content: '';
  954. position: absolute;
  955. left: 0px;
  956. top: 10px;
  957. width: 6px;
  958. height: 6px;
  959. background: #F2F2F2;
  960. }
  961. }
  962. .img_2_ul {
  963. overflow: hidden;
  964. margin-top: 20px;
  965. width: 100%;
  966. }
  967. .img_2_ul_li {
  968. width: 185px;
  969. height: 130px;
  970. position: relative;
  971. }
  972. .img_2_ul_li:nth-of-type(odd) {
  973. float: left;
  974. }
  975. .img_2_ul_li:nth-of-type(even) {
  976. float: right;
  977. }
  978. .img_2_ul_li a {
  979. display: block;
  980. width: 100%;
  981. height: 100%;
  982. }
  983. .img_2_ul_li_img {
  984. display: block;
  985. width: 100%;
  986. height: 100%;
  987. }
  988. .img_2_ul_li_dot1 {
  989. font-weight: bold;
  990. width: 100%;
  991. height: 29px;
  992. line-height: 29px;
  993. display: block;
  994. position: absolute;
  995. left: 0px;
  996. bottom: 0px;
  997. text-align: center;
  998. color: #fff;
  999. font-size: 12px;
  1000. box-sizing: border-box;
  1001. padding: 0px 9px;
  1002. word-break: keep-all;
  1003. white-space: nowrap;
  1004. overflow: hidden;
  1005. text-overflow: ellipsis;
  1006. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1007. }
  1008. }
  1009. .left_in_6 {
  1010. width: 100%;
  1011. .ul_head {
  1012. height: 47px;
  1013. border-bottom: solid 1px #93969A;
  1014. border-top: solid 1px #DCDDDF;
  1015. margin: 0px;
  1016. box-sizing: border-box;
  1017. }
  1018. .ul_head * {
  1019. float: left;
  1020. height: 100%;
  1021. line-height: 47px;
  1022. box-sizing: border-box;
  1023. font-weight: bold;
  1024. color: #A72213;
  1025. font-size: 20px;
  1026. border-bottom: solid 2px #A72213;
  1027. }
  1028. .img_ul {
  1029. margin-top: 20px;
  1030. }
  1031. .img_ul_li {
  1032. margin-bottom: 23px;
  1033. display: flex;
  1034. overflow: hidden;
  1035. width: 100%;
  1036. a {
  1037. color:#333;
  1038. display: flex;
  1039. align-items: center;
  1040. justify-content: space-between;
  1041. }
  1042. }
  1043. .img_ul_li_img {
  1044. width: 185px;
  1045. height: 130px;
  1046. margin-right: 20px;
  1047. }
  1048. .img_ul_li_dot4 {
  1049. height: 96px;
  1050. line-height: 24px;
  1051. color: #333;
  1052. font-size: 18px;
  1053. margin-top: 17px;
  1054. overflow: hidden;
  1055. display: -webkit-box !important;
  1056. -webkit-box-orient: vertical;
  1057. -webkit-line-clamp: 4;
  1058. }
  1059. .ul_box {
  1060. margin-top: 20px;
  1061. overflow: hidden;
  1062. width: 100%;
  1063. .ul_li {
  1064. line-height: 24px;
  1065. height: 24px;
  1066. position: relative;
  1067. color: #333;
  1068. font-size: 18px;
  1069. text-indent: 16px;
  1070. margin-bottom: 20px;
  1071. word-break: keep-all;
  1072. white-space: nowrap;
  1073. overflow: hidden;
  1074. text-overflow: ellipsis;
  1075. a {
  1076. color: #333;
  1077. }
  1078. }
  1079. .ul_li:nth-last-of-type(1) {
  1080. margin-bottom: 0px;
  1081. }
  1082. .ul_li:nth-of-type(3n-2) {
  1083. font-weight: bold;
  1084. }
  1085. .ul_li::before {
  1086. content: '';
  1087. position: absolute;
  1088. left: 0px;
  1089. top: 10px;
  1090. width: 6px;
  1091. height: 6px;
  1092. background: #F2F2F2;
  1093. }
  1094. }
  1095. .img_2_ul {
  1096. overflow: hidden;
  1097. margin-top: 20px;
  1098. width: 100%;
  1099. }
  1100. .img_2_ul_li {
  1101. width: 185px;
  1102. height: 130px;
  1103. position: relative;
  1104. }
  1105. .img_2_ul_li:nth-of-type(odd) {
  1106. float: left;
  1107. }
  1108. .img_2_ul_li:nth-of-type(even) {
  1109. float: right;
  1110. }
  1111. .img_2_ul_li a {
  1112. display: block;
  1113. width: 100%;
  1114. height: 100%;
  1115. }
  1116. .img_2_ul_li_img {
  1117. display: block;
  1118. width: 100%;
  1119. height: 100%;
  1120. }
  1121. .img_2_ul_li_dot1 {
  1122. font-weight: bold;
  1123. width: 100%;
  1124. height: 29px;
  1125. line-height: 29px;
  1126. display: block;
  1127. position: absolute;
  1128. left: 0px;
  1129. bottom: 0px;
  1130. text-align: center;
  1131. color: #fff;
  1132. font-size: 12px;
  1133. box-sizing: border-box;
  1134. padding: 0px 9px;
  1135. word-break: keep-all;
  1136. white-space: nowrap;
  1137. overflow: hidden;
  1138. text-overflow: ellipsis;
  1139. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1140. }
  1141. }
  1142. </style>