index.vue 142 KB

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