1_1.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. <template>
  2. <div class="box_1">
  3. <h4 class="ul_head">
  4. <span class="ul_head_only">
  5. <NuxtLink v-if="titleLink.cid" :href="getLinkPath(titleLink)" :title="titleLink.alias">
  6. {{ titleLink.alias }}
  7. </NuxtLink>
  8. </span>
  9. </h4>
  10. </div>
  11. <div>
  12. <!--样式1-->
  13. <div class="box_1" v-if="componentStyle == 1">
  14. <div class="box_1_in">
  15. <div class="box_1_card">
  16. <div class="img_ul">
  17. <div class="img_ul_li" v-for="item in component_style1_News1Array_img_1">
  18. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  19. <img class="" :src="item.src" title="" alt="">
  20. <span class="img_ul_li_dot1"> {{ item.title }} </span>
  21. </NuxtLink>
  22. </div>
  23. </div>
  24. <div class="ul_box">
  25. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  26. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  27. <div class="ul_li_time"> {{ item.updated_at }} </div>
  28. <div class="ul_li_dot1"> {{ item.title }} </div>
  29. </NuxtLink>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. <!--样式2-->
  36. <div class="box_2" v-if="componentStyle == 2">
  37. <div class="box_1_in">
  38. <div class="box_1_card">
  39. <div class="ul_box">
  40. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  41. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  42. <div class="ul_li_time"> {{ item.updated_at }} </div>
  43. <div class="ul_li_dot1"> {{ item.title }} </div>
  44. </NuxtLink>
  45. </div>
  46. </div>
  47. <div class="img_ul">
  48. <div class="img_ul_li" v-for="item in component_style1_News1Array_img_1">
  49. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  50. <img class="" :src="item.src" title="" alt="">
  51. <span class="img_ul_li_dot1"> {{ item.title }} </span>
  52. </NuxtLink>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. <!--样式3-->
  59. <div class="box_3" v-if="componentStyle == 3">
  60. <div class="box_1_in">
  61. <div class="box_1_card">
  62. <div class="img_ul">
  63. <div class="img_ul_li" v-for="item in component_style1_News1Array_img_1">
  64. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  65. <img class="" :src="item.src" title="" alt="">
  66. <span class="img_ul_li_dot1"> {{ item.title }} </span>
  67. </NuxtLink>
  68. </div>
  69. </div>
  70. <div class="ul_box">
  71. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  72. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  73. <div class="ul_li_time"> {{ item.updated_at }} </div>
  74. <div class="ul_li_dot1"> {{ item.title }} </div>
  75. </NuxtLink>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. <!--样式4-->
  82. <div class="box_4" v-if="componentStyle == 4">
  83. <div class="box_1_in">
  84. <div class="box_1_card">
  85. <div class="ul_box">
  86. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  87. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  88. <div class="ul_li_time"> {{ item.updated_at }} </div>
  89. <div class="ul_li_dot1"> {{ item.title }} </div>
  90. </NuxtLink>
  91. </div>
  92. </div>
  93. <div class="img_ul">
  94. <div class="img_ul_li" v-for="item in component_style1_News1Array_img_1">
  95. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  96. <img class="" :src="item.src" title="" alt="">
  97. <span class="img_ul_li_dot1"> {{ item.title }} </span>
  98. </NuxtLink>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <!--样式5-->
  105. <div class="box_5" v-if="componentStyle == 5">
  106. <div class="box_1_in">
  107. <div class="box_1_card">
  108. <div class="ul_box">
  109. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  110. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  111. <div class="ul_li_time"> {{ item.updated_at }} </div>
  112. <div class="ul_li_dot1"> {{ item.title }} </div>
  113. </NuxtLink>
  114. </div>
  115. </div>
  116. </div>
  117. </div>
  118. </div>
  119. <!--样式6-->
  120. <div class="box_6" v-if="componentStyle == 6">
  121. <div class="box_1_in">
  122. <div class="box_1_card">
  123. <div class="ul_box">
  124. <div class="ul_box">
  125. <div class="ul_li" v-for="item in component_style1_News1Array_text_1">
  126. <NuxtLink :href="getLinkPathDetail(item)" :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  127. <div class="ul_li_time"> {{ item.updated_at }} </div>
  128. <div class="ul_li_dot1"> {{ item.title }} </div>
  129. </NuxtLink>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </template>
  138. <script setup>
  139. //引入vue
  140. import { ref } from 'vue';
  141. //获得新闻数据
  142. const props = defineProps({
  143. titleLink: Object,//板块1名称
  144. templateData: Array,//新闻数据
  145. componentStyle: Number,//样式编号
  146. });
  147. //定义tab切换
  148. const component_style1_News1Array_img_1 = ref([]);
  149. const component_style1_News1Array_text_1 = ref([]);
  150. component_style1_News1Array_img_1.value = props.templateData.imgnum.slice(0, 3);
  151. component_style1_News1Array_text_1.value = props.templateData.textnum.slice(0, 10);
  152. </script>
  153. <style lang="less" scoped>
  154. //基本样式 start ---------------------------------------->
  155. .tabsNewsBox {
  156. display: none;
  157. }
  158. .box_1 {
  159. .ul_head {
  160. height: 47px;
  161. border-bottom: solid 1px #93969A;
  162. border-top: solid 1px #DCDDDF;
  163. margin: 0px;
  164. box-sizing: border-box;
  165. a {
  166. display: block;
  167. text-align: center;
  168. width: 100%;
  169. color: #333;
  170. }
  171. }
  172. .ul_head span {
  173. float: left;
  174. height: 100%;
  175. line-height: 47px;
  176. box-sizing: border-box;
  177. font-weight: bold;
  178. color: #333;
  179. font-size: 20px;
  180. display: block;
  181. margin-right: 30px;
  182. }
  183. .ul_head .ul_head_only {
  184. color: #A72213;
  185. border-bottom: solid 2px #A72213;
  186. a {
  187. color: #A72213;
  188. }
  189. }
  190. .box_1_card {
  191. overflow: hidden;
  192. margin-top: 19px;
  193. }
  194. .img_ul {
  195. width: 185px;
  196. float: left;
  197. }
  198. .img_ul_li {
  199. width: 100%;
  200. height: 130px;
  201. position: relative;
  202. margin-bottom: 20px;
  203. }
  204. .img_ul_li:nth-last-of-type(1) {
  205. margin-bottom: 0px;
  206. }
  207. .img_ul_li img {
  208. display: block;
  209. width: 100%;
  210. height: 100%;
  211. }
  212. .img_ul_li_dot1 {
  213. position: absolute;
  214. bottom: 0px;
  215. left: 0px;
  216. width: 100%;
  217. height: 30px;
  218. line-height: 30px;
  219. text-align: center;
  220. font-size: 12px;
  221. color: #fff;
  222. box-sizing: border-box;
  223. padding: 0px 21px;
  224. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  225. word-break: keep-all;
  226. white-space: nowrap;
  227. overflow: hidden;
  228. text-overflow: ellipsis;
  229. }
  230. .ul_box {
  231. width: 585px;
  232. float: right;
  233. }
  234. .ul_li {
  235. height: 21px;
  236. margin-bottom: 24px;
  237. }
  238. .ul_li_time {
  239. float: right;
  240. min-width: 47px;
  241. height: 21px;
  242. line-height: 21px;
  243. font-size: 16px;
  244. color: #999;
  245. margin-left: 44px;
  246. }
  247. .ul_li_dot1 {
  248. height: 21px;
  249. line-height: 21px;
  250. font-size: 16px;
  251. color: #333;
  252. position: relative;
  253. text-indent: 16px;
  254. word-break: keep-all;
  255. white-space: nowrap;
  256. overflow: hidden;
  257. text-overflow: ellipsis;
  258. }
  259. .ul_li:nth-last-of-type(1) {
  260. margin-bottom: 0px;
  261. }
  262. .ul_li:nth-of-type(5n-4) * {
  263. font-weight: bold;
  264. }
  265. .ul_li_dot1::before {
  266. content: "";
  267. position: absolute;
  268. top: 7px;
  269. left: 0px;
  270. width: 6px;
  271. height: 6px;
  272. background-color: #F2F2F2;
  273. }
  274. }
  275. .box_2 {
  276. .ul_head {
  277. height: 47px;
  278. border-bottom: solid 1px #93969A;
  279. border-top: solid 1px #DCDDDF;
  280. margin: 0px;
  281. box-sizing: border-box;
  282. }
  283. .ul_head * {
  284. float: left;
  285. height: 100%;
  286. line-height: 47px;
  287. box-sizing: border-box;
  288. font-weight: bold;
  289. color: #333;
  290. font-size: 20px;
  291. margin-right: 30px;
  292. }
  293. .ul_head .ul_head_only {
  294. color: #A72213;
  295. border-bottom: solid 2px #A72213;
  296. }
  297. .box_1_card {
  298. overflow: hidden;
  299. margin-top: 19px;
  300. }
  301. .img_ul {
  302. width: 185px;
  303. float: right;
  304. }
  305. .img_ul_li {
  306. width: 100%;
  307. height: 130px;
  308. position: relative;
  309. margin-bottom: 20px;
  310. }
  311. .img_ul_li:nth-last-of-type(1) {
  312. margin-bottom: 0px;
  313. }
  314. .img_ul_li img {
  315. display: block;
  316. width: 100%;
  317. height: 100%;
  318. }
  319. .img_ul_li_dot1 {
  320. position: absolute;
  321. bottom: 0px;
  322. left: 0px;
  323. width: 100%;
  324. height: 30px;
  325. line-height: 30px;
  326. text-align: center;
  327. font-size: 12px;
  328. color: #fff;
  329. box-sizing: border-box;
  330. padding: 0px 21px;
  331. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  332. word-break: keep-all;
  333. white-space: nowrap;
  334. overflow: hidden;
  335. text-overflow: ellipsis;
  336. }
  337. .ul_box {
  338. width: 585px;
  339. float: left;
  340. }
  341. .ul_li {
  342. height: 21px;
  343. margin-bottom: 24px;
  344. }
  345. .ul_li_time {
  346. float: right;
  347. min-width: 47px;
  348. height: 21px;
  349. line-height: 21px;
  350. font-size: 16px;
  351. color: #999;
  352. margin-left: 44px;
  353. }
  354. .ul_li_dot1 {
  355. height: 21px;
  356. line-height: 21px;
  357. font-size: 16px;
  358. color: #333;
  359. position: relative;
  360. text-indent: 16px;
  361. word-break: keep-all;
  362. white-space: nowrap;
  363. overflow: hidden;
  364. text-overflow: ellipsis;
  365. }
  366. .ul_li:nth-last-of-type(1) {
  367. margin-bottom: 0px;
  368. }
  369. .ul_li:nth-of-type(5n-4) * {
  370. font-weight: bold;
  371. }
  372. .ul_li_dot1::before {
  373. content: "";
  374. position: absolute;
  375. top: 7px;
  376. left: 0px;
  377. width: 6px;
  378. height: 6px;
  379. background-color: #F2F2F2;
  380. }
  381. }
  382. .box_3 {
  383. .ul_head {
  384. height: 47px;
  385. border-bottom: solid 1px #93969A;
  386. border-top: solid 1px #DCDDDF;
  387. margin: 0px;
  388. box-sizing: border-box;
  389. }
  390. .ul_head * {
  391. float: left;
  392. height: 100%;
  393. line-height: 47px;
  394. box-sizing: border-box;
  395. font-weight: bold;
  396. color: #333;
  397. font-size: 20px;
  398. margin-right: 30px;
  399. }
  400. .ul_head .ul_head_only {
  401. color: #A72213;
  402. border-bottom: solid 2px #A72213;
  403. }
  404. .box_1_card {
  405. overflow: hidden;
  406. margin-top: 19px;
  407. }
  408. .img_ul {
  409. width: 185px;
  410. float: left;
  411. }
  412. .img_ul_li {
  413. width: 100%;
  414. height: 130px;
  415. position: relative;
  416. margin-bottom: 20px;
  417. }
  418. .img_ul_li:nth-last-of-type(1) {
  419. margin-bottom: 0px;
  420. }
  421. .img_ul_li img {
  422. display: block;
  423. width: 100%;
  424. height: 100%;
  425. }
  426. .img_ul_li_dot1 {
  427. position: absolute;
  428. bottom: 0px;
  429. left: 0px;
  430. width: 100%;
  431. height: 30px;
  432. line-height: 30px;
  433. text-align: center;
  434. font-size: 12px;
  435. color: #fff;
  436. box-sizing: border-box;
  437. padding: 0px 21px;
  438. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  439. word-break: keep-all;
  440. white-space: nowrap;
  441. overflow: hidden;
  442. text-overflow: ellipsis;
  443. }
  444. .ul_box {
  445. width: 585px;
  446. float: right;
  447. }
  448. .ul_li {
  449. height: 21px;
  450. margin-bottom: 24px;
  451. }
  452. .ul_li_time {
  453. float: right;
  454. min-width: 47px;
  455. height: 21px;
  456. line-height: 21px;
  457. font-size: 16px;
  458. color: #999;
  459. margin-left: 44px;
  460. }
  461. .ul_li_dot1 {
  462. height: 21px;
  463. line-height: 21px;
  464. font-size: 16px;
  465. color: #333;
  466. position: relative;
  467. text-indent: 16px;
  468. word-break: keep-all;
  469. white-space: nowrap;
  470. overflow: hidden;
  471. text-overflow: ellipsis;
  472. }
  473. .ul_li:nth-last-of-type(1) {
  474. margin-bottom: 0px;
  475. }
  476. .ul_li_dot1::before {
  477. content: "";
  478. position: absolute;
  479. top: 7px;
  480. left: 0px;
  481. width: 6px;
  482. height: 6px;
  483. background-color: #F2F2F2;
  484. }
  485. }
  486. .box_4 {
  487. .ul_head {
  488. height: 47px;
  489. border-bottom: solid 1px #93969A;
  490. border-top: solid 1px #DCDDDF;
  491. margin: 0px;
  492. box-sizing: border-box;
  493. }
  494. .ul_head * {
  495. float: left;
  496. height: 100%;
  497. line-height: 47px;
  498. box-sizing: border-box;
  499. font-weight: bold;
  500. color: #333;
  501. font-size: 20px;
  502. margin-right: 30px;
  503. }
  504. .ul_head .ul_head_only {
  505. color: #A72213;
  506. border-bottom: solid 2px #A72213;
  507. }
  508. .box_1_card {
  509. overflow: hidden;
  510. margin-top: 19px;
  511. }
  512. .img_ul {
  513. width: 185px;
  514. float: right;
  515. }
  516. .img_ul_li {
  517. width: 100%;
  518. height: 130px;
  519. position: relative;
  520. margin-bottom: 20px;
  521. }
  522. .img_ul_li:nth-last-of-type(1) {
  523. margin-bottom: 0px;
  524. }
  525. .img_ul_li img {
  526. display: block;
  527. width: 100%;
  528. height: 100%;
  529. }
  530. .img_ul_li_dot1 {
  531. position: absolute;
  532. bottom: 0px;
  533. left: 0px;
  534. width: 100%;
  535. height: 30px;
  536. line-height: 30px;
  537. text-align: center;
  538. font-size: 12px;
  539. color: #fff;
  540. box-sizing: border-box;
  541. padding: 0px 21px;
  542. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  543. word-break: keep-all;
  544. white-space: nowrap;
  545. overflow: hidden;
  546. text-overflow: ellipsis;
  547. }
  548. .ul_box {
  549. width: 585px;
  550. float: left;
  551. }
  552. .ul_li {
  553. height: 21px;
  554. margin-bottom: 24px;
  555. }
  556. .ul_li_time {
  557. float: right;
  558. min-width: 47px;
  559. height: 21px;
  560. line-height: 21px;
  561. font-size: 16px;
  562. color: #999;
  563. margin-left: 44px;
  564. }
  565. .ul_li_dot1 {
  566. height: 21px;
  567. line-height: 21px;
  568. font-size: 16px;
  569. color: #333;
  570. position: relative;
  571. text-indent: 16px;
  572. word-break: keep-all;
  573. white-space: nowrap;
  574. overflow: hidden;
  575. text-overflow: ellipsis;
  576. }
  577. .ul_li:nth-last-of-type(1) {
  578. margin-bottom: 0px;
  579. }
  580. .ul_li_dot1::before {
  581. content: "";
  582. position: absolute;
  583. top: 7px;
  584. left: 0px;
  585. width: 6px;
  586. height: 6px;
  587. background-color: #F2F2F2;
  588. }
  589. }
  590. .box_5 {
  591. .ul_head {
  592. height: 47px;
  593. border-bottom: solid 1px #93969A;
  594. border-top: solid 1px #DCDDDF;
  595. margin: 0px;
  596. box-sizing: border-box;
  597. }
  598. .ul_head * {
  599. float: left;
  600. height: 100%;
  601. line-height: 47px;
  602. box-sizing: border-box;
  603. font-weight: bold;
  604. color: #333;
  605. font-size: 20px;
  606. margin-right: 30px;
  607. }
  608. .ul_head .ul_head_only {
  609. color: #A72213;
  610. border-bottom: solid 2px #A72213;
  611. }
  612. .box_1_card {
  613. overflow: hidden;
  614. margin-top: 19px;
  615. }
  616. .ul_box {
  617. width: 100%;
  618. }
  619. .ul_li {
  620. height: 21px;
  621. margin-bottom: 24px;
  622. }
  623. .ul_li_time {
  624. float: right;
  625. min-width: 47px;
  626. height: 21px;
  627. line-height: 21px;
  628. font-size: 16px;
  629. color: #999;
  630. margin-left: 44px;
  631. }
  632. .ul_li_dot1 {
  633. height: 21px;
  634. line-height: 21px;
  635. font-size: 16px;
  636. color: #333;
  637. position: relative;
  638. text-indent: 16px;
  639. word-break: keep-all;
  640. white-space: nowrap;
  641. overflow: hidden;
  642. text-overflow: ellipsis;
  643. }
  644. .ul_li:nth-last-of-type(1) {
  645. margin-bottom: 0px;
  646. }
  647. .ul_li:nth-of-type(5n-4) * {
  648. font-weight: bold;
  649. }
  650. .ul_li_dot1::before {
  651. content: "";
  652. position: absolute;
  653. top: 7px;
  654. left: 0px;
  655. width: 6px;
  656. height: 6px;
  657. background-color: #F2F2F2;
  658. }
  659. }
  660. .box_6 {
  661. .ul_head {
  662. height: 47px;
  663. border-bottom: solid 1px #93969A;
  664. border-top: solid 1px #DCDDDF;
  665. margin: 0px;
  666. box-sizing: border-box;
  667. }
  668. .ul_head * {
  669. float: left;
  670. height: 100%;
  671. line-height: 47px;
  672. box-sizing: border-box;
  673. font-weight: bold;
  674. color: #333;
  675. font-size: 20px;
  676. margin-right: 30px;
  677. }
  678. .ul_head .ul_head_only {
  679. color: #A72213;
  680. border-bottom: solid 2px #A72213;
  681. }
  682. .box_1_card {
  683. overflow: hidden;
  684. margin-top: 19px;
  685. }
  686. .ul_box {
  687. width: 100%;
  688. }
  689. .ul_li {
  690. height: 21px;
  691. margin-bottom: 24px;
  692. }
  693. .ul_li_time {
  694. float: right;
  695. min-width: 47px;
  696. height: 21px;
  697. line-height: 21px;
  698. font-size: 16px;
  699. color: #999;
  700. margin-left: 44px;
  701. }
  702. .ul_li_dot1 {
  703. height: 21px;
  704. line-height: 21px;
  705. font-size: 16px;
  706. color: #333;
  707. position: relative;
  708. text-indent: 16px;
  709. word-break: keep-all;
  710. white-space: nowrap;
  711. overflow: hidden;
  712. text-overflow: ellipsis;
  713. }
  714. .ul_li:nth-last-of-type(1) {
  715. margin-bottom: 0px;
  716. }
  717. .ul_li_dot1::before {
  718. content: "";
  719. position: absolute;
  720. top: 7px;
  721. left: 0px;
  722. width: 6px;
  723. height: 6px;
  724. background-color: #F2F2F2;
  725. }
  726. }
  727. //基本样式
  728. .tabsNewsBox {
  729. .tabsNewsTitle {
  730. display: flex;
  731. align-items: flex-start;
  732. justify-content: flex-start;
  733. border-bottom: 1px solid #999999;
  734. height: 38px;
  735. div {
  736. height: 35px;
  737. width: 138px;
  738. line-height: 32px;
  739. font-size: 22px;
  740. font-weight: bold;
  741. color: #333333;
  742. cursor: pointer;
  743. overflow: hidden;
  744. text-overflow: ellipsis;
  745. white-space: nowrap;
  746. &.activeTab {
  747. color: #3848A0;
  748. background: url("https://img.bjzxtw.org.cn/pre/image/png/20251104/1762224944805589.png") bottom left no-repeat;
  749. }
  750. }
  751. }
  752. .tabsNewsContent {
  753. .textTop {
  754. display: flex;
  755. height: 100px;
  756. padding-left: 0;
  757. div {
  758. background: #fff;
  759. padding-left: 0;
  760. margin-top: 0;
  761. }
  762. .time {
  763. display: block;
  764. width: 100px;
  765. height: 100px;
  766. background: #eaf3ff;
  767. padding: 0 12px;
  768. div {
  769. background-color: #eaf3ff;
  770. display: block;
  771. }
  772. .day {
  773. width: 100%;
  774. height: 57px;
  775. line-height: 57px;
  776. font-size: 38px;
  777. color: #3848A0;
  778. text-align: center;
  779. border-bottom: 1px solid #3848A0;
  780. }
  781. .month {
  782. width: 100%;
  783. height: 43px;
  784. line-height: 43px;
  785. font-size: 16px;
  786. color: #3848A0;
  787. text-align: center;
  788. }
  789. }
  790. .text {
  791. width: 615px;
  792. height: 100px;
  793. display: block;
  794. margin-right: 50px;
  795. .title {
  796. width: 100%;
  797. height: 24px;
  798. line-height: 24px;
  799. font-size: 18px;
  800. font-weight: bold;
  801. color: #333333;
  802. margin-bottom: 20px;
  803. }
  804. .content {
  805. width: 100%;
  806. max-height: 63px;
  807. line-height: 20px;
  808. font-size: 16px;
  809. color: #999999;
  810. }
  811. }
  812. }
  813. div {
  814. width: 100%;
  815. display: flex;
  816. align-items: center;
  817. justify-content: space-between;
  818. margin-top: 20px;
  819. height: 21px;
  820. line-height: 21px;
  821. color: #333333;
  822. cursor: pointer;
  823. span {
  824. color: #999999;
  825. }
  826. }
  827. }
  828. .style1,.style2 {
  829. div {
  830. padding-left: 16px;
  831. background: url("https://img.bjzxtw.org.cn/pre/image/jpeg/20251104/1762226432153586.jpg") no-repeat left center;
  832. }
  833. }
  834. .style3,.style4 {
  835. div {
  836. padding-left: 16px;
  837. background: url("https://img.bjzxtw.org.cn/pre/image/png/20251104/1762226842166040.png") no-repeat left center;
  838. }
  839. }
  840. .dashed {
  841. border: dashed 1px #999999;
  842. }
  843. .style5,.style6 {
  844. div {
  845. padding-left: 16px;
  846. background: url("https://img.bjzxtw.org.cn/pre/image/jpeg/20251104/1762226432153586.jpg") no-repeat left center;
  847. }
  848. }
  849. .style7,.style8 {
  850. div {
  851. padding-left: 16px;
  852. background: url("https://img.bjzxtw.org.cn/pre/image/png/20251104/1762226842166040.png") no-repeat left center;
  853. }
  854. }
  855. }
  856. </style>