index_yb-new-nav.vue 124 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350
  1. <template>
  2. <div>
  3. <!--logo-->
  4. <HomePageHead></HomePageHead>
  5. <!--导航-->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!--首页顶部滚动新闻-->
  8. <div class="swiper-container">
  9. <Swiper :slides-per-view="5" :space-between="20" :loop="true" :autoplay="{
  10. delay: 3000,
  11. disableOnInteraction: false,
  12. pauseOnMouseEnter: true,
  13. stopOnLastSlide: false,
  14. waitForTransition: true
  15. }" :speed="600" :modules="modules" @slide-change="swiperHandleSlideChange" @swiper="onSwiper"
  16. class="custom-swiper" :navigation="true">
  17. <SwiperSlide v-for="(item, index) in 15" :key="index">
  18. <NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title" class="slide-link"
  19. :data-index="index">
  20. <div class="image-container">
  21. <!-- <img
  22. :src="item.imgurl || '/index/news.png'"
  23. :alt="item.title"
  24. class="slide-image"
  25. loading="lazy"
  26. /> -->
  27. <img src="/public/index/news.png" :alt="item.title" class="slide-image" loading="lazy" />
  28. <span class="image-title">{{ item.title }}</span>
  29. </div>
  30. </NuxtLink>
  31. </SwiperSlide>
  32. </Swiper>
  33. </div>
  34. <!--首页顶部新闻-->
  35. <div class="index—layer-1">
  36. <!--左侧焦点图新闻-->
  37. <div class="index—layer-1-left">
  38. <div class="nuxt-swiper" v-if="imagelist">
  39. <el-carousel :interval="663000" :touchable="true" arrow="never" indicator-class="custom-indicator"
  40. class="custom-carousel roll_in" @change="handleIndicatorChange">
  41. <el-carousel-item v-for="(item, index) in imagelist" :key="index">
  42. <NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title">
  43. <!-- <img :src="item.imgurl" :alt="item.title"> -->
  44. <img src="/public/index/news.png" :alt="item.title">
  45. <span>{{ item.title }}</span>
  46. </NuxtLink>
  47. </el-carousel-item>
  48. <template #indicator="{ index }">
  49. <button :class="{ 'active-indicator': currentIndex === index }">{{ index + 1 }}</button>
  50. </template>
  51. </el-carousel>
  52. </div>
  53. </div>
  54. <!--中央选项卡-->
  55. <div class="index-layer-1-middle">
  56. <div class="index-tabs">
  57. <div class="tabtlt">
  58. <div @mouseenter="indexTabs = 1" :class="indexTabs == 1 ? 'intabtltbg' : ''">
  59. <NuxtLink
  60. v-if="pageData[0].cid"
  61. :href="getLinkPath(pageData[0])"
  62. :title="pageData[0].alias"
  63. >
  64. {{pageData[0].title}}
  65. </NuxtLink>
  66. </div>
  67. <div @mouseenter="indexTabs = 2" :class="indexTabs == 2 ? 'intabtltbg' : ''">
  68. <NuxtLink v-if="pageData[1].cid"
  69. :href="getLinkPath(pageData[1])"
  70. :title="pageData[1].alias" >
  71. {{pageData[1].title}}
  72. </NuxtLink>
  73. </div>
  74. </div>
  75. <div>
  76. <div v-if="indexTabs == 1" class="coninfoitem">
  77. <div class="coninfoitem_img">
  78. <NuxtLink
  79. :href="getLinkPathDetail(boxData1[0])"
  80. :title="boxData1[0].title"
  81. :target="boxData1[0].islink == 1 ? '_blank' : '_self'"
  82. class="coninfoitem_title"
  83. >
  84. <img src="/public/index/news.png" />
  85. <div class="coninfoitem_img_text">
  86. <h3>
  87. <!-- {{boxData1[0].title}} -->
  88. {{boxData1[0].imgurl}}
  89. </h3>
  90. <p>
  91. {{boxData1[0].introduce}}
  92. </p>
  93. </div>
  94. </NuxtLink>
  95. </div>
  96. <NuxtLink
  97. v-for="(item, index) in boxData1data2" :key="index"
  98. :href="getLinkPathDetail(item)"
  99. :title="item.title"
  100. :target="item.islink == 1 ? '_blank' : '_self'"
  101. class="coninfoitem_title">
  102. <span>{{ item.title }}</span>
  103. <!-- <span>{{getTime(item.updated_at,'month',1)}}</span> -->
  104. </NuxtLink>
  105. </div>
  106. <div v-if="indexTabs == 2" class="coninfoitem">
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. <!--右侧新闻列表-->
  112. <div class="index-layer-1-right">
  113. <div class="imgtlt">
  114. <NuxtLink v-if="pageData[2].cid" class="coninfoitem_title"
  115. :href="getLinkPath(pageData[2])"
  116. :title="pageData[2].alias" >
  117. {{pageData[2].title}}
  118. </NuxtLink>
  119. </div>
  120. <div class="con_img_list">
  121. <NuxtLink to="/">
  122. <img src="/public/index/news.png" />
  123. <div class="con_img_list_rgba">青山梦:一位古稀企业...</div>
  124. </NuxtLink>
  125. <NuxtLink to="/">
  126. <img src="/public/index/news.png" />
  127. <div class="con_img_list_rgba">安全入校园 应急护童行 | 济宁市惠民社会救助服务中心“135最小应急单元” 走进南张中心幼儿园(第一期)</div>
  128. </NuxtLink>
  129. <NuxtLink to="/">
  130. <img src="/public/index/news.png" />
  131. <div class="con_img_list_rgba">吉林长春经济技术开发区:检察服务窗口嵌入综治中心</div>
  132. </NuxtLink>
  133. <NuxtLink to="/">
  134. <img src="/public/index/news.png" />
  135. <div class="con_img_list_rgba">天津高院与北辰法院联合举办全市法院司法警察“活力警营·逐梦青春”越野接力活动</div>
  136. </NuxtLink>
  137. </div>
  138. </div>
  139. </div>
  140. <!--首页中央新闻2-->
  141. <div class="index—layer-2">
  142. <div class="index—layer-2-left">
  143. <div class="index—layer-2-title">
  144. <div :class="indexTabs2 == 1 ? 'active' : ''" @mouseenter="indexTabs2 = 1">
  145. <NuxtLink to="/">
  146. 选项1
  147. </NuxtLink>
  148. </div>
  149. <div :class="indexTabs2 == 2 ? 'active' : ''" @mouseenter="indexTabs2 = 2">
  150. <NuxtLink to="/">
  151. 选项2
  152. </NuxtLink>
  153. </div>
  154. </div>
  155. <div v-if="indexTabs2 == 1">
  156. <div class="index-tabs2-top">
  157. <NuxtLink to="/">
  158. <img src="/public/index/news.png" />
  159. </NuxtLink>
  160. <div>
  161. <h3>
  162. <NuxtLink to="/">
  163. 京津冀对在三地拟执业的司法鉴定人进行职业能力评估联考
  164. </NuxtLink>
  165. </h3>
  166. <p>
  167. <NuxtLink to="/">
  168. “2026年1月1日起,跟朋友私信发带颜色的信息就违法?”最近这条消息刷爆社交平台,不少网友慌了神:“跟伴侣私聊也不行吗?”“不小心发错给文件传输助手算不算违法?”一时间焦虑情绪蔓延。其实,这是对新修...
  169. </NuxtLink>
  170. </p>
  171. </div>
  172. </div>
  173. <div class="index-tabs2-bottom">
  174. <NuxtLink to="/">
  175. <span>盐池:观庭审知敬畏 守底线践清廉</span>
  176. <span>2026-01-06</span>
  177. </NuxtLink>
  178. <NuxtLink to="/">
  179. <span>吴忠:“组地”监督赋能优化营商环境</span>
  180. <span>2026-01-06</span>
  181. </NuxtLink>
  182. <NuxtLink to="/">
  183. <span>海原:整治骗取套取社保基金行为 守住民生资金安全防线</span>
  184. <span>2026-01-06</span>
  185. </NuxtLink>
  186. <NuxtLink to="/">
  187. <span>大武口:持续拧紧责任链条 深化全面从严治党</span>
  188. <span>2026-01-06</span>
  189. </NuxtLink>
  190. <NuxtLink to="/">
  191. <span>利通区:以“监督一点通”为抓手 推动基层权力在阳光下运行</span>
  192. <span>2026-01-06</span>
  193. </NuxtLink>
  194. </div>
  195. </div>
  196. </div>
  197. <div class="index—layer-2-right">
  198. <div class="index—layer-2-title">
  199. <div :class="indexTabs3 == 1 ? 'active' : ''" @mouseenter="indexTabs3 = 1">
  200. <NuxtLink to="/">
  201. 选项1
  202. </NuxtLink>
  203. </div>
  204. <div :class="indexTabs3 == 2 ? 'active' : ''" @mouseenter="indexTabs3 = 2">
  205. <NuxtLink to="/">
  206. 选项2
  207. </NuxtLink>
  208. </div>
  209. </div>
  210. <div v-if="indexTabs3 == 1">
  211. <div class="index-tabs2-top">
  212. <NuxtLink to="/">
  213. <img src="/public/index/news.png" />
  214. </NuxtLink>
  215. <div>
  216. <h3>
  217. <NuxtLink to="/">
  218. 京津冀对在三地拟执业的司法鉴定人进行职业能力评估联考
  219. </NuxtLink>
  220. </h3>
  221. <p>
  222. <NuxtLink to="/">
  223. “2026年1月1日起,跟朋友私信发带颜色的信息就违法?”最近这条消息刷爆社交平台,不少网友慌了神:“跟伴侣私聊也不行吗?”“不小心发错给文件传输助手算不算违法?”一时间焦虑情绪蔓延。其实,这是对新修...
  224. </NuxtLink>
  225. </p>
  226. </div>
  227. </div>
  228. <div class="index-tabs2-bottom">
  229. <NuxtLink to="/">
  230. <span>盐池:观庭审知敬畏 守底线践清廉</span>
  231. <span>2026-01-06</span>
  232. </NuxtLink>
  233. <NuxtLink to="/">
  234. <span>吴忠:“组地”监督赋能优化营商环境</span>
  235. <span>2026-01-06</span>
  236. </NuxtLink>
  237. <NuxtLink to="/">
  238. <span>海原:整治骗取套取社保基金行为 守住民生资金安全防线</span>
  239. <span>2026-01-06</span>
  240. </NuxtLink>
  241. <NuxtLink to="/">
  242. <span>大武口:持续拧紧责任链条 深化全面从严治党</span>
  243. <span>2026-01-06</span>
  244. </NuxtLink>
  245. <NuxtLink to="/">
  246. <span>利通区:以“监督一点通”为抓手 推动基层权力在阳光下运行</span>
  247. <span>2026-01-06</span>
  248. </NuxtLink>
  249. </div>
  250. </div>
  251. </div>
  252. </div>
  253. <!--首页中央新闻3-->
  254. <div class="index—layer-3">
  255. <div class="index—layer-3-line">
  256. <!--选项卡类型-->
  257. <div class="index—layer-3-tabs-box">
  258. <div class="index—layer-3-tabs-box-title">
  259. <div @mouseenter="indexTabs4 = 1" :class="indexTabs4 == 1 ? 'active' : ''">
  260. <NuxtLink to="/">
  261. 选项1
  262. </NuxtLink>
  263. </div>
  264. <div @mouseenter="indexTabs4 = 2" :class="indexTabs4 == 2 ? 'active' : ''">
  265. <NuxtLink to="/">
  266. 选项2
  267. </NuxtLink>
  268. </div>
  269. </div>
  270. <div v-if="indexTabs4 == 1" class="index—layer-3-news-body">
  271. <div class="index—layer-3-news-body-title">
  272. <div class="news-body-left">
  273. <NuxtLink to="/">
  274. <img src="/public/index/news.png" alt="">
  275. </NuxtLink>
  276. </div>
  277. <div class="news-body-right">
  278. <NuxtLink to="/">
  279. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  280. </NuxtLink>
  281. <p>
  282. <NuxtLink to="/">
  283. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  284. </NuxtLink>
  285. </p>
  286. </div>
  287. </div>
  288. <div class="index—layer-3-news-body-main">
  289. <NuxtLink to="/">
  290. <span>公证人员“三个特别”助力群众办好心头事</span>
  291. <span>2026-01-06</span>
  292. </NuxtLink>
  293. <NuxtLink to="/">
  294. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  295. <span>2026-01-06</span>
  296. </NuxtLink>
  297. <NuxtLink to="/">
  298. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  299. <span>2026-01-06</span>
  300. </NuxtLink>
  301. <NuxtLink to="/">
  302. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  303. <span>2026-01-06</span>
  304. </NuxtLink>
  305. <NuxtLink to="/">
  306. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  307. <span>2026-01-06</span>
  308. </NuxtLink>
  309. <NuxtLink to="/">
  310. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  311. <span>2026-01-06</span>
  312. </NuxtLink>
  313. <NuxtLink to="/">
  314. <span>天河法治赋能 高质量发展成色更足</span>
  315. <span>2026-01-06</span>
  316. </NuxtLink>
  317. </div>
  318. </div>
  319. <div v-if="indexTabs4 == 2">
  320. </div>
  321. </div>
  322. <!--常规类型-->
  323. <div class="index—layer-3-news-box">
  324. <div class="index—layer-3-news-box-title">
  325. <div>
  326. <NuxtLink to="/">
  327. 典型案例
  328. </NuxtLink>
  329. </div>
  330. </div>
  331. <div class="index—layer-3-news-body">
  332. <div class="index—layer-3-news-body-title">
  333. <div class="news-body-left">
  334. <NuxtLink to="/">
  335. <img src="/public/index/news.png" alt="">
  336. </NuxtLink>
  337. </div>
  338. <div class="news-body-right">
  339. <NuxtLink to="/">
  340. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  341. </NuxtLink>
  342. <p>
  343. <NuxtLink to="/">
  344. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  345. </NuxtLink>
  346. </p>
  347. </div>
  348. </div>
  349. <div class="index—layer-3-news-body-main">
  350. <NuxtLink to="/">
  351. <span>公证人员“三个特别”助力群众办好心头事</span>
  352. <span>2026-01-06</span>
  353. </NuxtLink>
  354. <NuxtLink to="/">
  355. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  356. <span>2026-01-06</span>
  357. </NuxtLink>
  358. <NuxtLink to="/">
  359. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  360. <span>2026-01-06</span>
  361. </NuxtLink>
  362. <NuxtLink to="/">
  363. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  364. <span>2026-01-06</span>
  365. </NuxtLink>
  366. <NuxtLink to="/">
  367. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  368. <span>2026-01-06</span>
  369. </NuxtLink>
  370. <NuxtLink to="/">
  371. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  372. <span>2026-01-06</span>
  373. </NuxtLink>
  374. <NuxtLink to="/">
  375. <span>天河法治赋能 高质量发展成色更足</span>
  376. <span>2026-01-06</span>
  377. </NuxtLink>
  378. </div>
  379. </div>
  380. </div>
  381. <div class="index—layer-3-news-box">
  382. <div class="index—layer-3-news-box-title">
  383. <div>
  384. <NuxtLink to="/">
  385. 法制文化
  386. </NuxtLink>
  387. </div>
  388. </div>
  389. <div class="index—layer-3-news-body">
  390. <div class="index—layer-3-news-body-title">
  391. <div class="news-body-left">
  392. <NuxtLink to="/">
  393. <img src="/public/index/news.png" alt="">
  394. </NuxtLink>
  395. </div>
  396. <div class="news-body-right">
  397. <NuxtLink to="/">
  398. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  399. </NuxtLink>
  400. <p>
  401. <NuxtLink to="/">
  402. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  403. </NuxtLink>
  404. </p>
  405. </div>
  406. </div>
  407. <div class="index—layer-3-news-body-main">
  408. <NuxtLink to="/">
  409. <span>公证人员“三个特别”助力群众办好心头事</span>
  410. <span>2026-01-06</span>
  411. </NuxtLink>
  412. <NuxtLink to="/">
  413. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  414. <span>2026-01-06</span>
  415. </NuxtLink>
  416. <NuxtLink to="/">
  417. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  418. <span>2026-01-06</span>
  419. </NuxtLink>
  420. <NuxtLink to="/">
  421. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  422. <span>2026-01-06</span>
  423. </NuxtLink>
  424. <NuxtLink to="/">
  425. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  426. <span>2026-01-06</span>
  427. </NuxtLink>
  428. <NuxtLink to="/">
  429. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  430. <span>2026-01-06</span>
  431. </NuxtLink>
  432. <NuxtLink to="/">
  433. <span>天河法治赋能 高质量发展成色更足</span>
  434. <span>2026-01-06</span>
  435. </NuxtLink>
  436. </div>
  437. </div>
  438. </div>
  439. </div>
  440. <div class="index—layer-3-line">
  441. <div class="index—layer-3-news-box">
  442. <div class="index—layer-3-news-box-title">
  443. <div>
  444. <NuxtLink to="/">
  445. 法制文化
  446. </NuxtLink>
  447. </div>
  448. </div>
  449. <div class="index—layer-3-news-body">
  450. <div class="index—layer-3-news-body-title">
  451. <div class="news-body-left">
  452. <NuxtLink to="/">
  453. <img src="/public/index/news.png" alt="">
  454. </NuxtLink>
  455. </div>
  456. <div class="news-body-right">
  457. <NuxtLink to="/">
  458. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  459. </NuxtLink>
  460. <p>
  461. <NuxtLink to="/">
  462. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  463. </NuxtLink>
  464. </p>
  465. </div>
  466. </div>
  467. <div class="index—layer-3-news-body-main">
  468. <NuxtLink to="/">
  469. <span>公证人员“三个特别”助力群众办好心头事</span>
  470. <span>2026-01-06</span>
  471. </NuxtLink>
  472. <NuxtLink to="/">
  473. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  474. <span>2026-01-06</span>
  475. </NuxtLink>
  476. <NuxtLink to="/">
  477. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  478. <span>2026-01-06</span>
  479. </NuxtLink>
  480. <NuxtLink to="/">
  481. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  482. <span>2026-01-06</span>
  483. </NuxtLink>
  484. <NuxtLink to="/">
  485. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  486. <span>2026-01-06</span>
  487. </NuxtLink>
  488. <NuxtLink to="/">
  489. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  490. <span>2026-01-06</span>
  491. </NuxtLink>
  492. <NuxtLink to="/">
  493. <span>天河法治赋能 高质量发展成色更足</span>
  494. <span>2026-01-06</span>
  495. </NuxtLink>
  496. </div>
  497. </div>
  498. </div>
  499. <div class="index—layer-3-news-box">
  500. <div class="index—layer-3-news-box-title">
  501. <div>
  502. <NuxtLink to="/">
  503. 法制文化
  504. </NuxtLink>
  505. </div>
  506. </div>
  507. <div class="index—layer-3-news-body">
  508. <div class="index—layer-3-news-body-title">
  509. <div class="news-body-left">
  510. <NuxtLink to="/">
  511. <img src="/public/index/news.png" alt="">
  512. </NuxtLink>
  513. </div>
  514. <div class="news-body-right">
  515. <NuxtLink to="/">
  516. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  517. </NuxtLink>
  518. <p>
  519. <NuxtLink to="/">
  520. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  521. </NuxtLink>
  522. </p>
  523. </div>
  524. </div>
  525. <div class="index—layer-3-news-body-main">
  526. <NuxtLink to="/">
  527. <span>公证人员“三个特别”助力群众办好心头事</span>
  528. <span>2026-01-06</span>
  529. </NuxtLink>
  530. <NuxtLink to="/">
  531. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  532. <span>2026-01-06</span>
  533. </NuxtLink>
  534. <NuxtLink to="/">
  535. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  536. <span>2026-01-06</span>
  537. </NuxtLink>
  538. <NuxtLink to="/">
  539. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  540. <span>2026-01-06</span>
  541. </NuxtLink>
  542. <NuxtLink to="/">
  543. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  544. <span>2026-01-06</span>
  545. </NuxtLink>
  546. <NuxtLink to="/">
  547. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  548. <span>2026-01-06</span>
  549. </NuxtLink>
  550. <NuxtLink to="/">
  551. <span>天河法治赋能 高质量发展成色更足</span>
  552. <span>2026-01-06</span>
  553. </NuxtLink>
  554. </div>
  555. </div>
  556. </div>
  557. <div class="index—layer-3-news-box">
  558. <div class="index—layer-3-news-box-title">
  559. <div>
  560. <NuxtLink to="/">
  561. 法制文化
  562. </NuxtLink>
  563. </div>
  564. </div>
  565. <div class="index—layer-3-news-body">
  566. <div class="index—layer-3-news-body-title">
  567. <div class="news-body-left">
  568. <NuxtLink to="/">
  569. <img src="/public/index/news.png" alt="">
  570. </NuxtLink>
  571. </div>
  572. <div class="news-body-right">
  573. <NuxtLink to="/">
  574. 政讯通·全国法制调研中心:专注法治服务,践行责任担当
  575. </NuxtLink>
  576. <p>
  577. <NuxtLink to="/">
  578. 法治建设的推进,需要专业力量的深耕与赋能。政讯通·全国法制调研中心作为法治领域的重要参与主体,始终聚焦核心使命,以多元服务助力法治进程,为社会各界提供专业、可靠的法治相关支撑,也为心怀法治热忱的普...
  579. </NuxtLink>
  580. </p>
  581. </div>
  582. </div>
  583. <div class="index—layer-3-news-body-main">
  584. <NuxtLink to="/">
  585. <span>公证人员“三个特别”助力群众办好心头事</span>
  586. <span>2026-01-06</span>
  587. </NuxtLink>
  588. <NuxtLink to="/">
  589. <span>聚行业智慧 凝发展共识,天河区举办律所主任交流座谈会</span>
  590. <span>2026-01-06</span>
  591. </NuxtLink>
  592. <NuxtLink to="/">
  593. <span>荔湾区司法局岭南司法所开展“迎全运 降发案”反诈宣传活动</span>
  594. <span>2026-01-06</span>
  595. </NuxtLink>
  596. <NuxtLink to="/">
  597. <span>市潭岗所:架起关爱“连心桥” 畅通血脉“生命线”</span>
  598. <span>2026-01-06</span>
  599. </NuxtLink>
  600. <NuxtLink to="/">
  601. <span>花都:漫步古村学宪法 徒步普法润民心</span>
  602. <span>2026-01-06</span>
  603. </NuxtLink>
  604. <NuxtLink to="/">
  605. <span>种下一抹绿,疗愈一颗心——荔湾区司法局组织社矫对象创新开展心理舒缓小组活动</span>
  606. <span>2026-01-06</span>
  607. </NuxtLink>
  608. <NuxtLink to="/">
  609. <span>天河法治赋能 高质量发展成色更足</span>
  610. <span>2026-01-06</span>
  611. </NuxtLink>
  612. </div>
  613. </div>
  614. </div>
  615. </div>
  616. </div>
  617. <!--网友留言-->
  618. <div class="index-layer-4">
  619. <div class="index-layer-4-title">
  620. <NuxtLink to="/">
  621. 网友留言
  622. </NuxtLink>
  623. <NuxtLink to="/">
  624. 在线留言
  625. </NuxtLink>
  626. </div>
  627. <div class="index-layer-4-body">
  628. <ul class="post_nr liuyan">
  629. <li>
  630. <span class="name">熊先生:<b>网站名称问题</b> 2025-12-29 16:18:48</span>
  631. <p class="nr">内容:看你们的介绍,政讯通•全国法制调研中心,网站名称不让用全国,你们怎么可以用啊?</p>
  632. <p class="hfnr">
  633. <span style="color:#f00;">回复:</span>
  634. 工信部不审批带全国的网站。我们所有带全国字样的名称前都加了“政讯通”,意思是北京政讯通法律咨询有限公司在全国范围内开展的法制调研工作。网站显示没有全国字样,在文字资料或者口头表述时会有加全国,使用名称都是政讯通·全国法制资讯发布中心、政讯通•全国法制调研中心、政讯通•全国法制舆情监测中心和政讯通•全国法制发展促进中心。
  635. </p>
  636. </li>
  637. <li>
  638. <span class="name">zhang:<b>我从网上搜搜到你们这个网站,我看了下网站没看明白你们主要是做什么的?能简单介绍下吗?</b> 2025-12-26
  639. 17:43:46</span>
  640. <p class="nr">内容:我从网上搜搜到你们这个网站,我看了下网站没看明白你们主要是做什么的?能简单介绍下吗?</p>
  641. <p class="hfnr">
  642. <span style="color:#f00;">回复:</span>
  643. 不知道您看到的是我们的哪个网站,我们法制调研项目有200多个网站。主要业务分四大部分:
  644. 资讯与信息化业务:面向全国党政机关、企事业单位及相关经济组织发展法制信息化会员为主的网络资讯信息服务,提供200个网站资讯发布平台。同步为法制领域提供信息交流与沟通的平台,可以实现一对一、一对多和多对多的沟通交流。
  645. 法制与调研业务:依法开展法制领域的课题调研、法制宣传、法律援助、法律咨询和公益活动等服务。
  646. 舆情服务业务:面向全国法制党政机关、企事业单位等法人单位或组织依法提供网络舆情方面的监测、处理、公关等服务。
  647. 行业与发展业务:综合管理与辅助各地市级中心的运营、面向社会提供法制领域的活动策划与企业发展定制服务。
  648. </p>
  649. </li>
  650. </ul>
  651. </div>
  652. </div>
  653. <!--底部-->
  654. <HomeFoot></HomeFoot>
  655. </div>
  656. </template>
  657. <script setup>
  658. //页面是否已经加载完毕
  659. const pageLoading = ref(false)
  660. //1.加载页面必备组件 start---------------------------------------->
  661. import { ref, onMounted } from 'vue';
  662. import { ElRadio, ElRadioGroup, ElCheckbox, ElCheckboxGroup, ElMessage, ElInput } from 'element-plus';
  663. import { useSeoMeta } from '#imports';
  664. //格式化跳转路径 - 标题
  665. //首页分类栏目标题,不需要考虑外链
  666. const getLinkPath = (item) => {
  667. if (item.children_count == 0) {
  668. //return `/newsList/${item.cid}?page=1`;
  669. return `/${item.aLIas_pinyin}/list-1.html`;
  670. } else {
  671. //return `/primaryNavigation/${item.cid}`;
  672. return `/${item.aLIas_pinyin}/index.html`;
  673. }
  674. }
  675. //首页跳转到详情,这里需要考虑外链
  676. const getLinkPathDetail = (item) => {
  677. if (item.islink == 1) {
  678. return `${item.linkurl}`;
  679. } else {
  680. return `/${item.pinyin}/${item.id}.html`;
  681. }
  682. }
  683. //1.加载页面必备组件 end---------------------------------------->
  684. //2.交互方法 start---------------------------------------->
  685. //2.1 新闻图片切换
  686. const hoverStatus = ref(1)
  687. const qhPic = function (num) {
  688. hoverStatus.value = num;
  689. }
  690. //2.交互方法 end---------------------------------------->
  691. //3.页面基本信息 start---------------------------------------->
  692. //3.1 导航信息
  693. const pageData = ref([]);
  694. //3.2 模块数据
  695. //模块1
  696. const boxData1 = ref([])//图片新闻
  697. const boxData1data2 = ref([]);//文字新闻
  698. //模块2
  699. const boxData2 = ref([]);//图片新闻
  700. const boxData2data2 = ref([]);//文字新闻
  701. //模块3
  702. const boxData3 = ref([]);
  703. const boxData3data2 = ref([]);
  704. //模块4
  705. const boxData4 = ref([]);
  706. const boxData4data2 = ref([]);
  707. //模块5
  708. const boxData5 = ref([]);
  709. const boxData5data2 = ref([]);
  710. //模块6
  711. const boxData6 = ref([]);
  712. const boxData6data2 = ref([]);
  713. //模块7
  714. const boxData7 = ref([]);
  715. const boxData7data2 = ref([]);
  716. //3.3获得导航数据
  717. try {
  718. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  719. method: 'GET',
  720. query: {
  721. 'placeid': 1,
  722. 'pid': 0,
  723. 'num': 30
  724. },
  725. });
  726. if (navigateData.code == 200) {
  727. // 遍历可用的导航池放到页面中
  728. for (let index in navigateData.data) {
  729. let data = {
  730. title: navigateData.data[index].name,
  731. cid: navigateData.data[index].category_id,
  732. children_count: navigateData.data[index].children_count,
  733. alias: navigateData.data[index].alias,
  734. aLIas_pinyin: navigateData.data[index].aLIas_pinyin
  735. };
  736. //1法制资讯
  737. if (navigateData.data[index].category_id == 1) { pageData.value[0] = data }
  738. //2各地动态
  739. if (navigateData.data[index].category_id == 2) { pageData.value[1] = data }
  740. //3特别关注
  741. if (navigateData.data[index].category_id == 3) { pageData.value[2] = data }
  742. //4媒体视点
  743. if (navigateData.data[index].category_id == 4) { pageData.value[3] = data }
  744. //5法纪通报
  745. if (navigateData.data[index].category_id == 5) { pageData.value[4] = data }
  746. //6今日说法
  747. if (navigateData.data[index].category_id == 6) { pageData.value[5] = data }
  748. //7政策法规
  749. if (navigateData.data[index].category_id == 7) { pageData.value[6] = data }
  750. }
  751. }
  752. } catch (error) {
  753. }
  754. let getJson = [
  755. { "parent": "1,1,1", "child": "" },//模块1法制资讯
  756. { "parent": "2,1,1", "child": "" },//模块2各地动态
  757. { "parent": "3,1,1", "child": "" },//模块3特别关注
  758. { "parent": "4,1,1", "child": "" },//模块4媒体视点
  759. { "parent": "7,1,1", "child": "" },//模块7政策法规
  760. { "parent": "9,1,1", "child": "" },//模块9政策解读
  761. { "parent": "12,1,1", "child": "" },//模块12执法在线
  762. { "parent": "14,1,1", "child": "" },//模块14社会调硏
  763. { "parent": "19,1,1", "child": "" },//模块19百家争鸣
  764. ]
  765. let jsonString = JSON.stringify(getJson);
  766. async function getPageAllData() {
  767. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  768. method: 'GET',
  769. query: {
  770. 'id': jsonString
  771. },
  772. });
  773. console.log("makdata:", mkdata);
  774. if (mkdata.code == 200) {
  775. //模块1法制资讯
  776. boxData1.value = mkdata.data[0].imgnum;
  777. boxData1data2.value = mkdata.data[0].textnum;
  778. //模块2各地动态
  779. boxData2.value = mkdata.data[1].imgnum;
  780. boxData2data2.value = mkdata.data[1].textnum;
  781. //模块3特别关注
  782. boxData3.value = mkdata.data[2].imgnum;
  783. boxData3data2.value = mkdata.data[2].textnum;
  784. //模块4媒体视点
  785. boxData4.value = mkdata.data[3].imgnum;
  786. boxData4data2.value = mkdata.data[3].textnum;
  787. //模块5法纪通报
  788. boxData5.value = mkdata.data[4].imgnum;
  789. boxData5data2.value = mkdata.data[4].textnum;
  790. //模块6今日说法
  791. boxData6.value = mkdata.data[5].imgnum;
  792. boxData6data2.value = mkdata.data[5].textnum;
  793. //模块7政策法规
  794. boxData7.value = mkdata.data[5].imgnum;
  795. boxData7data2.value = mkdata.data[5].textnum;
  796. } else {
  797. ElMessage.error(mkdata.message)
  798. }
  799. }
  800. getPageAllData();
  801. //5.页面基本信息 end---------------------------------------->
  802. //6.设置seo数据 start---------------------------------------->
  803. //获取seo数据
  804. const setData = await requestDataPromise('/web/getWebsiteFootInfo', {
  805. method: 'GET',
  806. query: {},
  807. });
  808. if (setData.code == 200) {
  809. let seoTitle = setData.data.website_head.title;
  810. let seoDescription = setData.data.website_head.description;
  811. let seoKeywords = setData.data.website_head.keywords;
  812. let seoSuffix = setData.data.website_head.suffix;
  813. let seoName = setData.data.website_head.website_name;
  814. useSeoMeta({
  815. title: seoTitle + "_" + seoSuffix,
  816. meta: [
  817. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  818. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  819. { name: 'viewport', content: "width=device-width,initial-scale=1,user-scalable=no" }
  820. ]
  821. });
  822. }
  823. //6.设置seo数据 start---------------------------------------->
  824. //7.官网新增 start---------------------------------------->
  825. //swiper焦点图start---------------------------------------->
  826. const imagelist = ref("")
  827. async function getModelData1() {
  828. const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
  829. method: 'GET',
  830. query: {
  831. 'imgnum': 10,
  832. 'textnum': 0,
  833. 'level': 2,
  834. 'placeid': 0,
  835. 'id': ''
  836. },
  837. });
  838. if (mkdata.code == 200) {
  839. imagelist.value = mkdata.data.img;
  840. } else {
  841. }
  842. }
  843. getModelData1()
  844. //使用swiper
  845. import { computed } from 'vue'
  846. import { Swiper, SwiperSlide } from 'swiper/vue'
  847. import { Autoplay, Navigation } from 'swiper/modules' // 增加 Navigation
  848. // 导入 Swiper 样式
  849. import 'swiper/css'
  850. import 'swiper/css/navigation' // 增加导航样式
  851. const props = defineProps({
  852. imagelist: {
  853. type: Array,
  854. default: () => []
  855. }
  856. })
  857. const emit = defineEmits(['slide-change'])
  858. const swiperCurrentIndex = ref(0)
  859. const swiperInstance = ref(null)
  860. // 使用哪些模块
  861. const modules = [Autoplay, Navigation] // 添加 Navigation
  862. // 响应式断点设置(可选)
  863. const breakpoints = computed(() => ({
  864. // 当屏幕宽度 >= 320px
  865. 320: {
  866. slidesPerView: 1,
  867. spaceBetween: 10
  868. },
  869. // 当屏幕宽度 >= 768px
  870. 768: {
  871. slidesPerView: 3,
  872. spaceBetween: 15
  873. },
  874. // 当屏幕宽度 >= 1024px
  875. 1024: {
  876. slidesPerView: 5,
  877. spaceBetween: 20
  878. },
  879. // 当屏幕宽度 >= 1440px
  880. 1440: {
  881. slidesPerView: 6,
  882. spaceBetween: 25
  883. }
  884. }))
  885. const swiperHandleSlideChange = (swiper) => {
  886. swiperCurrentIndex.value = swiper.activeIndex
  887. emit('swiperSlideChange', swiper.activeIndex)
  888. }
  889. const goToSlide = (index) => {
  890. console.log(index)
  891. if (swiperInstance.value) {
  892. swiperInstance.value.slideTo(index, 500) // 500ms 动画时间
  893. }
  894. }
  895. const onSwiper = (swiper) => {
  896. swiperInstance.value = swiper
  897. console.log('Swiper实例已初始化:', swiper)
  898. }
  899. // 如果需要手动控制自动播放
  900. const pauseAutoplay = () => {
  901. if (swiperInstance.value && swiperInstance.value.autoplay) {
  902. swiperInstance.value.autoplay.pause()
  903. }
  904. }
  905. const startAutoplay = () => {
  906. if (swiperInstance.value && swiperInstance.value.autoplay) {
  907. swiperInstance.value.autoplay.resume()
  908. }
  909. }
  910. //swiper焦点图 end---------------------------------------->
  911. //轮播图 start---------------------------------------->
  912. import { ElCarousel, ElCarouselItem } from 'element-plus'
  913. let currentIndex = ref(0)
  914. let handleIndicatorChange = (val) => {
  915. currentIndex.value = val
  916. }
  917. //轮播图 end---------------------------------------->
  918. //选项卡 start---------------------------------------->
  919. //1.首页顶部新闻-中央选项卡
  920. const indexTabs = ref(1)
  921. //2.首页中央新闻2-左侧选项卡
  922. const indexTabs2 = ref(1)
  923. //3.首页中央新闻2-右侧选项卡
  924. const indexTabs3 = ref(1)
  925. //3.首页中央新闻3-左侧选项卡
  926. const indexTabs4 = ref(1)
  927. //选项卡 end---------------------------------------->
  928. //7.官网新增 end---------------------------------------->
  929. </script>
  930. <style lang="less" scoped>
  931. @media screen and (min-width: 1401px) {
  932. //swiper轮播图 start---------------------------------------->
  933. .swiper-container {
  934. width: 100%;
  935. padding: 20PX 0;
  936. position: relative;
  937. max-width: 1400PX;
  938. margin: 0 auto;
  939. }
  940. .custom-swiper {
  941. width: 100%;
  942. height: 100%;
  943. padding: 10PX 5PX; //给两侧留出空间
  944. }
  945. .custom-swiper :deep(.swiper-wrapper) {
  946. align-items: stretch; //使所有幻灯片高度一致
  947. }
  948. .custom-swiper :deep(.swiper-slide) {
  949. height: auto;
  950. transition: transform 0.3s ease;
  951. }
  952. //悬停效果
  953. .custom-swiper :deep(.swiper-slide:hover) {
  954. transform: translateY(-5PX);
  955. z-index: 10;
  956. }
  957. .slide-link {
  958. display: block;
  959. text-decoration: none;
  960. color: inherit;
  961. height: 100%;
  962. width: 100%;
  963. }
  964. .image-container {
  965. position: relative;
  966. width: 100%;
  967. height: 118PX; //根据需求调整
  968. overflow: hidden;
  969. box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
  970. transition: all 0.3s ease;
  971. background: #f5f5f5; //加载时的背景色
  972. }
  973. .image-container:hover {
  974. box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
  975. }
  976. .slide-image {
  977. // width: 100%;
  978. // height: 100%;
  979. width: 264PX;
  980. height: 118PX;
  981. object-fit: cover;
  982. transition: transform 0.5s ease;
  983. }
  984. .image-container:hover .slide-image {
  985. transform: scale(1.05);
  986. }
  987. .image-title {
  988. position: absolute;
  989. bottom: 0;
  990. left: 0;
  991. right: 0;
  992. color: white;
  993. padding: 12PX 15PX;
  994. font-size: 14PX;
  995. line-height: 1.4;
  996. text-align: center;
  997. overflow: hidden;
  998. text-overflow: ellipsis;
  999. white-space: nowrap;
  1000. background: rgba(0, 0, 0, .6)
  1001. }
  1002. .custom-indicators {
  1003. display: flex;
  1004. justify-content: center;
  1005. gap: 8PX;
  1006. margin-top: 25PX;
  1007. padding: 15PX 10PX;
  1008. flex-wrap: wrap;
  1009. background: rgba(255, 255, 255, 0.9);
  1010. border-radius: 50PX;
  1011. max-width: 90%;
  1012. margin-left: auto;
  1013. margin-right: auto;
  1014. }
  1015. .indicator-btn {
  1016. width: 36PX;
  1017. height: 36PX;
  1018. border-radius: 50%;
  1019. border: 2PX solid #e0e0e0;
  1020. background: white;
  1021. color: #333;
  1022. cursor: pointer;
  1023. transition: all 0.3s ease;
  1024. font-size: 14PX;
  1025. font-weight: 500;
  1026. display: flex;
  1027. align-items: center;
  1028. justify-content: center;
  1029. outline: none;
  1030. }
  1031. .indicator-btn:hover {
  1032. background: #f0f9ff;
  1033. border-color: #409eff;
  1034. transform: scale(1.1);
  1035. }
  1036. .indicator-btn.active-indicator {
  1037. background: #409eff;
  1038. color: white;
  1039. border-color: #409eff;
  1040. box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
  1041. }
  1042. //swiper加载动画
  1043. .image-container:empty::before {
  1044. content: '';
  1045. position: absolute;
  1046. top: 0;
  1047. left: 0;
  1048. width: 100%;
  1049. height: 100%;
  1050. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  1051. background-size: 200% 100%;
  1052. animation: loading 1.5s infinite;
  1053. border-radius: 12PX;
  1054. }
  1055. @keyframes loading {
  1056. 0% {
  1057. background-position: 200% 0;
  1058. }
  1059. 100% {
  1060. background-position: -200% 0;
  1061. }
  1062. }
  1063. //swiper箭头颜色
  1064. .custom-swiper :deep(.swiper-button-prev),
  1065. .custom-swiper :deep(.swiper-button-next) {
  1066. color: white !important; //箭头颜色改为白色
  1067. }
  1068. .custom-swiper :deep(.swiper-button-prev):after,
  1069. .custom-swiper :deep(.swiper-button-next):after {
  1070. color: white !important; //确保箭头图标也是白色
  1071. }
  1072. //swiper轮播图 end---------------------------------------->
  1073. //轮播图 start---------------------------------------->
  1074. .nuxt-swiper {
  1075. width: 100%;
  1076. height: 300PX;
  1077. position: relative;
  1078. img {
  1079. width: 100%;
  1080. height: 300PX;
  1081. }
  1082. span {
  1083. display: inline-block;
  1084. width: 100%;
  1085. height: 40PX;
  1086. line-height: 40PX;
  1087. padding-left: 20PX;
  1088. box-sizing: border-box;
  1089. position: absolute;
  1090. bottom: 0;
  1091. left: 0;
  1092. font-family: Source Han Sans, Source Han Sans;
  1093. font-size: 16PX;
  1094. color: #FFFFFF;
  1095. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  1096. background: rgba(0, 0, 0, .6);
  1097. }
  1098. }
  1099. .el-carousel {
  1100. // 左右箭头按钮
  1101. .el-carousel__arrow--right :deep(.class-name),
  1102. .el-carousel__arrow--left :deep(.class-name) {
  1103. width: 68PX;
  1104. height: 68PX;
  1105. }
  1106. //左右箭头图片
  1107. /deep/.el-icon svg {
  1108. height: 1em;
  1109. width: 1em;
  1110. background-color: transparent;
  1111. }
  1112. /deep/.el-carousel__arrow {
  1113. border-radius: 0;
  1114. background-color: transparent;
  1115. }
  1116. /deep/.el-carousel__arrow i {
  1117. font-size: 68PX !important;
  1118. }
  1119. /deep/ .el-carousel__indicators {
  1120. // 指示器
  1121. left: unset;
  1122. transform: unset;
  1123. right: 41%;
  1124. }
  1125. /deep/ .el-carousel__button {
  1126. // 指示器按钮
  1127. width: 15PX;
  1128. height: 15PX;
  1129. border-radius: 50%;
  1130. border: none;
  1131. opacity: 1;
  1132. background-color: #FFFFFF;
  1133. bottom: 30PX;
  1134. }
  1135. /deep/ .is-active .el-carousel__button {
  1136. // 指示器激活按钮
  1137. background: #158d91;
  1138. }
  1139. /deep/.custom-indicators {
  1140. position: absolute;
  1141. bottom: 10PX;
  1142. left: 50%;
  1143. transform: translateX(-50%);
  1144. }
  1145. /deep/ .el-carousel__indicators {
  1146. right: 3%;
  1147. bottom: 10%;
  1148. }
  1149. /deep/ .el-carousel__arrow {
  1150. top: 50%;
  1151. }
  1152. }
  1153. //轮播图 end---------------------------------------->
  1154. //第一层 start---------------------------------------->
  1155. .index—layer-1 {
  1156. width: 1400PX;
  1157. height: auto;
  1158. overflow: hidden;
  1159. margin: 20PX auto;
  1160. display: flex;
  1161. align-items: flex-start;
  1162. justify-content: space-between;
  1163. .index—layer-1-left {
  1164. width: 31%;
  1165. border: 1PX solid #ccc;
  1166. }
  1167. .index-layer-1-middle {
  1168. width: 31%;
  1169. border: 1PX solid #ccc;
  1170. box-sizing: border-box;
  1171. padding: 0 10PX;
  1172. padding-bottom: 5PX;
  1173. .tabtlt {
  1174. width: 100%;
  1175. height: auto;
  1176. outline: hidden;
  1177. border-bottom: 1PX solid #f0f0f0;
  1178. margin: 7PX 0 18PX;
  1179. overflow: hidden;
  1180. display: flex;
  1181. align-self: center;
  1182. justify-content: space-between;
  1183. a {
  1184. color: #337ab7;
  1185. text-decoration: none;
  1186. }
  1187. div {
  1188. width: 50%;
  1189. text-align: center;
  1190. width: 100%;
  1191. height: 50PX;
  1192. line-height: 50PX;
  1193. font-size: 20PX;
  1194. color: #000;
  1195. background: #f3f3f3;
  1196. text-align: center;
  1197. cursor: pointer;
  1198. }
  1199. div.intabtltbg {
  1200. background: url(public/index/current.gif) no-repeat center bottom !important;
  1201. }
  1202. }
  1203. .coninfoitem {
  1204. width: 100%;
  1205. overflow: hidden;
  1206. margin: 0PX auto;
  1207. >div {
  1208. &.coninfoitem_img {
  1209. height: 86PX;
  1210. overflow: hidden;
  1211. margin-bottom: 5PX;
  1212. display: flex;
  1213. align-items: flex-start;
  1214. justify-content: space-between;
  1215. }
  1216. &.coninfoitem_img {
  1217. a{
  1218. }
  1219. }
  1220. h3 {
  1221. line-height: 0;
  1222. a {
  1223. font-size: 13PX;
  1224. color: #333;
  1225. font-weight: bold;
  1226. width: 100%;
  1227. height: 26PX;
  1228. line-height: 26PX;
  1229. overflow: hidden;
  1230. }
  1231. }
  1232. img {
  1233. width: 120PX;
  1234. height: 86PX;
  1235. float: left;
  1236. margin-right: 11PX;
  1237. }
  1238. p {
  1239. line-height: 0;
  1240. a {
  1241. color: #333;
  1242. font-size: 13PX;
  1243. line-height: 20PX;
  1244. }
  1245. }
  1246. }
  1247. .coninfoitem_title {
  1248. width: 100%;
  1249. height: 28PX;
  1250. line-height: 28PX;
  1251. overflow: hidden;
  1252. position: relative;
  1253. list-style-position: inside;
  1254. color: #000;
  1255. display: block;
  1256. font-size: 13PX;
  1257. display: flex;
  1258. align-items: center;
  1259. justify-content: space-between;
  1260. span:nth-child(1) {
  1261. width: 70%;
  1262. height: 28PX;
  1263. text-align: left;
  1264. overflow: hidden;
  1265. display: block;
  1266. font-size: 14PX;
  1267. }
  1268. span:nth-child(2) {
  1269. width: 30%;
  1270. height: 28PX;
  1271. text-align: right;
  1272. display: block;
  1273. font-size: 12PX;
  1274. }
  1275. }
  1276. }
  1277. }
  1278. .index-layer-1-right {
  1279. width: 31%;
  1280. border: 1PX solid #ccc;
  1281. box-sizing: border-box;
  1282. padding: 0 10PX;
  1283. padding-bottom: 16PX;
  1284. .imgtlt {
  1285. width: 100%;
  1286. height: 43PX;
  1287. border-bottom: 1PX solid #e7e7e7;
  1288. a {
  1289. display: block;
  1290. width: 92PX;
  1291. height: 42PX;
  1292. line-height: 42PX;
  1293. text-align: center;
  1294. font-size: 20PX;
  1295. color: #333;
  1296. border-bottom: 2PX solid #158d91;
  1297. }
  1298. }
  1299. .con_img_list {
  1300. display: flex;
  1301. flex-wrap: wrap;
  1302. a {
  1303. width: 48%;
  1304. float: left;
  1305. overflow: hidden;
  1306. height: 100PX;
  1307. margin: 20PX auto 0;
  1308. display: block;
  1309. position: relative;
  1310. img {
  1311. display: block;
  1312. width: 100%;
  1313. height: 100%;
  1314. }
  1315. .con_img_list_rgba {
  1316. position: absolute;
  1317. width: 100%;
  1318. height: 22PX;
  1319. line-height: 21PX;
  1320. box-sizing: border-box;
  1321. padding: 0PX 10PX;
  1322. text-align: center;
  1323. bottom: 0PX;
  1324. left: 0PX;
  1325. color: #fff;
  1326. font-size: 16PX;
  1327. z-index: 11;
  1328. background: rgba(0, 0, 0, .6);
  1329. display: block;
  1330. word-break: keep-all;
  1331. white-space: nowrap;
  1332. overflow: hidden;
  1333. text-overflow: ellipsis;
  1334. }
  1335. }
  1336. }
  1337. }
  1338. }
  1339. //第一层 end---------------------------------------->
  1340. //第二层 start---------------------------------------->
  1341. .index—layer-2 {
  1342. width: 1400PX;
  1343. height: auto;
  1344. overflow: hidden;
  1345. margin: 20PX auto;
  1346. display: flex;
  1347. align-items: flex-start;
  1348. justify-content: space-between;
  1349. .index—layer-2-left,
  1350. .index—layer-2-right {
  1351. width: 49%;
  1352. border: 1PX solid #ddd;
  1353. height: auto;
  1354. overflow: hidden;
  1355. .index—layer-2-title {
  1356. display: flex;
  1357. align-items: center;
  1358. justify-content: flex-start;
  1359. background: #fff;
  1360. >div {
  1361. &.active {
  1362. background: #158d91;
  1363. color: #fff;
  1364. a {
  1365. color: #fff;
  1366. }
  1367. }
  1368. width: 118PX;
  1369. height: 44PX;
  1370. line-height: 44PX;
  1371. background: #fff;
  1372. text-align: center;
  1373. color: #808080;
  1374. font-size: 16PX;
  1375. font-weight: bold;
  1376. border-bottom: 2PX solid #158d91;
  1377. a {
  1378. font-size: 20PX;
  1379. color: #808080;
  1380. }
  1381. }
  1382. }
  1383. .index-tabs2-top {
  1384. background: #f8f8f8;
  1385. padding: 20PX 20PX;
  1386. box-sizing: border-box;
  1387. display: flex;
  1388. border-bottom: 1PX dashed #ddd;
  1389. >a {
  1390. margin-right: 11PX;
  1391. img {
  1392. display: block;
  1393. width: 120PX;
  1394. height: 86PX;
  1395. }
  1396. }
  1397. h3 {
  1398. width: 100%;
  1399. height: 26PX;
  1400. line-height: 26PX;
  1401. overflow: hidden;
  1402. a {
  1403. font-size: 13PX;
  1404. color: #333;
  1405. font-weight: bold;
  1406. }
  1407. }
  1408. p {
  1409. width: 100%;
  1410. height: 60PX;
  1411. line-height: 20PX;
  1412. overflow: hidden;
  1413. a {
  1414. color: #333;
  1415. font-size: 13PX;
  1416. }
  1417. }
  1418. }
  1419. .index-tabs2-bottom {
  1420. padding: 20PX;
  1421. margin: 0;
  1422. a {
  1423. display: block;
  1424. width: 100%;
  1425. overflow: hidden;
  1426. position: relative;
  1427. list-style-position: inside;
  1428. color: #333;
  1429. line-height: 28PX;
  1430. display: flex;
  1431. align-items: center;
  1432. justify-content: space-between;
  1433. span:nth-child(1) {
  1434. width: 70%;
  1435. height: 28PX;
  1436. text-align: left;
  1437. overflow: hidden;
  1438. display: block;
  1439. font-size: 14PX;
  1440. }
  1441. span:nth-child(2) {
  1442. width: 30%;
  1443. height: 28PX;
  1444. text-align: right;
  1445. display: block;
  1446. font-size: 12PX;
  1447. }
  1448. }
  1449. }
  1450. }
  1451. }
  1452. //第二层 end---------------------------------------->
  1453. //第三层 start---------------------------------------->
  1454. .index—layer-3 {
  1455. .index—layer-3-line {
  1456. width: 1400PX;
  1457. display: flex;
  1458. align-items: center;
  1459. justify-content: space-between;
  1460. margin: 0 auto;
  1461. box-sizing: border-box;
  1462. //选项卡类型
  1463. .index—layer-3-tabs-box {
  1464. width: 31%;
  1465. height: auto;
  1466. border: 1PX solid #ddd;
  1467. border-top: 2PX solid #158d91;
  1468. margin: 1%;
  1469. padding: 0 10PX;
  1470. box-sizing: border-box;
  1471. .index—layer-3-tabs-box-title {
  1472. display: flex;
  1473. align-items: center;
  1474. width: 100%;
  1475. border-bottom: 1PX solid #f0f0f0;
  1476. >div {
  1477. &.active {
  1478. background: url(../public/index/current2.png) no-repeat center bottom;
  1479. }
  1480. width: 87PX;
  1481. height: 54PX;
  1482. line-height: 55PX;
  1483. overflow: hidden;
  1484. float: left;
  1485. margin-right: 10PX;
  1486. text-align: center;
  1487. font-size: 20PX;
  1488. color: #333;
  1489. font-weight: bold;
  1490. a {
  1491. color: #333;
  1492. }
  1493. }
  1494. }
  1495. .index—layer-3-news-body-main {
  1496. margin-bottom: 20PX;
  1497. a {
  1498. width: 100%;
  1499. height: 26PX;
  1500. line-height: 26PX;
  1501. list-style-position: inside;
  1502. font-size: 13PX;
  1503. color: #333;
  1504. display: flex;
  1505. align-items: center;
  1506. justify-content: space-between;
  1507. span:nth-child(1) {
  1508. width: 70%;
  1509. height: 28PX;
  1510. text-align: left;
  1511. overflow: hidden;
  1512. display: block;
  1513. font-size: 14PX;
  1514. }
  1515. span:nth-child(2) {
  1516. width: 30%;
  1517. height: 28PX;
  1518. text-align: right;
  1519. display: block;
  1520. font-size: 12PX;
  1521. }
  1522. }
  1523. }
  1524. }
  1525. //常规类型
  1526. .index—layer-3-news-box {
  1527. width: 31%;
  1528. height: auto;
  1529. border: 1PX solid #ddd;
  1530. border-top: 2PX solid #158d91;
  1531. margin: 1%;
  1532. padding: 0 10PX;
  1533. box-sizing: border-box;
  1534. .index—layer-3-news-box-title {
  1535. display: flex;
  1536. align-items: center;
  1537. width: 100%;
  1538. border-bottom: 1PX solid #f0f0f0;
  1539. >div {
  1540. &.active {
  1541. background: url(../public/index/current2.png) no-repeat center bottom;
  1542. }
  1543. width: 87PX;
  1544. height: 54PX;
  1545. line-height: 55PX;
  1546. overflow: hidden;
  1547. float: left;
  1548. margin-right: 10PX;
  1549. text-align: center;
  1550. font-size: 20PX;
  1551. color: #333;
  1552. font-weight: bold;
  1553. a {
  1554. color: #333;
  1555. }
  1556. }
  1557. }
  1558. .index—layer-3-news-body-main {
  1559. margin-bottom: 20PX;
  1560. a {
  1561. width: 100%;
  1562. height: 26PX;
  1563. line-height: 26PX;
  1564. list-style-position: inside;
  1565. font-size: 13PX;
  1566. color: #333;
  1567. display: flex;
  1568. align-items: center;
  1569. justify-items: center;
  1570. span:nth-child(1) {
  1571. width: 70%;
  1572. height: 28PX;
  1573. text-align: left;
  1574. overflow: hidden;
  1575. display: block;
  1576. font-size: 14PX;
  1577. }
  1578. span:nth-child(2) {
  1579. width: 30%;
  1580. height: 28PX;
  1581. text-align: right;
  1582. display: block;
  1583. font-size: 12PX;
  1584. }
  1585. }
  1586. }
  1587. }
  1588. }
  1589. .index—layer-3-news-body-title {
  1590. display: flex;
  1591. align-items: center;
  1592. justify-content: flex-start;
  1593. margin: 20PX 0 14PX;
  1594. padding-bottom: 20PX;
  1595. border-bottom: 1PX dashed #e1e1e1;
  1596. >div {
  1597. &.news-body-left {
  1598. margin-right: 11PX;
  1599. img {
  1600. display: block;
  1601. width: 120PX;
  1602. height: 86PX;
  1603. }
  1604. }
  1605. &.news-body-right {
  1606. >a {
  1607. display: block;
  1608. width: 100%;
  1609. height: 40PX;
  1610. line-height: 40PX;
  1611. font-size: 16PX;
  1612. font-weight: bold;
  1613. overflow: hidden;
  1614. color: #000;
  1615. text-decoration: none;
  1616. }
  1617. p {
  1618. width: 100%;
  1619. height: 46PX;
  1620. line-height: 23PX;
  1621. overflow: hidden;
  1622. font-size: 14PX;
  1623. color: #333;
  1624. a {
  1625. color: #333;
  1626. }
  1627. }
  1628. }
  1629. }
  1630. }
  1631. }
  1632. //第三层 end---------------------------------------->
  1633. //第四层 start---------------------------------------->
  1634. .index-layer-4 {
  1635. width: 1400PX;
  1636. border: 1PX solid #ccc;
  1637. border-radius: 20PX;
  1638. padding: 10PX 20PX;
  1639. box-sizing: border-box;
  1640. margin: 20PX auto;
  1641. .index-layer-4-title {
  1642. display: flex;
  1643. align-items: center;
  1644. justify-content: space-between;
  1645. width: 100%;
  1646. height: 40PX;
  1647. line-height: 40PX;
  1648. border-bottom: 1PX solid #ccc;
  1649. a {
  1650. &:first-child {
  1651. font-size: 22PX;
  1652. color: #1476bd;
  1653. }
  1654. &:last-child {
  1655. font-size: 16PX;
  1656. color: #f00;
  1657. border: none;
  1658. float: right;
  1659. }
  1660. display: block;
  1661. }
  1662. }
  1663. .index-layer-4-body {
  1664. .post_nr {
  1665. width: 100%;
  1666. height: auto;
  1667. margin: 20PX auto;
  1668. border: 1PX solid #ccc;
  1669. border-radius: 10PX;
  1670. padding: 20PX !important;
  1671. box-sizing: border-box;
  1672. .name {
  1673. display: block;
  1674. width: 100%;
  1675. height: auto;
  1676. line-height: 40PX;
  1677. font-size: 16PX;
  1678. color: #333;
  1679. }
  1680. b {
  1681. font-size: 17PX;
  1682. margin: 0 10PX;
  1683. }
  1684. li {
  1685. border-bottom: 1PX solid #ccc;
  1686. padding-bottom: 15PX;
  1687. margin-bottom: 10PX;
  1688. box-sizing: border-box;
  1689. p {
  1690. margin: 0;
  1691. height: auto;
  1692. line-height: 25PX;
  1693. font-size: 15PX;
  1694. color: #000;
  1695. &.hfnr {
  1696. font-weight: bold;
  1697. span {
  1698. color: #f00;
  1699. }
  1700. }
  1701. }
  1702. }
  1703. }
  1704. }
  1705. }
  1706. //第四层 end---------------------------------------->
  1707. }
  1708. .index—layer-1 .index-layer-1-middle .coninfoitem > div.coninfoitem_img{display:block!important;}
  1709. .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title{
  1710. display:block!important;width:100%!important;overflow:hidden!important;height:auto!important;}
  1711. // .index—layer-1 .index-layer-1-middle .coninfoitem > div img{height:85PX!important;}
  1712. .index—layer-1 .index-layer-1-middle .coninfoitem > div h3{display:block;height: 26PX;line-height: 26PX;overflow: hidden;font-size: 14PX;color: #333;font-weight: bold;
  1713. display:block;word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1714. }
  1715. .index—layer-1 .index-layer-1-middle .coninfoitem > div p{display:block;color: #333;font-size: 14PX;height: 60PX;line-height: 20PX;overflow: hidden;
  1716. overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
  1717. }
  1718. .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title .coninfoitem_img_text{}
  1719. @media screen and (min-width: 801px) and (max-width: 1400px) {
  1720. //swiper轮播图 start---------------------------------------->
  1721. .swiper-container {
  1722. width: 100%;
  1723. padding: 20PX 0;
  1724. position: relative;
  1725. margin: 0 auto;
  1726. box-sizing: border-box;
  1727. }
  1728. .custom-swiper {
  1729. width: 100%;
  1730. height: 100%;
  1731. padding: 10px 5px; //给两侧留出空间
  1732. box-sizing: border-box;
  1733. }
  1734. .custom-swiper :deep(.swiper-wrapper) {
  1735. align-items: stretch; //使所有幻灯片高度一致
  1736. }
  1737. .custom-swiper :deep(.swiper-slide) {
  1738. height: auto;
  1739. transition: transform 0.3s ease;
  1740. }
  1741. //悬停效果
  1742. .custom-swiper :deep(.swiper-slide:hover) {
  1743. transform: translateY(-5px);
  1744. z-index: 10;
  1745. }
  1746. .slide-link {
  1747. display: block;
  1748. text-decoration: none;
  1749. color: inherit;
  1750. height: 100%;
  1751. width: 100%;
  1752. }
  1753. .image-container {
  1754. position: relative;
  1755. width: 100%;
  1756. height: 120PX; //根据需求调整
  1757. overflow: hidden;
  1758. box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
  1759. transition: all 0.3s ease;
  1760. background: #f5f5f5; //加载时的背景色
  1761. }
  1762. .image-container:hover {
  1763. box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
  1764. }
  1765. .slide-image {
  1766. // width: 100%;
  1767. // height: 100%;
  1768. width: 264PX;
  1769. height: 118PX;
  1770. object-fit: cover;
  1771. transition: transform 0.5s ease;
  1772. }
  1773. .image-container:hover .slide-image {
  1774. transform: scale(1.05);
  1775. }
  1776. .image-title {
  1777. position: absolute;
  1778. bottom: 0;
  1779. left: 0;
  1780. right: 0;
  1781. color: white;
  1782. padding: 12PX 15PX;
  1783. font-size: 14PX;
  1784. line-height: 1.4;
  1785. text-align: center;
  1786. overflow: hidden;
  1787. text-overflow: ellipsis;
  1788. white-space: nowrap;
  1789. background: rgba(0, 0, 0, .6)
  1790. }
  1791. .custom-indicators {
  1792. display: flex;
  1793. justify-content: center;
  1794. gap: 8PX;
  1795. margin-top: 25PX;
  1796. padding: 15PX 10PX;
  1797. flex-wrap: wrap;
  1798. background: rgba(255, 255, 255, 0.9);
  1799. border-radius: 50PX;
  1800. max-width: 90%;
  1801. margin-left: auto;
  1802. margin-right: auto;
  1803. }
  1804. .indicator-btn {
  1805. width: 36PX;
  1806. height: 36PX;
  1807. border-radius: 50%;
  1808. border: 2PX solid #e0e0e0;
  1809. background: white;
  1810. color: #333;
  1811. cursor: pointer;
  1812. transition: all 0.3s ease;
  1813. font-size: 14PX;
  1814. font-weight: 500;
  1815. display: flex;
  1816. align-items: center;
  1817. justify-content: center;
  1818. outline: none;
  1819. }
  1820. .indicator-btn:hover {
  1821. background: #f0f9ff;
  1822. border-color: #409eff;
  1823. transform: scale(1.1);
  1824. }
  1825. .indicator-btn.active-indicator {
  1826. background: #409eff;
  1827. color: white;
  1828. border-color: #409eff;
  1829. box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
  1830. }
  1831. //swiper加载动画
  1832. .image-container:empty::before {
  1833. content: '';
  1834. position: absolute;
  1835. top: 0;
  1836. left: 0;
  1837. width: 100%;
  1838. height: 100%;
  1839. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  1840. background-size: 200% 100%;
  1841. animation: loading 1.5s infinite;
  1842. border-radius: 12PX;
  1843. }
  1844. @keyframes loading {
  1845. 0% {
  1846. background-position: 200% 0;
  1847. }
  1848. 100% {
  1849. background-position: -200% 0;
  1850. }
  1851. }
  1852. //swiper箭头颜色
  1853. .custom-swiper :deep(.swiper-button-prev),
  1854. .custom-swiper :deep(.swiper-button-next) {
  1855. color: white !important; //箭头颜色改为白色
  1856. }
  1857. .custom-swiper :deep(.swiper-button-prev):after,
  1858. .custom-swiper :deep(.swiper-button-next):after {
  1859. color: white !important; //确保箭头图标也是白色
  1860. }
  1861. //swiper轮播图 end---------------------------------------->
  1862. //轮播图 start---------------------------------------->
  1863. .nuxt-swiper {
  1864. width: 100%;
  1865. height: 300PX;
  1866. position: relative;
  1867. img {
  1868. width: 100%;
  1869. height: 100%;
  1870. }
  1871. span {
  1872. display: inline-block;
  1873. width: 100%;
  1874. height: 40PX;
  1875. line-height: 40PX;
  1876. padding: 0 10PX;
  1877. box-sizing: border-box;
  1878. position: absolute;
  1879. bottom: 0;
  1880. left: 0;
  1881. font-family: Source Han Sans, Source Han Sans;
  1882. font-size: 16PX;
  1883. color: #FFFFFF;
  1884. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  1885. background: rgba(0, 0, 0, .6);
  1886. }
  1887. }
  1888. .el-carousel {
  1889. // 左右箭头按钮
  1890. .el-carousel__arrow--right :deep(.class-name),
  1891. .el-carousel__arrow--left :deep(.class-name) {
  1892. width: 68PX;
  1893. height: 68PX;
  1894. }
  1895. //左右箭头图片
  1896. /deep/.el-icon svg {
  1897. height: 1em;
  1898. width: 1em;
  1899. background-color: transparent;
  1900. }
  1901. /deep/.el-carousel__arrow {
  1902. border-radius: 0;
  1903. background-color: transparent;
  1904. }
  1905. /deep/.el-carousel__arrow i {
  1906. font-size: 68PX !important;
  1907. }
  1908. /deep/ .el-carousel__indicators {
  1909. // 指示器
  1910. left: unset;
  1911. transform: unset;
  1912. right: 41%;
  1913. }
  1914. /deep/ .el-carousel__button {
  1915. // 指示器按钮
  1916. width: 15PX;
  1917. height: 15PX;
  1918. border-radius: 50%;
  1919. border: none;
  1920. opacity: 1;
  1921. background-color: #FFFFFF;
  1922. bottom: 30PX;
  1923. }
  1924. /deep/ .is-active .el-carousel__button {
  1925. // 指示器激活按钮
  1926. background: #158d91;
  1927. }
  1928. /deep/.custom-indicators {
  1929. position: absolute;
  1930. bottom: 10PX;
  1931. left: 50%;
  1932. transform: translateX(-50%);
  1933. }
  1934. /deep/ .el-carousel__indicators {
  1935. right: 3%;
  1936. bottom: 10%;
  1937. }
  1938. /deep/ .el-carousel__arrow {
  1939. top: 50%;
  1940. }
  1941. }
  1942. //轮播图 end---------------------------------------->
  1943. //第一层 start---------------------------------------->
  1944. .index—layer-1 {
  1945. width: 100%;
  1946. height: auto;
  1947. padding: 0px 10px;
  1948. box-sizing: border-box;
  1949. overflow: hidden;
  1950. margin: 20PX auto;
  1951. display: flex;
  1952. align-items: flex-start;
  1953. justify-content: space-between;
  1954. .index—layer-1-left {
  1955. width: 31%;
  1956. border: 1PX solid #ccc;
  1957. }
  1958. .index-layer-1-middle {
  1959. width: 31%;
  1960. border: 1PX solid #ccc;
  1961. box-sizing: border-box;
  1962. padding: 0 10PX;
  1963. padding-bottom: 5PX;
  1964. .tabtlt {
  1965. width: 100%;
  1966. height: auto;
  1967. outline: hidden;
  1968. border-bottom: 1PX solid #f0f0f0;
  1969. margin: 7PX 0 18PX;
  1970. overflow: hidden;
  1971. display: flex;
  1972. align-self: center;
  1973. justify-content: space-between;
  1974. a {
  1975. color: #337ab7;
  1976. text-decoration: none;
  1977. }
  1978. div {
  1979. width: 50%;
  1980. text-align: center;
  1981. width: 100%;
  1982. height: 50PX;
  1983. line-height: 50PX;
  1984. font-size: 20PX;
  1985. color: #000;
  1986. background: #f3f3f3;
  1987. text-align: center;
  1988. cursor: pointer;
  1989. }
  1990. div.intabtltbg {
  1991. background: url(public/index/current.gif) no-repeat center bottom !important;
  1992. }
  1993. }
  1994. .coninfoitem {
  1995. width: 100%;
  1996. overflow: hidden;
  1997. margin: 0PX auto;
  1998. >div {
  1999. &.coninfoitem_img {
  2000. height: 86PX;
  2001. overflow: hidden;
  2002. margin-bottom: 5PX;
  2003. display: flex;
  2004. align-items: flex-start;
  2005. }
  2006. h3 {
  2007. line-height: 26PX;
  2008. a {
  2009. font-size: 13PX;
  2010. color: #333;
  2011. font-weight: bold;
  2012. width: 100%;
  2013. height: 26PX;
  2014. line-height: 26PX;
  2015. overflow: hidden;
  2016. display: block;
  2017. }
  2018. }
  2019. img {
  2020. width: 120PX;
  2021. height: 86PX;
  2022. float: left;
  2023. margin-right: 11PX;
  2024. }
  2025. p {
  2026. line-height: 0;
  2027. a {
  2028. line-height: 20PX;
  2029. color: #333;
  2030. font-size: 13PX;
  2031. text-indent: 2em;
  2032. display: block;
  2033. }
  2034. }
  2035. }
  2036. .coninfoitem_title {
  2037. width: 100%;
  2038. height: 28PX;
  2039. line-height: 28PX;
  2040. overflow: hidden;
  2041. position: relative;
  2042. list-style-position: inside;
  2043. color: #000;
  2044. display: flex;
  2045. align-items: center;
  2046. justify-content: space-between;
  2047. span:nth-child(1) {
  2048. width: 70%;
  2049. height: 28PX;
  2050. text-align: left;
  2051. overflow: hidden;
  2052. display: block;
  2053. font-size: 14PX;
  2054. }
  2055. span:nth-child(2) {
  2056. width: 30%;
  2057. height: 28PX;
  2058. text-align: right;
  2059. display: block;
  2060. font-size: 12PX;
  2061. color: #666;
  2062. }
  2063. }
  2064. }
  2065. }
  2066. .index-layer-1-right {
  2067. width: 31%;
  2068. border: 1PX solid #ccc;
  2069. box-sizing: border-box;
  2070. padding: 0 10PX;
  2071. padding-bottom: 16PX;
  2072. .imgtlt {
  2073. width: 100%;
  2074. height: 43PX;
  2075. border-bottom: 1PX solid #e7e7e7;
  2076. a {
  2077. display: block;
  2078. width: 92PX;
  2079. height: 42PX;
  2080. line-height: 42PX;
  2081. text-align: center;
  2082. font-size: 20PX;
  2083. color: #333;
  2084. border-bottom: 2PX solid #158d91;
  2085. }
  2086. }
  2087. .con_img_list {
  2088. display: flex;
  2089. flex-wrap: wrap;
  2090. a {
  2091. width: 48%;
  2092. float: left;
  2093. overflow: hidden;
  2094. height: 100PX;
  2095. margin: 20PX auto 0;
  2096. display: block;
  2097. position: relative;
  2098. img {
  2099. display: block;
  2100. width: 100%;
  2101. height: 100%;
  2102. }
  2103. .con_img_list_rgba {
  2104. position: absolute;
  2105. width: 100%;
  2106. height: 22PX;
  2107. line-height: 21PX;
  2108. box-sizing: border-box;
  2109. padding: 0PX 10PX;
  2110. text-align: center;
  2111. bottom: 0PX;
  2112. left: 0PX;
  2113. color: #fff;
  2114. font-size: 16PX;
  2115. z-index: 11;
  2116. background: rgba(0, 0, 0, .6);
  2117. display: block;
  2118. word-break: keep-all;
  2119. white-space: nowrap;
  2120. overflow: hidden;
  2121. text-overflow: ellipsis;
  2122. }
  2123. }
  2124. }
  2125. }
  2126. }
  2127. //第一层 end---------------------------------------->
  2128. //第二层 start---------------------------------------->
  2129. .index—layer-2 {
  2130. width: 100%;
  2131. height: auto;
  2132. overflow: hidden;
  2133. margin: 20PX auto;
  2134. display: flex;
  2135. align-items: flex-start;
  2136. justify-content: space-between;
  2137. .index—layer-2-left,
  2138. .index—layer-2-right {
  2139. width: 49%;
  2140. border: 1PX solid #ddd;
  2141. height: auto;
  2142. overflow: hidden;
  2143. .index—layer-2-title {
  2144. display: flex;
  2145. align-items: center;
  2146. justify-content: flex-start;
  2147. background: #fff;
  2148. >div {
  2149. &.active {
  2150. background: #158d91;
  2151. color: #fff;
  2152. a {
  2153. color: #fff;
  2154. }
  2155. }
  2156. width: 118PX;
  2157. height: 44PX;
  2158. line-height: 44PX;
  2159. background: #fff;
  2160. text-align: center;
  2161. color: #808080;
  2162. font-size: 16PX;
  2163. font-weight: bold;
  2164. border-bottom: 2PX solid #158d91;
  2165. a {
  2166. font-size: 20PX;
  2167. color: #808080;
  2168. }
  2169. }
  2170. }
  2171. .index-tabs2-top {
  2172. background: #f8f8f8;
  2173. padding: 20PX 20PX;
  2174. box-sizing: border-box;
  2175. display: flex;
  2176. border-bottom: 1PX dashed #ddd;
  2177. >a {
  2178. margin-right: 11PX;
  2179. img {
  2180. display: block;
  2181. width: 120PX;
  2182. height: 86PX;
  2183. }
  2184. }
  2185. h3 {
  2186. width: 100%;
  2187. height: 26PX;
  2188. line-height: 26PX;
  2189. overflow: hidden;
  2190. a {
  2191. font-size: 13PX;
  2192. color: #333;
  2193. font-weight: bold;
  2194. }
  2195. }
  2196. p {
  2197. width: 100%;
  2198. height: 60PX;
  2199. line-height: 20PX;
  2200. overflow: hidden;
  2201. display: -webkit-box !important;
  2202. -webkit-box-orient: vertical;
  2203. -webkit-line-clamp: 3;
  2204. a {
  2205. color: #333;
  2206. font-size: 13PX;
  2207. }
  2208. }
  2209. }
  2210. .index-tabs2-bottom {
  2211. padding: 20PX;
  2212. margin: 0;
  2213. a {
  2214. display: block;
  2215. width: 100%;
  2216. height: 28PX;
  2217. line-height: 28PX;
  2218. color: #333;
  2219. font-size: 13PX;
  2220. display: flex;
  2221. align-items: center;
  2222. justify-content: space-between;
  2223. span:nth-child(1) {
  2224. width: 70%;
  2225. height: 28PX;
  2226. text-align: left;
  2227. overflow: hidden;
  2228. display: block;
  2229. font-size: 14PX;
  2230. }
  2231. span:nth-child(2) {
  2232. width: 30%;
  2233. height: 28PX;
  2234. text-align: right;
  2235. display: block;
  2236. font-size: 12PX;
  2237. }
  2238. }
  2239. }
  2240. }
  2241. }
  2242. //第二层 end---------------------------------------->
  2243. //第三层 start---------------------------------------->
  2244. .index—layer-3 {
  2245. .index—layer-3-line {
  2246. width: 100%;
  2247. display: flex;
  2248. align-items: center;
  2249. justify-content: space-between;
  2250. margin: 0 auto;
  2251. box-sizing: border-box;
  2252. //选项卡类型
  2253. .index—layer-3-tabs-box {
  2254. width: 31%;
  2255. height: auto;
  2256. border: 1PX solid #ddd;
  2257. border-top: 2PX solid #158d91;
  2258. margin: 1%;
  2259. padding: 0 10PX;
  2260. box-sizing: border-box;
  2261. .index—layer-3-tabs-box-title {
  2262. display: flex;
  2263. align-items: center;
  2264. width: 100%;
  2265. border-bottom: 1PX solid #f0f0f0;
  2266. >div {
  2267. &.active {
  2268. background: url(../public/index/current2.png) no-repeat center bottom;
  2269. }
  2270. width: 87PX;
  2271. height: 54PX;
  2272. line-height: 55PX;
  2273. overflow: hidden;
  2274. float: left;
  2275. margin-right: 10PX;
  2276. text-align: center;
  2277. font-size: 20PX;
  2278. color: #333;
  2279. font-weight: bold;
  2280. a {
  2281. color: #333;
  2282. }
  2283. }
  2284. }
  2285. .index—layer-3-news-body-main {
  2286. margin-bottom: 20PX;
  2287. a {
  2288. width: 100%;
  2289. height: 26PX;
  2290. line-height: 26PX;
  2291. list-style-position: inside;
  2292. font-size: 13PX;
  2293. color: #333;
  2294. display: block;
  2295. word-break: keep-all;
  2296. white-space: nowrap;
  2297. overflow: hidden;
  2298. text-overflow: ellipsis;
  2299. width: 66%;
  2300. }
  2301. }
  2302. }
  2303. //常规类型
  2304. .index—layer-3-news-box {
  2305. width: 31%;
  2306. height: auto;
  2307. border: 1PX solid #ddd;
  2308. border-top: 2PX solid #158d91;
  2309. margin: 1%;
  2310. padding: 0 10PX;
  2311. box-sizing: border-box;
  2312. .index—layer-3-news-box-title {
  2313. display: flex;
  2314. align-items: center;
  2315. width: 100%;
  2316. border-bottom: 1PX solid #f0f0f0;
  2317. >div {
  2318. &.active {
  2319. background: url(../public/index/current2.png) no-repeat center bottom;
  2320. }
  2321. width: 87PX;
  2322. height: 54PX;
  2323. line-height: 55PX;
  2324. overflow: hidden;
  2325. float: left;
  2326. margin-right: 10PX;
  2327. text-align: center;
  2328. font-size: 20PX;
  2329. color: #333;
  2330. font-weight: bold;
  2331. a {
  2332. color: #333;
  2333. }
  2334. }
  2335. }
  2336. .index—layer-3-news-body-main {
  2337. margin-bottom: 20PX;
  2338. a {
  2339. width: 100%;
  2340. height: 26PX;
  2341. line-height: 26PX;
  2342. list-style-position: inside;
  2343. font-size: 13PX;
  2344. color: #333;
  2345. display: flex;
  2346. align-items: center;
  2347. justify-content: space-between;
  2348. span:nth-child(1) {
  2349. width: 70%;
  2350. height: 28PX;
  2351. text-align: left;
  2352. overflow: hidden;
  2353. display: block;
  2354. font-size: 14PX;
  2355. }
  2356. span:nth-child(2) {
  2357. width: 30%;
  2358. height: 28PX;
  2359. text-align: right;
  2360. display: block;
  2361. font-size: 12PX;
  2362. }
  2363. }
  2364. }
  2365. }
  2366. }
  2367. .index—layer-3-news-body-title {
  2368. display: flex;
  2369. align-items: center;
  2370. justify-content: flex-start;
  2371. margin: 20PX 0 14PX;
  2372. padding-bottom: 20PX;
  2373. border-bottom: 1PX dashed #e1e1e1;
  2374. >div {
  2375. &.news-body-left {
  2376. margin-right: 11PX;
  2377. img {
  2378. display: block;
  2379. width: 120PX;
  2380. height: 86PX;
  2381. }
  2382. }
  2383. &.news-body-right {
  2384. >a {
  2385. display: block;
  2386. width: 100%;
  2387. height: 40PX;
  2388. line-height: 40PX;
  2389. font-size: 16PX;
  2390. font-weight: bold;
  2391. overflow: hidden;
  2392. color: #000;
  2393. text-decoration: none;
  2394. }
  2395. p {
  2396. width: 100%;
  2397. height: 46PX;
  2398. line-height: 23PX;
  2399. overflow: hidden;
  2400. font-size: 14PX;
  2401. color: #333;
  2402. a {
  2403. color: #333;
  2404. }
  2405. }
  2406. }
  2407. }
  2408. }
  2409. }
  2410. //第三层 end---------------------------------------->
  2411. //第四层 start---------------------------------------->
  2412. .index-layer-4 {
  2413. width: 100%;
  2414. border: 1PX solid #ccc;
  2415. border-radius: 20PX;
  2416. padding: 10PX 20PX;
  2417. box-sizing: border-box;
  2418. margin: 20PX auto;
  2419. .index-layer-4-title {
  2420. display: flex;
  2421. align-items: center;
  2422. justify-content: space-between;
  2423. width: 100%;
  2424. height: 40PX;
  2425. line-height: 40PX;
  2426. border-bottom: 1PX solid #ccc;
  2427. a {
  2428. &:first-child {
  2429. font-size: 22PX;
  2430. color: #1476bd;
  2431. }
  2432. &:last-child {
  2433. font-size: 16PX;
  2434. color: #f00;
  2435. border: none;
  2436. float: right;
  2437. }
  2438. display: block;
  2439. }
  2440. }
  2441. .index-layer-4-body {
  2442. .post_nr {
  2443. width: 100%;
  2444. height: auto;
  2445. margin: 20PX auto;
  2446. border: 1PX solid #ccc;
  2447. border-radius: 10PX;
  2448. padding: 20PX !important;
  2449. box-sizing: border-box;
  2450. .name {
  2451. display: block;
  2452. width: 100%;
  2453. height: auto;
  2454. line-height: 40PX;
  2455. font-size: 16PX;
  2456. color: #333;
  2457. }
  2458. b {
  2459. font-size: 17PX;
  2460. margin: 0 10PX;
  2461. }
  2462. li {
  2463. border-bottom: 1PX solid #ccc;
  2464. padding-bottom: 15PX;
  2465. margin-bottom: 10PX;
  2466. box-sizing: border-box;
  2467. p {
  2468. margin: 0;
  2469. height: auto;
  2470. line-height: 25PX;
  2471. font-size: 15PX;
  2472. color: #000;
  2473. &.hfnr {
  2474. font-weight: bold;
  2475. span {
  2476. color: #f00;
  2477. }
  2478. }
  2479. }
  2480. }
  2481. }
  2482. }
  2483. }
  2484. //第四层 end---------------------------------------->
  2485. .index—layer-2 {
  2486. padding: 0px 10px;
  2487. box-sizing: border-box;
  2488. }
  2489. .index-layer-4 {
  2490. margin: 0px auto;
  2491. width: 98%;
  2492. }
  2493. }
  2494. @media screen and (max-width: 800px) {
  2495. //swiper轮播图 start---------------------------------------->
  2496. .swiper-container {
  2497. width: 100%;
  2498. padding: 20px 0;
  2499. position: relative;
  2500. max-width: 1400px;
  2501. margin: 0 auto;
  2502. display: none;
  2503. }
  2504. .custom-swiper {
  2505. width: 100%;
  2506. height: 100%;
  2507. padding: 10px 5px; //给两侧留出空间
  2508. }
  2509. .custom-swiper :deep(.swiper-wrapper) {
  2510. align-items: stretch; //使所有幻灯片高度一致
  2511. }
  2512. .custom-swiper :deep(.swiper-slide) {
  2513. height: auto;
  2514. transition: transform 0.3s ease;
  2515. }
  2516. //悬停效果
  2517. .custom-swiper :deep(.swiper-slide:hover) {
  2518. transform: translateY(-5px);
  2519. z-index: 10;
  2520. }
  2521. .slide-link {
  2522. display: block;
  2523. text-decoration: none;
  2524. color: inherit;
  2525. height: 100%;
  2526. width: 100%;
  2527. }
  2528. .image-container {
  2529. position: relative;
  2530. width: 100%;
  2531. height: 118px; //根据需求调整
  2532. overflow: hidden;
  2533. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  2534. transition: all 0.3s ease;
  2535. background: #f5f5f5; //加载时的背景色
  2536. }
  2537. .image-container:hover {
  2538. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  2539. }
  2540. .slide-image {
  2541. // width: 100%;
  2542. // height: 100%;
  2543. width: 264px;
  2544. height: 118px;
  2545. object-fit: cover;
  2546. transition: transform 0.5s ease;
  2547. }
  2548. .image-container:hover .slide-image {
  2549. transform: scale(1.05);
  2550. }
  2551. .image-title {
  2552. position: absolute;
  2553. bottom: 0;
  2554. left: 0;
  2555. right: 0;
  2556. color: white;
  2557. padding: 12px 15px;
  2558. font-size: 14px;
  2559. line-height: 1.4;
  2560. text-align: center;
  2561. overflow: hidden;
  2562. text-overflow: ellipsis;
  2563. white-space: nowrap;
  2564. background: rgba(0, 0, 0, .6)
  2565. }
  2566. .custom-indicators {
  2567. display: flex;
  2568. justify-content: center;
  2569. gap: 8px;
  2570. margin-top: 25px;
  2571. padding: 15px 10px;
  2572. flex-wrap: wrap;
  2573. background: rgba(255, 255, 255, 0.9);
  2574. border-radius: 50px;
  2575. max-width: 90%;
  2576. margin-left: auto;
  2577. margin-right: auto;
  2578. }
  2579. .indicator-btn {
  2580. width: 36px;
  2581. height: 36px;
  2582. border-radius: 50%;
  2583. border: 2px solid #e0e0e0;
  2584. background: white;
  2585. color: #333;
  2586. cursor: pointer;
  2587. transition: all 0.3s ease;
  2588. font-size: 14px;
  2589. font-weight: 500;
  2590. display: flex;
  2591. align-items: center;
  2592. justify-content: center;
  2593. outline: none;
  2594. }
  2595. .indicator-btn:hover {
  2596. background: #f0f9ff;
  2597. border-color: #409eff;
  2598. transform: scale(1.1);
  2599. }
  2600. .indicator-btn.active-indicator {
  2601. background: #409eff;
  2602. color: white;
  2603. border-color: #409eff;
  2604. box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
  2605. }
  2606. //swiper加载动画
  2607. .image-container:empty::before {
  2608. content: '';
  2609. position: absolute;
  2610. top: 0;
  2611. left: 0;
  2612. width: 100%;
  2613. height: 100%;
  2614. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  2615. background-size: 200% 100%;
  2616. animation: loading 1.5s infinite;
  2617. border-radius: 12px;
  2618. }
  2619. @keyframes loading {
  2620. 0% {
  2621. background-position: 200% 0;
  2622. }
  2623. 100% {
  2624. background-position: -200% 0;
  2625. }
  2626. }
  2627. //swiper箭头颜色
  2628. .custom-swiper :deep(.swiper-button-prev),
  2629. .custom-swiper :deep(.swiper-button-next) {
  2630. color: white !important; //箭头颜色改为白色
  2631. }
  2632. .custom-swiper :deep(.swiper-button-prev):after,
  2633. .custom-swiper :deep(.swiper-button-next):after {
  2634. color: white !important; //确保箭头图标也是白色
  2635. }
  2636. //swiper轮播图 end---------------------------------------->
  2637. //轮播图 start---------------------------------------->
  2638. .nuxt-swiper {
  2639. width: 100%;
  2640. height: 330px;
  2641. position: relative;
  2642. img {
  2643. width: 100%;
  2644. height: 100%;
  2645. }
  2646. span {
  2647. display: inline-block;
  2648. width: 100%;
  2649. height: 55px;
  2650. line-height: 55px;
  2651. padding-left: 20px;
  2652. box-sizing: border-box;
  2653. position: absolute;
  2654. bottom: 0;
  2655. left: 0;
  2656. font-family: Source Han Sans, Source Han Sans;
  2657. font-size: 20px;
  2658. color: #FFFFFF;
  2659. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  2660. background: rgba(0, 0, 0, .6);
  2661. }
  2662. }
  2663. .el-carousel {
  2664. // 左右箭头按钮
  2665. .el-carousel__arrow--right :deep(.class-name),
  2666. .el-carousel__arrow--left :deep(.class-name) {
  2667. width: 68px;
  2668. height: 68px;
  2669. }
  2670. //左右箭头图片
  2671. /deep/.el-icon svg {
  2672. height: 1em;
  2673. width: 1em;
  2674. background-color: transparent;
  2675. }
  2676. /deep/.el-carousel__arrow {
  2677. border-radius: 0;
  2678. background-color: transparent;
  2679. }
  2680. /deep/.el-carousel__arrow i {
  2681. font-size: 68px !important;
  2682. }
  2683. /deep/ .el-carousel__indicators {
  2684. // 指示器
  2685. left: unset;
  2686. transform: unset;
  2687. right: 41%;
  2688. }
  2689. /deep/ .el-carousel__button {
  2690. // 指示器按钮
  2691. width: 15px;
  2692. height: 15px;
  2693. border-radius: 50%;
  2694. border: none;
  2695. opacity: 1;
  2696. background-color: #FFFFFF;
  2697. bottom: 30px;
  2698. }
  2699. /deep/ .is-active .el-carousel__button {
  2700. // 指示器激活按钮
  2701. background: #158d91;
  2702. }
  2703. /deep/.custom-indicators {
  2704. position: absolute;
  2705. bottom: 10px;
  2706. left: 50%;
  2707. transform: translateX(-50%);
  2708. }
  2709. /deep/ .el-carousel__indicators {
  2710. right: 3%;
  2711. bottom: 14%;
  2712. }
  2713. /deep/ .el-carousel__arrow {
  2714. top: 50%;
  2715. }
  2716. /deep/ .el-carousel__container {
  2717. height: 330px;
  2718. }
  2719. }
  2720. //轮播图 end---------------------------------------->
  2721. //第一层 start---------------------------------------->
  2722. .index—layer-1 {
  2723. width: 100%;
  2724. height: auto;
  2725. overflow: hidden;
  2726. margin: 20px auto;
  2727. display: flex;
  2728. align-items: flex-start;
  2729. justify-content: space-between;
  2730. flex-wrap: wrap;
  2731. box-sizing: border-box;
  2732. padding: 0 10px;
  2733. .index—layer-1-left {
  2734. width: 100%;
  2735. margin: 10px 0;
  2736. border: 1px solid #ccc;
  2737. }
  2738. .index-layer-1-middle {
  2739. width: 100%;
  2740. border: 1px solid #ccc;
  2741. box-sizing: border-box;
  2742. padding: 0 10px;
  2743. padding-bottom: 5px;
  2744. margin: 10px 0;
  2745. .tabtlt {
  2746. width: 100%;
  2747. height: auto;
  2748. outline: hidden;
  2749. border-bottom: 1px solid #f0f0f0;
  2750. margin: 7px 0 18px;
  2751. overflow: hidden;
  2752. display: flex;
  2753. align-self: center;
  2754. justify-content: space-between;
  2755. a {
  2756. color: #337ab7;
  2757. text-decoration: none;
  2758. }
  2759. div {
  2760. width: 50%;
  2761. text-align: center;
  2762. width: 100%;
  2763. height: 50px;
  2764. line-height: 50px;
  2765. font-size: 28px;
  2766. color: #000;
  2767. background: #f3f3f3;
  2768. text-align: center;
  2769. cursor: pointer;
  2770. }
  2771. div.intabtltbg {
  2772. background: url(public/index/current.gif) no-repeat center bottom !important;
  2773. }
  2774. }
  2775. .coninfoitem {
  2776. width: 100%;
  2777. overflow: hidden;
  2778. margin: 0px auto;
  2779. >div {
  2780. &.coninfoitem_img {
  2781. height: 220px;
  2782. overflow: hidden;
  2783. margin-bottom: 5px;
  2784. display: flex;
  2785. align-items: flex-start;
  2786. justify-content: space-between;
  2787. }
  2788. h3 {
  2789. width: 100%;
  2790. height: 40px;
  2791. line-height: 40px;
  2792. line-height: 0;
  2793. overflow: hidden;
  2794. a {
  2795. font-size: 30px;
  2796. color: #333;
  2797. font-weight: bold;
  2798. width: 100%;
  2799. height: 44px;
  2800. line-height: 44px;
  2801. overflow: hidden;
  2802. display: block;
  2803. }
  2804. }
  2805. img {
  2806. width: 440px;
  2807. height: 220px;
  2808. float: left;
  2809. margin-right: 11px;
  2810. }
  2811. p {
  2812. a {
  2813. color: #333;
  2814. font-size: 26px;
  2815. height: 90px;
  2816. line-height: 30px;
  2817. margin-top: 11px;
  2818. display: block;
  2819. text-indent: 2em;
  2820. overflow: hidden;
  2821. display: -webkit-box !important;
  2822. -webkit-box-orient: vertical;
  2823. -webkit-line-clamp: 3;
  2824. }
  2825. }
  2826. }
  2827. .coninfoitem_title {
  2828. width: 100%;
  2829. height: 70px;
  2830. line-height: 70px;
  2831. color: #333;
  2832. display: block;
  2833. font-weight: normal;
  2834. display: flex;
  2835. align-items: center;
  2836. justify-content: space-between;
  2837. span:nth-child(1) {
  2838. width: 70%;
  2839. height: 50px;
  2840. text-align: left;
  2841. overflow: hidden;
  2842. display: block;
  2843. font-size: 28px;
  2844. }
  2845. span:nth-child(2) {
  2846. width: 30%;
  2847. height: 50px;
  2848. text-align: right;
  2849. display: block;
  2850. font-size: 24px;
  2851. color: #666;
  2852. }
  2853. }
  2854. }
  2855. }
  2856. .index-layer-1-right {
  2857. width: 100%;
  2858. border: 1px solid #ccc;
  2859. box-sizing: border-box;
  2860. padding-bottom: 16px;
  2861. padding: 10px;
  2862. .imgtlt {
  2863. width: 100%;
  2864. height: 43px;
  2865. border-bottom: 1px solid #e7e7e7;
  2866. a {
  2867. display: block;
  2868. width: auto;
  2869. float: left;
  2870. height: 42px;
  2871. line-height: 42px;
  2872. text-align: center;
  2873. font-size: 26px;
  2874. color: #333;
  2875. border-bottom: 2px solid #158d91;
  2876. }
  2877. }
  2878. .con_img_list {
  2879. display: flex;
  2880. flex-wrap: wrap;
  2881. a {
  2882. width: 48%;
  2883. float: left;
  2884. overflow: hidden;
  2885. height: 200px;
  2886. margin: 20px auto 0;
  2887. display: block;
  2888. position: relative;
  2889. img {
  2890. display: block;
  2891. width: 100%;
  2892. height: 100%;
  2893. }
  2894. .con_img_list_rgba {
  2895. position: absolute;
  2896. width: 100%;
  2897. height: 33px;
  2898. line-height: 33px;
  2899. box-sizing: border-box;
  2900. padding: 0 10px;
  2901. text-align: center;
  2902. bottom: 0px;
  2903. left: 0px;
  2904. color: #fff;
  2905. font-size: 20px;
  2906. z-index: 11;
  2907. background: rgba(0, 0, 0, .6);
  2908. display: block;
  2909. word-break: keep-all;
  2910. white-space: nowrap;
  2911. overflow: hidden;
  2912. text-overflow: ellipsis;
  2913. }
  2914. }
  2915. }
  2916. }
  2917. }
  2918. //第一层 end---------------------------------------->
  2919. //第二层 start---------------------------------------->
  2920. .index—layer-2 {
  2921. width: 100%;
  2922. height: auto;
  2923. overflow: hidden;
  2924. margin: 20px auto;
  2925. display: flex;
  2926. align-items: flex-start;
  2927. justify-content: space-between;
  2928. flex-wrap: wrap;
  2929. padding: 0 10px;
  2930. box-sizing: border-box;
  2931. .index—layer-2-left,
  2932. .index—layer-2-right {
  2933. width: 100%;
  2934. border: 1px solid #ddd;
  2935. height: auto;
  2936. overflow: hidden;
  2937. margin: 10px 0;
  2938. .index—layer-2-title {
  2939. display: flex;
  2940. align-items: center;
  2941. justify-content: flex-start;
  2942. background: #fff;
  2943. >div {
  2944. &.active {
  2945. background: #158d91;
  2946. color: #fff;
  2947. a {
  2948. color: #fff;
  2949. }
  2950. }
  2951. width:auto;
  2952. float:left;
  2953. height: 55px;
  2954. line-height: 55px;
  2955. background: #fff;
  2956. text-align: center;
  2957. color: #808080;
  2958. font-size: 26px;
  2959. padding:0px 18px;
  2960. font-weight: bold;
  2961. border-bottom: 2px solid #158d91;
  2962. a {
  2963. font-size: 20px;
  2964. color: #808080;
  2965. }
  2966. }
  2967. }
  2968. .index-tabs2-top {
  2969. background: #f8f8f8;
  2970. padding: 20px 20px;
  2971. box-sizing: border-box;
  2972. display: flex;
  2973. border-bottom: 1px dashed #ddd;
  2974. >a {
  2975. margin-right: 11px;
  2976. img {
  2977. display: block;
  2978. width: 330px;
  2979. height: 220px;
  2980. }
  2981. }
  2982. h3 {
  2983. width: 100%;
  2984. height: 40px;
  2985. line-height: 40px;
  2986. line-height: 0;
  2987. overflow: hidden;
  2988. a {
  2989. font-size: 30px;
  2990. color: #333;
  2991. font-weight: bold;
  2992. width: 100%;
  2993. height: 44px;
  2994. line-height: 44px;
  2995. overflow: hidden;
  2996. display: block;
  2997. }
  2998. }
  2999. p {
  3000. a {
  3001. color: #333;
  3002. font-size: 26px;
  3003. height: 90px;
  3004. line-height: 30px;
  3005. margin-top: 11px;
  3006. display: block;
  3007. text-indent: 2em;
  3008. overflow: hidden;
  3009. display: -webkit-box !important;
  3010. -webkit-box-orient: vertical;
  3011. -webkit-line-clamp: 3;
  3012. }
  3013. }
  3014. }
  3015. .index-tabs2-bottom {
  3016. padding: 20px;
  3017. margin: 0;
  3018. box-sizing: border-box;
  3019. a {
  3020. display: block;
  3021. width: 100%;
  3022. height: 50px;
  3023. line-height: 50px;
  3024. overflow: hidden;
  3025. position: relative;
  3026. list-style-position: inside;
  3027. color: #333;
  3028. font-size: 32px;
  3029. display: flex;
  3030. align-items: center;
  3031. justify-content: space-between;
  3032. span:nth-child(1) {
  3033. width: 70%;
  3034. height: 50px;
  3035. text-align: left;
  3036. overflow: hidden;
  3037. display: block;
  3038. font-size: 28px;
  3039. }
  3040. span:nth-child(2) {
  3041. width: 30%;
  3042. height: 50px;
  3043. text-align: right;
  3044. display: block;
  3045. font-size: 24px;
  3046. color: #666;
  3047. }
  3048. }
  3049. }
  3050. }
  3051. }
  3052. //第二层 end---------------------------------------->
  3053. //第三层 start---------------------------------------->
  3054. .index—layer-3 {
  3055. .index—layer-3-line {
  3056. width: 100%;
  3057. display: flex;
  3058. align-items: center;
  3059. justify-content: space-between;
  3060. margin: 0 auto;
  3061. box-sizing: border-box;
  3062. flex-wrap: wrap;
  3063. padding: 0 10px;
  3064. //选项卡类型
  3065. .index—layer-3-tabs-box {
  3066. width: 100%;
  3067. height: auto;
  3068. border: 1px solid #ddd;
  3069. border-top: 2px solid #158d91;
  3070. margin: 1%;
  3071. padding: 0 10px;
  3072. box-sizing: border-box;
  3073. margin: 10px 0;
  3074. .index—layer-3-tabs-box-title {
  3075. display: flex;
  3076. align-items: center;
  3077. width: 100%;
  3078. border-bottom: 1px solid #f0f0f0;
  3079. >div {
  3080. &.active {
  3081. background: url(../public/index/current2.png) no-repeat center bottom;
  3082. }
  3083. width: 87px;
  3084. height: 54px;
  3085. line-height: 55px;
  3086. overflow: hidden;
  3087. float: left;
  3088. margin-right: 10px;
  3089. text-align: center;
  3090. font-size: 20px;
  3091. color: #333;
  3092. font-weight: bold;
  3093. a {
  3094. color: #333;
  3095. }
  3096. }
  3097. }
  3098. .index—layer-3-news-body-main {
  3099. margin-bottom: 20px;
  3100. a {
  3101. width: 100%;
  3102. height: 70px;
  3103. line-height: 70px;
  3104. font-size: 26px;
  3105. color: #333;
  3106. display: flex;
  3107. align-items: center;
  3108. justify-content: space-between;
  3109. span:nth-child(1) {
  3110. width: 70%;
  3111. height: 50px;
  3112. text-align: left;
  3113. overflow: hidden;
  3114. display: block;
  3115. font-size: 28px;
  3116. }
  3117. span:nth-child(2) {
  3118. width: 30%;
  3119. height: 50px;
  3120. text-align: right;
  3121. display: block;
  3122. font-size: 24px;
  3123. color: #666;
  3124. }
  3125. }
  3126. }
  3127. }
  3128. //常规类型
  3129. .index—layer-3-news-box {
  3130. width: 100%;
  3131. height: auto;
  3132. border: 1px solid #ddd;
  3133. border-top: 2px solid #158d91;
  3134. margin: 1%;
  3135. padding: 0 10px;
  3136. box-sizing: border-box;
  3137. margin: 10px 0;
  3138. .index—layer-3-news-box-title {
  3139. display: flex;
  3140. align-items: center;
  3141. width: 100%;
  3142. border-bottom: 1px solid #f0f0f0;
  3143. >div {
  3144. &.active {
  3145. background: url(../public/index/current2.png) no-repeat center bottom;
  3146. }
  3147. width:auto;
  3148. float:left;
  3149. height: 54px;
  3150. line-height: 55px;
  3151. overflow: hidden;
  3152. float: left;
  3153. margin-right: 10px;
  3154. text-align: center;
  3155. font-size: 20px;
  3156. color: #333;
  3157. font-weight: bold;
  3158. a {
  3159. color: #333;
  3160. }
  3161. }
  3162. }
  3163. .index—layer-3-news-body-main {
  3164. margin-bottom: 20px;
  3165. a {
  3166. width: 100%;
  3167. height: 70px;
  3168. line-height: 70px;
  3169. font-size: 26px;
  3170. color: #333;
  3171. display: flex;
  3172. align-items: center;
  3173. justify-content: space-between;
  3174. span:nth-child(1) {
  3175. width: 70%;
  3176. height: 50px;
  3177. text-align: left;
  3178. overflow: hidden;
  3179. display: block;
  3180. font-size: 28px;
  3181. }
  3182. span:nth-child(2) {
  3183. width: 30%;
  3184. height: 50px;
  3185. text-align: right;
  3186. display: block;
  3187. font-size: 24px;
  3188. color: #666;
  3189. }
  3190. }
  3191. }
  3192. }
  3193. }
  3194. .index—layer-3-news-body-title {
  3195. overflow: hidden;
  3196. align-items: center;
  3197. justify-content: flex-start;
  3198. margin: 20px 0 14px;
  3199. padding-bottom: 20px;
  3200. border-bottom: 1px dashed #e1e1e1;
  3201. >div {
  3202. &.news-body-left {
  3203. float: left;
  3204. margin-right: 11px;
  3205. img {
  3206. display: block;
  3207. width: 330px;
  3208. height: 220px;
  3209. }
  3210. }
  3211. &.news-body-right {
  3212. width: 350px;
  3213. float: right;
  3214. >a {
  3215. height: 40px;
  3216. line-height: 40px;
  3217. line-height: 0;
  3218. overflow: hidden;
  3219. font-size: 30px;
  3220. color: #333;
  3221. font-weight: bold;
  3222. width: 100%;
  3223. height: 44px;
  3224. line-height: 44px;
  3225. overflow: hidden;
  3226. display: block;
  3227. }
  3228. p {
  3229. a {
  3230. color: #333;
  3231. font-size: 26px;
  3232. height: 90px;
  3233. line-height: 30px;
  3234. margin-top: 11px;
  3235. display: block;
  3236. text-indent: 2em;
  3237. overflow: hidden;
  3238. display: -webkit-box !important;
  3239. -webkit-box-orient: vertical;
  3240. -webkit-line-clamp: 3;
  3241. }
  3242. }
  3243. }
  3244. }
  3245. }
  3246. }
  3247. //第三层 end---------------------------------------->
  3248. //第四层 start---------------------------------------->
  3249. .index-layer-4 {
  3250. width: 100%;
  3251. border: 1px solid #ccc;
  3252. border-radius: 20px;
  3253. padding: 10px 20px;
  3254. box-sizing: border-box;
  3255. display: none;
  3256. .index-layer-4-title {
  3257. display: flex;
  3258. align-items: center;
  3259. justify-content: space-between;
  3260. width: 100%;
  3261. height: 40px;
  3262. line-height: 40px;
  3263. border-bottom: 1px solid #ccc;
  3264. a {
  3265. &:first-child {
  3266. font-size: 22px;
  3267. color: #1476bd;
  3268. }
  3269. &:last-child {
  3270. font-size: 16px;
  3271. color: #f00;
  3272. border: none;
  3273. float: right;
  3274. }
  3275. display: block;
  3276. }
  3277. }
  3278. .index-layer-4-body {
  3279. .post_nr {
  3280. width: 100%;
  3281. height: auto;
  3282. margin: 20px auto;
  3283. border: 1px solid #ccc;
  3284. border-radius: 10px;
  3285. padding: 20px !important;
  3286. box-sizing: border-box;
  3287. .name {
  3288. display: block;
  3289. width: 100%;
  3290. height: auto;
  3291. line-height: 40px;
  3292. font-size: 16px;
  3293. color: #333;
  3294. }
  3295. b {
  3296. font-size: 17px;
  3297. margin: 0 10px;
  3298. }
  3299. li {
  3300. border-bottom: 1px solid #ccc;
  3301. padding-bottom: 15px;
  3302. margin-bottom: 10px;
  3303. box-sizing: border-box;
  3304. p {
  3305. margin: 0;
  3306. height: auto;
  3307. line-height: 25px;
  3308. font-size: 15px;
  3309. color: #000;
  3310. &.hfnr {
  3311. font-weight: bold;
  3312. span {
  3313. color: #f00;
  3314. }
  3315. }
  3316. }
  3317. }
  3318. }
  3319. }
  3320. }
  3321. //第四层 end---------------------------------------->
  3322. }
  3323. </style>