index.vue 123 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312
  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
  69. v-if="pageData[1].cid"
  70. :href="getLinkPath(pageData[1])"
  71. :title="pageData[1].alias"
  72. >
  73. {{pageData[1].title}}
  74. </NuxtLink>
  75. </div>
  76. </div>
  77. <div>
  78. <div v-if="indexTabs == 1" class="coninfoitem">
  79. <div class="coninfoitem_img">
  80. <img src="/public/index/news.png" />
  81. <div class="coninfoitem_img_text">
  82. <NuxtLink
  83. :href="getLinkPathDetail(boxData1[0])"
  84. :title="boxData1[0].title"
  85. :target="boxData1[0].islink == 1 ? '_blank' : '_self'"
  86. class="coninfoitem_title"
  87. >
  88. <h3>
  89. {{boxData1[0].title}}
  90. </h3>
  91. <p>
  92. {{boxData1[0].introduce}}
  93. </p>
  94. </NuxtLink>
  95. </div>
  96. </div>
  97. <NuxtLink
  98. v-for="(item, index) in boxData1data2" :key="index"
  99. :href="getLinkPathDetail(item)"
  100. :title="item.title"
  101. :target="item.islink == 1 ? '_blank' : '_self'"
  102. class="coninfoitem_title"
  103. >
  104. <span>{{ item.title }}</span>
  105. <span>{{getTime(item.updated_at,'month',1)}}</span>
  106. </NuxtLink>
  107. </div>
  108. <div v-if="indexTabs == 2" class="coninfoitem">
  109. </div>
  110. </div>
  111. </div>
  112. </div>
  113. <!--右侧新闻列表-->
  114. <div class="index-layer-1-right">
  115. <div class="imgtlt">
  116. <NuxtLink to="/" class="coninfoitem_title">
  117. 各地动态
  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": "5,1,1", "child": "" },//模块5法纪通报
  760. { "parent": "6,1,1", "child": "" },//模块6今日说法
  761. { "parent": "7,1,1", "child": "" },//模块7政策法规
  762. ]
  763. let jsonString = JSON.stringify(getJson);
  764. async function getPageAllData() {
  765. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  766. method: 'GET',
  767. query: {
  768. 'id': jsonString
  769. },
  770. });
  771. console.log("makdata:", mkdata);
  772. if (mkdata.code == 200) {
  773. //模块1法制资讯
  774. boxData1.value = mkdata.data[0].imgnum;
  775. boxData1data2.value = mkdata.data[0].textnum;
  776. //模块2各地动态
  777. boxData2.value = mkdata.data[1].imgnum;
  778. boxData2data2.value = mkdata.data[1].textnum;
  779. //模块3特别关注
  780. boxData3.value = mkdata.data[2].imgnum;
  781. boxData3data2.value = mkdata.data[2].textnum;
  782. //模块4媒体视点
  783. boxData4.value = mkdata.data[3].imgnum;
  784. boxData4data2.value = mkdata.data[3].textnum;
  785. //模块5法纪通报
  786. boxData5.value = mkdata.data[4].imgnum;
  787. boxData5data2.value = mkdata.data[4].textnum;
  788. //模块6今日说法
  789. boxData6.value = mkdata.data[5].imgnum;
  790. boxData6data2.value = mkdata.data[5].textnum;
  791. //模块7政策法规
  792. boxData7.value = mkdata.data[5].imgnum;
  793. boxData7data2.value = mkdata.data[5].textnum;
  794. } else {
  795. ElMessage.error(mkdata.message)
  796. }
  797. }
  798. getPageAllData();
  799. //5.页面基本信息 end---------------------------------------->
  800. //6.设置seo数据 start---------------------------------------->
  801. //获取seo数据
  802. const setData = await requestDataPromise('/web/getWebsiteFootInfo', {
  803. method: 'GET',
  804. query: {},
  805. });
  806. if (setData.code == 200) {
  807. let seoTitle = setData.data.website_head.title;
  808. let seoDescription = setData.data.website_head.description;
  809. let seoKeywords = setData.data.website_head.keywords;
  810. let seoSuffix = setData.data.website_head.suffix;
  811. let seoName = setData.data.website_head.website_name;
  812. useSeoMeta({
  813. title: seoTitle + "_" + seoSuffix,
  814. meta: [
  815. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  816. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  817. { name: 'viewport', content: "width=device-width,initial-scale=1,user-scalable=no" }
  818. ]
  819. });
  820. }
  821. //6.设置seo数据 start---------------------------------------->
  822. //7.官网新增 start---------------------------------------->
  823. //swiper焦点图start---------------------------------------->
  824. const imagelist = ref("")
  825. async function getModelData1() {
  826. const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
  827. method: 'GET',
  828. query: {
  829. 'imgnum': 10,
  830. 'textnum': 0,
  831. 'level': 2,
  832. 'placeid': 0,
  833. 'id': ''
  834. },
  835. });
  836. if (mkdata.code == 200) {
  837. imagelist.value = mkdata.data.img;
  838. } else {
  839. }
  840. }
  841. getModelData1()
  842. //使用swiper
  843. import { computed } from 'vue'
  844. import { Swiper, SwiperSlide } from 'swiper/vue'
  845. import { Autoplay, Navigation } from 'swiper/modules' // 增加 Navigation
  846. // 导入 Swiper 样式
  847. import 'swiper/css'
  848. import 'swiper/css/navigation' // 增加导航样式
  849. const props = defineProps({
  850. imagelist: {
  851. type: Array,
  852. default: () => []
  853. }
  854. })
  855. const emit = defineEmits(['slide-change'])
  856. const swiperCurrentIndex = ref(0)
  857. const swiperInstance = ref(null)
  858. // 使用哪些模块
  859. const modules = [Autoplay, Navigation] // 添加 Navigation
  860. // 响应式断点设置(可选)
  861. const breakpoints = computed(() => ({
  862. // 当屏幕宽度 >= 320px
  863. 320: {
  864. slidesPerView: 1,
  865. spaceBetween: 10
  866. },
  867. // 当屏幕宽度 >= 768px
  868. 768: {
  869. slidesPerView: 3,
  870. spaceBetween: 15
  871. },
  872. // 当屏幕宽度 >= 1024px
  873. 1024: {
  874. slidesPerView: 5,
  875. spaceBetween: 20
  876. },
  877. // 当屏幕宽度 >= 1440px
  878. 1440: {
  879. slidesPerView: 6,
  880. spaceBetween: 25
  881. }
  882. }))
  883. const swiperHandleSlideChange = (swiper) => {
  884. swiperCurrentIndex.value = swiper.activeIndex
  885. emit('swiperSlideChange', swiper.activeIndex)
  886. }
  887. const goToSlide = (index) => {
  888. console.log(index)
  889. if (swiperInstance.value) {
  890. swiperInstance.value.slideTo(index, 500) // 500ms 动画时间
  891. }
  892. }
  893. const onSwiper = (swiper) => {
  894. swiperInstance.value = swiper
  895. console.log('Swiper实例已初始化:', swiper)
  896. }
  897. // 如果需要手动控制自动播放
  898. const pauseAutoplay = () => {
  899. if (swiperInstance.value && swiperInstance.value.autoplay) {
  900. swiperInstance.value.autoplay.pause()
  901. }
  902. }
  903. const startAutoplay = () => {
  904. if (swiperInstance.value && swiperInstance.value.autoplay) {
  905. swiperInstance.value.autoplay.resume()
  906. }
  907. }
  908. //swiper焦点图 end---------------------------------------->
  909. //轮播图 start---------------------------------------->
  910. import { ElCarousel, ElCarouselItem } from 'element-plus'
  911. let currentIndex = ref(0)
  912. let handleIndicatorChange = (val) => {
  913. currentIndex.value = val
  914. }
  915. //轮播图 end---------------------------------------->
  916. //选项卡 start---------------------------------------->
  917. //1.首页顶部新闻-中央选项卡
  918. const indexTabs = ref(1)
  919. //2.首页中央新闻2-左侧选项卡
  920. const indexTabs2 = ref(1)
  921. //3.首页中央新闻2-右侧选项卡
  922. const indexTabs3 = ref(1)
  923. //3.首页中央新闻3-左侧选项卡
  924. const indexTabs4 = ref(1)
  925. //选项卡 end---------------------------------------->
  926. //7.官网新增 end---------------------------------------->
  927. </script>
  928. <style lang="less" scoped>
  929. @media screen and (min-width: 1401px) {
  930. //swiper轮播图 start---------------------------------------->
  931. .swiper-container {
  932. width: 100%;
  933. padding: 20PX 0;
  934. position: relative;
  935. max-width: 1400PX;
  936. margin: 0 auto;
  937. }
  938. .custom-swiper {
  939. width: 100%;
  940. height: 100%;
  941. padding: 10PX 5PX; //给两侧留出空间
  942. }
  943. .custom-swiper :deep(.swiper-wrapper) {
  944. align-items: stretch; //使所有幻灯片高度一致
  945. }
  946. .custom-swiper :deep(.swiper-slide) {
  947. height: auto;
  948. transition: transform 0.3s ease;
  949. }
  950. //悬停效果
  951. .custom-swiper :deep(.swiper-slide:hover) {
  952. transform: translateY(-5PX);
  953. z-index: 10;
  954. }
  955. .slide-link {
  956. display: block;
  957. text-decoration: none;
  958. color: inherit;
  959. height: 100%;
  960. width: 100%;
  961. }
  962. .image-container {
  963. position: relative;
  964. width: 100%;
  965. height: 118PX; //根据需求调整
  966. overflow: hidden;
  967. box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
  968. transition: all 0.3s ease;
  969. background: #f5f5f5; //加载时的背景色
  970. }
  971. .image-container:hover {
  972. box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
  973. }
  974. .slide-image {
  975. // width: 100%;
  976. // height: 100%;
  977. width: 264PX;
  978. height: 118PX;
  979. object-fit: cover;
  980. transition: transform 0.5s ease;
  981. }
  982. .image-container:hover .slide-image {
  983. transform: scale(1.05);
  984. }
  985. .image-title {
  986. position: absolute;
  987. bottom: 0;
  988. left: 0;
  989. right: 0;
  990. color: white;
  991. padding: 12PX 15PX;
  992. font-size: 14PX;
  993. line-height: 1.4;
  994. text-align: center;
  995. overflow: hidden;
  996. text-overflow: ellipsis;
  997. white-space: nowrap;
  998. background: rgba(0, 0, 0, .6)
  999. }
  1000. .custom-indicators {
  1001. display: flex;
  1002. justify-content: center;
  1003. gap: 8PX;
  1004. margin-top: 25PX;
  1005. padding: 15PX 10PX;
  1006. flex-wrap: wrap;
  1007. background: rgba(255, 255, 255, 0.9);
  1008. border-radius: 50PX;
  1009. max-width: 90%;
  1010. margin-left: auto;
  1011. margin-right: auto;
  1012. }
  1013. .indicator-btn {
  1014. width: 36PX;
  1015. height: 36PX;
  1016. border-radius: 50%;
  1017. border: 2PX solid #e0e0e0;
  1018. background: white;
  1019. color: #333;
  1020. cursor: pointer;
  1021. transition: all 0.3s ease;
  1022. font-size: 14PX;
  1023. font-weight: 500;
  1024. display: flex;
  1025. align-items: center;
  1026. justify-content: center;
  1027. outline: none;
  1028. }
  1029. .indicator-btn:hover {
  1030. background: #f0f9ff;
  1031. border-color: #409eff;
  1032. transform: scale(1.1);
  1033. }
  1034. .indicator-btn.active-indicator {
  1035. background: #409eff;
  1036. color: white;
  1037. border-color: #409eff;
  1038. box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
  1039. }
  1040. //swiper加载动画
  1041. .image-container:empty::before {
  1042. content: '';
  1043. position: absolute;
  1044. top: 0;
  1045. left: 0;
  1046. width: 100%;
  1047. height: 100%;
  1048. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  1049. background-size: 200% 100%;
  1050. animation: loading 1.5s infinite;
  1051. border-radius: 12PX;
  1052. }
  1053. @keyframes loading {
  1054. 0% {
  1055. background-position: 200% 0;
  1056. }
  1057. 100% {
  1058. background-position: -200% 0;
  1059. }
  1060. }
  1061. //swiper箭头颜色
  1062. .custom-swiper :deep(.swiper-button-prev),
  1063. .custom-swiper :deep(.swiper-button-next) {
  1064. color: white !important; //箭头颜色改为白色
  1065. }
  1066. .custom-swiper :deep(.swiper-button-prev):after,
  1067. .custom-swiper :deep(.swiper-button-next):after {
  1068. color: white !important; //确保箭头图标也是白色
  1069. }
  1070. //swiper轮播图 end---------------------------------------->
  1071. //轮播图 start---------------------------------------->
  1072. .nuxt-swiper {
  1073. width: 100%;
  1074. height: 300PX;
  1075. position: relative;
  1076. img {
  1077. width: 100%;
  1078. height: 300PX;
  1079. }
  1080. span {
  1081. display: inline-block;
  1082. width: 100%;
  1083. height: 40PX;
  1084. line-height: 40PX;
  1085. padding-left: 20PX;
  1086. box-sizing: border-box;
  1087. position: absolute;
  1088. bottom: 0;
  1089. left: 0;
  1090. font-family: Source Han Sans, Source Han Sans;
  1091. font-size: 16PX;
  1092. color: #FFFFFF;
  1093. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  1094. background: rgba(0, 0, 0, .6);
  1095. }
  1096. }
  1097. .el-carousel {
  1098. // 左右箭头按钮
  1099. .el-carousel__arrow--right :deep(.class-name),
  1100. .el-carousel__arrow--left :deep(.class-name) {
  1101. width: 68PX;
  1102. height: 68PX;
  1103. }
  1104. //左右箭头图片
  1105. /deep/.el-icon svg {
  1106. height: 1em;
  1107. width: 1em;
  1108. background-color: transparent;
  1109. }
  1110. /deep/.el-carousel__arrow {
  1111. border-radius: 0;
  1112. background-color: transparent;
  1113. }
  1114. /deep/.el-carousel__arrow i {
  1115. font-size: 68PX !important;
  1116. }
  1117. /deep/ .el-carousel__indicators {
  1118. // 指示器
  1119. left: unset;
  1120. transform: unset;
  1121. right: 41%;
  1122. }
  1123. /deep/ .el-carousel__button {
  1124. // 指示器按钮
  1125. width: 15PX;
  1126. height: 15PX;
  1127. border-radius: 50%;
  1128. border: none;
  1129. opacity: 1;
  1130. background-color: #FFFFFF;
  1131. bottom: 30PX;
  1132. }
  1133. /deep/ .is-active .el-carousel__button {
  1134. // 指示器激活按钮
  1135. background: #158d91;
  1136. }
  1137. /deep/.custom-indicators {
  1138. position: absolute;
  1139. bottom: 10PX;
  1140. left: 50%;
  1141. transform: translateX(-50%);
  1142. }
  1143. /deep/ .el-carousel__indicators {
  1144. right: 3%;
  1145. bottom: 10%;
  1146. }
  1147. /deep/ .el-carousel__arrow {
  1148. top: 50%;
  1149. }
  1150. }
  1151. //轮播图 end---------------------------------------->
  1152. //第一层 start---------------------------------------->
  1153. .index—layer-1 {
  1154. width: 1400PX;
  1155. height: auto;
  1156. overflow: hidden;
  1157. margin: 20PX auto;
  1158. display: flex;
  1159. align-items: flex-start;
  1160. justify-content: space-between;
  1161. .index—layer-1-left {
  1162. width: 31%;
  1163. border: 1PX solid #ccc;
  1164. }
  1165. .index-layer-1-middle {
  1166. width: 31%;
  1167. border: 1PX solid #ccc;
  1168. box-sizing: border-box;
  1169. padding: 0 10PX;
  1170. padding-bottom: 5PX;
  1171. .tabtlt {
  1172. width: 100%;
  1173. height: auto;
  1174. outline: hidden;
  1175. border-bottom: 1PX solid #f0f0f0;
  1176. margin: 7PX 0 18PX;
  1177. overflow: hidden;
  1178. display: flex;
  1179. align-self: center;
  1180. justify-content: space-between;
  1181. a {
  1182. color: #337ab7;
  1183. text-decoration: none;
  1184. }
  1185. div {
  1186. width: 50%;
  1187. text-align: center;
  1188. width: 100%;
  1189. height: 50PX;
  1190. line-height: 50PX;
  1191. font-size: 20PX;
  1192. color: #000;
  1193. background: #f3f3f3;
  1194. text-align: center;
  1195. cursor: pointer;
  1196. }
  1197. div.intabtltbg {
  1198. background: url(public/index/current.gif) no-repeat center bottom !important;
  1199. }
  1200. }
  1201. .coninfoitem {
  1202. width: 100%;
  1203. overflow: hidden;
  1204. margin: 0PX auto;
  1205. >div {
  1206. &.coninfoitem_img {
  1207. height: 86PX;
  1208. overflow: hidden;
  1209. margin-bottom: 5PX;
  1210. display: flex;
  1211. align-items: flex-start;
  1212. justify-content: space-between;
  1213. }
  1214. h3 {
  1215. line-height: 0;
  1216. a {
  1217. font-size: 13PX;
  1218. color: #333;
  1219. font-weight: bold;
  1220. width: 100%;
  1221. height: 26PX;
  1222. line-height: 26PX;
  1223. overflow: hidden;
  1224. }
  1225. }
  1226. img {
  1227. width: 120PX;
  1228. height: 86PX;
  1229. float: left;
  1230. margin-right: 11PX;
  1231. }
  1232. p {
  1233. line-height: 0;
  1234. a {
  1235. color: #333;
  1236. font-size: 13PX;
  1237. line-height: 20PX;
  1238. }
  1239. }
  1240. }
  1241. .coninfoitem_title {
  1242. width: 100%;
  1243. height: 28PX;
  1244. line-height: 28PX;
  1245. overflow: hidden;
  1246. position: relative;
  1247. list-style-position: inside;
  1248. color: #000;
  1249. display: block;
  1250. font-size: 13PX;
  1251. display: flex;
  1252. align-items: center;
  1253. justify-content: space-between;
  1254. span:nth-child(1) {
  1255. width: 70%;
  1256. height: 28PX;
  1257. text-align: left;
  1258. overflow: hidden;
  1259. display: block;
  1260. font-size: 14PX;
  1261. }
  1262. span:nth-child(2) {
  1263. width: 30%;
  1264. height: 28PX;
  1265. text-align: right;
  1266. display: block;
  1267. font-size: 12PX;
  1268. }
  1269. }
  1270. }
  1271. }
  1272. .index-layer-1-right {
  1273. width: 31%;
  1274. border: 1PX solid #ccc;
  1275. box-sizing: border-box;
  1276. padding: 0 10PX;
  1277. padding-bottom: 16PX;
  1278. .imgtlt {
  1279. width: 100%;
  1280. height: 43PX;
  1281. border-bottom: 1PX solid #e7e7e7;
  1282. a {
  1283. display: block;
  1284. width: 92PX;
  1285. height: 42PX;
  1286. line-height: 42PX;
  1287. text-align: center;
  1288. font-size: 20PX;
  1289. color: #333;
  1290. border-bottom: 2PX solid #158d91;
  1291. }
  1292. }
  1293. .con_img_list {
  1294. display: flex;
  1295. flex-wrap: wrap;
  1296. a {
  1297. width: 48%;
  1298. float: left;
  1299. overflow: hidden;
  1300. height: 100PX;
  1301. margin: 20PX auto 0;
  1302. display: block;
  1303. position: relative;
  1304. img {
  1305. display: block;
  1306. width: 100%;
  1307. height: 100%;
  1308. }
  1309. .con_img_list_rgba {
  1310. position: absolute;
  1311. width: 100%;
  1312. height: 22PX;
  1313. line-height: 21PX;
  1314. box-sizing: border-box;
  1315. padding: 0PX 10PX;
  1316. text-align: center;
  1317. bottom: 0PX;
  1318. left: 0PX;
  1319. color: #fff;
  1320. font-size: 16PX;
  1321. z-index: 11;
  1322. background: rgba(0, 0, 0, .6);
  1323. display: block;
  1324. word-break: keep-all;
  1325. white-space: nowrap;
  1326. overflow: hidden;
  1327. text-overflow: ellipsis;
  1328. }
  1329. }
  1330. }
  1331. }
  1332. }
  1333. //第一层 end---------------------------------------->
  1334. //第二层 start---------------------------------------->
  1335. .index—layer-2 {
  1336. width: 1400PX;
  1337. height: auto;
  1338. overflow: hidden;
  1339. margin: 20PX auto;
  1340. display: flex;
  1341. align-items: flex-start;
  1342. justify-content: space-between;
  1343. .index—layer-2-left,
  1344. .index—layer-2-right {
  1345. width: 49%;
  1346. border: 1PX solid #ddd;
  1347. height: auto;
  1348. overflow: hidden;
  1349. .index—layer-2-title {
  1350. display: flex;
  1351. align-items: center;
  1352. justify-content: flex-start;
  1353. background: #fff;
  1354. >div {
  1355. &.active {
  1356. background: #158d91;
  1357. color: #fff;
  1358. a {
  1359. color: #fff;
  1360. }
  1361. }
  1362. width: 118PX;
  1363. height: 44PX;
  1364. line-height: 44PX;
  1365. background: #fff;
  1366. text-align: center;
  1367. color: #808080;
  1368. font-size: 16PX;
  1369. font-weight: bold;
  1370. border-bottom: 2PX solid #158d91;
  1371. a {
  1372. font-size: 20PX;
  1373. color: #808080;
  1374. }
  1375. }
  1376. }
  1377. .index-tabs2-top {
  1378. background: #f8f8f8;
  1379. padding: 20PX 20PX;
  1380. box-sizing: border-box;
  1381. display: flex;
  1382. border-bottom: 1PX dashed #ddd;
  1383. >a {
  1384. margin-right: 11PX;
  1385. img {
  1386. display: block;
  1387. width: 120PX;
  1388. height: 86PX;
  1389. }
  1390. }
  1391. h3 {
  1392. width: 100%;
  1393. height: 26PX;
  1394. line-height: 26PX;
  1395. overflow: hidden;
  1396. a {
  1397. font-size: 13PX;
  1398. color: #333;
  1399. font-weight: bold;
  1400. }
  1401. }
  1402. p {
  1403. width: 100%;
  1404. height: 60PX;
  1405. line-height: 20PX;
  1406. overflow: hidden;
  1407. a {
  1408. color: #333;
  1409. font-size: 13PX;
  1410. }
  1411. }
  1412. }
  1413. .index-tabs2-bottom {
  1414. padding: 20PX;
  1415. margin: 0;
  1416. a {
  1417. display: block;
  1418. width: 100%;
  1419. overflow: hidden;
  1420. position: relative;
  1421. list-style-position: inside;
  1422. color: #333;
  1423. line-height: 28PX;
  1424. display: flex;
  1425. align-items: center;
  1426. justify-content: space-between;
  1427. span:nth-child(1) {
  1428. width: 70%;
  1429. height: 28PX;
  1430. text-align: left;
  1431. overflow: hidden;
  1432. display: block;
  1433. font-size: 14PX;
  1434. }
  1435. span:nth-child(2) {
  1436. width: 30%;
  1437. height: 28PX;
  1438. text-align: right;
  1439. display: block;
  1440. font-size: 12PX;
  1441. }
  1442. }
  1443. }
  1444. }
  1445. }
  1446. //第二层 end---------------------------------------->
  1447. //第三层 start---------------------------------------->
  1448. .index—layer-3 {
  1449. .index—layer-3-line {
  1450. width: 1400PX;
  1451. display: flex;
  1452. align-items: center;
  1453. justify-content: space-between;
  1454. margin: 0 auto;
  1455. box-sizing: border-box;
  1456. //选项卡类型
  1457. .index—layer-3-tabs-box {
  1458. width: 31%;
  1459. height: auto;
  1460. border: 1PX solid #ddd;
  1461. border-top: 2PX solid #158d91;
  1462. margin: 1%;
  1463. padding: 0 10PX;
  1464. box-sizing: border-box;
  1465. .index—layer-3-tabs-box-title {
  1466. display: flex;
  1467. align-items: center;
  1468. width: 100%;
  1469. border-bottom: 1PX solid #f0f0f0;
  1470. >div {
  1471. &.active {
  1472. background: url(../public/index/current2.png) no-repeat center bottom;
  1473. }
  1474. width: 87PX;
  1475. height: 54PX;
  1476. line-height: 55PX;
  1477. overflow: hidden;
  1478. float: left;
  1479. margin-right: 10PX;
  1480. text-align: center;
  1481. font-size: 20PX;
  1482. color: #333;
  1483. font-weight: bold;
  1484. a {
  1485. color: #333;
  1486. }
  1487. }
  1488. }
  1489. .index—layer-3-news-body-main {
  1490. margin-bottom: 20PX;
  1491. a {
  1492. width: 100%;
  1493. height: 26PX;
  1494. line-height: 26PX;
  1495. list-style-position: inside;
  1496. font-size: 13PX;
  1497. color: #333;
  1498. display: flex;
  1499. align-items: center;
  1500. justify-content: space-between;
  1501. span:nth-child(1) {
  1502. width: 70%;
  1503. height: 28PX;
  1504. text-align: left;
  1505. overflow: hidden;
  1506. display: block;
  1507. font-size: 14PX;
  1508. }
  1509. span:nth-child(2) {
  1510. width: 30%;
  1511. height: 28PX;
  1512. text-align: right;
  1513. display: block;
  1514. font-size: 12PX;
  1515. }
  1516. }
  1517. }
  1518. }
  1519. //常规类型
  1520. .index—layer-3-news-box {
  1521. width: 31%;
  1522. height: auto;
  1523. border: 1PX solid #ddd;
  1524. border-top: 2PX solid #158d91;
  1525. margin: 1%;
  1526. padding: 0 10PX;
  1527. box-sizing: border-box;
  1528. .index—layer-3-news-box-title {
  1529. display: flex;
  1530. align-items: center;
  1531. width: 100%;
  1532. border-bottom: 1PX solid #f0f0f0;
  1533. >div {
  1534. &.active {
  1535. background: url(../public/index/current2.png) no-repeat center bottom;
  1536. }
  1537. width: 87PX;
  1538. height: 54PX;
  1539. line-height: 55PX;
  1540. overflow: hidden;
  1541. float: left;
  1542. margin-right: 10PX;
  1543. text-align: center;
  1544. font-size: 20PX;
  1545. color: #333;
  1546. font-weight: bold;
  1547. a {
  1548. color: #333;
  1549. }
  1550. }
  1551. }
  1552. .index—layer-3-news-body-main {
  1553. margin-bottom: 20PX;
  1554. a {
  1555. width: 100%;
  1556. height: 26PX;
  1557. line-height: 26PX;
  1558. list-style-position: inside;
  1559. font-size: 13PX;
  1560. color: #333;
  1561. display: flex;
  1562. align-items: center;
  1563. justify-items: center;
  1564. span:nth-child(1) {
  1565. width: 70%;
  1566. height: 28PX;
  1567. text-align: left;
  1568. overflow: hidden;
  1569. display: block;
  1570. font-size: 14PX;
  1571. }
  1572. span:nth-child(2) {
  1573. width: 30%;
  1574. height: 28PX;
  1575. text-align: right;
  1576. display: block;
  1577. font-size: 12PX;
  1578. }
  1579. }
  1580. }
  1581. }
  1582. }
  1583. .index—layer-3-news-body-title {
  1584. display: flex;
  1585. align-items: center;
  1586. justify-content: flex-start;
  1587. margin: 20PX 0 14PX;
  1588. padding-bottom: 20PX;
  1589. border-bottom: 1PX dashed #e1e1e1;
  1590. >div {
  1591. &.news-body-left {
  1592. margin-right: 11PX;
  1593. img {
  1594. display: block;
  1595. width: 120PX;
  1596. height: 86PX;
  1597. }
  1598. }
  1599. &.news-body-right {
  1600. >a {
  1601. display: block;
  1602. width: 100%;
  1603. height: 40PX;
  1604. line-height: 40PX;
  1605. font-size: 16PX;
  1606. font-weight: bold;
  1607. overflow: hidden;
  1608. color: #000;
  1609. text-decoration: none;
  1610. }
  1611. p {
  1612. width: 100%;
  1613. height: 46PX;
  1614. line-height: 23PX;
  1615. overflow: hidden;
  1616. font-size: 14PX;
  1617. color: #333;
  1618. a {
  1619. color: #333;
  1620. }
  1621. }
  1622. }
  1623. }
  1624. }
  1625. }
  1626. //第三层 end---------------------------------------->
  1627. //第四层 start---------------------------------------->
  1628. .index-layer-4 {
  1629. width: 1400PX;
  1630. border: 1PX solid #ccc;
  1631. border-radius: 20PX;
  1632. padding: 10PX 20PX;
  1633. box-sizing: border-box;
  1634. margin: 20PX auto;
  1635. .index-layer-4-title {
  1636. display: flex;
  1637. align-items: center;
  1638. justify-content: space-between;
  1639. width: 100%;
  1640. height: 40PX;
  1641. line-height: 40PX;
  1642. border-bottom: 1PX solid #ccc;
  1643. a {
  1644. &:first-child {
  1645. font-size: 22PX;
  1646. color: #1476bd;
  1647. }
  1648. &:last-child {
  1649. font-size: 16PX;
  1650. color: #f00;
  1651. border: none;
  1652. float: right;
  1653. }
  1654. display: block;
  1655. }
  1656. }
  1657. .index-layer-4-body {
  1658. .post_nr {
  1659. width: 100%;
  1660. height: auto;
  1661. margin: 20PX auto;
  1662. border: 1PX solid #ccc;
  1663. border-radius: 10PX;
  1664. padding: 20PX !important;
  1665. box-sizing: border-box;
  1666. .name {
  1667. display: block;
  1668. width: 100%;
  1669. height: auto;
  1670. line-height: 40PX;
  1671. font-size: 16PX;
  1672. color: #333;
  1673. }
  1674. b {
  1675. font-size: 17PX;
  1676. margin: 0 10PX;
  1677. }
  1678. li {
  1679. border-bottom: 1PX solid #ccc;
  1680. padding-bottom: 15PX;
  1681. margin-bottom: 10PX;
  1682. box-sizing: border-box;
  1683. p {
  1684. margin: 0;
  1685. height: auto;
  1686. line-height: 25PX;
  1687. font-size: 15PX;
  1688. color: #000;
  1689. &.hfnr {
  1690. font-weight: bold;
  1691. span {
  1692. color: #f00;
  1693. }
  1694. }
  1695. }
  1696. }
  1697. }
  1698. }
  1699. }
  1700. //第四层 end---------------------------------------->
  1701. }
  1702. @media screen and (min-width: 801px) and (max-width: 1400px) {
  1703. //swiper轮播图 start---------------------------------------->
  1704. .swiper-container {
  1705. width: 100%;
  1706. padding: 20PX 0;
  1707. position: relative;
  1708. margin: 0 auto;
  1709. box-sizing: border-box;
  1710. }
  1711. .custom-swiper {
  1712. width: 100%;
  1713. height: 100%;
  1714. padding: 10px 5px; //给两侧留出空间
  1715. box-sizing: border-box;
  1716. }
  1717. .custom-swiper :deep(.swiper-wrapper) {
  1718. align-items: stretch; //使所有幻灯片高度一致
  1719. }
  1720. .custom-swiper :deep(.swiper-slide) {
  1721. height: auto;
  1722. transition: transform 0.3s ease;
  1723. }
  1724. //悬停效果
  1725. .custom-swiper :deep(.swiper-slide:hover) {
  1726. transform: translateY(-5px);
  1727. z-index: 10;
  1728. }
  1729. .slide-link {
  1730. display: block;
  1731. text-decoration: none;
  1732. color: inherit;
  1733. height: 100%;
  1734. width: 100%;
  1735. }
  1736. .image-container {
  1737. position: relative;
  1738. width: 100%;
  1739. height: 120PX; //根据需求调整
  1740. overflow: hidden;
  1741. box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
  1742. transition: all 0.3s ease;
  1743. background: #f5f5f5; //加载时的背景色
  1744. }
  1745. .image-container:hover {
  1746. box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
  1747. }
  1748. .slide-image {
  1749. // width: 100%;
  1750. // height: 100%;
  1751. width: 264PX;
  1752. height: 118PX;
  1753. object-fit: cover;
  1754. transition: transform 0.5s ease;
  1755. }
  1756. .image-container:hover .slide-image {
  1757. transform: scale(1.05);
  1758. }
  1759. .image-title {
  1760. position: absolute;
  1761. bottom: 0;
  1762. left: 0;
  1763. right: 0;
  1764. color: white;
  1765. padding: 12PX 15PX;
  1766. font-size: 14PX;
  1767. line-height: 1.4;
  1768. text-align: center;
  1769. overflow: hidden;
  1770. text-overflow: ellipsis;
  1771. white-space: nowrap;
  1772. background: rgba(0, 0, 0, .6)
  1773. }
  1774. .custom-indicators {
  1775. display: flex;
  1776. justify-content: center;
  1777. gap: 8PX;
  1778. margin-top: 25PX;
  1779. padding: 15PX 10PX;
  1780. flex-wrap: wrap;
  1781. background: rgba(255, 255, 255, 0.9);
  1782. border-radius: 50PX;
  1783. max-width: 90%;
  1784. margin-left: auto;
  1785. margin-right: auto;
  1786. }
  1787. .indicator-btn {
  1788. width: 36PX;
  1789. height: 36PX;
  1790. border-radius: 50%;
  1791. border: 2PX solid #e0e0e0;
  1792. background: white;
  1793. color: #333;
  1794. cursor: pointer;
  1795. transition: all 0.3s ease;
  1796. font-size: 14PX;
  1797. font-weight: 500;
  1798. display: flex;
  1799. align-items: center;
  1800. justify-content: center;
  1801. outline: none;
  1802. }
  1803. .indicator-btn:hover {
  1804. background: #f0f9ff;
  1805. border-color: #409eff;
  1806. transform: scale(1.1);
  1807. }
  1808. .indicator-btn.active-indicator {
  1809. background: #409eff;
  1810. color: white;
  1811. border-color: #409eff;
  1812. box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
  1813. }
  1814. //swiper加载动画
  1815. .image-container:empty::before {
  1816. content: '';
  1817. position: absolute;
  1818. top: 0;
  1819. left: 0;
  1820. width: 100%;
  1821. height: 100%;
  1822. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  1823. background-size: 200% 100%;
  1824. animation: loading 1.5s infinite;
  1825. border-radius: 12PX;
  1826. }
  1827. @keyframes loading {
  1828. 0% {
  1829. background-position: 200% 0;
  1830. }
  1831. 100% {
  1832. background-position: -200% 0;
  1833. }
  1834. }
  1835. //swiper箭头颜色
  1836. .custom-swiper :deep(.swiper-button-prev),
  1837. .custom-swiper :deep(.swiper-button-next) {
  1838. color: white !important; //箭头颜色改为白色
  1839. }
  1840. .custom-swiper :deep(.swiper-button-prev):after,
  1841. .custom-swiper :deep(.swiper-button-next):after {
  1842. color: white !important; //确保箭头图标也是白色
  1843. }
  1844. //swiper轮播图 end---------------------------------------->
  1845. //轮播图 start---------------------------------------->
  1846. .nuxt-swiper {
  1847. width: 100%;
  1848. height: 300PX;
  1849. position: relative;
  1850. img {
  1851. width: 100%;
  1852. height: 100%;
  1853. }
  1854. span {
  1855. display: inline-block;
  1856. width: 100%;
  1857. height: 40PX;
  1858. line-height: 40PX;
  1859. padding: 0 10PX;
  1860. box-sizing: border-box;
  1861. position: absolute;
  1862. bottom: 0;
  1863. left: 0;
  1864. font-family: Source Han Sans, Source Han Sans;
  1865. font-size: 16PX;
  1866. color: #FFFFFF;
  1867. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  1868. background: rgba(0, 0, 0, .6);
  1869. }
  1870. }
  1871. .el-carousel {
  1872. // 左右箭头按钮
  1873. .el-carousel__arrow--right :deep(.class-name),
  1874. .el-carousel__arrow--left :deep(.class-name) {
  1875. width: 68PX;
  1876. height: 68PX;
  1877. }
  1878. //左右箭头图片
  1879. /deep/.el-icon svg {
  1880. height: 1em;
  1881. width: 1em;
  1882. background-color: transparent;
  1883. }
  1884. /deep/.el-carousel__arrow {
  1885. border-radius: 0;
  1886. background-color: transparent;
  1887. }
  1888. /deep/.el-carousel__arrow i {
  1889. font-size: 68PX !important;
  1890. }
  1891. /deep/ .el-carousel__indicators {
  1892. // 指示器
  1893. left: unset;
  1894. transform: unset;
  1895. right: 41%;
  1896. }
  1897. /deep/ .el-carousel__button {
  1898. // 指示器按钮
  1899. width: 15PX;
  1900. height: 15PX;
  1901. border-radius: 50%;
  1902. border: none;
  1903. opacity: 1;
  1904. background-color: #FFFFFF;
  1905. bottom: 30PX;
  1906. }
  1907. /deep/ .is-active .el-carousel__button {
  1908. // 指示器激活按钮
  1909. background: #158d91;
  1910. }
  1911. /deep/.custom-indicators {
  1912. position: absolute;
  1913. bottom: 10PX;
  1914. left: 50%;
  1915. transform: translateX(-50%);
  1916. }
  1917. /deep/ .el-carousel__indicators {
  1918. right: 3%;
  1919. bottom: 10%;
  1920. }
  1921. /deep/ .el-carousel__arrow {
  1922. top: 50%;
  1923. }
  1924. }
  1925. //轮播图 end---------------------------------------->
  1926. //第一层 start---------------------------------------->
  1927. .index—layer-1 {
  1928. width: 100%;
  1929. height: auto;
  1930. padding: 0px 10px;
  1931. box-sizing: border-box;
  1932. overflow: hidden;
  1933. margin: 20PX auto;
  1934. display: flex;
  1935. align-items: flex-start;
  1936. justify-content: space-between;
  1937. .index—layer-1-left {
  1938. width: 31%;
  1939. border: 1PX solid #ccc;
  1940. }
  1941. .index-layer-1-middle {
  1942. width: 31%;
  1943. border: 1PX solid #ccc;
  1944. box-sizing: border-box;
  1945. padding: 0 10PX;
  1946. padding-bottom: 5PX;
  1947. .tabtlt {
  1948. width: 100%;
  1949. height: auto;
  1950. outline: hidden;
  1951. border-bottom: 1PX solid #f0f0f0;
  1952. margin: 7PX 0 18PX;
  1953. overflow: hidden;
  1954. display: flex;
  1955. align-self: center;
  1956. justify-content: space-between;
  1957. a {
  1958. color: #337ab7;
  1959. text-decoration: none;
  1960. }
  1961. div {
  1962. width: 50%;
  1963. text-align: center;
  1964. width: 100%;
  1965. height: 50PX;
  1966. line-height: 50PX;
  1967. font-size: 20PX;
  1968. color: #000;
  1969. background: #f3f3f3;
  1970. text-align: center;
  1971. cursor: pointer;
  1972. }
  1973. div.intabtltbg {
  1974. background: url(public/index/current.gif) no-repeat center bottom !important;
  1975. }
  1976. }
  1977. .coninfoitem {
  1978. width: 100%;
  1979. overflow: hidden;
  1980. margin: 0PX auto;
  1981. >div {
  1982. &.coninfoitem_img {
  1983. height: 86PX;
  1984. overflow: hidden;
  1985. margin-bottom: 5PX;
  1986. display: flex;
  1987. align-items: flex-start;
  1988. }
  1989. h3 {
  1990. line-height: 26PX;
  1991. a {
  1992. font-size: 13PX;
  1993. color: #333;
  1994. font-weight: bold;
  1995. width: 100%;
  1996. height: 26PX;
  1997. line-height: 26PX;
  1998. overflow: hidden;
  1999. display: block;
  2000. }
  2001. }
  2002. img {
  2003. width: 120PX;
  2004. height: 86PX;
  2005. float: left;
  2006. margin-right: 11PX;
  2007. }
  2008. p {
  2009. line-height: 0;
  2010. a {
  2011. line-height: 20PX;
  2012. color: #333;
  2013. font-size: 13PX;
  2014. text-indent: 2em;
  2015. display: block;
  2016. }
  2017. }
  2018. }
  2019. .coninfoitem_title {
  2020. width: 100%;
  2021. height: 28PX;
  2022. line-height: 28PX;
  2023. overflow: hidden;
  2024. position: relative;
  2025. list-style-position: inside;
  2026. color: #000;
  2027. display: flex;
  2028. align-items: center;
  2029. justify-content: space-between;
  2030. span:nth-child(1) {
  2031. width: 70%;
  2032. height: 28PX;
  2033. text-align: left;
  2034. overflow: hidden;
  2035. display: block;
  2036. font-size: 14PX;
  2037. }
  2038. span:nth-child(2) {
  2039. width: 30%;
  2040. height: 28PX;
  2041. text-align: right;
  2042. display: block;
  2043. font-size: 12PX;
  2044. color: #666;
  2045. }
  2046. }
  2047. }
  2048. }
  2049. .index-layer-1-right {
  2050. width: 31%;
  2051. border: 1PX solid #ccc;
  2052. box-sizing: border-box;
  2053. padding: 0 10PX;
  2054. padding-bottom: 16PX;
  2055. .imgtlt {
  2056. width: 100%;
  2057. height: 43PX;
  2058. border-bottom: 1PX solid #e7e7e7;
  2059. a {
  2060. display: block;
  2061. width: 92PX;
  2062. height: 42PX;
  2063. line-height: 42PX;
  2064. text-align: center;
  2065. font-size: 20PX;
  2066. color: #333;
  2067. border-bottom: 2PX solid #158d91;
  2068. }
  2069. }
  2070. .con_img_list {
  2071. display: flex;
  2072. flex-wrap: wrap;
  2073. a {
  2074. width: 48%;
  2075. float: left;
  2076. overflow: hidden;
  2077. height: 100PX;
  2078. margin: 20PX auto 0;
  2079. display: block;
  2080. position: relative;
  2081. img {
  2082. display: block;
  2083. width: 100%;
  2084. height: 100%;
  2085. }
  2086. .con_img_list_rgba {
  2087. position: absolute;
  2088. width: 100%;
  2089. height: 22PX;
  2090. line-height: 21PX;
  2091. box-sizing: border-box;
  2092. padding: 0PX 10PX;
  2093. text-align: center;
  2094. bottom: 0PX;
  2095. left: 0PX;
  2096. color: #fff;
  2097. font-size: 16PX;
  2098. z-index: 11;
  2099. background: rgba(0, 0, 0, .6);
  2100. display: block;
  2101. word-break: keep-all;
  2102. white-space: nowrap;
  2103. overflow: hidden;
  2104. text-overflow: ellipsis;
  2105. }
  2106. }
  2107. }
  2108. }
  2109. }
  2110. //第一层 end---------------------------------------->
  2111. //第二层 start---------------------------------------->
  2112. .index—layer-2 {
  2113. width: 100%;
  2114. height: auto;
  2115. overflow: hidden;
  2116. margin: 20PX auto;
  2117. display: flex;
  2118. align-items: flex-start;
  2119. justify-content: space-between;
  2120. .index—layer-2-left,
  2121. .index—layer-2-right {
  2122. width: 49%;
  2123. border: 1PX solid #ddd;
  2124. height: auto;
  2125. overflow: hidden;
  2126. .index—layer-2-title {
  2127. display: flex;
  2128. align-items: center;
  2129. justify-content: flex-start;
  2130. background: #fff;
  2131. >div {
  2132. &.active {
  2133. background: #158d91;
  2134. color: #fff;
  2135. a {
  2136. color: #fff;
  2137. }
  2138. }
  2139. width: 118PX;
  2140. height: 44PX;
  2141. line-height: 44PX;
  2142. background: #fff;
  2143. text-align: center;
  2144. color: #808080;
  2145. font-size: 16PX;
  2146. font-weight: bold;
  2147. border-bottom: 2PX solid #158d91;
  2148. a {
  2149. font-size: 20PX;
  2150. color: #808080;
  2151. }
  2152. }
  2153. }
  2154. .index-tabs2-top {
  2155. background: #f8f8f8;
  2156. padding: 20PX 20PX;
  2157. box-sizing: border-box;
  2158. display: flex;
  2159. border-bottom: 1PX dashed #ddd;
  2160. >a {
  2161. margin-right: 11PX;
  2162. img {
  2163. display: block;
  2164. width: 120PX;
  2165. height: 86PX;
  2166. }
  2167. }
  2168. h3 {
  2169. width: 100%;
  2170. height: 26PX;
  2171. line-height: 26PX;
  2172. overflow: hidden;
  2173. a {
  2174. font-size: 13PX;
  2175. color: #333;
  2176. font-weight: bold;
  2177. }
  2178. }
  2179. p {
  2180. width: 100%;
  2181. height: 60PX;
  2182. line-height: 20PX;
  2183. overflow: hidden;
  2184. display: -webkit-box !important;
  2185. -webkit-box-orient: vertical;
  2186. -webkit-line-clamp: 3;
  2187. a {
  2188. color: #333;
  2189. font-size: 13PX;
  2190. }
  2191. }
  2192. }
  2193. .index-tabs2-bottom {
  2194. padding: 20PX;
  2195. margin: 0;
  2196. a {
  2197. display: block;
  2198. width: 100%;
  2199. height: 28PX;
  2200. line-height: 28PX;
  2201. color: #333;
  2202. font-size: 13PX;
  2203. display: flex;
  2204. align-items: center;
  2205. justify-content: space-between;
  2206. span:nth-child(1) {
  2207. width: 70%;
  2208. height: 28PX;
  2209. text-align: left;
  2210. overflow: hidden;
  2211. display: block;
  2212. font-size: 14PX;
  2213. }
  2214. span:nth-child(2) {
  2215. width: 30%;
  2216. height: 28PX;
  2217. text-align: right;
  2218. display: block;
  2219. font-size: 12PX;
  2220. }
  2221. }
  2222. }
  2223. }
  2224. }
  2225. //第二层 end---------------------------------------->
  2226. //第三层 start---------------------------------------->
  2227. .index—layer-3 {
  2228. .index—layer-3-line {
  2229. width: 100%;
  2230. display: flex;
  2231. align-items: center;
  2232. justify-content: space-between;
  2233. margin: 0 auto;
  2234. box-sizing: border-box;
  2235. //选项卡类型
  2236. .index—layer-3-tabs-box {
  2237. width: 31%;
  2238. height: auto;
  2239. border: 1PX solid #ddd;
  2240. border-top: 2PX solid #158d91;
  2241. margin: 1%;
  2242. padding: 0 10PX;
  2243. box-sizing: border-box;
  2244. .index—layer-3-tabs-box-title {
  2245. display: flex;
  2246. align-items: center;
  2247. width: 100%;
  2248. border-bottom: 1PX solid #f0f0f0;
  2249. >div {
  2250. &.active {
  2251. background: url(../public/index/current2.png) no-repeat center bottom;
  2252. }
  2253. width: 87PX;
  2254. height: 54PX;
  2255. line-height: 55PX;
  2256. overflow: hidden;
  2257. float: left;
  2258. margin-right: 10PX;
  2259. text-align: center;
  2260. font-size: 20PX;
  2261. color: #333;
  2262. font-weight: bold;
  2263. a {
  2264. color: #333;
  2265. }
  2266. }
  2267. }
  2268. .index—layer-3-news-body-main {
  2269. margin-bottom: 20PX;
  2270. a {
  2271. width: 100%;
  2272. height: 26PX;
  2273. line-height: 26PX;
  2274. list-style-position: inside;
  2275. font-size: 13PX;
  2276. color: #333;
  2277. display: block;
  2278. word-break: keep-all;
  2279. white-space: nowrap;
  2280. overflow: hidden;
  2281. text-overflow: ellipsis;
  2282. width: 66%;
  2283. }
  2284. }
  2285. }
  2286. //常规类型
  2287. .index—layer-3-news-box {
  2288. width: 31%;
  2289. height: auto;
  2290. border: 1PX solid #ddd;
  2291. border-top: 2PX solid #158d91;
  2292. margin: 1%;
  2293. padding: 0 10PX;
  2294. box-sizing: border-box;
  2295. .index—layer-3-news-box-title {
  2296. display: flex;
  2297. align-items: center;
  2298. width: 100%;
  2299. border-bottom: 1PX solid #f0f0f0;
  2300. >div {
  2301. &.active {
  2302. background: url(../public/index/current2.png) no-repeat center bottom;
  2303. }
  2304. width: 87PX;
  2305. height: 54PX;
  2306. line-height: 55PX;
  2307. overflow: hidden;
  2308. float: left;
  2309. margin-right: 10PX;
  2310. text-align: center;
  2311. font-size: 20PX;
  2312. color: #333;
  2313. font-weight: bold;
  2314. a {
  2315. color: #333;
  2316. }
  2317. }
  2318. }
  2319. .index—layer-3-news-body-main {
  2320. margin-bottom: 20PX;
  2321. a {
  2322. width: 100%;
  2323. height: 26PX;
  2324. line-height: 26PX;
  2325. list-style-position: inside;
  2326. font-size: 13PX;
  2327. color: #333;
  2328. display: flex;
  2329. align-items: center;
  2330. justify-content: space-between;
  2331. span:nth-child(1) {
  2332. width: 70%;
  2333. height: 28PX;
  2334. text-align: left;
  2335. overflow: hidden;
  2336. display: block;
  2337. font-size: 14PX;
  2338. }
  2339. span:nth-child(2) {
  2340. width: 30%;
  2341. height: 28PX;
  2342. text-align: right;
  2343. display: block;
  2344. font-size: 12PX;
  2345. }
  2346. }
  2347. }
  2348. }
  2349. }
  2350. .index—layer-3-news-body-title {
  2351. display: flex;
  2352. align-items: center;
  2353. justify-content: flex-start;
  2354. margin: 20PX 0 14PX;
  2355. padding-bottom: 20PX;
  2356. border-bottom: 1PX dashed #e1e1e1;
  2357. >div {
  2358. &.news-body-left {
  2359. margin-right: 11PX;
  2360. img {
  2361. display: block;
  2362. width: 120PX;
  2363. height: 86PX;
  2364. }
  2365. }
  2366. &.news-body-right {
  2367. >a {
  2368. display: block;
  2369. width: 100%;
  2370. height: 40PX;
  2371. line-height: 40PX;
  2372. font-size: 16PX;
  2373. font-weight: bold;
  2374. overflow: hidden;
  2375. color: #000;
  2376. text-decoration: none;
  2377. }
  2378. p {
  2379. width: 100%;
  2380. height: 46PX;
  2381. line-height: 23PX;
  2382. overflow: hidden;
  2383. font-size: 14PX;
  2384. color: #333;
  2385. a {
  2386. color: #333;
  2387. }
  2388. }
  2389. }
  2390. }
  2391. }
  2392. }
  2393. //第三层 end---------------------------------------->
  2394. //第四层 start---------------------------------------->
  2395. .index-layer-4 {
  2396. width: 100%;
  2397. border: 1PX solid #ccc;
  2398. border-radius: 20PX;
  2399. padding: 10PX 20PX;
  2400. box-sizing: border-box;
  2401. margin: 20PX auto;
  2402. .index-layer-4-title {
  2403. display: flex;
  2404. align-items: center;
  2405. justify-content: space-between;
  2406. width: 100%;
  2407. height: 40PX;
  2408. line-height: 40PX;
  2409. border-bottom: 1PX solid #ccc;
  2410. a {
  2411. &:first-child {
  2412. font-size: 22PX;
  2413. color: #1476bd;
  2414. }
  2415. &:last-child {
  2416. font-size: 16PX;
  2417. color: #f00;
  2418. border: none;
  2419. float: right;
  2420. }
  2421. display: block;
  2422. }
  2423. }
  2424. .index-layer-4-body {
  2425. .post_nr {
  2426. width: 100%;
  2427. height: auto;
  2428. margin: 20PX auto;
  2429. border: 1PX solid #ccc;
  2430. border-radius: 10PX;
  2431. padding: 20PX !important;
  2432. box-sizing: border-box;
  2433. .name {
  2434. display: block;
  2435. width: 100%;
  2436. height: auto;
  2437. line-height: 40PX;
  2438. font-size: 16PX;
  2439. color: #333;
  2440. }
  2441. b {
  2442. font-size: 17PX;
  2443. margin: 0 10PX;
  2444. }
  2445. li {
  2446. border-bottom: 1PX solid #ccc;
  2447. padding-bottom: 15PX;
  2448. margin-bottom: 10PX;
  2449. box-sizing: border-box;
  2450. p {
  2451. margin: 0;
  2452. height: auto;
  2453. line-height: 25PX;
  2454. font-size: 15PX;
  2455. color: #000;
  2456. &.hfnr {
  2457. font-weight: bold;
  2458. span {
  2459. color: #f00;
  2460. }
  2461. }
  2462. }
  2463. }
  2464. }
  2465. }
  2466. }
  2467. //第四层 end---------------------------------------->
  2468. .index—layer-2 {
  2469. padding: 0px 10px;
  2470. box-sizing: border-box;
  2471. }
  2472. .index-layer-4 {
  2473. margin: 0px auto;
  2474. width: 98%;
  2475. }
  2476. }
  2477. @media screen and (max-width: 800px) {
  2478. //swiper轮播图 start---------------------------------------->
  2479. .swiper-container {
  2480. width: 100%;
  2481. padding: 20px 0;
  2482. position: relative;
  2483. max-width: 1400px;
  2484. margin: 0 auto;
  2485. display: none;
  2486. }
  2487. .custom-swiper {
  2488. width: 100%;
  2489. height: 100%;
  2490. padding: 10px 5px; //给两侧留出空间
  2491. }
  2492. .custom-swiper :deep(.swiper-wrapper) {
  2493. align-items: stretch; //使所有幻灯片高度一致
  2494. }
  2495. .custom-swiper :deep(.swiper-slide) {
  2496. height: auto;
  2497. transition: transform 0.3s ease;
  2498. }
  2499. //悬停效果
  2500. .custom-swiper :deep(.swiper-slide:hover) {
  2501. transform: translateY(-5px);
  2502. z-index: 10;
  2503. }
  2504. .slide-link {
  2505. display: block;
  2506. text-decoration: none;
  2507. color: inherit;
  2508. height: 100%;
  2509. width: 100%;
  2510. }
  2511. .image-container {
  2512. position: relative;
  2513. width: 100%;
  2514. height: 118px; //根据需求调整
  2515. overflow: hidden;
  2516. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  2517. transition: all 0.3s ease;
  2518. background: #f5f5f5; //加载时的背景色
  2519. }
  2520. .image-container:hover {
  2521. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  2522. }
  2523. .slide-image {
  2524. // width: 100%;
  2525. // height: 100%;
  2526. width: 264px;
  2527. height: 118px;
  2528. object-fit: cover;
  2529. transition: transform 0.5s ease;
  2530. }
  2531. .image-container:hover .slide-image {
  2532. transform: scale(1.05);
  2533. }
  2534. .image-title {
  2535. position: absolute;
  2536. bottom: 0;
  2537. left: 0;
  2538. right: 0;
  2539. color: white;
  2540. padding: 12px 15px;
  2541. font-size: 14px;
  2542. line-height: 1.4;
  2543. text-align: center;
  2544. overflow: hidden;
  2545. text-overflow: ellipsis;
  2546. white-space: nowrap;
  2547. background: rgba(0, 0, 0, .6)
  2548. }
  2549. .custom-indicators {
  2550. display: flex;
  2551. justify-content: center;
  2552. gap: 8px;
  2553. margin-top: 25px;
  2554. padding: 15px 10px;
  2555. flex-wrap: wrap;
  2556. background: rgba(255, 255, 255, 0.9);
  2557. border-radius: 50px;
  2558. max-width: 90%;
  2559. margin-left: auto;
  2560. margin-right: auto;
  2561. }
  2562. .indicator-btn {
  2563. width: 36px;
  2564. height: 36px;
  2565. border-radius: 50%;
  2566. border: 2px solid #e0e0e0;
  2567. background: white;
  2568. color: #333;
  2569. cursor: pointer;
  2570. transition: all 0.3s ease;
  2571. font-size: 14px;
  2572. font-weight: 500;
  2573. display: flex;
  2574. align-items: center;
  2575. justify-content: center;
  2576. outline: none;
  2577. }
  2578. .indicator-btn:hover {
  2579. background: #f0f9ff;
  2580. border-color: #409eff;
  2581. transform: scale(1.1);
  2582. }
  2583. .indicator-btn.active-indicator {
  2584. background: #409eff;
  2585. color: white;
  2586. border-color: #409eff;
  2587. box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
  2588. }
  2589. //swiper加载动画
  2590. .image-container:empty::before {
  2591. content: '';
  2592. position: absolute;
  2593. top: 0;
  2594. left: 0;
  2595. width: 100%;
  2596. height: 100%;
  2597. background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  2598. background-size: 200% 100%;
  2599. animation: loading 1.5s infinite;
  2600. border-radius: 12px;
  2601. }
  2602. @keyframes loading {
  2603. 0% {
  2604. background-position: 200% 0;
  2605. }
  2606. 100% {
  2607. background-position: -200% 0;
  2608. }
  2609. }
  2610. //swiper箭头颜色
  2611. .custom-swiper :deep(.swiper-button-prev),
  2612. .custom-swiper :deep(.swiper-button-next) {
  2613. color: white !important; //箭头颜色改为白色
  2614. }
  2615. .custom-swiper :deep(.swiper-button-prev):after,
  2616. .custom-swiper :deep(.swiper-button-next):after {
  2617. color: white !important; //确保箭头图标也是白色
  2618. }
  2619. //swiper轮播图 end---------------------------------------->
  2620. //轮播图 start---------------------------------------->
  2621. .nuxt-swiper {
  2622. width: 100%;
  2623. height: 330px;
  2624. position: relative;
  2625. img {
  2626. width: 100%;
  2627. height: 100%;
  2628. }
  2629. span {
  2630. display: inline-block;
  2631. width: 100%;
  2632. height: 55px;
  2633. line-height: 55px;
  2634. padding-left: 20px;
  2635. box-sizing: border-box;
  2636. position: absolute;
  2637. bottom: 0;
  2638. left: 0;
  2639. font-family: Source Han Sans, Source Han Sans;
  2640. font-size: 20px;
  2641. color: #FFFFFF;
  2642. //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  2643. background: rgba(0, 0, 0, .6);
  2644. }
  2645. }
  2646. .el-carousel {
  2647. // 左右箭头按钮
  2648. .el-carousel__arrow--right :deep(.class-name),
  2649. .el-carousel__arrow--left :deep(.class-name) {
  2650. width: 68px;
  2651. height: 68px;
  2652. }
  2653. //左右箭头图片
  2654. /deep/.el-icon svg {
  2655. height: 1em;
  2656. width: 1em;
  2657. background-color: transparent;
  2658. }
  2659. /deep/.el-carousel__arrow {
  2660. border-radius: 0;
  2661. background-color: transparent;
  2662. }
  2663. /deep/.el-carousel__arrow i {
  2664. font-size: 68px !important;
  2665. }
  2666. /deep/ .el-carousel__indicators {
  2667. // 指示器
  2668. left: unset;
  2669. transform: unset;
  2670. right: 41%;
  2671. }
  2672. /deep/ .el-carousel__button {
  2673. // 指示器按钮
  2674. width: 15px;
  2675. height: 15px;
  2676. border-radius: 50%;
  2677. border: none;
  2678. opacity: 1;
  2679. background-color: #FFFFFF;
  2680. bottom: 30px;
  2681. }
  2682. /deep/ .is-active .el-carousel__button {
  2683. // 指示器激活按钮
  2684. background: #158d91;
  2685. }
  2686. /deep/.custom-indicators {
  2687. position: absolute;
  2688. bottom: 10px;
  2689. left: 50%;
  2690. transform: translateX(-50%);
  2691. }
  2692. /deep/ .el-carousel__indicators {
  2693. right: 3%;
  2694. bottom: 14%;
  2695. }
  2696. /deep/ .el-carousel__arrow {
  2697. top: 50%;
  2698. }
  2699. /deep/ .el-carousel__container {
  2700. height: 330px;
  2701. }
  2702. }
  2703. //轮播图 end---------------------------------------->
  2704. //第一层 start---------------------------------------->
  2705. .index—layer-1 {
  2706. width: 100%;
  2707. height: auto;
  2708. overflow: hidden;
  2709. margin: 20px auto;
  2710. display: flex;
  2711. align-items: flex-start;
  2712. justify-content: space-between;
  2713. flex-wrap: wrap;
  2714. box-sizing: border-box;
  2715. padding: 0 10px;
  2716. .index—layer-1-left {
  2717. width: 100%;
  2718. margin: 10px 0;
  2719. border: 1px solid #ccc;
  2720. }
  2721. .index-layer-1-middle {
  2722. width: 100%;
  2723. border: 1px solid #ccc;
  2724. box-sizing: border-box;
  2725. padding: 0 10px;
  2726. padding-bottom: 5px;
  2727. margin: 10px 0;
  2728. .tabtlt {
  2729. width: 100%;
  2730. height: auto;
  2731. outline: hidden;
  2732. border-bottom: 1px solid #f0f0f0;
  2733. margin: 7px 0 18px;
  2734. overflow: hidden;
  2735. display: flex;
  2736. align-self: center;
  2737. justify-content: space-between;
  2738. a {
  2739. color: #337ab7;
  2740. text-decoration: none;
  2741. }
  2742. div {
  2743. width: 50%;
  2744. text-align: center;
  2745. width: 100%;
  2746. height: 50px;
  2747. line-height: 50px;
  2748. font-size: 28px;
  2749. color: #000;
  2750. background: #f3f3f3;
  2751. text-align: center;
  2752. cursor: pointer;
  2753. }
  2754. div.intabtltbg {
  2755. background: url(public/index/current.gif) no-repeat center bottom !important;
  2756. }
  2757. }
  2758. .coninfoitem {
  2759. width: 100%;
  2760. overflow: hidden;
  2761. margin: 0px auto;
  2762. >div {
  2763. &.coninfoitem_img {
  2764. height: 220px;
  2765. overflow: hidden;
  2766. margin-bottom: 5px;
  2767. display: flex;
  2768. align-items: flex-start;
  2769. justify-content: space-between;
  2770. }
  2771. h3 {
  2772. width: 100%;
  2773. height: 40px;
  2774. line-height: 40px;
  2775. line-height: 0;
  2776. overflow: hidden;
  2777. a {
  2778. font-size: 30px;
  2779. color: #333;
  2780. font-weight: bold;
  2781. width: 100%;
  2782. height: 44px;
  2783. line-height: 44px;
  2784. overflow: hidden;
  2785. display: block;
  2786. }
  2787. }
  2788. img {
  2789. width: 440px;
  2790. height: 220px;
  2791. float: left;
  2792. margin-right: 11px;
  2793. }
  2794. p {
  2795. a {
  2796. color: #333;
  2797. font-size: 26px;
  2798. height: 90px;
  2799. line-height: 30px;
  2800. margin-top: 11px;
  2801. display: block;
  2802. text-indent: 2em;
  2803. overflow: hidden;
  2804. display: -webkit-box !important;
  2805. -webkit-box-orient: vertical;
  2806. -webkit-line-clamp: 3;
  2807. }
  2808. }
  2809. }
  2810. .coninfoitem_title {
  2811. width: 100%;
  2812. height: 70px;
  2813. line-height: 70px;
  2814. color: #333;
  2815. display: block;
  2816. font-weight: normal;
  2817. display: flex;
  2818. align-items: center;
  2819. justify-content: space-between;
  2820. span:nth-child(1) {
  2821. width: 70%;
  2822. height: 50px;
  2823. text-align: left;
  2824. overflow: hidden;
  2825. display: block;
  2826. font-size: 28px;
  2827. }
  2828. span:nth-child(2) {
  2829. width: 30%;
  2830. height: 50px;
  2831. text-align: right;
  2832. display: block;
  2833. font-size: 24px;
  2834. color: #666;
  2835. }
  2836. }
  2837. }
  2838. }
  2839. .index-layer-1-right {
  2840. width: 100%;
  2841. border: 1px solid #ccc;
  2842. box-sizing: border-box;
  2843. padding-bottom: 16px;
  2844. padding: 10px;
  2845. .imgtlt {
  2846. width: 100%;
  2847. height: 43px;
  2848. border-bottom: 1px solid #e7e7e7;
  2849. a {
  2850. display: block;
  2851. width: auto;
  2852. float: left;
  2853. height: 42px;
  2854. line-height: 42px;
  2855. text-align: center;
  2856. font-size: 26px;
  2857. color: #333;
  2858. border-bottom: 2px solid #158d91;
  2859. }
  2860. }
  2861. .con_img_list {
  2862. display: flex;
  2863. flex-wrap: wrap;
  2864. a {
  2865. width: 48%;
  2866. float: left;
  2867. overflow: hidden;
  2868. height: 200px;
  2869. margin: 20px auto 0;
  2870. display: block;
  2871. position: relative;
  2872. img {
  2873. display: block;
  2874. width: 100%;
  2875. height: 100%;
  2876. }
  2877. .con_img_list_rgba {
  2878. position: absolute;
  2879. width: 100%;
  2880. height: 33px;
  2881. line-height: 33px;
  2882. box-sizing: border-box;
  2883. padding: 0 10px;
  2884. text-align: center;
  2885. bottom: 0px;
  2886. left: 0px;
  2887. color: #fff;
  2888. font-size: 20px;
  2889. z-index: 11;
  2890. background: rgba(0, 0, 0, .6);
  2891. display: block;
  2892. word-break: keep-all;
  2893. white-space: nowrap;
  2894. overflow: hidden;
  2895. text-overflow: ellipsis;
  2896. }
  2897. }
  2898. }
  2899. }
  2900. }
  2901. //第一层 end---------------------------------------->
  2902. //第二层 start---------------------------------------->
  2903. .index—layer-2 {
  2904. width: 100%;
  2905. height: auto;
  2906. overflow: hidden;
  2907. margin: 20px auto;
  2908. display: flex;
  2909. align-items: flex-start;
  2910. justify-content: space-between;
  2911. flex-wrap: wrap;
  2912. padding: 0 10px;
  2913. box-sizing: border-box;
  2914. .index—layer-2-left,
  2915. .index—layer-2-right {
  2916. width: 100%;
  2917. border: 1px solid #ddd;
  2918. height: auto;
  2919. overflow: hidden;
  2920. margin: 10px 0;
  2921. .index—layer-2-title {
  2922. display: flex;
  2923. align-items: center;
  2924. justify-content: flex-start;
  2925. background: #fff;
  2926. >div {
  2927. &.active {
  2928. background: #158d91;
  2929. color: #fff;
  2930. a {
  2931. color: #fff;
  2932. }
  2933. }
  2934. width:auto;
  2935. float:left;
  2936. height: 55px;
  2937. line-height: 55px;
  2938. background: #fff;
  2939. text-align: center;
  2940. color: #808080;
  2941. font-size: 26px;
  2942. padding:0px 18px;
  2943. font-weight: bold;
  2944. border-bottom: 2px solid #158d91;
  2945. a {
  2946. font-size: 20px;
  2947. color: #808080;
  2948. }
  2949. }
  2950. }
  2951. .index-tabs2-top {
  2952. background: #f8f8f8;
  2953. padding: 20px 20px;
  2954. box-sizing: border-box;
  2955. display: flex;
  2956. border-bottom: 1px dashed #ddd;
  2957. >a {
  2958. margin-right: 11px;
  2959. img {
  2960. display: block;
  2961. width: 330px;
  2962. height: 220px;
  2963. }
  2964. }
  2965. h3 {
  2966. width: 100%;
  2967. height: 40px;
  2968. line-height: 40px;
  2969. line-height: 0;
  2970. overflow: hidden;
  2971. a {
  2972. font-size: 30px;
  2973. color: #333;
  2974. font-weight: bold;
  2975. width: 100%;
  2976. height: 44px;
  2977. line-height: 44px;
  2978. overflow: hidden;
  2979. display: block;
  2980. }
  2981. }
  2982. p {
  2983. a {
  2984. color: #333;
  2985. font-size: 26px;
  2986. height: 90px;
  2987. line-height: 30px;
  2988. margin-top: 11px;
  2989. display: block;
  2990. text-indent: 2em;
  2991. overflow: hidden;
  2992. display: -webkit-box !important;
  2993. -webkit-box-orient: vertical;
  2994. -webkit-line-clamp: 3;
  2995. }
  2996. }
  2997. }
  2998. .index-tabs2-bottom {
  2999. padding: 20px;
  3000. margin: 0;
  3001. box-sizing: border-box;
  3002. a {
  3003. display: block;
  3004. width: 100%;
  3005. height: 50px;
  3006. line-height: 50px;
  3007. overflow: hidden;
  3008. position: relative;
  3009. list-style-position: inside;
  3010. color: #333;
  3011. font-size: 32px;
  3012. display: flex;
  3013. align-items: center;
  3014. justify-content: space-between;
  3015. span:nth-child(1) {
  3016. width: 70%;
  3017. height: 50px;
  3018. text-align: left;
  3019. overflow: hidden;
  3020. display: block;
  3021. font-size: 28px;
  3022. }
  3023. span:nth-child(2) {
  3024. width: 30%;
  3025. height: 50px;
  3026. text-align: right;
  3027. display: block;
  3028. font-size: 24px;
  3029. color: #666;
  3030. }
  3031. }
  3032. }
  3033. }
  3034. }
  3035. //第二层 end---------------------------------------->
  3036. //第三层 start---------------------------------------->
  3037. .index—layer-3 {
  3038. .index—layer-3-line {
  3039. width: 100%;
  3040. display: flex;
  3041. align-items: center;
  3042. justify-content: space-between;
  3043. margin: 0 auto;
  3044. box-sizing: border-box;
  3045. flex-wrap: wrap;
  3046. padding: 0 10px;
  3047. //选项卡类型
  3048. .index—layer-3-tabs-box {
  3049. width: 100%;
  3050. height: auto;
  3051. border: 1px solid #ddd;
  3052. border-top: 2px solid #158d91;
  3053. margin: 1%;
  3054. padding: 0 10px;
  3055. box-sizing: border-box;
  3056. margin: 10px 0;
  3057. .index—layer-3-tabs-box-title {
  3058. display: flex;
  3059. align-items: center;
  3060. width: 100%;
  3061. border-bottom: 1px solid #f0f0f0;
  3062. >div {
  3063. &.active {
  3064. background: url(../public/index/current2.png) no-repeat center bottom;
  3065. }
  3066. width: 87px;
  3067. height: 54px;
  3068. line-height: 55px;
  3069. overflow: hidden;
  3070. float: left;
  3071. margin-right: 10px;
  3072. text-align: center;
  3073. font-size: 20px;
  3074. color: #333;
  3075. font-weight: bold;
  3076. a {
  3077. color: #333;
  3078. }
  3079. }
  3080. }
  3081. .index—layer-3-news-body-main {
  3082. margin-bottom: 20px;
  3083. a {
  3084. width: 100%;
  3085. height: 70px;
  3086. line-height: 70px;
  3087. font-size: 26px;
  3088. color: #333;
  3089. display: flex;
  3090. align-items: center;
  3091. justify-content: space-between;
  3092. span:nth-child(1) {
  3093. width: 70%;
  3094. height: 50px;
  3095. text-align: left;
  3096. overflow: hidden;
  3097. display: block;
  3098. font-size: 28px;
  3099. }
  3100. span:nth-child(2) {
  3101. width: 30%;
  3102. height: 50px;
  3103. text-align: right;
  3104. display: block;
  3105. font-size: 24px;
  3106. color: #666;
  3107. }
  3108. }
  3109. }
  3110. }
  3111. //常规类型
  3112. .index—layer-3-news-box {
  3113. width: 100%;
  3114. height: auto;
  3115. border: 1px solid #ddd;
  3116. border-top: 2px solid #158d91;
  3117. margin: 1%;
  3118. padding: 0 10px;
  3119. box-sizing: border-box;
  3120. margin: 10px 0;
  3121. .index—layer-3-news-box-title {
  3122. display: flex;
  3123. align-items: center;
  3124. width: 100%;
  3125. border-bottom: 1px solid #f0f0f0;
  3126. >div {
  3127. &.active {
  3128. background: url(../public/index/current2.png) no-repeat center bottom;
  3129. }
  3130. width:auto;
  3131. float:left;
  3132. height: 54px;
  3133. line-height: 55px;
  3134. overflow: hidden;
  3135. float: left;
  3136. margin-right: 10px;
  3137. text-align: center;
  3138. font-size: 20px;
  3139. color: #333;
  3140. font-weight: bold;
  3141. a {
  3142. color: #333;
  3143. }
  3144. }
  3145. }
  3146. .index—layer-3-news-body-main {
  3147. margin-bottom: 20px;
  3148. a {
  3149. width: 100%;
  3150. height: 70px;
  3151. line-height: 70px;
  3152. font-size: 26px;
  3153. color: #333;
  3154. display: flex;
  3155. align-items: center;
  3156. justify-content: space-between;
  3157. span:nth-child(1) {
  3158. width: 70%;
  3159. height: 50px;
  3160. text-align: left;
  3161. overflow: hidden;
  3162. display: block;
  3163. font-size: 28px;
  3164. }
  3165. span:nth-child(2) {
  3166. width: 30%;
  3167. height: 50px;
  3168. text-align: right;
  3169. display: block;
  3170. font-size: 24px;
  3171. color: #666;
  3172. }
  3173. }
  3174. }
  3175. }
  3176. }
  3177. .index—layer-3-news-body-title {
  3178. overflow: hidden;
  3179. align-items: center;
  3180. justify-content: flex-start;
  3181. margin: 20px 0 14px;
  3182. padding-bottom: 20px;
  3183. border-bottom: 1px dashed #e1e1e1;
  3184. >div {
  3185. &.news-body-left {
  3186. float: left;
  3187. margin-right: 11px;
  3188. img {
  3189. display: block;
  3190. width: 330px;
  3191. height: 220px;
  3192. }
  3193. }
  3194. &.news-body-right {
  3195. width: 350px;
  3196. float: right;
  3197. >a {
  3198. height: 40px;
  3199. line-height: 40px;
  3200. line-height: 0;
  3201. overflow: hidden;
  3202. font-size: 30px;
  3203. color: #333;
  3204. font-weight: bold;
  3205. width: 100%;
  3206. height: 44px;
  3207. line-height: 44px;
  3208. overflow: hidden;
  3209. display: block;
  3210. }
  3211. p {
  3212. a {
  3213. color: #333;
  3214. font-size: 26px;
  3215. height: 90px;
  3216. line-height: 30px;
  3217. margin-top: 11px;
  3218. display: block;
  3219. text-indent: 2em;
  3220. overflow: hidden;
  3221. display: -webkit-box !important;
  3222. -webkit-box-orient: vertical;
  3223. -webkit-line-clamp: 3;
  3224. }
  3225. }
  3226. }
  3227. }
  3228. }
  3229. }
  3230. //第三层 end---------------------------------------->
  3231. //第四层 start---------------------------------------->
  3232. .index-layer-4 {
  3233. width: 100%;
  3234. border: 1px solid #ccc;
  3235. border-radius: 20px;
  3236. padding: 10px 20px;
  3237. box-sizing: border-box;
  3238. display: none;
  3239. .index-layer-4-title {
  3240. display: flex;
  3241. align-items: center;
  3242. justify-content: space-between;
  3243. width: 100%;
  3244. height: 40px;
  3245. line-height: 40px;
  3246. border-bottom: 1px solid #ccc;
  3247. a {
  3248. &:first-child {
  3249. font-size: 22px;
  3250. color: #1476bd;
  3251. }
  3252. &:last-child {
  3253. font-size: 16px;
  3254. color: #f00;
  3255. border: none;
  3256. float: right;
  3257. }
  3258. display: block;
  3259. }
  3260. }
  3261. .index-layer-4-body {
  3262. .post_nr {
  3263. width: 100%;
  3264. height: auto;
  3265. margin: 20px auto;
  3266. border: 1px solid #ccc;
  3267. border-radius: 10px;
  3268. padding: 20px !important;
  3269. box-sizing: border-box;
  3270. .name {
  3271. display: block;
  3272. width: 100%;
  3273. height: auto;
  3274. line-height: 40px;
  3275. font-size: 16px;
  3276. color: #333;
  3277. }
  3278. b {
  3279. font-size: 17px;
  3280. margin: 0 10px;
  3281. }
  3282. li {
  3283. border-bottom: 1px solid #ccc;
  3284. padding-bottom: 15px;
  3285. margin-bottom: 10px;
  3286. box-sizing: border-box;
  3287. p {
  3288. margin: 0;
  3289. height: auto;
  3290. line-height: 25px;
  3291. font-size: 15px;
  3292. color: #000;
  3293. &.hfnr {
  3294. font-weight: bold;
  3295. span {
  3296. color: #f00;
  3297. }
  3298. }
  3299. }
  3300. }
  3301. }
  3302. }
  3303. }
  3304. //第四层 end---------------------------------------->
  3305. }
  3306. </style>