1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946 |
- <template>
- <div>
- <!-- 页面头部 -->
- <HomePageHead></HomePageHead>
- <!-- 页面导航 -->
- <HomePageNavigation></HomePageNavigation>
- <!-- 资讯 -->
- <HomePageMessage></HomePageMessage>
- <!-- 十强称号logo -->
- <HomeAdvertising :imgurl="adList[1]" v-if="adList[1]"></HomeAdvertising>
- <!-- 更多服务 -->
- <HomeMoreService></HomeMoreService>
- <!-- 板块标题 -->
- <div class="titleBox" id="ztzx">
- <img src="../static/index/theme1.png" alt="主题资讯">
- </div>
- <!-- 模块一 新农村 pagedata[0] -->
- <div class="farming" >
- <div class="inner">
- <div class="farmerLeft" v-if="pageData.length>=1">
- <div class="farmer">
- <h3 v-if="pageData[0].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
- target="_blank" v-if="pageData[0].cid&&pageData[0].children_count==0" class="active">
- {{pageData[0].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
- target="_blank" v-else-if="pageData[0].cid&&pageData[0].children_count!=0" class="active">
- {{pageData[0].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
- target="_blank" v-if="pageData[0].cid">
- 查看更多
- </NuxtLink>
- </h3>
- <ul class="mode1ul_style1">
- <li v-for="(item,index) in boxData1" class="imgbg">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getDays(item.updated_at) }}
- </p>
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getDays(item.updated_at) }}
- </p>
- </div>
- </NuxtLink>
- </li>
- </ul>
- <ul class="mode1ul_style2">
- <li v-for="item in boxData1data2">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.updated_at) }}</p>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.updated_at) }}</p>
- </NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- <!-- 模块二 贴身宝贝 pagedata[1] -->
- <div class="farmerRight" v-if="pageData.length>=2">
- <div class="rich">
- <h3 v-if="pageData[1].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[1].cid}`}"
- target="_blank" v-if="pageData[1]&&pageData[1].children_count==0" class="active">
- {{pageData[1].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[1].cid}`}"
- target="_blank" v-else-if="pageData[1]&&pageData[1].children_count!=0" class="active">
- {{pageData[1].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[1].cid}`, query: { catid: pageData[1].cid } }"
- target="_blank" v-if="pageData[1].cid">
- 查看更多
- </NuxtLink>
- </h3>
- <ul>
- <li v-for="(item,index) in boxData2">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <div class="index">{{ index+1 }}</div>
- <div class="title">{{ item.title }}</div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="item.islink==0">
- <div class="index">{{ index+1 }}</div>
- <div class="title">{{ item.title }}</div>
- </NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div class="scienceEducation">
- <div class="inner">
- <div class="scienceLeft" v-if="pageData.length>=3">
- <!-- 模块三 政策法规 pagedata[2] -->
- <HomeSlider :message="pageData[2]"></HomeSlider>
- </div>
- <div class="scienceRight" v-if="pageData.length>=4">
- <div class="adBox1">
- <a href="http://www.baidu.com" target="_blank">
- <img :src="adList[0].thumb" v-if="adList[0]">
- </a>
- </div>
- <!-- 模块四 三农之窗 pagedata[3] -->
- <h3 v-if="pageData[3].cid">
- <span>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[3].cid}`}"
- target="_blank" v-if="pageData[3]&&pageData[3].children_count==0" class="active">
- {{pageData[3].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[3].cid}`}"
- target="_blank" v-else-if="pageData[3]&&pageData[3].children_count!=0" class="active">
- {{pageData[3].alias}}
- </NuxtLink>
- </span>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[3].cid}`, query: { catid: pageData[3].cid } }"
- target="_blank" v-if="pageData[3].cid">
- 查看更多
- </NuxtLink>
- </h3>
- <div class="banner_b_img">
- <ul>
- <li v-for="item in boxData4">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <img src="../static/index/qz.png" alt="三农招聘">
- <p>{{ item.title }}</p>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="item.islink==0">
- <img src="../static/index/qz.png" alt="三农招聘">
- <p>{{ item.title }}</p>
- </NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <HomeTopTen :imgurl="adList[2]" v-if="adList[2]"></HomeTopTen>
- <!-- 模块五 区域经济 pagedata[4] -->
- <div class="layoutCopy">
- <div class="layoutCopyLeft">
- <div class="layoutCopyLeftTop">
- <div class="layoutCopyLeft1" v-if="pageData.length>=5">
- <div class="layoutTitleBox" v-if="pageData[4]">
- <div class="layoutTitle" v-if="pageData[4].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[4].cid}`}"
- target="_blank" v-if="pageData[4]&&pageData[4].children_count==0" class="active">
- {{pageData[4].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[4].cid}`}"
- target="_blank" v-else-if="pageData[4]&&pageData[4].children_count!=0" class="active">
- {{pageData[4].alias}}
- </NuxtLink>
- </div>
- <div class="layoutMore" v-if="pageData[4].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[4].cid}`, query: { catid: pageData[4].cid } }"
- target="_blank" v-if="pageData[4].cid">
- 查看更多
- </NuxtLink>
- </div>
- </div>
- <div class="layoutCopyData_style1" v-if="boxData5[0]">
- <NuxtLink :to="boxData5[0].linkurl" target="_blank" v-if="boxData5[0].islink==1">
- <img :src="boxData5[0].imgurl" alt="">
- <div>
- <span>{{ boxData5[0].title }}</span>
- </div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData5[0].id}`" target="_blank" v-if="boxData5[0].islink==0">
- <img :src="boxData5[0].imgurl" alt="">
- <div>
- <span>{{ boxData5[0].title }}</span>
- </div>
- </NuxtLink>
- <NuxtLink :to="boxData5data2[0].linkurl" target="_blank" v-if="boxData5data2[0]&&boxData5data2[0].islink==1">
- <p class="title">{{ boxData5data2[0].title }}</p>
- <p>{{ getDays(boxData5data2[0].created_at)}}</p>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData5data2[0].id}`" target="_blank" v-if="boxData5data2[0]&&boxData5data2[0].islink==0">
- <p class="title">{{ boxData5data2[0].title }}</p>
- <p>{{ getDays(boxData5data2[0].created_at)}}</p>
- </NuxtLink>
- </div>
- </div>
- <!-- 模块五 三农投资 pagedata[5] -->
- <div class="layoutCopyLeft2" v-if="pageData.length>=6">
- <div class="layoutTitleBox" v-if="pageData[5]">
- <div class="layoutTitle" v-if="pageData[5].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[5].cid}`}"
- target="_blank" v-if="pageData[5]&&pageData[5].children_count==0" class="active">
- {{pageData[5].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[5].cid}`}"
- target="_blank" v-else-if="pageData[5]&&pageData[5].children_count!=0" class="active">
- {{pageData[5].alias}}
- </NuxtLink>
- </div>
- <div class="layoutMore" v-if="pageData[5].cid">
- <NuxtLink :to="{ path: `/newsList/${pageData[5].cid}`, query: { catid: pageData[5].cid } }" target="_blank" v-if="pageData[5].cid">
- 查看更多
- </NuxtLink>
- </div>
- </div>
- <div class="layoutCopyData_style2">
- <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData6" v-show='item.islink==1'>
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.created_at)}}</p>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData6" v-show='item.islink==0'>
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.created_at)}}</p>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="layoutCopyLeftBottom" v-if="pageData.length>=7">
- <div class="layoutTitleBox" v-if="pageData[6]">
- <div class="layoutTitle" v-if="pageData[6].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[6].cid}`}"
- target="_blank" v-if="pageData[6]&&pageData[6].children_count==0" class="active">
- {{pageData[6].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[6].cid}`}"
- target="_blank" v-else-if="pageData[6]&&pageData[6].children_count!=0" class="active">
- {{pageData[6].alias}}
- </NuxtLink>
- </div>
- <div class="layoutMore" v-if="pageData[6].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[6].cid}`, query: { catid: pageData[6].cid } }"
- target="_blank" v-if="pageData[6].cid">
- 查看更多
- </NuxtLink>
- </div>
- </div>
- <div class="layoutCopyData_style3">
-
- <div v-for="(item,index) in boxData7">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="index==1&&item.islink==1" class="style3link1">
- <div class="time">
- <p>{{ getDay(item.created_at) }}</p>
- <p>{{ geMonth(item.created_at) }}</p>
- </div>
- <div>
- <p class="title">{{ item.title }}</p>
- <p class="introduce">{{ item.introduce }}</p>
- </div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index==1&&item.islink==0" class="style3link1">
- <div class="time">
- <p>{{ getDay(item.created_at) }}</p>
- <p>{{ geMonth(item.created_at) }}</p>
- </div>
- <div>
- <p class="title">{{ item.title }}</p>
- <p class="introduce">{{ item.introduce }}</p>
- </div>
- </NuxtLink>
- <NuxtLink :to="item.linkurl" target="_blank" v-if="index>1&&item.islink==1" class="style3link2">
- <div>
- <b></b>
- <p class="title">{{ item.title }}</p>
- </div>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index>1&&item.islink==0" class="style3link2">
- <div>
- <b></b>
- <p class="title">{{ item.title }}</p>
- </div>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="layoutCopyRight" v-if="pageData.length>=8">
- <div class="layoutTitleBox" v-if="pageData[7]">
- <div class="layoutTitle" v-if="pageData[7].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[7].cid}`}"
- target="_blank" v-if="pageData[7]&&pageData[7].children_count==0" class="active">
- {{pageData[7].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[7].cid}`}"
- target="_blank" v-else-if="pageData[7]&&pageData[7].children_count!=0" class="active">
- {{pageData[7].alias}}
- </NuxtLink>
- </div>
- <div class="layoutMore" v-if="pageData[7].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[7].cid}`, query: { catid: pageData[7].cid } }"
- target="_blank" v-if="pageData[7].cid">
- 查看更多
- </NuxtLink>
- </div>
- </div>
- <div class="layoutCopyData_style4">
- <div class="layoutCopyData_pic">
- <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData8" v-show="item.islink==1">
- <img :src="item.imgurl">
- <p>{{ item.title }}</p>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData8" v-show="item.islink==0">
- <img :src="item.imgurl">
- <p>{{ item.title }}</p>
- </NuxtLink>
- </div>
- <div class="layoutCopyData_text">
- <NuxtLink :to="item.linkurl" target="_blank" v-for="item in boxData88" v-show="item.islink==1">
- <div class="title">{{ item.title }}</div>
- <div class="more">详</div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData88" v-show="item.islink==0">
- <div class="title">{{ item.title }}</div>
- <div class="more">详</div>
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <!-- 板块标题 -->
- <div class="titleBox" id="hdzx">
- <img src="../static/index/theme2.png" alt="互动资讯">
- </div>
- <div class="farming">
- <div class="inner">
- <div class="farmerLeft">
- <div class="farmer">
- <h3>
- <div class="titleBoxTabs" v-if="pageData.length>=9">
- <span class="active" v-if="pageData[8].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[8].cid}`}"
- target="_blank" v-if="pageData[8]&&pageData[8].children_count==0" class="active">
- {{pageData[8].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[8].cid}`}"
- target="_blank" v-else-if="pageData[8]&&pageData[8].children_count!=0" class="active">
- {{pageData[8].alias}}
- </NuxtLink>
- </span>
- <span v-if="pageData[9].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[9].cid}`}"
- target="_blank" v-if="pageData[9]&&pageData[9].children_count==0" >
- {{pageData[9].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[9].cid}`}"
- target="_blank" v-else-if="pageData[9]&&pageData[9].children_count!=0" >
- {{pageData[9].alias}}
- </NuxtLink>
- </span>
- </div>
- </h3>
- <ul class="mode1ul_style1">
- <li v-for="(item,index) in boxData8" class="imgbg">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getDays(item.created_at) }}
- </p>
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getDays(item.created_at) }}
- </p>
- </div>
- </NuxtLink>
- </li>
- </ul>
- <ul class="mode1ul_style2">
- <li v-for="item in boxData9data2">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <p class="title">{{ item.title }}</p>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- <div class="farmerRight">
- <div class="rich" v-if="pageData.length>=11">
- <h3 v-if="pageData[10]">
- <span v-if="pageData[10].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[10].cid}`}"
- target="_blank" v-if="pageData[10]&&pageData[10].children_count==0" class="active">
- {{pageData[10].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[10].cid}`}"
- target="_blank" v-else-if="pageData[10]&&pageData[10].children_count!=0" class="active">
- {{pageData[10].alias}}
- </NuxtLink>
- </span>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[10].cid}`, query: { catid: pageData[1].cid } }"
- target="_blank" v-if="pageData[10].cid">
- 查看更多
- </NuxtLink>
- </h3>
- <div class="richList">
- <div class="richListPic" v-if="boxData11[0]">
- <NuxtLink :to="boxData11[0].linkurl" target="_blank" v-if="boxData11[0].islink==1 ">
- <img :src="boxData11[0].imgurl" alt="">
- <div>
- <span>{{ boxData11[0].title }}</span>
- </div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11[0].id}`" target="_blank" v-if="boxData11[0].islink==0">
- <img :src="boxData11[0].imgurl" alt="">
- <div>
- <span>{{ boxData11[0].title }}</span>
- </div>
- </NuxtLink>
- </div>
- <div class="richListText" v-if="boxData11data2[0]">
- <NuxtLink :to="boxData11data2[0].linkurl" target="_blank" v-if="boxData11data2[0].islink==1">
- <span>{{ boxData11data2[0].title }}</span>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11data2[0].id}`" target="_blank" v-if="boxData11data2[0].islink==0">
- <span>{{ boxData11data2[0].title }}</span>
- </NuxtLink>
- </div>
- <div class="richListText" v-if="boxData11data2[1]">
- <NuxtLink :to="boxData11data2[1].linkurl" target="_blank" v-if="boxData11data2[1].islink==1">
- <span>{{ boxData11data2[1].title }}</span>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11data2[1].id}`" target="_blank" v-if="boxData11data2[1].islink==0">
- <span>{{ boxData11data2[1].title }}</span>
- </NuxtLink>
- </div>
- <div class="richListPictow" v-if="boxData11[0]">
- <NuxtLink :to="boxData11[1].linkurl" target="_blank" v-if="boxData11[1].islink==1">
- <img :src="boxData11[0].imgurl" alt="">
- <div>
- <span>{{ boxData11[0].title }}</span>
- </div>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11[1].id}`" target="_blank" v-if="boxData11[1].islink==0">
- <img :src="boxData11[0].imgurl" alt="">
- <div>
- <span>{{ boxData11[0].title }}</span>
- </div>
- </NuxtLink>
- </div>
- <div class="richListText" v-if="boxData11data2[2]">
- <NuxtLink :to="boxData11data2[2].linkurl" target="_blank" v-if="boxData11data2[2].islink==1">
- <span>{{ boxData11data2[2].title }}</span>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11data2[2].id}`" target="_blank" v-if="boxData11data2[2].islink==0">
- <span>{{ boxData11data2[2].title }}</span>
- </NuxtLink>
- </div>
- <div class="richListText" v-if="boxData11data2[3]">
- <NuxtLink :to="boxData11data2[3].linkurl" target="_blank" v-if="boxData11data2[3].islink==1">
- <span>{{ boxData11data2[3].title }}</span>
- </NuxtLink>
- <NuxtLink :to="`/newsDetail/${boxData11data2[3].id}`" target="_blank" v-if="boxData11data2[3].islink==0">
- <span>{{ boxData11data2[3].title }}</span>
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <section class="index_3 clearfix">
- <div class="index_3_box_left">
- <div class="index_2_head_box clearfix">
- <div class="index_1_head_box index_1_head_box_2 clearfix" v-if="pageData.length>=12">
- <div class="index_1_head index_1_head_only" v-if="pageData[11].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[11].cid}`}"
- target="_blank" v-if="pageData[11]&&pageData[11].children_count==0" class="active">
- {{pageData[11].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[11].cid}`}"
- target="_blank" v-else-if="pageData[11]&&pageData[11].children_count!=0" class="active">
- {{pageData[11].alias}}
- </NuxtLink>
- </div>
- <div class="index_1_head" v-if="pageData[12].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[12].cid}`}"
- target="_blank" v-if="pageData[12]&&pageData[12].children_count==0" class="active">
- {{pageData[12].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[12].cid}`}"
- target="_blank" v-else-if="pageData[12]&&pageData[12].children_count!=0" class="active">
- {{pageData[12].alias}}
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_3_ul clearfix">
- <div :class="['index_3_li',index < 2 ? 'index_3_li_color' : '']" v-for="(item, index) in boxData12">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <p class="title">
- <b :class="['lis',index < 2 ? 'active' : '']"></b>
- {{ item.title }}
- </p>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <p class="title">
- <b :class="['lis',index < 2 ? 'active' : '']"></b>
- {{ item.title }}
- </p>
- <p>{{ getDays(item.created_at) }}</p>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_1_box_right">
- <img src="../static/index/sndc.png" alt="三农调查">
- <div class="index_3_box_vote">
- <div class="inquire">
- <p>郑州17名警察因出警慢被关禁闭,你怎么看?</p>
- <div class="radio">
- <el-radio-group v-model="radio1" text-color=#33B023 :disabled="isDisabled">
- <el-radio value="1" size="large">支持,警察不关心百姓应惩罚</el-radio>
- <el-radio value="2" size="large">反对,这件事就关禁闭不合理</el-radio>
- <el-radio value="3" size="large">建议其他部门效仿此做法</el-radio>
- <el-radio value="4" size="large">其他</el-radio>
- </el-radio-group>
- </div>
- <div class="btn">
- <button class="voting" @click="handleVote" :disabled="isDisabled">投票</button>
- <button class="look">查看</button>
- </div>
- </div>
- </div>
- </div>
- </section>
- <div class="titleBox">
- <a href="http://www.baidu.com" target="_blank">
- <img :src="adList[3].thumb" v-if="adList[3]">
- </a>
- </div>
- <div class="lastPart3">
- <div class="inner">
- <div class="lastPartTitle" v-if="pageData.length>=14">
- <div class="left" >
- <span class="active" v-if="pageData[13].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[13].cid}`}"
- target="_blank" v-if="pageData[13]&&pageData[13].children_count==0" class="active">
- {{pageData[13].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[13].cid}`}"
- target="_blank" v-else-if="pageData[13]&&pageData[13].children_count!=0" class="active">
- {{pageData[13].alias}}
- </NuxtLink>
- </span>
- <span v-if="pageData[14].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[14].cid}`}"
- target="_blank" v-if="pageData[14]&&pageData[14].children_count==0" class="active">
- {{pageData[14].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[14].cid}`}"
- target="_blank" v-else-if="pageData[14]&&pageData[14].children_count!=0" class="active">
- {{pageData[14].alias}}
- </NuxtLink>
- </span>
- </div>
- <div class="right">
- <NuxtLink :to="{ path: `/newsList/${item.category_id}`}" target="_blank" v-if="pageData[14].cid" v-for="item in boxData14menu">
- {{item.name}}
- </NuxtLink>
- </div>
- </div>
- <div class="lastPartContext">
- <div class="left">
- <ul class="mode1ul_style1">
- <li v-for="(item,index) in boxData14" class="imgbg">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getTime(item.created_at) }}
- </p>
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <img :src="item.imgurl" :alt="item.title">
- <div>
- <p>
- <span v-if="index==0">专题</span>
- {{ item.title }}
- </p>
- <p>
- {{ getTime(item.created_at) }}
- </p>
- </div>
- </NuxtLink>
- </li>
- </ul>
- <ul class="mode1ul_style2">
- <li v-for="item in boxData14data2">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <p class="title">{{ item.title }}</p>
- <p>{{getDays(item.created_at)}}</p>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <p class="title">{{ item.title }}</p>
- <p>{{getDays(item.created_at)}}</p>
- </NuxtLink>
- </li>
- </ul>
- </div>
- <div class="right" v-if="pageData.length>=15">
- <div class="title">
- <h3 v-if="boxData14menu[0]">
- <NuxtLink
- :to="{ path: `/newsList/${boxData14menu[0].category_id}`, query: { catid: boxData14menu[0].cid } }"
- target="_blank" v-if="boxData14menu[0]" class="leftTitle">
- {{ boxData14menu[0].name }}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/newsList/${boxData14menu[0].category_id}`, query: { catid: boxData14menu[0].cid } }"
- target="_blank" v-if="boxData14menu[0]">
- 查看更多
- </NuxtLink>
- </h3>
- </div>
- <ul class="content">
- <li v-for="item in boxData14mainData">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <span>
- <strong>{{getMonthandDay(item.created_at)}}</strong>
- {{getYear(item.created_at)}}
- </span>
- <span class="text">{{ item.title }}</span>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank" v-if="item.islink==0">
- <span>
- <strong>{{getMonthandDay(item.created_at)}}</strong>
- {{getYear(item.created_at)}}
- </span>
- <span class="text">{{ item.title }}</span>
- </NuxtLink>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <section class="index_2 clearfix">
- <div class="index_2_head_box clearfix" v-if="pageData.length>=16">
- <div class="index_1_head_box index_1_head_box_2 clearfix">
- <div class="index_1_head index_1_head_only" v-if="pageData[15].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[15].cid}`}"
- target="_blank" v-if="pageData[15]&&pageData[15].children_count==0" class="active">
- {{pageData[15].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[15].cid}`}"
- target="_blank" v-else-if="pageData[15]&&pageData[15].children_count!=0" class="active">
- {{pageData[15].alias}}
- </NuxtLink>
- </div>
- <div class="index_1_head" v-if="pageData[16].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[16].cid}`}"
- target="_blank" v-if="pageData[16]&&pageData[16].children_count==0" class="active">
- {{pageData[16].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[16].cid}`}"
- target="_blank" v-else-if="pageData[16]&&pageData[16].children_count!=0" class="active">
- {{pageData[16].alias}}
- </NuxtLink>
- </div>
- </div>
- <div class="index_2_head_a_box clearfix">
- <NuxtLink :to="{ path: `/newsList/${item.category_id}`}" target="_blank" v-if="pageData[15].cid" v-for="item in boxData16menu">
- {{item.name}}
- </NuxtLink>
- </div>
- </div>
- <div class=" clearfix">
- <div class=" clearfix">
- <div class="index_1_box">
- <div class="index_2_big_img_ul">
- <div class="index_2_big_img_li cover100" v-if="boxData16[0]">
- <NuxtLink :to="boxData16[0].linkurl" target="_blank" v-if="boxData16[0].islink==1">
- <img class="" :src="boxData16[0].imgurl" title="" alt="">
- <div class="index_2_big_img_li_dot2 dot2">
- <span class="index_2_big_img_li_dot2_tag">专题</span>
- {{boxData16[0].title}}
- </div>
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{getDays(boxData16[0].created_at)}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${boxData16[0].id}`}" target="_blank" v-if="boxData16[0].islink==0">
- <img class="" :src="boxData16[0].imgurl" title="" alt="">
- <div class="index_2_big_img_li_dot2 dot2">
- <span class="index_2_big_img_li_dot2_tag">专题</span>
- {{boxData16[0].title}}
- </div>
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{getDays(boxData16[0].created_at)}}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_1_box_right_img_ul index_1_box_right_img_ul_2 clearfix" v-if="boxData16[1]">
- <div class="index_1_box_right_img_li cover100">
- <NuxtLink :to="boxData16[1].linkurl" target="_blank" v-if="boxData16[1].islink==1">
- <img class="" :src="boxData16[1].imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{boxData16[1].title}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${boxData16[1].id}`}" target="_blank" v-if="boxData16[1].islink==0">
- <img class="" :src="boxData16[1].imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{boxData16[1].title}}
- </div>
- </NuxtLink>
- </div>
- <div class="index_1_box_right_img_li cover100" v-if="boxData16[2]">
- <NuxtLink :to="boxData16[2].linkurl" target="_blank" v-if="boxData16[2].islink==1">
- <img class="" :src="boxData16[2].imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{boxData16[2].title}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${boxData16[2].id}`}" target="_blank" v-if="boxData16[2].islink==0">
- <img class="" :src="boxData16[2].imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{boxData16[2].title}}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_2_big_img_ul" v-if="boxData16[3]">
- <NuxtLink :to="boxData16[3].linkurl" target="_blank" v-if="boxData16[3].islink==1">
- <div class="index_2_big_img_li cover100" v-if="boxData16[3]">
- <img class="" :src="boxData16[3].imgurl" title="" alt="">
- <div class="index_2_big_img_li_dot2 dot2">
- {{boxData16[3].title}}
- </div>
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{getDays(boxData16[3].created_at)}}
- </div>
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${boxData16[3].id}`}" target="_blank" v-if="boxData16[3].islink==0">
- <div class="index_2_big_img_li cover100" v-if="boxData16[3]">
- <img class="" :src="boxData16[3].imgurl" title="" alt="">
- <div class="index_2_big_img_li_dot2 dot2">
- {{boxData16[3].title}}
- </div>
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{getDays(boxData16[3].created_at)}}
- </div>
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_1_box">
- <div class="index_1_ul clearfix">
- <div class="index_1_li clearfix index_1_li_only" v-for="item in boxData16data2" >
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <div class="index_1_li_dot2 dot2">
- {{ item.title }}
- </div>
- <div class="index_1_li_time">
- {{ getDays(item.created_at) }}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
- <div class="index_1_li_dot2 dot2">
- {{ item.title }}
- </div>
- <div class="index_1_li_time">
- {{ getDays(item.created_at) }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_1_box_right">
- <div class="index_1_head_box clearfix index_1_head_box_line_none">
- <NuxtLink
- :to="{ path: `/newsList/${boxData16menu[0].category_id}`}"
- target="_blank" v-if="boxData16menu[0]" class="leftTitle">
- {{ boxData16menu[0].name }}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/newsList/${boxData16menu[0].category_id}`}"
- target="_blank" v-if="boxData16menu[0]">
- 查看更多
- </NuxtLink>
- </div>
- <div class="index_2_ul">
- <div class="index_2_li clearfix" v-for="item in boxData16mainData">
- <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
- <time class="index_2_li_time_box">
- <div class="index_2_li_time_head">
- {{ getDay(item.created_at) }}
- </div>
- <div class="index_2_li_time_foot">
- {{ geMonth(item.created_at) }}
- </div>
- </time>
- <div class="index_2_li_dot2 dot2">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- </div>
- </section>
- <section class="index_1 clearfix">
- <div class="index_1_box">
- <div class="index_1_head_box clearfix" v-if="pageData.length>=18">
- <div class="index_1_head index_1_head_only" v-if="pageData[17].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[17].cid}`}"
- target="_blank" v-if="pageData[17]&&pageData[17].children_count==0" class="active">
- {{pageData[17].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[17].cid}`}"
- target="_blank" v-else-if="pageData[17]&&pageData[17].children_count!=0" class="active">
- {{pageData[17].alias}}
- </NuxtLink>
- </div>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[17].cid}`}"
- target="_blank" v-if="pageData[17].cid">
- 查看更多
- </NuxtLink>
- </div>
- <div class="index_1_ul clearfix index_1_ul_mrbot" v-if="boxData18[0]">
- <div class="index_1_img_li clearfix">
- <NuxtLink :to="boxData18[0].linkurl" target="_blank" v-if="boxData18[0].islink==1">
- <img :src="boxData18[0].imgurl">
- <div class="index_1_li_dot3 dot3">
- {{boxData18[0].title}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${boxData18[0].id}`}" target="_blank" v-if="boxData18[0].islink==0">
- <img :src="boxData18[0].imgurl">
- <div class="index_1_li_dot3 dot3">
- {{boxData18[0].title}}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_1_ul clearfix" v-for="item in boxData18data2">
- <div class="index_1_li clearfix">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="boxData18[0].islink==1">
- <div class="index_1_li_dot2 dot2">
- {{item.title}}
- </div>
- <div class="index_1_li_time">
- {{getDays(item.created_at)}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="boxData18[0].islink==0">
- <div class="index_1_li_dot2 dot2">
- {{item.title}}
- </div>
- <div class="index_1_li_time">
- {{getDays(item.created_at)}}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_1_box">
- <div class="index_1_head_box clearfix" v-if="pageData.length>=19">
- <div class="index_1_head index_1_head_only" v-if="pageData[18].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[18].cid}`}"
- target="_blank" v-if="pageData[18]&&pageData[18].children_count==0" class="active">
- {{pageData[18].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[18].cid}`}"
- target="_blank" v-else-if="pageData[18]&&pageData[18].children_count!=0" class="active">
- {{pageData[18].alias}}
- </NuxtLink>
- </div>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[18].cid}`}"
- target="_blank" v-if="pageData[18].cid">
- 查看更多
- </NuxtLink>
- </div>
- <div class="index_1_ul clearfix" v-for="(item,index) in boxData19">
- <div class="index_1_li clearfix index_1_li_bold" v-if="index == 0">
- <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
- <div class="index_1_li_dot2 dot2">
- {{item.title}}
- </div>
- <div class="index_1_li_time">
- {{ getDays(item.created_at) }}
- </div>
- </NuxtLink>
- </div>
-
- <div class="index_1_li clearfix" v-else>
- <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank">
- <div class="index_1_li_dot2 dot2">
- {{item.title}}
- </div>
- <div class="index_1_li_time">
- {{ getDays(item.created_at) }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_1_box_right" v-if="pageData.length>=20">
- <div class="index_1_head_box clearfix">
- <div class="index_1_head index_1_head_only" v-if="pageData[19].cid">
- <NuxtLink
- :to="{ path: `/newsList/${pageData[19].cid}`}"
- target="_blank" v-if="pageData[19]&&pageData[19].children_count==0" class="active">
- {{pageData[19].alias}}
- </NuxtLink>
- <NuxtLink
- :to="{ path: `/primaryNavigation/${pageData[19].cid}`}"
- target="_blank" v-else-if="pageData[19]&&pageData[19].children_count!=0" class="active">
- {{pageData[19].alias}}
- </NuxtLink>
- </div>
- <NuxtLink
- :to="{ path: `/newsList/${pageData[19].cid}`}"
- target="_blank" v-if="pageData[19].cid">
- 查看更多
- </NuxtLink>
- </div>
- <div class="index_1_box_right_img_ul clearfix">
- <div class="index_1_box_right_img_li cover100" v-for="item in boxData20">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <img :src="item.imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{item.title}}
- </div>
- </NuxtLink>
- <NuxtLink :to="{ path: `/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
- <img :src="item.imgurl">
- <div class="index_1_box_right_img_li_dot1 dot1">
- {{item.title}}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_1_box_right_ul clearfix">
- <div class="index_1_box_right_li" v-for="item in boxData20data2">
- <NuxtLink :to="item.linkurl" target="_blank" v-if="item.islink==1">
- <div class="index_1_box_right_li_font">详</div>
- <div class="index_1_box_right_li_dot1 dot1">{{item.title}}</div>
- </NuxtLink>
- <NuxtLink :to="{path:`/newsDetail/${item.id}`}" target="_blank" v-if="item.islink==0">
- <div class="index_1_box_right_li_font">详</div>
- <div class="index_1_box_right_li_dot1 dot1">{{item.title}}</div>
- </NuxtLink>
- </div>
- </div>
- </div>
- </section>
- <!-- 页面底部 -->
- <HomeFoot></HomeFoot>
- </div>
- </template>
- <script setup>
- //1.加载页面必备组件 start---------------------------------------->
- import { ref, onMounted } from 'vue'
- import { ElRadio, ElRadioGroup, ElMessage } from 'element-plus'
- const nuxtApp = useNuxtApp();
- const axios = nuxtApp.$axios;
- //1.加载页面必备组件 end---------------------------------------->
- //2.交互方法 start---------------------------------------->
- //2.1 新闻图片切换
- const hoverStatus = ref(1)
- const qhPic = function (num) {
- console.log('qhPic', num)
- hoverStatus.value = num;
- }
- //2.2 投票
- const radio1 = ref('1');
- let index = ref(0)
- let isDisabled = ref(false)
- function handleVote(){
- isDisabled.value = true
- ElMessage.success('投票成功')
- }
- //2.3 格式化年月日
- function getYear(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${year}`;
- }
- function getDays(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${month}-${day}`;
- }
- function getMonthandDay(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${month}.${day}`;
- }
- function getDay(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${day}`;
- }
- function geMonth(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${year}-${month}`;
- }
- function getTime(time) {
- const date = new Date(time);
- const year = date.getFullYear();
- const month = date.getMonth() + 1;
- const day = date.getDate();
- return `${year}-${month}-${day}`;
- }
- //2.4 获得所有广告
- const adList = ref("");
- const getadList = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteAdvertisement`);
- adList.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //2.交互方法 end---------------------------------------->
- //3.页面基本信息 start---------------------------------------->
- //3.1 获取网站底部信息
- const info = ref("");
- const getInfo = async () => {
- const response = await axios.get(`/web/getWebsiteFootInfo`);
- info.value = response.data.website_head;
- }
- onMounted(() => {
- getInfo();
- })
- //3.2 模块基本信息
- //预创建首页模块 调用了20个导航 这里就创建20个模块
- const pageData = ref([
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""},
- // { cid: "", title: "", data: [] ,children_count:""}
- ]);
- //pageData[0] boxData1 boxData1data2
- const boxData1 = ref("");
- const boxData1data2 = ref("");
- const getWebsiteModelArticles = async () => {
- try {
- // const response = await axios.get(`/web/getWebsiteModelArticles?catid=${14}&level=${1}&pagesize=${10}`);
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${3}&pagesize=${2}`);
- boxData1.value = response.data;
- const response2 = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${1}&pagesize=${6}`);
- boxData1data2.value = response2.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[1] boxData2 boxData2
- const boxData2 = ref("");
- const getWebsiteModelArticles2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[1].cid}&level=${3}&pagesize=${7}`);
- console.log('mouseenter', response.data);
- boxData2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[2] boxData2 boxData3
- const boxData3 = ref("");
- const getWebsiteModelArticles3 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[2].cid}&level=${1}&pagesize=${5}`);
- boxData3.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[3] boxData4
- const boxData4 = ref("");
- const getWebsiteModelArticles4 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[3].cid}&level=${3}&pagesize=${4}`);
- console.log('boxData4', response.data);
- boxData4.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[4] boxData5
- const boxData5 = ref("");
- const getWebsiteModelArticles5 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
- boxData5.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData5data2 = ref("");
- const getWebsiteModelArticles5data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
- boxData5data2.value = response.data
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[5] boxData6
- const boxData6 = ref("");
- const getWebsiteModelArticles6 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[5].cid}&level=${3}&pagesize=${2}`);
- boxData6.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[6] boxData7
- const boxData7 = ref("");
- const getWebsiteModelArticles7 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[6].cid}&level=${1}&pagesize=${5}`);
- boxData7.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[7] boxData8
- const boxData8 = ref("");
- const getWebsiteModelArticles8 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${2}`);
- boxData8.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData88 = ref("");
- const getWebsiteModelArticles88 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${7}&placeid=${1}`);
- boxData88.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[8] boxData9
- const boxData9 = ref("");
- const getWebsiteModelArticles9 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${3}&pagesize=${2}`);
- boxData9.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData9data2 = ref("");
- const getWebsiteModelArticles9data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
- boxData9data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[9] boxData10
- const boxData10 = ref("");
- const getWebsiteModelArticles10 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[9].cid}&level=${1}&pagesize=${3}`);
- boxData10.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[10] boxData11
- const boxData11 = ref("");
- const getWebsiteModelArticles11 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${3}&pagesize=${2}`);
- boxData11.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData11data2 = ref("");
- const getWebsiteModelArticles11data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${1}&pagesize=${4}&placeid=${4}`);
- boxData11data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[11] boxData12
- const boxData12 = ref("");
- const getWebsiteModelArticles12 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[11].cid}&level=${1}&pagesize=${10}`);
- boxData12.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[12] boxData13
- const boxData13 = ref("");
- const getWebsiteModelArticles13 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${2}`);
- boxData13.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[13] boxData14
- //底部模块带有子导航需要使用的4个方法 start---------------------------------------->
- const boxData14 = ref("");
- const getWebsiteModelArticles14 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[13].cid}&level=${3}&pagesize=${2}`);
- boxData14.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData14data2 = ref("");
- const getWebsiteModelArticles14data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[13].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
- boxData14data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[13] boxData14menu
- const boxData14menu = ref("");
- const getWebsiteModelArticles14menu = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelCategory?pid=${pageData.value[13].cid}&placeid=${1}&num=${8}`);
- boxData14menu.value = response.data;
- getWebsiteModelArticles14mainData(response.data[0].category_id);//获得子导航下面的文章
- } catch (error) {
- console.error(error);
- }
- }
- const boxData14mainData = ref("");
- const getWebsiteModelArticles14mainData = async (cid) => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${cid}&level=${1}&pagesize=${4}`);
- boxData14mainData.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //底部模块带有子导航需要使用的4个方法 end---------------------------------------->
- //pageData[14] 14 没有内容 只有一个入口
- //pageData[15] boxData16
- //底部模块带有子导航需要使用的4个方法 start---------------------------------------->
- const boxData16 = ref("");
- const getWebsiteModelArticles16 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[15].cid}&level=${3}&pagesize=${4}`);
- boxData16.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData16data2 = ref("");
- const getWebsiteModelArticles16data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[15].cid}&level=${1}&pagesize=${6}&placeid=${3}`);
- boxData16data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData16menu = ref("");
- const getWebsiteModelArticles16menu = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelCategory?pid=${pageData.value[15].cid}&placeid=${1}&num=${100}`);
- boxData16menu.value = response.data;
- getWebsiteModelArticles16mainData(response.data[0].category_id);//获得子导航下面的文章
- } catch (error) {
- console.error(error);
- }
- }
- const boxData16mainData = ref("");
- const getWebsiteModelArticles16mainData = async (cid) => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${cid}&level=${1}&pagesize=${4}`);
- boxData16mainData.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //底部模块带有子导航需要使用的4个方法 end---------------------------------------->
- //pageData[16] 16 没有内容 只有一个入口
- //pageData[17] boxData18
- const boxData18 = ref("");
- const getWebsiteModelArticles18 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${1}`);
- boxData18.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData18data2 = ref("");
- const getWebsiteModelArticles18data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${1}&pagesize=${2}`);
- boxData18data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[18] boxData19
- const boxData19 = ref("");
- const getWebsiteModelArticles19 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${1}&pagesize=${3}`);
- boxData19.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //pageData[19] boxData20
- const boxData20 = ref("");
- const getWebsiteModelArticles20 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${2}`);
- boxData20.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- const boxData20data2 = ref("");
- const getWebsiteModelArticles20data2 = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${3}`);
- boxData20data2.value = response.data;
- } catch (error) {
- console.error(error);
- }
- }
- //获取导航一的栏目
- const navigation1 = ref("");
- const navigateList = async () => {
- try {
- const response = await axios.get(`/web/getWebsiteModelCategory?placeid=${1}&pid=${0}&num=${22}`);
- for (let index in response.data) {
- let data = {
- title:response.data[index].name,
- cid:response.data[index].category_id,
- children_count:response.data[index].children_count,
- alias:response.data[index].alias
- }
- if(response.data[index].is_url==1){
- }else{
- pageData.value.push(data)
- }
- //pageData.value.push(data)
- // pageData.value[index].title = response.data[index].name;
- // pageData.value[index].cid = response.data[index].category_id;
- // pageData.value[index].children_count = response.data[index].children_count;
- // pageData.value[index].is_url = response.data[index].is_url;
- }
- //获得所有广告
- getadList();
- //pageData[0] boxData1 boxData1data2 新农村
- getWebsiteModelArticles();
- //pageData[1] boxData2 贴身宝贝
- getWebsiteModelArticles2();
- //pageData[2] boxData3 政策法规
- getWebsiteModelArticles3();
- //pageData[3] boxData4 三农之窗
- getWebsiteModelArticles4();
- //pageData[4] boxData5 boxData5data2 区域经济
- getWebsiteModelArticles5();
- getWebsiteModelArticles5data2();
- //pageData[5] boxData6 三农投资
- getWebsiteModelArticles6();
- //pageData[6] boxData7 农贸资讯
- getWebsiteModelArticles7();
- //pageData[7] boxData8 boxData88 三农科教
- getWebsiteModelArticles8();
- getWebsiteModelArticles88();
- //pageData[8] boxData9 boxData9data2 文化生活
- getWebsiteModelArticles9();
- getWebsiteModelArticles9data2();
- //pageData[9] boxData10 三农探索
- getWebsiteModelArticles10();
- //pageData[10] boxData11 boxData11data2 三农专题
- getWebsiteModelArticles11();
- getWebsiteModelArticles11data2();
- //pageData[11] boxData12 写作大全
- getWebsiteModelArticles12();
- //pageData[12] boxData13 三农探索
- getWebsiteModelArticles13();
- //pageData[13] 三农人物
- //子导航
- getWebsiteModelArticles14();
- getWebsiteModelArticles14menu();
- getWebsiteModelArticles14data2();
- //pageData[14]
- getWebsiteModelArticles16();
- getWebsiteModelArticles16data2();
- getWebsiteModelArticles16menu();
- //pageData[17] boxData18 boxData18data2
- getWebsiteModelArticles18();
- getWebsiteModelArticles18data2();
- //pageData[18] boxData19
- getWebsiteModelArticles19();
- //pageData[19] boxData20
- getWebsiteModelArticles20();
- getWebsiteModelArticles20data2();
-
- console.log(777)
- console.log(pageData)
- } catch (error) {
- console.error(error);
- }
- }
- onMounted(() => {
- navigateList();
- })
- //3.页面基本信息 end---------------------------------------->
- //4.设置seo信息 start---------------------------------------->
- const seoData = ref({
- title: '默认标题',
- description: '默认描述',
- keywords: '默认关键词',
- image: 'https://example.com/default-image.jpg'
- });
- onMounted(async () => {
- try {
- const response = await axios.get('/web/getWebsiteFootInfo');
- const data = response.data.website_head; // 假设接口返回的数据在 data 字段中
- console.log(seoData.value.title)
- // 更新 seoData
- seoData.value = {
- title: data.title,
- description: data.description,
- keywords: data.keywords,
- image: data.image
- };
- console.log(seoData.value.title)
- } catch (error) {
- console.error('获取 SEO 数据失败:', error);
- // 设置默认值
- seoData.value = {
- title: '默认标题',
- description: '默认描述',
- keywords: '默认关键词',
- image: 'https://example.com/default-image.jpg'
- };
- }
- });
- // 监听 seoData 的变化,动态设置 SEO 字段
- watch(seoData, (newVal) => {
- if (newVal.title) { // 确保 title 有值
- useSeoMeta({
- title: newVal.title, // 使用动态值
- description: newVal.description,
- ogTitle: newVal.title,
- ogDescription: newVal.description,
- ogImage: newVal.image,
- twitterTitle: newVal.title,
- twitterDescription: newVal.description,
- twitterImage: newVal.image,
- keywords: newVal.keywords
- });
- }
- }, { immediate: true });
- //4.设置seo信息 end---------------------------------------->
- </script>
- <style lang="less" scoped>
- .farming {
- width: 100%;
- height: 680px;
- .farmerLeft,
- .farmerRight {
- float: left;
- }
- .farmerLeft {
- width: 720px;
- height: 616px;
- margin-right: 21px;
- .farmer {
- width: 720px;
- height: 330px;
- >h3 {
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #D9D9D9;
- height: 50px;
- line-height: 50px;
- display: flex;
- justify-content: space-between;
- a.active {
- font-size: 22px;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- color: #139602;
- font-weight: bold;
- box-sizing: border-box;
- width: auto;
- font-weight: bold;
- border-bottom: 3px solid #49A769;
- }
- .titleBoxTabs {
- span {
- a {
- font-size: 22px;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- color: #333;
- box-sizing: border-box;
- }
- margin-right: 20px;
- }
- .active {
- a {
- color: #49A769;
- border-bottom: 3px solid #49A769;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- box-sizing: border-box;
- margin-right: 40px;
- font-weight: bold;
- }
- }
- }
- span {
- color: #139602;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- box-sizing: border-box;
- }
- >a {
- width: 65px;
- height: 50px;
- line-height: 50px;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- font-style: normal;
- text-transform: none;
- display: inline-block;
- }
- }
- ul.mode1ul_style1 {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-top: 30px;
- li {
- position: relative;
- width: 349px;
- height: 236px;
- border-radius: 10px;
- box-sizing: border-box;
- overflow: hidden;
-
- img {
- width: 349px;
- height: 236px;
- }
- a {
- div {
- position: absolute;
- width: 320px;
- height: 48px;
- bottom: 35px;
- z-index: 10;
- left:15px;
- color: #fff;
- font-size: 16px;
- z-index: 99;
- span {
- display: inline-block;
- background: #9CD26B;
- font-size: 14px;
- color: #fff;
- padding: 2px 6px;
- border-radius: 4px;
- margin-right: 5px;
- }
- p {
- font-size: 16px;
- margin-top: 5px;
- height: 46px;
- }
- p:nth-child(1) {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- }
- }
- }
- }
- ul.mode1ul_style2 {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-wrap: wrap;
- padding-top: 20px;
- li {
- width: 349px;
- height: 85px;
- border-radius: 10px;
- border-bottom: 1px solid #E6E6E6;
- box-sizing: border-box;
- margin-bottom: 22px;
- }
- p {
- font-size: 16px;
- color: #333333;
- margin-bottom: 4px;
- }
- p.title {
- width: 349px;
- height: 46px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- p.title:hover {
- color: #49A769;
- }
- }
- }
- .farmerbottom {
- width: 720px;
- height: 280px;
- img {
- width: 498px;
- height: 280px;
- }
- >.leftList {
- width: 290px;
- height: 280px;
- background-color: #f6f6f6;
- padding: 11px 26px 6px 20px;
- box-sizing: border-box;
- >li {
- width: 296px;
- height: 32px;
- color: #666666;
- font-size: 14px;
- margin-bottom: 14px;
- h4 {
- width: 249px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-family: Source Han Sans, Source Han Sans;
- height: 27px;
- line-height: 21px;
- font-size: 18px;
- color: #333333;
- font-weight: 400;
- em {
- display: inline-block;
- width: 8px;
- height: 8px;
- background-color: #333333;
- border-radius: 8px;
- }
- }
- p {
- width: 249px;
- height: 48px;
- // line-height: 24px;
- padding-left: 14px;
- // color: #333333;
- }
- a {
- color: #333333;
- }
- a:hover {
- color: #139602;
- }
- }
- >li:hover,
- >li:hover>a>h4 {
- color: #088f04;
- }
- >li:hover>a>h4>em {
- background-color: #088f04;
- }
- }
- }
- }
- .farmerRight {
- width: 450px;
- height: 600px;
- .rich,
- .inquire {
- width: 100%;
- height: 309px;
- >h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #D9D9D9;
- height: 50px;
- line-height: 50px;
- display: flex;
- justify-content: space-between;
- .active {
- font-size: 22px;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- color: #49A769;
- border-bottom: 3px solid #49A769;
- box-sizing: border-box;
- width: auto;
- font-weight: bold;
- }
- span {
- font-size: 22px;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- color: #49A769;
- border-bottom: 3px solid #49A769;
- box-sizing: border-box;
- }
- a {
- width: 65px;
- height: 50px;
- line-height: 50px;
- font-size: 16px;
- color: #333333;
- font-weight: normal;
- }
- }
- .photo {
- height: 104px;
- margin-top: 23px;
- >.photoL:first-child {
- margin-right: 10px;
- }
- }
- .photoL {
- display: inline-block;
- width: 185px;
- height: 104px;
- border-radius: 6px;
- position: relative;
- a {
- width: 185px;
- height: 104px;
- }
- img {
- width: 185px;
- height: 104px;
- border-radius: 6px;
- }
- span {
- position: absolute;
- bottom: 0;
- left: 0;
- display: inline-block;
- padding-left: 7px;
- box-sizing: border-box;
- width: 185px;
- height: 22px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- background-color: rgba(0, 0, 0, 0.5);
- font-weight: 500px;
- font-size: 14px;
- color: #FFFFFF;
- line-height: 22px;
- }
- }
- .photoList {
- display: inline-block;
- width: 185px;
- height: 104px;
- position: relative;
- img {
- width: 185px;
- height: 104px;
- }
- span {
- position: absolute;
- bottom: 0;
- left: 0;
- display: inline-block;
- width: 185px;
- height: 30px;
- font-weight: 500;
- color: #FFFFFF;
- padding-top: 7px;
- padding-left: 6px;
- box-sizing: border-box;
- }
- }
- // 文字部分
- ul {
- height: 220px;
- margin-bottom: 10px;
- padding-top: 10px;
- li {
- height: 55px;
- padding: 20px 0 6px 0;
- border-bottom: 1px solid #E6E6E6;
- a {
- display: flex;
- color: #333333;
- font-size: 16px;
- .index {
- height: 48px;
- margin-right: 20px;
- }
- .title {
- height: 48px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- }
- a:hover{
- color: #139609;
- }
- }
- li:nth-child(1) .index,li:nth-child(2) .index,li:nth-child(3) .index {
- color: #49A769;
- font-weight: bold;
- }
- }
- }
- .richList {
- margin-top: 30px;
- .richListPic,.richListPictow{
- a {
- color: #333333;
- font-size: 16px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- img {
- width: 152px;
- height: 103px;
- margin-right: 10px;
- border-radius: 8px;
- }
- div {
- width: 285px;
- height: 103px;
- padding-top: 10px;
- box-sizing: border-box;
- border-bottom: 1px solid #D9D9D9;
- span {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- font-weight: bold;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- &:hover {
- color: #49A769;
- }
- }
- }
- }
- }
- .richListPic {
- margin-bottom: 20px;
- }
- .richListPictow {
- margin-top: 30px;
- margin-bottom: 20px;
- }
-
- .richListText {
- margin-bottom: 17px;
- a {
- font-size: 16px;
- color: #333333;
- border-bottom: 1px solid #E6E6E6;
- display: block;
- height: 60px;
- line-height: 60px;
- &:hover {
- color: #49A769;
- }
- span {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- display: block;
- }
- }
- }
- }
- .rich {
- .photoL {
- display: inline-block;
- width: 185px;
- height: 104px;
- position: relative;
- border-radius: 6px;
- img {
- width: 185px;
- height: 104px;
- border-radius: 6px;
- }
- span {
- position: absolute;
- bottom: 0;
- left: 0;
- display: inline-block;
- padding-left: 7px;
- box-sizing: border-box;
- width: 185px;
- height: 22px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- background-color: rgba(0, 0, 0, 0.5);
- font-weight: 500px;
- font-size: 14px;
- color: #FFFFFF;
- line-height: 22px;
- border-radius: 0px 0px 6px 6px;
- }
- }
- }
- .inquire {
- width: 380px;
- height: 280px;
- margin-top: 20px;
- background: #FFFFFF;
- box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
- border-radius: 6px 6px 6px 6px;
- padding: 4px 6px;
- box-sizing: border-box;
- p {
- width: 328px;
- height: 69px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 500;
- font-size: 18px;
- color: #333333;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- padding: 12px 20px 0 32px;
- }
- .radio {
- /deep/.el-radio {
- --el-radio-input-border-color-hover: #27881a;
- }
- /deep/.el-radio-group {
- align-items: center;
- display: inline-flex;
- flex-wrap: wrap;
- font-size: 0;
- padding-left: 35px;
- }
- /deep/.el-radio.el-radio--large {
- height: 29px;
- }
- /deep/.el-radio.el-radio--large .el-radio__label {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- }
- /deep/.el-radio.el-radio--large .el-radio__inner {
- height: 16px;
- width: 16px;
- }
- /deep/.el-radio__input.is-checked+.el-radio__label {
- color: #27881a;
- }
- /deep/.el-radio__input.is-checked .el-radio__inner {
- background: #33b023;
- border-color: #27881a;
- }
- }
- .btn {
- width: 188px;
- height: 32px;
- margin: 20px auto;
- button {
- width: 70px;
- height: 32px;
- line-height: 32px;
- border-radius: 6px;
- border: none;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 16px;
- color: #999999;
- cursor: pointer;
- }
- .voting {
- background-color: #33b023;
- color: #fff;
- margin-right: 44px;
- }
-
-
- }
- }
- }
- }
- .scienceEducation {
- height: 710px;
- .scienceLeft,
- .scienceRight {
- float: left;
- }
- .adBox1 {
- margin-bottom: 20px;
- }
- .scienceLeft {
- width: 720px;
- height:700px;
- margin-right: 21px;
- }
- .scienceRight {
- width: 450px;
- height: 600px;
- >h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #139602;
- height: 50px;
- line-height: 50px;
- display: flex;
- justify-content: space-between;
- span {
- color: #139602;
- border-bottom: 3px solid #139602;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- box-sizing: border-box;
- a {
- color: #139602;
- }
- }
- >a {
- width: 65px;
- height: 50px;
- line-height: 50px;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- font-style: normal;
- text-transform: none;
- display: inline-block;
- }
- }
- .banner {
- width: 380px;
- height: 214px;
- margin-top: 20px;
- }
- .banner_b_img {
- .photo {
- height: 104px;
- margin-top: 23px;
- >.photoL:first-child {
- margin-right: 10px;
- }
- }
- .photoL {
- display: inline-block;
- width: 185px;
- height: 104px;
- position: relative;
- border-radius: 2px;
- img {
- width: 185px;
- height: 104px;
- border-radius: 2px;
- }
- span {
- position: absolute;
- top: 0;
- left: 0;
- display: inline-block;
- padding-left: 7px;
- box-sizing: border-box;
- width: 185px;
- height: 22px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- background-color: rgba(0, 0, 0, 0.5);
- font-weight: 500px;
- font-size: 14px;
- color: #FFFFFF;
- line-height: 22px;
- border-radius: 2px 2px 0px 0px;
- }
- }
- // .photoL {
- // margin-right: 5px;
- // }
- // ul {
- // width: 380px;
- // height: 186px;
- // >li {
- // height: 22px;
- // padding-top: 16px;
- // >strong {
- // display: inline-block;
- // width: 24px;
- // height: 24px;
- // line-height: 24px;
- // background-color: #cecece;
- // padding-left: 6px;
- // box-sizing: border-box;
- // font-family: Source Han Sans, Source Han Sans;
- // font-weight: 500;
- // font-size: 18px;
- // color: #FFFFFF;
- // font-style: normal;
- // text-transform: none;
- // }
- // >em {
- // display: inline-block;
- // width: 6px;
- // height: 6px;
- // border-radius: 10px;
- // border: 2px solid #8CBA86;
- // vertical-align: 5px;
- // }
- // a,
- // span {
- // display: inline-block;
- // width: 350px;
- // height: 22px;
- // white-space: nowrap;
- // overflow: hidden;
- // text-overflow: ellipsis;
- // font-family: PingFang SC, PingFang SC;
- // font-weight: 500;
- // font-size: 18px;
- // color: #333333;
- // line-height: 21px;
- // text-align: left;
- // font-style: normal;
- // text-transform: none;
- // padding-left: 9px;
- // }
- // >a:hover,
- // >span:hover {
- // color: #139609;
- // }
- // }
- // }
- ul {
- padding: 30px 10px 0 10px;
- li {
- margin-bottom: 32px;
- a {
- display: flex;
- align-items: center;
- justify-content: space-between;
- width: 410px;
- height: 50px;
- color: #333333;
- font-size: 16px;
- &:hover {
- color: #49A769;
- }
- p {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- width: 337px;
- height: 46px;
- box-sizing: border-box;
- padding-left: 10px;
- border-left: 1px solid #D9D9D9;
- }
- }
- }
- }
- }
- }
- }
- .dynamic {
- height: 610px;
- .inner {
- height: 610px;
- }
- .innerLeft {
- .title {
- >h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #139602;
- >a {
- float: right;
- width: 56px;
- height: 20px;
- line-height: 24px;
- font-weight: 400;
- font-size: 14px;
- color: #999999;
- font-style: normal;
- text-transform: none;
- }
- }
- }
- .protectRights {
- float: left;
- margin-top: 26px;
- .photoList {
- float: left;
- width: 387px;
- margin-right: 40px;
- >.top {
- width: 387px;
- height: 320px;
- position: relative;
- img {
- width: 387px;
- height: 320px;
- border-radius: 6px;
- }
- span {
- position: absolute;
- bottom: 0;
- left: 0;
- display: inline-block;
- width: 387px;
- height: 68px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- padding: 33px 33px 8px 13px;
- box-sizing: border-box;
- font-family: PingFang SC, PingFang SC;
- font-weight: 500;
- font-size: 18px;
- color: #FFFFFF;
- line-height: 21px;
- }
- }
- >.bottom {
- width: 387px;
- height: 202px;
- margin-top: 15px;
- >li {
- width: 185px;
- height: 210px;
- float: left;
- margin-right: 17px;
- background-color: #f5f5f5;
- img {
- width: 185px;
- height: 139px;
- border-radius: 6px;
- }
- p {
- width: 175px;
- height: 63px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- font-family: PingFang SC, PingFang SC;
- font-weight: 500;
- font-size: 18px;
- color: #333333;
- line-height: 30px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- margin-left: 5px;
- }
- }
- >li:nth-child(2) {
- margin-right: 0;
- }
- }
- }
- .textList {
- float: left;
- width: 340px;
- height: 545px;
- >li {
- width: 340px;
- height: 27px;
- margin-bottom: 19px;
- h4 {
- width: 282px;
- height: 25px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 18px;
- color: #333333;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- em {
- display: inline-block;
- width: 8px;
- height: 8px;
- margin-right: 6px;
- border-radius: 4px;
- background-color: #333333;
- }
- }
- p {
- padding-left: 14px;
- width: 249px;
- height: 48px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #666666;
- line-height: 24px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- a {
- color: #333333;
- }
- a:hover {
- color: #139602;
- }
- >li:hover>a>h4,
- >li:hover>a>p {
- color: #139602;
- }
- >li:hover>a>h4>em {
- background-color: #139602;
- }
- }
- }
- }
- .innerRight {
- .title {
- >h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #139602;
- >a {
- float: right;
- width: 56px;
- height: 20px;
- line-height: 24px;
- font-weight: 400;
- font-size: 14px;
- color: #999999;
- font-style: normal;
- text-transform: none;
- }
- }
- }
- .dynamicList {
- width: 380px;
- margin-top: 26px;
- >li {
- width: 380px;
- height: 120px;
- margin-bottom: 21px;
- img {
- float: left;
- width: 160px;
- height: 120px;
- }
- .text {
- float: left;
- width: 220px;
- height: 120px;
- padding-left: 15px;
- box-sizing: border-box;
- font-size: 16px;
- >h5 {
- width: 199px;
- height: 52px;
- margin-bottom: 40px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- padding-top: 6px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 600;
- font-size: 18px;
- color: #333333;
- line-height: 26px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- >p {
- width: 198px;
- height: 70px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- margin-top: 10px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #666666;
- line-height: 24px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- }
- }
- li:hover {
- .text {
- box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
- background-color: #fff;
- h5,
- p {
- color: #139602;
- }
- }
- }
- }
- }
- }
- .policy {
- height: 678px;
- .inner {
- height: 678px;
- .innerLeft {
- width: 790px;
- height: 621px;
- .title {
- >h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #139602;
- >a {
- float: right;
- width: 56px;
- height: 20px;
- line-height: 24px;
- font-weight: 400;
- font-size: 14px;
- color: #999999;
- font-style: normal;
- text-transform: none;
- }
- }
- }
- .policyList {
- width: 790px;
- margin-top: 20px;
- >li {
- width: 790px;
- height: 121px;
- margin-bottom: 20px;
- img,
- .text {
- float: left;
- }
- img {
- width: 224px;
- height: 121px;
- }
- .text {
- width: 566px;
- height: 121px;
- padding-left: 20px;
- box-sizing: border-box;
- >h5 {
- padding: 13px 0 6px;
- width: 536px;
- height: 25px;
- margin-bottom: 45px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-family: PingFang SC, PingFang SC;
- font-weight: 600;
- font-size: 18px;
- color: #333333;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- p {
- width: 536px;
- height: 30px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #666666;
- line-height: 24px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- >span:first-child {
- margin-right: 20px;
- }
- }
- }
- }
- li:hover {
- .text {
- box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
- background-color: #fff;
- h5,
- p {
- color: #139602;
- }
- }
- }
- }
- }
- .innerRight {
- .title {
- h3 {
- height: 36px;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 28px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- border-bottom: 1px solid #139602;
- a {
- float: right;
- width: 56px;
- height: 20px;
- line-height: 24px;
- font-weight: 400;
- font-size: 14px;
- color: #999999;
- font-style: normal;
- text-transform: none;
- }
- }
- }
- .banner {
- width: 380px;
- height: 214px;
- margin-top: 20px;
- }
- .banner_b_img {
- .photo {
- height: 104px;
- margin-top: 23px;
- }
- .photoL {
- display: inline-block;
- width: 185px;
- height: 104px;
- position: relative;
- img {
- width: 185px;
- height: 104px;
- border-radius: 2px;
- }
- span {
- position: absolute;
- top: 0;
- left: 0;
- display: inline-block;
- padding-left: 7px;
- box-sizing: border-box;
- width: 185px;
- height: 22px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- background-color: rgba(0, 0, 0, 0.5);
- font-weight: 500px;
- font-size: 14px;
- color: #FFFFFF;
- line-height: 22px;
- }
- }
- .photoL {
- margin-right: 10px;
- }
- ul {
- width: 380px;
- height: 186px;
- >li {
- height: 22px;
- padding-top: 16px;
- >strong {
- display: inline-block;
- width: 24px;
- height: 24px;
- line-height: 24px;
- background-color: #cecece;
- padding-left: 6px;
- box-sizing: border-box;
- font-family: Source Han Sans, Source Han Sans;
- font-weight: 500;
- font-size: 18px;
- color: #FFFFFF;
- font-style: normal;
- text-transform: none;
- }
- >em {
- display: inline-block;
- width: 6px;
- height: 6px;
- border-radius: 10px;
- border: 2px solid #8CBA86;
- vertical-align: middle;
- }
- a,
- >span {
- display: inline-block;
- width: 350px;
- height: 22px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-family: PingFang SC, PingFang SC;
- font-weight: 500;
- font-size: 18px;
- color: #333333;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- padding-left: 9px;
- vertical-align: middle;
- }
- a:hover,
- >span:hover {
- color: #139609;
- }
- }
- }
- }
- }
- }
- }
- // 改版新增样式 start---------------------------------------->
- .titleBox {
- width: 1200px;
- margin: 0 auto;
- padding:60px 0;
- img {
- margin: 0 auto;
- display: block;
- }
- }
- //布局复制
- .layoutCopy {
- display: flex;
- justify-content: space-between;
- position: relative;
- width: 1200px;
- margin: 0 auto;
-
- .layoutCopyLeft {
- width: 720px;
- .layoutCopyLeftTop {
- width: 720px;
- display: flex;
- justify-content: space-between;
- .layoutCopyLeft1 {
- width: 350px;
- }
- .layoutCopyLeft2 {
- width: 350px;
- }
- .layoutCopyAll {
- width: 720px;
- }
- }
- .layoutCopyAll {
- width: 720px;
- }
- }
- .layoutCopyRight {
- width: 450px;
- }
- .layoutTitleBox {
- border-bottom: 1px solid #D9D9D9;
- margin-bottom: 40px;
- display: flex;
- justify-content: space-between;
- .layoutTitleBoxTabs {
- display: flex;
- justify-content: space-between;
- div.layoutTitle {
- margin-right: 40px;
- border-bottom: 0;
- color: #333;
- cursor: pointer;
- font-weight: bold;
- }
- div.active {
- border-bottom: 3px solid #49A769;
- color: #49A769;
- cursor: pointer;
- }
- }
- .layoutTitle {
- font-size: 22px;
- color:#49A769;
- border-bottom: 3px solid #49A769;
- height: 50px;
- line-height: 50px;
- font-weight: bold;
- a {
- font-size: 22px;
- color:#49A769;
- }
- }
- .layoutMore {
- color:#333333;
- font-size: 16px;
- height: 50px;
- line-height: 50px;
- a {
- color:#333333;
- font-size: 16px;
- }
- }
- }
- }
- //布局内容样式
- .layoutCopyData_style1 {
- margin-bottom: 30px;
- a:nth-child(1) {
- color: #333333;
- font-size: 16px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- img {
- width: 152px;
- height: 103px;
- margin-right: 10px;
- border-radius: 8px;
- }
- div {
- height:103px;
- padding-top: 10px;
- box-sizing: border-box;
- border-bottom: 1px solid #D9D9D9;
- span {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- font-weight: bold;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- }
- }
- a:nth-child(1):hover {
- color:#49A769
- }
- a:nth-child(2) {
- margin-top: 30px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- font-size: 16px;
- color: #333333;
- border-bottom: 1px solid #E6E6E6;
- .title {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- height: 45px;
- }
- p {
- margin-top: 10px;
- margin-bottom: 15px;
- }
- }
- a:hover .title{
- color:#49A769
- }
- }
- .layoutCopyData_style2 {
- a {
- margin-top: 43px;
- font-size: 16px;
- color: #333333;
- display: block;
- border-bottom: 1px solid #E6E6E6;
- .title {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- height: 45px;
- }
- p {
- margin-top: 10px;
- margin-bottom: 15px;
- }
- }
- a:nth-child(1) .title{
- font-weight: bold;
- }
- a:hover .title{
- color:#49A769
- }
- }
- .layoutCopyData_style3 {
- .style3link1 {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .time {
- width: 100px;
- height: 100px;
- background: #F4FFF7;
- p:nth-child(1) {
- font-size: 38px;
- color: #49A769;
- text-align: center;
- border-bottom: 1px solid #49A769;
- width: 75px;
- margin: 0 auto;
- margin-bottom: 5px;
- padding-bottom: 5px;
- padding-top: 10px;
- }
- p:nth-child(2) {
- font-size: 15px;
- color: #49A769;
- text-align: center;
- }
- }
- .title {
- width: 590px;
- font-size: 22px;
- color: #333333;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- &:hover {
- color: #49A769;
- }
- }
- .introduce {
- width: 590px;
- font-size: 16px;
- color: #999999;
- margin-top: 10px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- height: 40px;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- margin-bottom: 20px;
- }
- .style3link2 {
- display: flex;
- justify-content: space-between;
- height: 30px;
- line-height: 30px;
- color:#333333;
- div {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .title {
- width: 600px;
- // 修改这里,添加单行文本溢出省略样式
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- color:#333333;
- font-size: 16px;
- &:hover {
- color: #49A769;
- }
- }
- }
- b {
- width: 6px;
- height: 6px;
- background: #49A769;
- margin-right: 8px;
- }
- margin-bottom: 10px;
- }
- }
- .layoutCopyData_style4 {
- .layoutCopyData_pic {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- position: relative;
- a {
- width: 220px;
- height: 140px;
- display: block;
- position: relative;
- z-index: 99;
- img {
- width: 220px;
- height: 140px;
- border-radius: 8px;
- }
- p {
- position: absolute;
- bottom:10px;
- width: 200px;
- height: 18px;
- font-size: 14px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- color: #fff;
- left: 10px;
- }
- }
- }
- .layoutCopyData_text {
- a {
- border-bottom:1px soild #E6E6E6;
- color: #333333;
- font-size: 16px;
- display: flex;
- height: 41px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-bottom: 1px solid #E6E6E6;
- padding-bottom: 12px;
- margin-top: 10px;
- .title {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 431px;
- &:hover {
- color: #49A769;
- }
- }
- .more {
- width: 16px;
- height: 16px;
- background: #EDF7F0;
- color: #49A769;
- font-size: 12px;
- text-align: center;
- line-height: 15px;
- border-radius: 3px;
- }
- }
- }
- }
- // 改版新增样式 end---------------------------------------->
- .lastPart3 {
- width: 100%;
- height: 700px;
- .inner {
- margin-top: 20px;
- width: 1200px;
- height: 660px;
- background-color: #fff;
- .lastPartTitle {
- width: 100%;
- height: 50px;
- line-height: 50px;
- border-bottom: 1px solid #D9D9D9;
- .left {
- span {
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: bold;
- font-size: 22px;
- color: #333333;
- line-height: 19px;
- letter-spacing: 1px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- padding-bottom: 13px;
- a {
- color: #333;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- box-sizing: border-box;
- margin-right: 40px;
- }
- }
- .active {
- a {
- color: #49A769;
- border-bottom: 3px solid #49A769;
- height: 50px;
- line-height: 50px;
- display: inline-block;
- box-sizing: border-box;
- margin-right: 40px;
- font-weight: bold;
- }
- }
- }
- .right {
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- line-height: 19px;
- letter-spacing: 1px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- a {
- color: #333333;
- margin-right: 20px;
- line-height: 50px;
- padding-right: 20px;
- border-right: 1px solid #e5e5e5;
- }
- >a:last-child {
- border-right: none;
- }
- >a:hover {
- cursor: pointer;
- color: #49A769;
- }
-
- }
- }
- .lastPartContext {
- margin-top: 30px;
- .left {
- float: left;
- width: 720px;
- ul.mode1ul_style1 {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-top: 30px;
- li {
- position: relative;
- width: 349px;
- height: 236px;
- border-radius: 10px;
- box-sizing: border-box;
- overflow: hidden;
- img {
- width: 349px;
- height: 236px;
- }
- a {
- div {
- position: absolute;
- width: 320px;
- height: 42px;
- bottom: 48px;
- z-index: 10;
- left:15px;
- color: #fff;
- font-size: 16px;
- z-index: 99;
- span {
- display: inline-block;
- background: #9CD26B;
- font-size: 12px;
- color: #fff;
- padding: 2px 6px;
- border-radius: 4px;
- margin-right: 5px;
- }
- p {
- font-size: 16px;
- margin-top: 5px;
- height: 45px;
- margin-bottom: 10px;
- }
- p:nth-child(1) {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- }
- }
- }
- }
- ul.mode1ul_style2 {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-wrap: wrap;
- padding-top: 20px;
- li {
- width: 349px;
- height: 85px;
- border-radius: 10px;
- border-bottom: 1px solid #E6E6E6;
- box-sizing: border-box;
- margin-bottom: 20px;
- }
- p {
- font-size: 16px;
- color: #333333;
- margin-bottom: 4px;
- }
- p.title {
- width: 349px;
- height: 46px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- }
- p.title:hover {
- color: #49A769;
- }
- }
-
- }
- .right {
- float: right;
- width: 450px;
- height: 570px;
- .title {
- height: 56px;
- h3 {
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: bold;
- font-size: 22px;
- color: #333333;
- line-height: 19px;
- letter-spacing: 1px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- a {
- float: right;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- line-height: 19px;
- letter-spacing: 1px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- padding-top: 3px;
- }
- .leftTitle {
- color: #333333;
- font-size: 22px;
- font-weight: bold;
- float:left
- }
- }
- }
- .content {
- li {
- width: 450px;
- height: 102px;
- line-height: 50px;
- border-top: 3px solid #49A769;
- background-color: #fbfbfb;
- margin-bottom: 33px;
- a {
- display: block;
- width: 450px;
- height: 102px;
- span {
- float: left;
- padding: 28px 20px 14px 20px;
- height: 46px;
- width: 70px;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 15px;
- color: #49A769;
- line-height: 18px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- strong {
- display: inline-block;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 25px;
- color: #49A769;
- line-height: 29px;
- text-align: center;
- font-style: normal;
- text-transform: none;
- margin-bottom: 5px;
- }
- }
- .text {
- float: left;
- width: 300px;
- height: 30px;
- overflow: hidden;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- line-height: 22px;
- padding: 28px 0 14px 0;
- color: #333333;
- font-size: 16px;
- }
- }
- }
- >li:nth-child(2n) {
- border-top: 3px solid #DF9A2B;
- a {
- display: block;
- width: 450px;
- height: 102px;
- span {
- float: left;
- padding: 28px 20px 14px 20px;
- width: 70px;
- height: 46px;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 15px;
- color: #DF9A2B;
- line-height: 18px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- strong {
- display: inline-block;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 25px;
- color: #DF9A2B;
- line-height: 29px;
- text-align: center;
- font-style: normal;
- text-transform: none;
- margin-bottom: 5px;
- }
- }
- .text {
- float: left;
- width: 300px;
- line-height: 22px;
- height: 30px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- overflow: hidden;
- padding: 28px 0 14px 0;
- color: #333333;
- }
- }
- }
- >li:hover{
- cursor: pointer;
- .text{
- color: #49A769;
- }
- }
- >li:nth-child(2n):hover{
- cursor: pointer;
- .text{
- color: #49A769;
- }
- }
- }
- }
- }
- }
- }
- //曹国庆
- //public
- .clearfix{overflow:hidden;}
- .clearfix_2::after{content: '';display: block;height: 0;visibility: hidden;clear: both;}
- .hiddenColor{visibility:hidden;}
- .hand{cursor:pointer;}
- .aTag_parent{position:relative;}
- .aTag_parent>a,.aTag{display:block;width:100%;height:100%;position:absolute;z-index:99;border:0px;top:0px;left:0px;background:rgba(0,0,0,0);}
- .dot1{display:block;word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;}
- .dot2{overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
- .dot3{overflow:hidden;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;}
- .cover100 img{
- display:block;
- width:100%;
- height:100%;
- border-radius: 8px;
- }
- .back100{background-size:100% 100%;background-repeat:no-repeat;}
- .index_main{margin:0 auto;}
- .slow_6{-webkit-transition:all .6s;-moz-transition: all .6s;-ms-transition: all .6s;-o-transition: all .6s;transition: all .6s;}
- //index 1
- .index1 {width: 1200px;margin: 0 auto; margin-top: 20px;}
- .index_1_box{float:left;width:29%;margin-right:2%;}
- .index_1_head_box{
- width:100%;
- border-bottom:solid 1px #D9D9D9;
- position:relative;
- display: flex;
- justify-content: space-between;
- .leftTitle {
- color: #333333;
- font-size: 22px;
- font-weight: bold;
- }
- }
- .index_1_head_box a{
- height:54px;
- line-height:54px;
- color:#333;
- font-size:16px;
- }
- .index_1_head{float:left;height:54px;line-height:54px;color:#333;font-weight:bold;font-size:22px;border-bottom:solid 3px #fff;margin-right: 40px;}
- .index_1_head a{display:block;height:54px;line-height:54px;color:#333;font-weight:bold;font-size:22px;}
- .index_1_head_only{color:#49A769;border-bottom:solid 3px #49A769;}
- .index_1_head_only a{color:#49A769;}
- .index_1_head_box_line_none{border:none;}
- .index_1_head:nth-of-type(even){margin:0px 20px;}
- .index_1_img_li{margin-top:30px;position:relative;}
- .index_1_img_li::after{content: '';display: block;position:absolute;right:0px;bottom:0px;height:0px;border-bottom:solid 1px #D9D9D9;width:188px;}
- .index_1_img_li img{float:left;width:150px;height:85px;margin-right:13px;border-radius: 8px;}
- .index_1_li_dot3{height:60px;line-height:20px;color:#333;font-size:16px;font-weight:bold;}
- .index_1_li{width:100%;border-bottom:solid 1px #D9D9D9;margin-bottom: 30px;}
- .index_1_li_only {
- height: 79px !important;
- }
- .index_1_li_dot2{height:38px;line-height:19px;color:#000;font-size:16px;}
- .index_1_li_time{height:16px;line-height:14px;color:#999;font-size:14px}
- .index_1_li_bold {
- margin-top: 30px;
- }
- .index_1_li_bold .index_1_li_dot2{font-weight:bold;line-height:20px;height:40px;}
- .index_1_li_bold .index_1_li_time{display: block; }
- .index_1_li_dot2:hover{color:#49A769;}
- .index_1_li_dot3:hover{color:#49A769;}
- .index_1_li {
- a {
- display: block;
- padding-bottom: 10px;
- }
- }
- .index_1_box_right{width:450px;float:right;}
- .index_1_box_right_img_ul{margin-top:30px;}
- .index_1_box_right_img_li{width:49%;height:140px;border-radius:4px;position:relative;margin-bottom:5px;}
- .index_1_box_right_img_li:nth-of-type(odd){float:left;}
- .index_1_box_right_img_li:nth-of-type(even){float:right;}
- .index_1_box_right_img_li_dot1{
- position:absolute;
- width:100%;
- height:33px;
- line-height:33px;
- box-sizing:border-box;
- padding:0px 8px;
- left:0px;
- bottom:0px;
- font-size:16px;
- color:#fff;
- }
- .index_1_box_right_li{
- border-bottom:solid 1px #E6E6E6;
- width:98%;
- margin:0px auto;
- a {
- .index_1_box_right_li_dot1 {
- &:hover {
- color: #49A769;
- }
- }
- }
- }
- .index_1_box_right_li_dot1{height:55px;line-height:55px;color:#333;font-size:16px;}
- .index_1_box_right_li_font{float:right;padding:4px;background:#e8f5e6;color:#49A769;font-size:14px;margin-top:14px;border-radius:2px;margin-left:14px;}
- .index_2,.index_1,.index_3 {
- width: 1200px;margin: 0 auto;margin-top:15px;
- }
- .index_2_head_box{border-bottom:solid 1px #D9D9D9;margin-bottom:30px;}
- .index_1_head_box_2{float:left;width:auto;border:none;}
- .index_2_head_a_box{ margin-top:11px;float:right;}
- .index_2_head_a_box a{float:left;height:12px;line-height:12px;color:#333;font-size:16px;padding:0 20px;border-left:solid 1px #ccc;margin:10px 0px;}
- .index_2_head_a_box a:nth-of-type(1){border:none;}
- .index_2_big_img_li{
- height:236px;
- position:relative;
- margin:0px auto 20px;
- border-radius:6px;
- overflow: hidden;
- }
- .index_2_big_img_li::after{
- content: '';
- display: block;
- width:100%;
- height:68px;
- z-index:44;
- left:0px;
- bottom:0px;
- position:absolute;
- background:linear-gradient(to bottom,rgba(0,0,0,0),black);
- opacity:.5;
- }
- .index_2_big_img_li_dot2{position:absolute;width:100%;padding:0 8px;box-sizing:border-box;font-size:16px;color:#fff;height:38px;line-height:19px;left:0px;bottom:28px; z-index:111;}
- .index_2_big_img_li_dot2_tag{float:left;background:#49A769;color:#fff;font-size:14px;height:18px;line-height:18px;margin:1px 4px 0px 0px;padding:0px 3px;z-index:111;}
- .index_1_box_right_img_ul_2{margin:20px auto 20px;}
- .index_1_box_right_img_ul_2 .index_1_box_right_img_li{height:115px;margin-bottom:0px;}
- .index_2_li{
- border-bottom:solid 1px #E6E6E6;
- padding:29px 0px;
- width:100%;
- a {
- .index_2_li_dot2 {
- &:hover {
- color: #49A769;
- }
- }
- }
- }
- .index_2_li_time_box{
- float:left;
- background:#F4FFF7;
- width:100px;
- margin-right:30px;
- padding:10px 0px;
- }
- .index_2_li_time_head{margin:0px auto 0;border-bottom:solid 1px #49A769;width:75px;font-size:38px;color:#49A769;height:44px;line-height:44px;text-align:center;}
- .index_2_li_time_foot{text-align:center;font-size:15px;color:#49A769;width:100%;margin:0px auto 0px;}
- .index_2_li_dot2{height:42px;line-height:21px;color:#333;font-size:16px;margin-top:11px;}
- .index_3_box_left{float:left;width:720px;}
- .index_3_li{
- border-bottom:solid 1px #E6E6E6;
- padding:18px 0px;
- width:49%;
- font-size: 16px;
- p {
- color: #333333;
- padding-left: 20px;
- }
- a:hover {
- p.title {
- color: #33b023;
- }
- }
- .title {
- height: 42px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- text-overflow: ellipsis;
- word-break: break-all;
- b.lis {
- background: #E6E6E6;
- width: 6px;
- height: 6px;
- display: inline-block;
- margin-bottom: 2px;
- margin-right: 5px;
- }
- }
- }
- .index_3_li:nth-of-type(1),.index_3_li:nth-of-type(2){
- font-weight: bold;
- }
- .index_3_li:nth-of-type(odd){float:left;}
- .index_3_li:nth-of-type(even){float:right;}
- .index_3 .index_2_head_box{margin-bottom:0px;}
- .index_3_li_dot2{position:relative;width:100%;box-sizing:border-box;padding:0px 20px;height:42px;line-height:21px}
- .index_3_li_dot2::after{content: '';display: block;width:6px;height:6px;z-index:144;left:0px;top:10px;position:absolute;background:#E6E6E6;}
- .index_3_li_color{
- border-bottom:solid 1px #49A769 !important;
- b.active {
- background: #33b023 !important;
- width: 6px;
- height: 6px;
- display: inline-block;
- margin-bottom: 2px;
- margin-right: 5px;
- }
- }
- .index_3_li_color .index_3_li_dot2::after{background:#49A769;}
- .index_3_li_color .index_3_li_dot2{font-weight:bold;}
- .banner_1_vote{width:100%;position:relative;}
- .banner_1_vote img,.banner_1_vote a{width:100%;display:block;}
- .banner_1_vote_h4{font-size:32px;color:#fff;position:absolute;z-index:11;left:0px;top:0px;}
- .index_3_box_vote{
- width:100%;
- box-sizing:border-box;
- border:solid 1px #FBFBFB;
- background: #FBFBFB;
- .inquire {
- width: 450px;
- height: 394px;
- margin-top: 20px;
- border-radius: 6px 6px 6px 6px;
- padding: 4px 6px;
- box-sizing: border-box;
- p {
- width: 380px;
- height: 69px;
- font-family: PingFang SC, PingFang SC;
- font-weight: 500;
- font-size: 18px;
- color: #333333;
- line-height: 21px;
- text-align: left;
- font-style: normal;
- text-transform: none;
- padding: 12px 20px 0 32px;
- }
- .radio {
- /deep/.el-radio {
- --el-radio-input-border-color-hover: #27881a;
- }
- /deep/.el-radio-group {
- align-items: center;
- display: inline-flex;
- flex-wrap: wrap;
- font-size: 0;
- padding-left: 35px;
- }
- /deep/.el-radio.el-radio--large {
- width: 380px;
- height: 29px;
- margin-bottom: 15px;
- }
- /deep/.el-radio.el-radio--large .el-radio__label {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 16px;
- color: #333333;
- }
- /deep/.el-radio.el-radio--large .el-radio__inner {
- height: 16px;
- width: 16px;
- }
- /deep/.el-radio__input.is-checked+.el-radio__label {
- color: #27881a;
- }
- /deep/.el-radio__input.is-checked .el-radio__inner {
- background: #33b023;
- border-color: #27881a;
- }
- }
- .btn {
- width: 188px;
- height: 32px;
- margin: 20px auto;
- button {
- width: 70px;
- height: 32px;
- line-height: 32px;
- border-radius: 6px;
- border: none;
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 16px;
- color: #999999;
- }
- .voting {
- background-color: #49A769;
- color: #fff;
- margin-right: 44px;
- cursor: pointer;
- }
- .look {
- cursor: pointer;
- }
- }
- }
- }
- .index_1_li {
- height: 83px;
- .index_1_li_time {
- margin-top: 10px;
- }
- }
- .index_1_ul_mrbot {
- margin-bottom: 30px;
- }
- .imgbg::after{
- content: '';
- display: block;
- width:100%;
- height:68px;
- z-index:44;
- left:0px;
- bottom:0px;
- position:absolute;
- background:linear-gradient(to bottom,rgba(0,0,0,0),black);
- opacity:.5;
- }
- </style>
|