| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541 |
- <template>
- <div>
- <!--logo-->
- <HomePageHead></HomePageHead>
- <!--导航-->
- <HomePageNavigation></HomePageNavigation>
- <!--首页顶部滚动新闻-->
-
- <div class="swiper-container">
- <Swiper :slides-per-view="5" :space-between="20" :loop="true" :autoplay="{
- delay:3000,
- disableOnInteraction: false,
- pauseOnMouseEnter: true,
- stopOnLastSlide: false,
- waitForTransition: true
- }" :speed="600" :modules="modules" @slide-change="swiperHandleSlideChange" @swiper="onSwiper"
- class="custom-swiper" :navigation="true">
- <SwiperSlide v-for="(item, index) in imagelist" :key="index">
- <NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title" class="slide-link"
- :data-index="index">
- <div class="image-container">
- <!-- <img
- :src="item.imgurl || '/index/news.png'"
- :alt="item.title"
- class="slide-image"
- loading="lazy"
- /> -->
- <!-- <img src="/public/index/news.png" :alt="item.title" class="slide-image" loading="lazy" /> -->
- <img :src="item.imgurl" :alt="item.title" class="slide-image" loading="lazy"/>
- <span class="image-title"> {{ item.title }}</span>
- </div>
- </NuxtLink>
- </SwiperSlide>
- </Swiper>
- </div>
-
- <!--首页顶部新闻-->
- <div class="index—layer-1">
- <!--左侧焦点图新闻-->
- <div class="index—layer-1-left">
- <div class="nuxt-swiper" v-if="imagelist">
- <el-carousel :interval="93000" :touchable="true" arrow="never" indicator-class="custom-indicator"
- class="custom-carousel roll_in" @change="handleIndicatorChange">
- <el-carousel-item v-for="(item, index) in imagelist" :key="index">
- <NuxtLink :to="`/${item.pinyin}/${item.id}.html`" :title="item.title">
- <img :src="item.imgurl" :alt="item.title">
- <!-- <img src="/public/index/news.png" :alt="item.title"> -->
- <span>{{ item.title }}</span>
- </NuxtLink>
- </el-carousel-item>
- <template #indicator="{ index }">
- <button :class="{ 'active-indicator': currentIndex === index }">{{ index + 1 }}</button>
- </template>
- </el-carousel>
- </div>
- </div>
- <!--中央选项卡-->
- <div class="index-layer-1-middle">
- <div class="index-tabs">
- <div class="tabtlt">
- <div @mouseenter="indexTabs = 1" :class="indexTabs == 1 ? 'intabtltbg' : ''">
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
- </div>
- <div @mouseenter="indexTabs = 2" :class="indexTabs == 2 ? 'intabtltbg' : ''">
- <NuxtLink v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
- </div>
- </div>
- <div>
- <div v-if="indexTabs == 1" class="coninfoitem">
-
- <div class="coninfoitem_img" v-if="boxData1.length !=0">
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title"
-
- class="coninfoitem_title">
- <img :src="boxData1[0].imgurl"/>
- <div class="coninfoitem_img_text">
- <h3>
- {{boxData1[0].title}}
-
- </h3>
- <p>
- {{boxData1[0].introduce}}
- </p>
- </div>
- </NuxtLink>
- </div>
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 5)" :key="index"
- :href="getLinkPathDetail(item)"
- :title="item.title"
-
- class="coninfoitem_title">
- <span>{{ item.title }}</span>
- <!-- <span>{{getTime(item.updated_at,'month',1)}}</span> -->
- </NuxtLink>
- </div>
-
- <div v-if="indexTabs == 2" class="coninfoitem">
- <div class="coninfoitem_img" v-if="boxData2.length !=0">
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title"
- :target="boxData2[0].islink == 1 ? '_blank' : '_self'"
- class="coninfoitem_title" >
- <img :src="boxData2[0].imgurl"/>
- <div class="coninfoitem_img_text">
- <h3>
- {{boxData2[0].title}}
-
- </h3>
- <p>
- {{boxData2[0].introduce}}
- </p>
- </div>
- </NuxtLink>
- </div>
- <NuxtLink
- v-for="(item, index) in boxData2data2.slice(0, 5)" :key="index"
- :href="getLinkPathDetail(item)"
- :title="item.title"
-
- class="coninfoitem_title">
- <span>{{ item.title }}</span>
- </NuxtLink>
- </div>
-
- </div>
- </div>
- </div>
- <!--右侧新闻列表-->
- <div class="index-layer-1-right">
- <div class="imgtlt">
- <NuxtLink v-if="pageData[2].cid" class="coninfoitem_title"
- :href="getLinkPath(pageData[2])"
- :title="pageData[2].alias" >
- {{pageData[2].title}}
- </NuxtLink>
- </div>
- <div class="con_img_list">
-
- <NuxtLink :href="getLinkPathDetail(boxData2[0])" v-for="(per_obj,per_index) in boxData1.slice(0, 4)">
- <img :src="per_obj.imgurl" />
- <div class="con_img_list_rgba">用google把《孙傲龙传》翻译20遍!</div>
- </NuxtLink>
-
-
- </div>
- </div>
- </div>
- <!--首页中央新闻2-->
- <div class="index—layer-2">
- <div class="index—layer-2-left">
- <div class="index—layer-2-title">
- <div :class="indexTabs2 == 1 ? 'active' : ''" @mouseenter="indexTabs2 = 1">
-
- <NuxtLink
- v-if="pageData[3].cid"
- :href="getLinkPath(pageData[3])"
- :title="pageData[3].alias" >
- {{pageData[3].title}}
- </NuxtLink>
-
- </div>
- <div :class="indexTabs2 == 2 ? 'active' : ''" @mouseenter="indexTabs2 = 2">
-
- <NuxtLink
- v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
- </div>
- </div>
- <div v-if="indexTabs2 == 1">
- <div class="index-tabs2-top">
- <NuxtLink :href="getLinkPathDetail(boxData4[0])" >
- <img :src="boxData4[0].imgurl"/>
- </NuxtLink>
- <div>
- <h3>
- <NuxtLink :href="getLinkPathDetail(boxData4[0])">
- {{boxData4[0].title}}
- </NuxtLink>
- </h3>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData4[0])">
- {{boxData4[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index-tabs2-bottom" >
-
- <NuxtLink :href="getLinkPathDetail(per_obj)" v-for="(per_obj,per_index) in boxData4data2.slice(0, 5)" >
-
- <span>{{ per_obj.title }}</span>
- <!-- <span>{{getTime(per_obj.updated_at,'month',1)}}</span> -->
- </NuxtLink>
-
- </div>
- </div>
-
- <div v-if="indexTabs2 == 2">
- <div class="index-tabs2-top" v-if="boxData2.length !=0">
-
-
- <NuxtLink :href="getLinkPathDetail(boxData2[0])" >
- <img :src="boxData2[0].imgurl"/>
- </NuxtLink>
- <div>
- <h3>
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].title}}
- </NuxtLink>
- </h3>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index-tabs2-bottom" >
- <NuxtLink :href="getLinkPathDetail(per_obj)" v-for="(per_obj,per_index) in boxData2data2.slice(0, 5)" >
- <span>{{ per_obj.title }}</span>
- <span>{{getTime(per_obj.updated_at,'month',1)}}</span>
- </NuxtLink>
-
- </div>
- </div>
- </div>
- <div class="index—layer-2-right">
- <div class="index—layer-2-title">
- <div :class="indexTabs3 == 1 ? 'active' : ''" @mouseenter="indexTabs3 = 1">
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
-
- </div>
- <div :class="indexTabs3 == 2 ? 'active' : ''" @mouseenter="indexTabs3 = 2">
- <NuxtLink
- v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
-
- </div>
- </div>
- <div v-if="indexTabs3 == 1">
- <div class="index-tabs2-top" v-if="boxData1.length !=0">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- <img :src="boxData1[0].imgurl"/>
- </NuxtLink>
- <div>
- <h3>
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].title}}
- </NuxtLink>
- </h3>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index-tabs2-bottom">
- <NuxtLink v-for="(item, index) in boxData1data2.slice(0, 5)" :key="index"
- :href="getLinkPathDetail(item)"
- :title="item.title" >
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- <div v-if="indexTabs3 == 2">
- <div class="index-tabs2-top" v-if="boxData2.length !=0">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- <img :src="boxData2[0].imgurl"/>
- </NuxtLink>
- <div>
- <h3>
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].title}}
- </NuxtLink>
- </h3>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index-tabs2-bottom">
- <NuxtLink
- v-for="(item, index) in boxData2data2.slice(0, 5)" :key="index"
- :href="getLinkPathDetail(item)"
- :title="item.title" >
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <!--首页中央新闻3-->
- <div class="index—layer-3">
- <div class="index—layer-3-line">
- <!--选项卡类型-->
- <div class="index—layer-3-tabs-box">
- <div class="index—layer-3-tabs-box-title">
- <div @mouseenter="indexTabs4 = 1" :class="indexTabs4 == 1 ? 'active' : ''">
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
- </div>
- <div @mouseenter="indexTabs4 = 2" :class="indexTabs4 == 2 ? 'active' : ''">
-
- <NuxtLink
- v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
- </div>
- </div>
- <div v-if="indexTabs4 == 1" class="index—layer-3-news-body" >
-
- <div class="index—layer-3-news-body-title" v-if="boxData1.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- <img :src="boxData1[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- {{boxData1[0].title}}
- </NuxtLink>
- <p>
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- {{boxData1[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 5)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
- </div>
- </div>
-
- <div v-if="indexTabs4 == 2" class="index—layer-3-news-body" >
- <div class="index—layer-3-news-body-title" v-if="boxData2.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- <img :src="boxData2[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- {{boxData2[0].title}}
- </NuxtLink>
- <p>
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- {{boxData2[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData2data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
- </div>
- </div>
-
- </div>
- <!--常规类型-->
- <div class="index—layer-3-news-box">
- <div class="index—layer-3-news-box-title">
- <div>
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
- </div>
- </div>
- <div class="index—layer-3-news-body">
- <div class="index—layer-3-news-body-title" v-if="boxData1.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
-
- <img :src="boxData1[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- {{boxData1[0].title}}
- </NuxtLink>
- <p>
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- {{boxData1[0].introduce}}
- </NuxtLink>
- </p>
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
-
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>公证人员“三个特别”助力群众办好心头事</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- </div>
- <div class="index—layer-3-news-box">
- <div class="index—layer-3-news-box-title">
- <div>
-
- <NuxtLink
- v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
- </div>
- </div>
- <div class="index—layer-3-news-body" v-if="boxData2.length !=0">
- <div class="index—layer-3-news-body-title">
-
- <div class="news-body-left">
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- <img :src="boxData2[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].title}}
- </NuxtLink>
-
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData2[0])">
- {{boxData2[0].introduce}}
- </NuxtLink>
- </p>
-
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData2data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
-
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- </div>
- </div>
- <div class="index—layer-3-line">
- <div class="index—layer-3-news-box">
- <div class="index—layer-3-news-box-title">
- <div>
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
-
- </div>
- </div>
- <div class="index—layer-3-news-body">
- <div class="index—layer-3-news-body-title" v-if="boxData1.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- <img :src="boxData1[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].title}}
- </NuxtLink>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].introduce}}
- </NuxtLink>
- </p>
-
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- </div>
-
- <div class="index—layer-3-news-box">
- <div class="index—layer-3-news-box-title">
- <div>
- <NuxtLink
- v-if="pageData[1].cid"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias" >
- {{pageData[1].title}}
- </NuxtLink>
-
- </div>
- </div>
- <div class="index—layer-3-news-body">
- <div class="index—layer-3-news-body-title" v-if="boxData1.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title">
- <img :src="boxData2[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData2[0].title}}
- </NuxtLink>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData2[0].introduce}}
- </NuxtLink>
- </p>
-
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- </div>
-
- <div class="index—layer-3-news-box">
- <div class="index—layer-3-news-box-title">
- <div>
- <NuxtLink
- v-if="pageData[0].cid"
- :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias" >
- {{pageData[0].title}}
- </NuxtLink>
-
- </div>
- </div>
- <div class="index—layer-3-news-body">
- <div class="index—layer-3-news-body-title" v-if="boxData1.length !=0">
- <div class="news-body-left">
-
- <NuxtLink
- :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title">
- <img :src="boxData1[0].imgurl"/>
- </NuxtLink>
- </div>
- <div class="news-body-right">
-
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].title}}
- </NuxtLink>
- <p>
- <NuxtLink :href="getLinkPathDetail(boxData1[0])">
- {{boxData1[0].introduce}}
- </NuxtLink>
- </p>
-
- </div>
- </div>
- <div class="index—layer-3-news-body-main">
- <NuxtLink
- v-for="(item, index) in boxData1data2.slice(0, 7)"
- :href="getLinkPathDetail(item)"
- :title="item.title">
- <span>{{ item.title }}</span>
- <!-- <span>2026-01-06</span> -->
- </NuxtLink>
-
- </div>
- </div>
- </div>
-
- </div>
- </div>
- <!--网友留言-->
- <div class="index-layer-4">
- <div class="index-layer-4-title">
- <NuxtLink to="/">
- 网友留言
- </NuxtLink>
- <NuxtLink to="/">
- 在线留言
- </NuxtLink>
- </div>
- <div class="index-layer-4-body">
- <ul class="post_nr liuyan">
- <li>
- <span class="name">熊先生:<b>网站名称问题</b> 2025-12-29 16:18:48</span>
- <p class="nr">内容:看你们的介绍,政讯通•全国法制调研中心,网站名称不让用全国,你们怎么可以用啊?</p>
- <p class="hfnr">
- <span style="color:#f00;">回复:</span>
- 工信部不审批带全国的网站。我们所有带全国字样的名称前都加了“政讯通”,意思是北京政讯通法律咨询有限公司在全国范围内开展的法制调研工作。网站显示没有全国字样,在文字资料或者口头表述时会有加全国,使用名称都是政讯通·全国法制资讯发布中心、政讯通•全国法制调研中心、政讯通•全国法制舆情监测中心和政讯通•全国法制发展促进中心。
- </p>
- </li>
- <li>
- <span class="name">zhang:<b>我从网上搜搜到你们这个网站,我看了下网站没看明白你们主要是做什么的?能简单介绍下吗?</b> 2025-12-26
- 17:43:46</span>
- <p class="nr">内容:我从网上搜搜到你们这个网站,我看了下网站没看明白你们主要是做什么的?能简单介绍下吗?</p>
- <p class="hfnr">
- <span style="color:#f00;">回复:</span>
- 不知道您看到的是我们的哪个网站,我们法制调研项目有200多个网站。主要业务分四大部分:
- 资讯与信息化业务:面向全国党政机关、企事业单位及相关经济组织发展法制信息化会员为主的网络资讯信息服务,提供200个网站资讯发布平台。同步为法制领域提供信息交流与沟通的平台,可以实现一对一、一对多和多对多的沟通交流。
- 法制与调研业务:依法开展法制领域的课题调研、法制宣传、法律援助、法律咨询和公益活动等服务。
- 舆情服务业务:面向全国法制党政机关、企事业单位等法人单位或组织依法提供网络舆情方面的监测、处理、公关等服务。
- 行业与发展业务:综合管理与辅助各地市级中心的运营、面向社会提供法制领域的活动策划与企业发展定制服务。
- </p>
- </li>
- </ul>
- </div>
- </div>
- <!--底部-->
- <HomeFoot></HomeFoot>
- </div>
- </template>
- <script setup>
- //页面是否已经加载完毕
- const pageLoading = ref(false)
- //1.加载页面必备组件 start---------------------------------------->
- import { ref, onMounted } from 'vue';
- import { ElRadio, ElRadioGroup, ElCheckbox, ElCheckboxGroup, ElMessage, ElInput } from 'element-plus';
- import { useSeoMeta } from '#imports';
- //格式化跳转路径 - 标题
- //首页分类栏目标题,不需要考虑外链
- const getLinkPath = (item) => {
- if (item.children_count == 0) {
- //return `/newsList/${item.cid}?page=1`;
- return `/${item.aLIas_pinyin}/list-1.html`;
- } else {
- //return `/primaryNavigation/${item.cid}`;
- return `/${item.aLIas_pinyin}/index.html`;
- }
- }
- //首页跳转到详情,这里需要考虑外链
- const getLinkPathDetail = (item) => {
- if (item.islink == 1) {
- return `${item.linkurl}`;
- } else {
- return `/${item.pinyin}/${item.id}.html`;
- }
- }
- //1.加载页面必备组件 end---------------------------------------->
- //2.交互方法 start---------------------------------------->
- //2.1 新闻图片切换
- const hoverStatus = ref(1)
- const qhPic = function (num) {
- hoverStatus.value = num;
- }
- //2.交互方法 end---------------------------------------->
- //3.页面基本信息 start---------------------------------------->
- //3.1 导航信息
- const pageData = ref([]);
- //3.2 模块数据
- //模块1
- const boxData1 = ref([])//图片新闻
- const boxData1data2 = ref([]);//文字新闻
- //模块2
- const boxData2 = ref([]);//图片新闻
- const boxData2data2 = ref([]);//文字新闻
- //模块3
- const boxData3 = ref([]);
- const boxData3data2 = ref([]);
- //模块4
- const boxData4 = ref([]);
- const boxData4data2 = ref([]);
- //模块5
- const boxData5 = ref([]);
- const boxData5data2 = ref([]);
- //模块6
- const boxData6 = ref([]);
- const boxData6data2 = ref([]);
- //模块7
- const boxData7 = ref([]);
- const boxData7data2 = ref([]);
- //模块9
- const boxData9 = ref([]);
- const boxData9data2 = ref([]);
- //模块12
- const boxData12 = ref([]);
- const boxData12data2 = ref([]);
- //模块14
- const boxData14 = ref([]);
- const boxData14data2 = ref([]);
- //模块19
- const boxData19 = ref([]);
- const boxData19data2 = ref([]);
- //3.3获得导航数据
- try {
- const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'placeid': 1,
- 'pid': 0,
- 'num': 30
- },
- });
- if (navigateData.code == 200) {
- // 遍历可用的导航池放到页面中
- for (let index in navigateData.data) {
- let data = {
- title: navigateData.data[index].name,
- cid: navigateData.data[index].category_id,
- children_count: navigateData.data[index].children_count,
- alias: navigateData.data[index].alias,
- aLIas_pinyin: navigateData.data[index].aLIas_pinyin
- };
- //1法制资讯
- if (navigateData.data[index].category_id == 1) { pageData.value[0] = data }
- //2各地动态
- if (navigateData.data[index].category_id == 2) { pageData.value[1] = data }
- //3特别关注
- if (navigateData.data[index].category_id == 3) { pageData.value[2] = data }
- //4媒体视点
- if (navigateData.data[index].category_id == 4) { pageData.value[3] = data }
- //7政策法规
- if (navigateData.data[index].category_id == 7) { pageData.value[6] = data }
- //9政策解读
- if (navigateData.data[index].category_id == 9) { pageData.value[8] = data }
-
- // 12执法在线
- if (navigateData.data[index].category_id == 12) { pageData.value[11] = data }
- // 14社会调硏
- if (navigateData.data[index].category_id == 14) { pageData.value[13] = data }
- // 19百家争鸣
- if (navigateData.data[index].category_id == 19) { pageData.value[18] = data }
- }
- }
- } catch (error) {
-
- }
- let getJson = [
- { "parent": "1,1,1", "child": "" },//模块1法制资讯
- { "parent": "2,1,1", "child": "" },//模块2各地动态
- { "parent": "3,1,1", "child": "" },//模块3特别关注
- { "parent": "4,1,1", "child": "" },//模块4媒体视点
- { "parent": "7,1,1", "child": "" },//模块7政策法规
- { "parent": "9,1,1", "child": "" },//模块9政策解读
- { "parent": "12,1,1", "child": "" },//模块12执法在线
- { "parent": "14,1,1", "child": "" },//模块14社会调硏
- { "parent": "19,1,1", "child": "" },//模块19百家争鸣
-
- ]
- let jsonString = JSON.stringify(getJson);
- async function getPageAllData() {
- const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
- method: 'GET',
- query: {
- 'id': jsonString
- },
- });
- console.log("makdata:", mkdata);
- if (mkdata.code == 200) {
- //模块1法制资讯
- boxData1.value = mkdata.data[0].imgnum;
- boxData1data2.value = mkdata.data[0].textnum;
- //模块2各地动态
- boxData2.value = mkdata.data[1].imgnum;
- boxData2data2.value = mkdata.data[1].textnum;
- //模块3特别关注
- boxData3.value = mkdata.data[2].imgnum;
- boxData3data2.value = mkdata.data[2].textnum;
- //模块4媒体视点
- boxData4.value = mkdata.data[3].imgnum;
- boxData4data2.value = mkdata.data[3].textnum;
- //模块7政策法规
- boxData7.value = mkdata.data[6].imgnum;
- boxData7data2.value = mkdata.data[6].textnum;
- //模块9政策解读
- boxData9.value = mkdata.data[8].imgnum;
- boxData9data2.value = mkdata.data[8].textnum;
- //模块12执法在线
- boxData12.value = mkdata.data[11].imgnum;
- boxData12data2.value = mkdata.data[11].textnum;
- //模块14社会调硏
- boxData14.value = mkdata.data[13].imgnum;
- boxData14data2.value = mkdata.data[13].textnum;
- //模块19百家争鸣
- boxData19.value = mkdata.data[18].imgnum;
- boxData19data2.value = mkdata.data[18].textnum;
- } else {
- ElMessage.error(mkdata.message)
- }
- }
- getPageAllData();
- //5.页面基本信息 end---------------------------------------->
- //6.设置seo数据 start---------------------------------------->
- //获取seo数据
- const setData = await requestDataPromise('/web/getWebsiteFootInfo', {
- method: 'GET',
- query: {},
- });
- if (setData.code == 200) {
- let seoTitle = setData.data.website_head.title;
- let seoDescription = setData.data.website_head.description;
- let seoKeywords = setData.data.website_head.keywords;
- let seoSuffix = setData.data.website_head.suffix;
- let seoName = setData.data.website_head.website_name;
- useSeoMeta({
- title: seoTitle + "_" + seoSuffix,
- meta: [
- { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'viewport', content: "width=device-width,initial-scale=1,user-scalable=no" }
- ]
- });
- }
- //6.设置seo数据 start---------------------------------------->
- //7.官网新增 start---------------------------------------->
- //swiper焦点图start---------------------------------------->
- const imagelist = ref("")
- async function getModelData1() {
- const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
- method: 'GET',
- query: {
- 'imgnum': 10,
- 'textnum': 0,
- 'level': 2,
- 'placeid': 0,
- 'id': ''
- },
- });
- if (mkdata.code == 200) {
- imagelist.value = mkdata.data.img;
-
- } else {
-
- }
- }
- getModelData1()
- //使用swiper
- import { computed } from 'vue'
- import { Swiper, SwiperSlide } from 'swiper/vue'
- import { Autoplay, Navigation } from 'swiper/modules' // 增加 Navigation
- // 导入 Swiper 样式
- import 'swiper/css'
- import 'swiper/css/navigation' // 增加导航样式
- const props = defineProps({
- imagelist: {
- type: Array,
- default: () => []
- }
- })
- const emit = defineEmits(['slide-change'])
- const swiperCurrentIndex = ref(0)
- const swiperInstance = ref(null)
- // 使用哪些模块
- const modules = [Autoplay, Navigation] // 添加 Navigation
- // 响应式断点设置(可选)
- const breakpoints = computed(() => ({
- // 当屏幕宽度 >= 320px
- 320: {
- slidesPerView: 1,
- spaceBetween: 10
- },
- // 当屏幕宽度 >= 768px
- 768: {
- slidesPerView: 3,
- spaceBetween: 15
- },
- // 当屏幕宽度 >= 1024px
- 1024: {
- slidesPerView: 5,
- spaceBetween: 20
- },
- // 当屏幕宽度 >= 1440px
- 1440: {
- slidesPerView: 6,
- spaceBetween: 25
- }
- }))
- const swiperHandleSlideChange = (swiper) => {
- swiperCurrentIndex.value = swiper.activeIndex
- emit('swiperSlideChange', swiper.activeIndex)
- }
- const goToSlide = (index) => {
- console.log(index)
- if (swiperInstance.value) {
- swiperInstance.value.slideTo(index, 500) // 500ms 动画时间
- }
- }
- const onSwiper = (swiper) => {
- swiperInstance.value = swiper
- console.log('Swiper实例已初始化:', swiper)
- }
- // 如果需要手动控制自动播放
- const pauseAutoplay = () => {
- if (swiperInstance.value && swiperInstance.value.autoplay) {
- swiperInstance.value.autoplay.pause()
- }
- }
- const startAutoplay = () => {
- if (swiperInstance.value && swiperInstance.value.autoplay) {
- swiperInstance.value.autoplay.resume()
- }
- }
- //swiper焦点图 end---------------------------------------->
- //轮播图 start---------------------------------------->
- import { ElCarousel, ElCarouselItem } from 'element-plus'
- let currentIndex = ref(0)
- let handleIndicatorChange = (val) => {
- currentIndex.value = val
- }
- //轮播图 end---------------------------------------->
- //选项卡 start---------------------------------------->
- //1.首页顶部新闻-中央选项卡
- const indexTabs = ref(1)
- //2.首页中央新闻2-左侧选项卡
- const indexTabs2 = ref(1)
- //3.首页中央新闻2-右侧选项卡
- const indexTabs3 = ref(1)
- //3.首页中央新闻3-左侧选项卡
- const indexTabs4 = ref(1)
- //选项卡 end---------------------------------------->
- //7.官网新增 end---------------------------------------->
- </script>
- <style lang="less" scoped>
- @media screen and (min-width: 1401px) {
- //swiper轮播图 start---------------------------------------->
- .swiper-container {
- width: 100%;
- padding: 20PX 0;
- position: relative;
- max-width: 1400PX;
- margin: 0 auto;
- }
- .custom-swiper {
- width: 100%;
- height: 100%;
- padding: 10PX 5PX; //给两侧留出空间
- }
- .custom-swiper :deep(.swiper-wrapper) {
- align-items: stretch; //使所有幻灯片高度一致
- }
- .custom-swiper :deep(.swiper-slide) {
- height: auto;
- transition: transform 0.3s ease;
- }
- //悬停效果
- .custom-swiper :deep(.swiper-slide:hover) {
- transform: translateY(-5PX);
- z-index: 10;
- }
- .slide-link {
- display: block;
- text-decoration: none;
- color: inherit;
- height: 100%;
- width: 100%;
- }
- .image-container {
- position: relative;
- width: 100%;
- height: 118PX; //根据需求调整
- overflow: hidden;
- box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- background: #f5f5f5; //加载时的背景色
- }
- .image-container:hover {
- box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
- }
- .slide-image {
- // width: 100%;
- // height: 100%;
- width: 264PX;
- height: 118PX;
- object-fit: cover;
- transition: transform 0.5s ease;
- }
- .image-container:hover .slide-image {
- transform: scale(1.05);
- }
- .image-title {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- color: white;
- padding: 12PX 15PX;
- font-size: 14PX;
- line-height: 1.4;
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- background: rgba(0, 0, 0, .6)
- }
- .custom-indicators {
- display: flex;
- justify-content: center;
- gap: 8PX;
- margin-top: 25PX;
- padding: 15PX 10PX;
- flex-wrap: wrap;
- background: rgba(255, 255, 255, 0.9);
- border-radius: 50PX;
- max-width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- .indicator-btn {
- width: 36PX;
- height: 36PX;
- border-radius: 50%;
- border: 2PX solid #e0e0e0;
- background: white;
- color: #333;
- cursor: pointer;
- transition: all 0.3s ease;
- font-size: 14PX;
- font-weight: 500;
- display: flex;
- align-items: center;
- justify-content: center;
- outline: none;
- }
- .indicator-btn:hover {
- background: #f0f9ff;
- border-color: #409eff;
- transform: scale(1.1);
- }
- .indicator-btn.active-indicator {
- background: #409eff;
- color: white;
- border-color: #409eff;
- box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
- }
- //swiper加载动画
- .image-container:empty::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
- background-size: 200% 100%;
- animation: loading 1.5s infinite;
- border-radius: 12PX;
- }
- @keyframes loading {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
- }
- //swiper箭头颜色
- .custom-swiper :deep(.swiper-button-prev),
- .custom-swiper :deep(.swiper-button-next) {
- color: white !important; //箭头颜色改为白色
- }
- .custom-swiper :deep(.swiper-button-prev):after,
- .custom-swiper :deep(.swiper-button-next):after {
- color: white !important; //确保箭头图标也是白色
- }
- //swiper轮播图 end---------------------------------------->
- //轮播图 start---------------------------------------->
- .nuxt-swiper {
- width: 100%;
- height: 300PX;
- position: relative;
- img {
- width: 100%;
- height: 300PX;
- }
- span {
- display: inline-block;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- padding-left: 20PX;
- box-sizing: border-box;
- position: absolute;
- bottom: 0;
- left: 0;
- font-family: Source Han Sans, Source Han Sans;
- font-size: 16PX;
- color: #FFFFFF;
- //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
- background: rgba(0, 0, 0, .6);
- }
- }
- .el-carousel {
- // 左右箭头按钮
- .el-carousel__arrow--right :deep(.class-name),
- .el-carousel__arrow--left :deep(.class-name) {
- width: 68PX;
- height: 68PX;
- }
- //左右箭头图片
- /deep/.el-icon svg {
- height: 1em;
- width: 1em;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow {
- border-radius: 0;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow i {
- font-size: 68PX !important;
- }
- /deep/ .el-carousel__indicators {
- // 指示器
- left: unset;
- transform: unset;
- right: 41%;
- }
- /deep/ .el-carousel__button {
- // 指示器按钮
- width: 15PX;
- height: 15PX;
- border-radius: 50%;
- border: none;
- opacity: 1;
- background-color: #FFFFFF;
- bottom: 30PX;
- }
- /deep/ .is-active .el-carousel__button {
- // 指示器激活按钮
- background: #158d91;
- }
- /deep/.custom-indicators {
- position: absolute;
- bottom: 10PX;
- left: 50%;
- transform: translateX(-50%);
- }
- /deep/ .el-carousel__indicators {
- right: 3%;
- bottom: 10%;
- }
- /deep/ .el-carousel__arrow {
- top: 50%;
- }
- }
- //轮播图 end---------------------------------------->
- //第一层 start---------------------------------------->
- .index—layer-1 {
- width: 1400PX;
- height: auto;
- overflow: hidden;
- margin: 20PX auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- .index—layer-1-left {
- width: 31%;
- border: 1PX solid #ccc;
- }
- .index-layer-1-middle {
- width: 31%;
- border: 1PX solid #ccc;
- box-sizing: border-box;
- padding: 0 10PX;
- padding-bottom: 5PX;
- .tabtlt {
- width: 100%;
- height: auto;
- outline: hidden;
- border-bottom: 1PX solid #f0f0f0;
- margin: 7PX 0 18PX;
- overflow: hidden;
- display: flex;
- align-self: center;
- justify-content: space-between;
- a {
- color: #337ab7;
- text-decoration: none;
- }
- div {
- width: 50%;
- text-align: center;
- width: 100%;
- height: 50PX;
- line-height: 50PX;
- font-size: 20PX;
- color: #000;
- background: #f3f3f3;
- text-align: center;
- cursor: pointer;
- }
- div.intabtltbg {
- background: url(public/index/current.gif) no-repeat center bottom !important;
- }
- }
- .coninfoitem {
- width: 100%;
- overflow: hidden;
- margin: 0PX auto;
- >div {
- &.coninfoitem_img {
- height: 86PX;
- overflow: hidden;
- margin-bottom: 5PX;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- }
- &.coninfoitem_img {
- a{
-
- }
- }
- h3 {
- line-height: 0;
- a {
- font-size: 13PX;
- color: #333;
- font-weight: bold;
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- overflow: hidden;
- }
- }
- img {
- width: 120PX;
- height: 86PX;
- float: left;
- margin-right: 11PX;
- }
- p {
- line-height: 0;
- a {
- color: #333;
- font-size: 13PX;
- line-height: 20PX;
- }
- }
- }
- .coninfoitem_title {
- width: 100%;
- height: 28PX;
- line-height: 28PX;
- overflow: hidden;
- position: relative;
- list-style-position: inside;
- color: #000;
- display: block;
- font-size: 13PX;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- .index-layer-1-right {
- width: 31%;
- border: 1PX solid #ccc;
- box-sizing: border-box;
- padding: 0 10PX;
- padding-bottom: 16PX;
- .imgtlt {
- width: 100%;
- height: 43PX;
- border-bottom: 1PX solid #e7e7e7;
- a {
- display: block;
- width: 92PX;
- height: 42PX;
- line-height: 42PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- border-bottom: 2PX solid #158d91;
- }
- }
- .con_img_list {
- display: flex;
- flex-wrap: wrap;
- a {
- width: 48%;
- float: left;
- overflow: hidden;
- height: 100PX;
- margin: 20PX auto 0;
- display: block;
- position: relative;
- img {
- display: block;
- width: 100%;
- height: 100%;
- }
- .con_img_list_rgba {
- position: absolute;
- width: 100%;
- height: 22PX;
- line-height: 21PX;
- box-sizing: border-box;
- padding: 0PX 10PX;
- text-align: center;
- bottom: 0PX;
- left: 0PX;
- color: #fff;
- font-size: 16PX;
- z-index: 11;
- background: rgba(0, 0, 0, .6);
- display: block;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
- }
- }
- //第一层 end---------------------------------------->
- //第二层 start---------------------------------------->
- .index—layer-2 {
- width: 1400PX;
- height: auto;
- overflow: hidden;
- margin: 20PX auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- .index—layer-2-left,
- .index—layer-2-right {
- width: 49%;
- border: 1PX solid #ddd;
- height: auto;
- overflow: hidden;
- .index—layer-2-title {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- background: #fff;
- >div {
- &.active {
- background: #158d91;
- color: #fff;
- a {
- color: #fff;
- }
- }
- width: 118PX;
- height: 44PX;
- line-height: 44PX;
- background: #fff;
- text-align: center;
- color: #808080;
- font-size: 16PX;
- font-weight: bold;
- border-bottom: 2PX solid #158d91;
- a {
- font-size: 20PX;
- color: #808080;
- }
- }
- }
- .index-tabs2-top {
- background: #f8f8f8;
- padding: 20PX 20PX;
- box-sizing: border-box;
- display: flex;
- border-bottom: 1PX dashed #ddd;
- >a {
- margin-right: 11PX;
- img {
- display: block;
- width: 120PX;
- height: 86PX;
- }
- }
- h3 {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- overflow: hidden;
- a {
- font-size: 13PX;
- color: #333;
- font-weight: bold;
- }
- }
- p {
- width: 100%;
- height: 60PX;
- line-height: 20PX;
- overflow: hidden;
- a {
- color: #333;
- font-size: 13PX;
- }
- }
- }
- .index-tabs2-bottom {
- padding: 20PX;
- margin: 0;
- a {
- display: block;
- width: 100%;
- overflow: hidden;
- position: relative;
- list-style-position: inside;
- color: #333;
- line-height: 28PX;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- }
- //第二层 end---------------------------------------->
- //第三层 start---------------------------------------->
- .index—layer-3 {
- .index—layer-3-line {
- width: 1400PX;
- display: flex;
- // align-items: center;
- justify-content: space-between;
- margin: 0 auto;
- box-sizing: border-box;
- //选项卡类型
- .index—layer-3-tabs-box {
- width: 31%;
- height: auto;
- border: 1PX solid #ddd;
- border-top: 2PX solid #158d91;
- margin: 1%;
- padding: 0 10PX;
- box-sizing: border-box;
- .index—layer-3-tabs-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1PX solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width: 87PX;
- height: 54PX;
- line-height: 55PX;
- overflow: hidden;
- float: left;
- margin-right: 10PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20PX;
- a {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- list-style-position: inside;
- font-size: 13PX;
- color: #333;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- //常规类型
- .index—layer-3-news-box {
- width: 31%;
- height: auto;
- border: 1PX solid #ddd;
- border-top: 2PX solid #158d91;
- margin: 1%;
- padding: 0 10PX;
- box-sizing: border-box;
- .index—layer-3-news-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1PX solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width: 87PX;
- height: 54PX;
- line-height: 55PX;
- overflow: hidden;
- float: left;
- margin-right: 10PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20PX;
- a {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- list-style-position: inside;
- font-size: 13PX;
- color: #333;
- display: flex;
- align-items: center;
- justify-items: center;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- }
- .index—layer-3-news-body-title {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- margin: 20PX 0 14PX;
- padding-bottom: 20PX;
- border-bottom: 1PX dashed #e1e1e1;
- >div {
- &.news-body-left {
- margin-right: 11PX;
- img {
- display: block;
- width: 120PX;
- height: 86PX;
- }
- }
- &.news-body-right {
- >a {
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- font-size: 16PX;
- font-weight: bold;
- overflow: hidden;
- color: #000;
- text-decoration: none;
- }
- p {
- width: 100%;
- height: 46PX;
- line-height: 23PX;
- overflow: hidden;
- font-size: 14PX;
- color: #333;
- a {
- color: #333;
- }
- }
- }
- }
- }
- }
- //第三层 end---------------------------------------->
- //第四层 start---------------------------------------->
- .index-layer-4 {
- width: 1400PX;
- border: 1PX solid #ccc;
- border-radius: 20PX;
- padding: 10PX 20PX;
- box-sizing: border-box;
- margin: 20PX auto;
- .index-layer-4-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- border-bottom: 1PX solid #ccc;
- a {
- &:first-child {
- font-size: 22PX;
- color: #1476bd;
- }
- &:last-child {
- font-size: 16PX;
- color: #f00;
- border: none;
- float: right;
- }
- display: block;
- }
- }
- .index-layer-4-body {
- .post_nr {
- width: 100%;
- height: auto;
- margin: 20PX auto;
- border: 1PX solid #ccc;
- border-radius: 10PX;
- padding: 20PX !important;
- box-sizing: border-box;
- .name {
- display: block;
- width: 100%;
- height: auto;
- line-height: 40PX;
- font-size: 16PX;
- color: #333;
- }
- b {
- font-size: 17PX;
- margin: 0 10PX;
- }
- li {
- border-bottom: 1PX solid #ccc;
- padding-bottom: 15PX;
- margin-bottom: 10PX;
- box-sizing: border-box;
- p {
- margin: 0;
- height: auto;
- line-height: 25PX;
- font-size: 15PX;
- color: #000;
- &.hfnr {
- font-weight: bold;
- span {
- color: #f00;
- }
- }
- }
- }
- }
- }
- }
- //第四层 end---------------------------------------->
- }
- .index—layer-1 .index-layer-1-middle .coninfoitem > div.coninfoitem_img{display:block!important;}
- .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title{
- display:block!important;width:100%!important;overflow:hidden!important;height:auto!important;}
- .index—layer-1 .index-layer-1-middle .coninfoitem > div img{height:85PX!important;}
- .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title img{height:85PX!important;width: 120PX;
- height: 86PX;
- float: left;
- margin-right: 11PX;}
- .index—layer-1 .index-layer-1-middle .coninfoitem > div h3{display:block;height: 26PX;line-height: 26PX;overflow: hidden;font-size: 14PX;color: #333;font-weight: bold;
- display:block;word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- .index—layer-1 .index-layer-1-middle .coninfoitem > div p{display:block;color: #333;font-size: 14PX;height: 60PX;line-height: 20PX;overflow: hidden;
- overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;
- }
- .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title .coninfoitem_img_text{}
- .index—layer-1 .index-layer-1-right .con_img_list a:nth-of-type(odd){float:left;}
- .index—layer-1 .index-layer-1-right .con_img_list a:nth-of-type(even){float:right;}
- .index—layer-1 .index-layer-1-right .con_img_list{display:block;}
- .index—layer-2 .index—layer-2-left .index-tabs2-top h3 a, .index—layer-2 .index—layer-2-right .index-tabs2-top h3 a{line-height:26PX;height:26PX;display:block;}
-
- :deep(.el-carousel__container) { height:300PX;}
- @media screen and (min-width: 801px) and (max-width: 1400px) {
- //swiper轮播图 start---------------------------------------->
- .swiper-container {
- width: 100%;
- padding: 20PX 0;
- position: relative;
- margin: 0 auto;
- box-sizing: border-box;
- }
- .custom-swiper {
- width: 100%;
- height: 100%;
- padding: 10px 5px; //给两侧留出空间
- box-sizing: border-box;
- }
- .custom-swiper :deep(.swiper-wrapper) {
- align-items: stretch; //使所有幻灯片高度一致
- }
- .custom-swiper :deep(.swiper-slide) {
- height: auto;
- transition: transform 0.3s ease;
- }
- //悬停效果
- .custom-swiper :deep(.swiper-slide:hover) {
- transform: translateY(-5px);
- z-index: 10;
- }
- .slide-link {
- display: block;
- text-decoration: none;
- color: inherit;
- height: 100%;
- width: 100%;
- }
- .image-container {
- position: relative;
- width: 100%;
- height: 120PX; //根据需求调整
- overflow: hidden;
- box-shadow: 0 4PX 12PX rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- background: #f5f5f5; //加载时的背景色
- }
- .image-container:hover {
- box-shadow: 0 8PX 24PX rgba(0, 0, 0, 0.15);
- }
- .slide-image {
- // width: 100%;
- // height: 100%;
- width: 264PX;
- height: 118PX;
- object-fit: cover;
- transition: transform 0.5s ease;
- }
- .image-container:hover .slide-image {
- transform: scale(1.05);
- }
- .image-title {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- color: white;
- padding: 12PX 15PX;
- font-size: 14PX;
- line-height: 1.4;
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- background: rgba(0, 0, 0, .6)
- }
- .custom-indicators {
- display: flex;
- justify-content: center;
- gap: 8PX;
- margin-top: 25PX;
- padding: 15PX 10PX;
- flex-wrap: wrap;
- background: rgba(255, 255, 255, 0.9);
- border-radius: 50PX;
- max-width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- .indicator-btn {
- width: 36PX;
- height: 36PX;
- border-radius: 50%;
- border: 2PX solid #e0e0e0;
- background: white;
- color: #333;
- cursor: pointer;
- transition: all 0.3s ease;
- font-size: 14PX;
- font-weight: 500;
- display: flex;
- align-items: center;
- justify-content: center;
- outline: none;
- }
- .indicator-btn:hover {
- background: #f0f9ff;
- border-color: #409eff;
- transform: scale(1.1);
- }
- .indicator-btn.active-indicator {
- background: #409eff;
- color: white;
- border-color: #409eff;
- box-shadow: 0 4PX 12PX rgba(64, 158, 255, 0.3);
- }
- //swiper加载动画
- .image-container:empty::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
- background-size: 200% 100%;
- animation: loading 1.5s infinite;
- border-radius: 12PX;
- }
- @keyframes loading {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
- }
- //swiper箭头颜色
- .custom-swiper :deep(.swiper-button-prev),
- .custom-swiper :deep(.swiper-button-next) {
- color: white !important; //箭头颜色改为白色
- }
- .custom-swiper :deep(.swiper-button-prev):after,
- .custom-swiper :deep(.swiper-button-next):after {
- color: white !important; //确保箭头图标也是白色
- }
- //swiper轮播图 end---------------------------------------->
- //轮播图 start---------------------------------------->
- .nuxt-swiper {
- width: 100%;
- height: 300PX;
- position: relative;
- img {
- width: 100%;
- height: 100%;
- }
- span {
- display: inline-block;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- padding: 0 10PX;
- box-sizing: border-box;
- position: absolute;
- bottom: 0;
- left: 0;
- font-family: Source Han Sans, Source Han Sans;
- font-size: 16PX;
- color: #FFFFFF;
- //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
- background: rgba(0, 0, 0, .6);
- }
- }
- .el-carousel {
- // 左右箭头按钮
- .el-carousel__arrow--right :deep(.class-name),
- .el-carousel__arrow--left :deep(.class-name) {
- width: 68PX;
- height: 68PX;
- }
- //左右箭头图片
- /deep/.el-icon svg {
- height: 1em;
- width: 1em;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow {
- border-radius: 0;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow i {
- font-size: 68PX !important;
- }
- /deep/ .el-carousel__indicators {
- // 指示器
- left: unset;
- transform: unset;
- right: 41%;
- }
- /deep/ .el-carousel__button {
- // 指示器按钮
- width: 15PX;
- height: 15PX;
- border-radius: 50%;
- border: none;
- opacity: 1;
- background-color: #FFFFFF;
- bottom: 30PX;
- }
- /deep/ .is-active .el-carousel__button {
- // 指示器激活按钮
- background: #158d91;
- }
- /deep/.custom-indicators {
- position: absolute;
- bottom: 10PX;
- left: 50%;
- transform: translateX(-50%);
- }
- /deep/ .el-carousel__indicators {
- right: 3%;
- bottom: 10%;
- }
- /deep/ .el-carousel__arrow {
- top: 50%;
- }
- }
- //轮播图 end---------------------------------------->
- //第一层 start---------------------------------------->
- .index—layer-1 {
- width: 100%;
- height: auto;
- padding: 0px 10px;
- box-sizing: border-box;
- overflow: hidden;
- margin: 20PX auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- .index—layer-1-left {
- width: 31%;
- border: 1PX solid #ccc;
- }
- .index-layer-1-middle {
- width: 31%;
- border: 1PX solid #ccc;
- box-sizing: border-box;
- padding: 0 10PX;
- padding-bottom: 5PX;
- .tabtlt {
- width: 100%;
- height: auto;
- outline: hidden;
- border-bottom: 1PX solid #f0f0f0;
- margin: 7PX 0 18PX;
- overflow: hidden;
- display: flex;
- align-self: center;
- justify-content: space-between;
- a {
- color: #337ab7;
- text-decoration: none;
- }
- div {
- width: 50%;
- text-align: center;
- width: 100%;
- height: 50PX;
- line-height: 50PX;
- font-size: 20PX;
- color: #000;
- background: #f3f3f3;
- text-align: center;
- cursor: pointer;
- }
- div.intabtltbg {
- background: url(public/index/current.gif) no-repeat center bottom !important;
- }
- }
- .coninfoitem {
- width: 100%;
- overflow: hidden;
- margin: 0PX auto;
- >div {
- &.coninfoitem_img {
- height: 86PX;
- overflow: hidden;
- margin-bottom: 5PX;
- display: flex;
- align-items: flex-start;
- }
- h3 {
- line-height: 26PX;
- a {
- font-size: 13PX;
- color: #333;
- font-weight: bold;
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- overflow: hidden;
- display: block;
- }
- }
- img {
- width: 120PX;
- height: 86PX;
- float: left;
- margin-right: 11PX;
- }
- p {
- line-height: 0;
- a {
- line-height: 20PX;
- color: #333;
- font-size: 13PX;
- text-indent: 2em;
- display: block;
- }
- }
- }
- .coninfoitem_title {
- width: 100%;
- height: 28PX;
- line-height: 28PX;
- overflow: hidden;
- position: relative;
- list-style-position: inside;
- color: #000;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- color: #666;
- }
- }
- }
- }
- .index-layer-1-right {
- width: 31%;
- border: 1PX solid #ccc;
- box-sizing: border-box;
- padding: 0 10PX;
- padding-bottom: 16PX;
- .imgtlt {
- width: 100%;
- height: 43PX;
- border-bottom: 1PX solid #e7e7e7;
- a {
- display: block;
- width: 92PX;
- height: 42PX;
- line-height: 42PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- border-bottom: 2PX solid #158d91;
- }
- }
- .con_img_list {
- display: flex;
- flex-wrap: wrap;
- a {
- width: 48%;
- float: left;
- overflow: hidden;
- height: 100PX;
- margin: 20PX auto 0;
- display: block;
- position: relative;
- img {
- display: block;
- width: 100%;
- height: 100%;
- }
- .con_img_list_rgba {
- position: absolute;
- width: 100%;
- height: 22PX;
- line-height: 21PX;
- box-sizing: border-box;
- padding: 0PX 10PX;
- text-align: center;
- bottom: 0PX;
- left: 0PX;
- color: #fff;
- font-size: 16PX;
- z-index: 11;
- background: rgba(0, 0, 0, .6);
- display: block;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
- }
- }
- //第一层 end---------------------------------------->
- //第二层 start---------------------------------------->
- .index—layer-2 {
- width: 100%;
- height: auto;
- overflow: hidden;
- margin: 20PX auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- .index—layer-2-left,
- .index—layer-2-right {
- width: 49%;
- border: 1PX solid #ddd;
- height: auto;
- overflow: hidden;
- .index—layer-2-title {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- background: #fff;
- >div {
- &.active {
- background: #158d91;
- color: #fff;
- a {
- color: #fff;
- }
- }
- width: 118PX;
- height: 44PX;
- line-height: 44PX;
- background: #fff;
- text-align: center;
- color: #808080;
- font-size: 16PX;
- font-weight: bold;
- border-bottom: 2PX solid #158d91;
- a {
- font-size: 20PX;
- color: #808080;
- }
- }
- }
- .index-tabs2-top {
- background: #f8f8f8;
- padding: 20PX 20PX;
- box-sizing: border-box;
- display: flex;
- border-bottom: 1PX dashed #ddd;
- >a {
- margin-right: 11PX;
- img {
- display: block;
- width: 120PX;
- height: 86PX;
- }
- }
- h3 {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- overflow: hidden;
- a {
- font-size: 13PX;
- color: #333;
- font-weight: bold;
- }
- }
- p {
- width: 100%;
- height: 60PX;
- line-height: 20PX;
- overflow: hidden;
- display: -webkit-box !important;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- a {
- color: #333;
- font-size: 13PX;
- }
- }
- }
- .index-tabs2-bottom {
- padding: 20PX;
- margin: 0;
- a {
- display: block;
- width: 100%;
- height: 28PX;
- line-height: 28PX;
- color: #333;
- font-size: 13PX;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- }
- //第二层 end---------------------------------------->
- //第三层 start---------------------------------------->
- .index—layer-3 {
- .index—layer-3-line {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 0 auto;
- box-sizing: border-box;
- //选项卡类型
- .index—layer-3-tabs-box {
- width: 31%;
- height: auto;
- border: 1PX solid #ddd;
- border-top: 2PX solid #158d91;
- margin: 1%;
- padding: 0 10PX;
- box-sizing: border-box;
- .index—layer-3-tabs-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1PX solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width: 87PX;
- height: 54PX;
- line-height: 55PX;
- overflow: hidden;
- float: left;
- margin-right: 10PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20PX;
- a {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- list-style-position: inside;
- font-size: 13PX;
- color: #333;
- display: block;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 66%;
- }
- }
- }
- //常规类型
- .index—layer-3-news-box {
- width: 31%;
- height: auto;
- border: 1PX solid #ddd;
- border-top: 2PX solid #158d91;
- margin: 1%;
- padding: 0 10PX;
- box-sizing: border-box;
- .index—layer-3-news-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1PX solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width: 87PX;
- height: 54PX;
- line-height: 55PX;
- overflow: hidden;
- float: left;
- margin-right: 10PX;
- text-align: center;
- font-size: 20PX;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20PX;
- a {
- width: 100%;
- height: 26PX;
- line-height: 26PX;
- list-style-position: inside;
- font-size: 13PX;
- color: #333;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 28PX;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 14PX;
- }
- span:nth-child(2) {
- width: 30%;
- height: 28PX;
- text-align: right;
- display: block;
- font-size: 12PX;
- }
- }
- }
- }
- }
- .index—layer-3-news-body-title {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- margin: 20PX 0 14PX;
- padding-bottom: 20PX;
- border-bottom: 1PX dashed #e1e1e1;
- >div {
- &.news-body-left {
- margin-right: 11PX;
- img {
- display: block;
- width: 120PX;
- height: 86PX;
- }
- }
- &.news-body-right {
- >a {
- display: block;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- font-size: 16PX;
- font-weight: bold;
- overflow: hidden;
- color: #000;
- text-decoration: none;
- }
- p {
- width: 100%;
- height: 46PX;
- line-height: 23PX;
- overflow: hidden;
- font-size: 14PX;
- color: #333;
- a {
- color: #333;
- }
- }
- }
- }
- }
- }
- //第三层 end---------------------------------------->
- //第四层 start---------------------------------------->
- .index-layer-4 {
- width: 100%;
- border: 1PX solid #ccc;
- border-radius: 20PX;
- padding: 10PX 20PX;
- box-sizing: border-box;
- margin: 20PX auto;
- .index-layer-4-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: 40PX;
- line-height: 40PX;
- border-bottom: 1PX solid #ccc;
- a {
- &:first-child {
- font-size: 22PX;
- color: #1476bd;
- }
- &:last-child {
- font-size: 16PX;
- color: #f00;
- border: none;
- float: right;
- }
- display: block;
- }
- }
- .index-layer-4-body {
- .post_nr {
- width: 100%;
- height: auto;
- margin: 20PX auto;
- border: 1PX solid #ccc;
- border-radius: 10PX;
- padding: 20PX !important;
- box-sizing: border-box;
- .name {
- display: block;
- width: 100%;
- height: auto;
- line-height: 40PX;
- font-size: 16PX;
- color: #333;
- }
- b {
- font-size: 17PX;
- margin: 0 10PX;
- }
- li {
- border-bottom: 1PX solid #ccc;
- padding-bottom: 15PX;
- margin-bottom: 10PX;
- box-sizing: border-box;
- p {
- margin: 0;
- height: auto;
- line-height: 25PX;
- font-size: 15PX;
- color: #000;
- &.hfnr {
- font-weight: bold;
- span {
- color: #f00;
- }
- }
- }
- }
- }
- }
- }
- //第四层 end---------------------------------------->
- .index—layer-2 {
- padding: 0px 10px;
- box-sizing: border-box;
- }
- .index-layer-4 {
- margin: 0px auto;
- width: 98%;
- }
- }
- @media screen and (max-width: 800px) {
- //swiper轮播图 start---------------------------------------->
- .swiper-container {
- width: 100%;
- padding: 20px 0;
- position: relative;
- max-width: 1400px;
- margin: 0 auto;
- display: none;
- }
- .custom-swiper {
- width: 100%;
- height: 100%;
- padding: 10px 5px; //给两侧留出空间
- }
- .custom-swiper :deep(.swiper-wrapper) {
- align-items: stretch; //使所有幻灯片高度一致
- }
- .custom-swiper :deep(.swiper-slide) {
- height: auto;
- transition: transform 0.3s ease;
- }
- //悬停效果
- .custom-swiper :deep(.swiper-slide:hover) {
- transform: translateY(-5px);
- z-index: 10;
- }
- .slide-link {
- display: block;
- text-decoration: none;
- color: inherit;
- height: 100%;
- width: 100%;
- }
- .image-container {
- position: relative;
- width: 100%;
- height: 118px; //根据需求调整
- overflow: hidden;
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
- transition: all 0.3s ease;
- background: #f5f5f5; //加载时的背景色
- }
- .image-container:hover {
- box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
- }
- .slide-image {
- // width: 100%;
- // height: 100%;
- width: 264px;
- height: 118px;
- object-fit: cover;
- transition: transform 0.5s ease;
- }
- .image-container:hover .slide-image {
- transform: scale(1.05);
- }
- .image-title {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- color: white;
- padding: 12px 15px;
- font-size: 14px;
- line-height: 1.4;
- text-align: center;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- background: rgba(0, 0, 0, .6)
- }
- .custom-indicators {
- display: flex;
- justify-content: center;
- gap: 8px;
- margin-top: 25px;
- padding: 15px 10px;
- flex-wrap: wrap;
- background: rgba(255, 255, 255, 0.9);
- border-radius: 50px;
- max-width: 90%;
- margin-left: auto;
- margin-right: auto;
- }
- .indicator-btn {
- width: 36px;
- height: 36px;
- border-radius: 50%;
- border: 2px solid #e0e0e0;
- background: white;
- color: #333;
- cursor: pointer;
- transition: all 0.3s ease;
- font-size: 14px;
- font-weight: 500;
- display: flex;
- align-items: center;
- justify-content: center;
- outline: none;
- }
- .indicator-btn:hover {
- background: #f0f9ff;
- border-color: #409eff;
- transform: scale(1.1);
- }
- .indicator-btn.active-indicator {
- background: #409eff;
- color: white;
- border-color: #409eff;
- box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
- }
- //swiper加载动画
- .image-container:empty::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
- background-size: 200% 100%;
- animation: loading 1.5s infinite;
- border-radius: 12px;
- }
- @keyframes loading {
- 0% {
- background-position: 200% 0;
- }
- 100% {
- background-position: -200% 0;
- }
- }
- //swiper箭头颜色
- .custom-swiper :deep(.swiper-button-prev),
- .custom-swiper :deep(.swiper-button-next) {
- color: white !important; //箭头颜色改为白色
- }
- .custom-swiper :deep(.swiper-button-prev):after,
- .custom-swiper :deep(.swiper-button-next):after {
- color: white !important; //确保箭头图标也是白色
- }
- //swiper轮播图 end---------------------------------------->
- //轮播图 start---------------------------------------->
- .nuxt-swiper {
- width: 100%;
- height: 330px;
- position: relative;
- img {
- width: 100%;
- height: 100%;
- }
- span {
- display: inline-block;
- width: 100%;
- height: 55px;
- line-height: 55px;
- padding-left: 20px;
- box-sizing: border-box;
- position: absolute;
- bottom: 0;
- left: 0;
- font-family: Source Han Sans, Source Han Sans;
- font-size: 20px;
- color: #FFFFFF;
- //background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
- background: rgba(0, 0, 0, .6);
- }
- }
- .el-carousel {
- // 左右箭头按钮
- .el-carousel__arrow--right :deep(.class-name),
- .el-carousel__arrow--left :deep(.class-name) {
- width: 68px;
- height: 68px;
- }
- //左右箭头图片
- /deep/.el-icon svg {
- height: 1em;
- width: 1em;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow {
- border-radius: 0;
- background-color: transparent;
- }
- /deep/.el-carousel__arrow i {
- font-size: 68px !important;
- }
- /deep/ .el-carousel__indicators {
- // 指示器
- left: unset;
- transform: unset;
- right: 41%;
- }
- /deep/ .el-carousel__button {
- // 指示器按钮
- width: 15px;
- height: 15px;
- border-radius: 50%;
- border: none;
- opacity: 1;
- background-color: #FFFFFF;
- bottom: 30px;
- }
- /deep/ .is-active .el-carousel__button {
- // 指示器激活按钮
- background: #158d91;
- }
- /deep/.custom-indicators {
- position: absolute;
- bottom: 10px;
- left: 50%;
- transform: translateX(-50%);
- }
- /deep/ .el-carousel__indicators {
- right: 3%;
- bottom: 14%;
- }
- /deep/ .el-carousel__arrow {
- top: 50%;
- }
- /deep/ .el-carousel__container {
- height: 330px;
- }
- }
- //轮播图 end---------------------------------------->
- //第一层 start---------------------------------------->
- .index—layer-1 {
- width: 100%;
- height: auto;
- overflow: hidden;
- margin: 20px auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- flex-wrap: wrap;
- box-sizing: border-box;
- padding: 0 10px;
- .index—layer-1-left {
- width: 100%;
- margin: 10px 0;
- border: 1px solid #ccc;
- }
- .index-layer-1-middle {
- width: 100%;
- border: 1px solid #ccc;
- box-sizing: border-box;
- padding: 0 10px;
- padding-bottom: 5px;
- margin: 10px 0;
- .tabtlt {
- width: 100%;
- height: auto;
- outline: hidden;
- border-bottom: 1px solid #f0f0f0;
- margin: 7px 0 18px;
- overflow: hidden;
- display: flex;
- align-self: center;
- justify-content: space-between;
- a {
- color: #337ab7;
- text-decoration: none;
- }
- div {
- width: 50%;
- text-align: center;
- width: 100%;
- height: 50px;
- line-height: 50px;
- font-size: 30px;
- color: #000;
- background: #f3f3f3;
- text-align: center;
- cursor: pointer;
- }
- div.intabtltbg {
- background: url(public/index/current.gif) no-repeat center bottom !important;
- }
- }
- .coninfoitem {
- width: 100%;
- overflow: hidden;
- margin: 0px auto;
- >div {
- &.coninfoitem_img {
- height: 220px;
- overflow: hidden;
- margin-bottom: 5px;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- }
- h3 {
- width: 100%;
- height: 40px;
- line-height: 40px;
- line-height: 0;
- overflow: hidden;
- a {
- font-size: 30px;
- color: #333;
- font-weight: bold;
- width: 100%;
- height: 44px;
- line-height: 44px;
- overflow: hidden;
- display: block;
- }
- }
- img {
- width: 440px;
- height: 220px;
- float: left;
- margin-right: 11px;
- }
- p {
- a {
- color: #333;
- font-size: 26px;
- height: 90px;
- line-height: 30px;
- margin-top: 11px;
- display: block;
- text-indent: 2em;
- overflow: hidden;
- display: -webkit-box !important;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- }
- }
- }
- .coninfoitem_title {
- width: 100%;
- height: 70px;
- line-height: 70px;
- color: #333;
- display: block;
- font-weight: normal;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 50px;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 28px;
- }
- span:nth-child(2) {
- width: 30%;
- height: 50px;
- text-align: right;
- display: block;
- font-size: 24px;
- color: #666;
- }
- }
- }
- }
- .index-layer-1-right {
- width: 100%;
- border: 1px solid #ccc;
- box-sizing: border-box;
- padding-bottom: 16px;
- padding: 10px;
- .imgtlt {
- width: 100%;
- height: 43px;
- border-bottom: 1px solid #e7e7e7;
- a {
- display: block;
- width: auto;
- float: left;
- height: 42px;
- line-height: 42px;
- text-align: center;
- font-size: 30px;
- color: #333;
- border-bottom: 2px solid #158d91;
- }
- }
- .con_img_list {
- display: flex;
- flex-wrap: wrap;
- a {
- width: 48%;
- float: left;
- overflow: hidden;
- height: 200px;
- margin: 20px auto 0;
- display: block;
- position: relative;
- img {
- display: block;
- width: 100%;
- height: 100%;
- }
- .con_img_list_rgba {
- position: absolute;
- width: 100%;
- height: 33px;
- line-height: 33px;
- box-sizing: border-box;
- padding: 0 10px;
- text-align: center;
- bottom: 0px;
- left: 0px;
- color: #fff;
- font-size: 20px;
- z-index: 11;
- background: rgba(0, 0, 0, .6);
- display: block;
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
- }
- }
- //第一层 end---------------------------------------->
- //第二层 start---------------------------------------->
- .index—layer-2 {
- width: 100%;
- height: auto;
- overflow: hidden;
- margin: 20px auto;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- flex-wrap: wrap;
- padding: 0 10px;
- box-sizing: border-box;
- .index—layer-2-left,
- .index—layer-2-right {
- width: 100%;
- border: 1px solid #ddd;
- height: auto;
- overflow: hidden;
- margin: 10px 0;
- .index—layer-2-title {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- background: #fff;
- >div {
- &.active {
- background: #158d91;
- color: #fff;
- a {
- color: #fff;
- }
- }
- width:auto;
- float:left;
- height: 55px;
- line-height: 55px;
- background: #fff;
- text-align: center;
- color: #808080;
- font-size: 30px;
- padding:0px 18px;
- font-weight: bold;
- border-bottom: 2px solid #158d91;
- a {
- font-size: 30px;
- color: #808080;
- }
- }
- }
- .index-tabs2-top {
- background: #f8f8f8;
- padding: 20px 20px;
- box-sizing: border-box;
- display: flex;
- border-bottom: 1px dashed #ddd;
- >a {
- margin-right: 11px;
- img {
- display: block;
- width: 330px;
- height: 220px;
- }
- }
- h3 {
- width: 100%;
- height: 40px;
- line-height: 40px;
- line-height: 0;
- overflow: hidden;
- a {
- font-size: 26px;
- color: #333;
- font-weight: bold;
- width: 100%;
- height: 44px;
- line-height: 44px;
- overflow: hidden;
- display: block;
- }
- }
- p {
- a {
- color: #333;
- font-size: 24px;
- height: 90px;
- line-height: 30px;
- margin-top: 11px;
- display: block;
- text-indent: 2em;
- overflow: hidden;
- display: -webkit-box !important;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- }
- }
- }
- .index-tabs2-bottom {
- padding: 20px;
- margin: 0;
- box-sizing: border-box;
- a {
- display: block;
- width: 100%;
- height: 50px;
- line-height: 50px;
- overflow: hidden;
- position: relative;
- list-style-position: inside;
- color: #333;
- font-size: 32px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 50px;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 28px;
- }
- span:nth-child(2) {
- width: 30%;
- height: 50px;
- text-align: right;
- display: block;
- font-size: 24px;
- color: #666;
- }
- }
- }
- }
- }
- //第二层 end---------------------------------------->
- //第三层 start---------------------------------------->
- .index—layer-3 {
- .index—layer-3-line {
- width: 100%;
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 0 auto;
- box-sizing: border-box;
- flex-wrap: wrap;
- padding: 0 10px;
- //选项卡类型
- .index—layer-3-tabs-box {
- width: 100%;
- height: auto;
- border: 1px solid #ddd;
- border-top: 2px solid #158d91;
- margin: 1%;
- padding: 0 10px;
- box-sizing: border-box;
- margin: 10px 0;
- .index—layer-3-tabs-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1px solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width:auto;
- height: 54px;
- line-height: 55px;
- overflow: hidden;
- float: left;
- margin-right: 10px;
- text-align: center;
- font-size: 30px;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20px;
- a {
- width: 100%;
- height: 70px;
- line-height: 70px;
- font-size: 26px;
- color: #333;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 50px;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 28px;
- }
- span:nth-child(2) {
- width: 30%;
- height: 50px;
- text-align: right;
- display: block;
- font-size: 24px;
- color: #666;
- }
- }
- }
- }
- //常规类型
- .index—layer-3-news-box {
- width: 100%;
- height: auto;
- border: 1px solid #ddd;
- border-top: 2px solid #158d91;
- margin: 1%;
- padding: 0 10px;
- box-sizing: border-box;
- margin: 10px 0;
- .index—layer-3-news-box-title {
- display: flex;
- align-items: center;
- width: 100%;
- border-bottom: 1px solid #f0f0f0;
- >div {
- &.active {
- background: url(../public/index/current2.png) no-repeat center bottom;
- }
- width:auto;
- float:left;
- height: 54px;
- line-height: 55px;
- overflow: hidden;
- float: left;
- margin-right: 10px;
- text-align: center;
- font-size: 30px;
- color: #333;
- font-weight: bold;
- a {
- color: #333;
- }
- }
- }
- .index—layer-3-news-body-main {
- margin-bottom: 20px;
- a {
- width: 100%;
- height: 70px;
- line-height: 70px;
- font-size: 26px;
- color: #333;
- display: flex;
- align-items: center;
- justify-content: space-between;
- span:nth-child(1) {
- width: 70%;
- height: 50px;
- text-align: left;
- overflow: hidden;
- display: block;
- font-size: 28px;
- }
- span:nth-child(2) {
- width: 30%;
- height: 50px;
- text-align: right;
- display: block;
- font-size: 24px;
- color: #666;
- }
- }
- }
- }
- }
- .index—layer-3-news-body-title {
- overflow: hidden;
- align-items: center;
- justify-content: flex-start;
- margin: 20px 0 14px;
- padding-bottom: 20px;
- border-bottom: 1px dashed #e1e1e1;
- >div {
- &.news-body-left {
- float: left;
- margin-right: 11px;
- img {
- display: block;
- width: 330px;
- height: 220px;
- }
- }
- &.news-body-right {
- width: 350px;
- float: right;
- >a {
- height: 40px;
- line-height: 40px;
- line-height: 0;
- overflow: hidden;
- font-size: 26px;
- color: #333;
- font-weight: bold;
- width: 100%;
- height: 44px;
- line-height: 44px;
- overflow: hidden;
- display: block;
- }
- p {
- a {
- color: #333;
- font-size: 24px;
- height: 90px;
- line-height: 30px;
- margin-top: 11px;
- display: block;
- text-indent: 2em;
- overflow: hidden;
- display: -webkit-box !important;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- }
- }
- }
- }
- }
- }
- //第三层 end---------------------------------------->
- //第四层 start---------------------------------------->
- .index-layer-4 {
- width: 100%;
- border: 1px solid #ccc;
- border-radius: 20px;
- padding: 10px 20px;
- box-sizing: border-box;
- display: none;
- .index-layer-4-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 100%;
- height: 40px;
- line-height: 40px;
- border-bottom: 1px solid #ccc;
- a {
- &:first-child {
- font-size: 22px;
- color: #1476bd;
- }
- &:last-child {
- font-size: 16px;
- color: #f00;
- border: none;
- float: right;
- }
- display: block;
- }
- }
- .index-layer-4-body {
- .post_nr {
- width: 100%;
- height: auto;
- margin: 20px auto;
- border: 1px solid #ccc;
- border-radius: 10px;
- padding: 20px !important;
- box-sizing: border-box;
- .name {
- display: block;
- width: 100%;
- height: auto;
- line-height: 40px;
- font-size: 16px;
- color: #333;
- }
- b {
- font-size: 17px;
- margin: 0 10px;
- }
- li {
- border-bottom: 1px solid #ccc;
- padding-bottom: 15px;
- margin-bottom: 10px;
- box-sizing: border-box;
- p {
- margin: 0;
- height: auto;
- line-height: 25px;
- font-size: 15px;
- color: #000;
- &.hfnr {
- font-weight: bold;
- span {
- color: #f00;
- }
- }
- }
- }
- }
- }
- }
- //第四层 end---------------------------------------->
- .index—layer-1 .index-layer-1-middle .coninfoitem .coninfoitem_title img{
- width:300px;height:200px!important;
- }
- .index—layer-1 .index-layer-1-middle .coninfoitem > div h3{
- width:auto;
- height:33px;line-height:33px;margin-top:11px;font-size:26px;
-
- }
- .index—layer-1 .index-layer-1-middle .coninfoitem > div p{
- height:60px;line-height:30px;margin-top:11px;font-size:24px;
- }
- .index—layer-1 .index-layer-1-right .con_img_list{display:block;overflow:hidden;}
- }
- </style>
|