| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358 |
- <template>
- <div>
- <HomePageHead></HomePageHead>
- <HomePageNavigation></HomePageNavigation>
- <!-- 农资供销 nzgx -->
- <main class="index_main">
- <div class="index_head_out clearfix">
- <h3 class="index_head_h3" v-if="headline">
- <NuxtLink class="index_head_h3_a dot1" :href="getLinkPathDetail(headline)" :title="headline.title"
- :target="headline.islink == 1 ? '_blank' : '_self'">
- <div class="index_head_h3_tag">头条</div>
- {{ headline.title }}
- </NuxtLink>
- </h3>
- <div class="index_head_a_box clearfix" v-if="headlineData2">
- <NuxtLink :href="getLinkPathDetail(item)" class="index_head_a dot1" :title="item.title"
- v-for="item in headlineData2" :target="headline.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <section class="index_1 clearfix">
- <div class="index_1_box">
- <div class="roll_1_box">
- <HomeBigSwiper></HomeBigSwiper>
- </div>
- </div>
- <div class="index_2_box">
- <div class="index_1_ul clearfix">
- <NuxtLink :href="getLinkPathDetail(item)"
- class="index_1_ul_a dot1"
- :title="item.title"
- v-for="item in hotNewsList" :target="headline.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </section>
-
- <!-- phone -->
- <div class="phone_box_1 pc_none" v-if="pageData[0]">
- <div class="phone_box_1_ul">
- <div class="">
- <NuxtLink :href="getLinkPathDetail(item)"
- class="index_1_ul_a dot1"
- :title="item.title"
- v-for="item in hotNewsList" :target="headline.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <section class="index_2 clearfix phone_none">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn ">
- <span class="index_head_left_a index_head_left_a_only" title="企业推荐">企业推荐</span>
- </div>
- </div>
- </div>
- <!--企业推荐open-->
- <div class="index_2_color_box clearfix">
- <div class="index_ul_2 clearfix">
- <div class="index_ul_2_li"
- v-for="(item, index) in recommend_company"
- :key="index">
- <div class="index_ul_2_li_num">{{ index + 1 }}</div>
- <NuxtLink class="index_ul_2_li_a dot2"
- :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <!-- <div class="index_2_foot clearfix">
- <a class="index_2_foot_a_btn" href="" title="">开通企业网站</a>
- <a class="index_2_foot_a_btn" href="" title="">管理企业网站</a>
- </div> -->
- </div>
- <!--企业推荐end-->
- </section>
- <!-- 企业推荐 -->
- <div class="phone_box_2 pc_none" >
- <div class="phone_box_2_head">
- <NuxtLink >
- 企业推荐
- </NuxtLink>
- </div>
- <div class="phone_box_2_ul">
- <NuxtLink class=""
- v-for="(item, index) in recommend_company"
- :key="index"
- :href="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
-
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <!-- 广告1 -->
- <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
- <section class="index_3 clearfix phone_none">
- <div class="index_3_head_box clearfix">
- <span class="index_3_head_btn_a back100 index_3_head_btn_a_only" title="">产品分类</span>
- <div class="index_head_btn_right_box_2">
- <span class="index_head_btn_right_a_2" @click="goAddShop">发布信息</span>
- </div>
- </div>
- <div class=" clearfix">
- <div class=" clearfix">
- <!--产品分类open-->
- <div class="index_big_ul clearfix">
- <div class="index_big_li clearfix" v-for="(item, index) in navigation" :key="index">
- <a class="index_big_li_head_a" :href="getLinkPath(item)" :title="item.alias">{{
- item.alias }}</a>
- <div class="index_ul_3_in clearfix">
- <a class="index_ul_3_a"
- :href="`/${item.aLIas_pinyin}/${item1.aLIas_pinyin}/list-1.html`"
- :title="item1.alias" v-for="(item1, index1) in item.children.slice(0, 7)"
- :key="index1">
- <span>{{ item1.alias }}</span>
- </a>
- <a class="index_ul_3_a" :href="getLinkPath(item)" :title="item.alias"
- v-if="item.children.length > 7">
- <span>更多></span>
- </a>
- </div>
- </div>
- </div>
- <!--产品分类end-->
- </div>
- </div>
- </section>
-
- <section class="index_4 clearfix phone_none">
- <div class="index_1_box clearfix">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink
- :class="['index_head_left_a', hoverStatus == 1 ? 'index_head_left_a_only' : '']"
- v-if="pageData[0]" @mouseenter="qhPic(1)" :href="getLinkPath(pageData[0])"
- :title="pageData[0].alias">
- {{ pageData[0].alias }}
-
-
- </NuxtLink>
- </div>
- <!-- 书刊信息 -->
- <!-- <div class="index_head_left_a_btn">
- <NuxtLink
- :class="['index_head_left_a', hoverStatus == 2 ? 'index_head_left_a_only' : '']"
- v-if="pageData[1]"
- @mouseenter="qhPic(2)"
- :href="getLinkPath(pageData[1])"
- :title="pageData[1].alias"
- >
- {{pageData[1].alias}}
- </NuxtLink>
- </div> -->
- </div>
- <div class="index_head_box_right">
- <NuxtLink class="index_head_box_right_1_a" v-if="pageData[0]"
- :href="getLinkPath(pageData[0])" :title="pageData[0].alias">
- 更多 >
- </NuxtLink>
- </div>
- </div>
- <!--tabs1-->
- <div class="index_3_box_box clearfix" v-if="hoverStatus == 1">
- <div class="index_3_box clearfix" v-if="boxData1.length > 0">
- <div class="index_ul_4_out clearfix">
- <div class="index_ul_4_img_box clearfix">
- <NuxtLink v-for="(item, index) in boxData1"
- :key="index"
- :href="getLinkPathDetail(item)" :title="item.name"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_ul_4_img" :src="item.imgurl" :alt="item.name">
- </NuxtLink>
- </div>
- <div class="index_ul_4">
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(boxData1[0])"
- v-if="boxData1[0]" :title="boxData1[0].name"
- :target="boxData1[0].islink == 1 ? '_blank' : '_self'">
- {{ boxData1[0].name }}
- </NuxtLink>
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData1data3" :title="item.name"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_5 clearfix">
- <NuxtLink class="index_ul_5_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData1data4" :title="item.name"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_4_box clearfix" v-if="boxData1data2.length > 0">
- <div class="index_ul_4_out clearfix">
- <div class="index_ul_4_img_box clearfix">
- <NuxtLink v-for="item in boxData1data2" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_ul_4_img" :src="item.imgurl" :alt="item.name">
- </NuxtLink>
- </div>
- <div class="index_ul_4">
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(boxData1data2[0])"
- v-if="boxData1data2[0]" :title="boxData1data2[0].name"
- :target="boxData1data2[0].islink == 1 ? '_blank' : '_self'">
- {{ boxData1data2[0].name }}
- </NuxtLink>
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData1data5" :title="item.name"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_5 clearfix">
- <NuxtLink class="index_ul_5_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData1data6" :title="item.name"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!--tabs2-->
- <div class="clearfix" v-if="hoverStatus == 2">
- <div class="index_3_box clearfix">
- <div class="index_ul_4_out clearfix">
- <div class="index_ul_4_img_box clearfix">
- <NuxtLink v-for="item in boxData2" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_ul_4_img" :src="item.imgurl" alt="item.title">
- </NuxtLink>
- </div>
- <div class="index_ul_4">
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(boxData2[0])"
- v-if="boxData2[0]" :title="boxData2[0].title"
- :target="boxData2[0].islink == 1 ? '_blank' : '_self'">
- {{ boxData2[0].title }}
- </NuxtLink>
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData2data3" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_5 clearfix">
- <NuxtLink class="index_ul_5_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData2data4" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_4_box clearfix">
- <div class="index_ul_4_out clearfix">
- <div class="index_ul_4_img_box clearfix">
- <NuxtLink v-for="item in boxData2data2" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_ul_4_img" :src="item.imgurl" alt="item.title">
- </NuxtLink>
- </div>
- <div class="index_ul_4">
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(boxData2data2[0])"
- v-if="boxData2data2[0]" :title="boxData2data2[0].title"
- :target="boxData2data2[0].islink == 1 ? '_blank' : '_self'">
- {{ boxData2data2[0].title }}
- </NuxtLink>
- <NuxtLink class="index_ul_4_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData2data5" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_5 clearfix">
- <NuxtLink class="index_ul_5_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData2data6" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="index_2_box clearfix">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink
- class="index_head_left_a index_head_left_a_only"
- v-if="pageData[2]"
- :href="getLinkPath(pageData[2])" :title="pageData[2].alias">
- {{ pageData[2].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right_3">
- <NuxtLink class="index_head_box_right_3_a" v-for="item in boxData3menu"
- :to="{ path: `/${item.aLIas_pinyin}/list-1.html` }" :title="item.alias">
- {{ item.alias }}
- </NuxtLink>
- </div>
- </div>
- <!--综合资讯open-->
- <div class="index_ul_6 clearfix">
- <NuxtLink class="index_ul_6_a dot1" :href="getLinkPathDetail(item)" v-for="item in boxData3"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- <!--综合资讯end-->
- </div>
- </section>
- <!-- 生活用品 phone-->
- <div class="phone_box_3 pc_none" >
- <div class="phone_box_3_head">
- <NuxtLink
- class=" "
- v-if="pageData[0]"
- :href="getLinkPath(pageData[0])"
- >
- {{ pageData[0].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_3_img_ul">
- <div class="" v-for="(item, index) in boxData1">
- <NuxtLink
- v-if="boxData1[0]"
- :key="index"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class=""
- :src="item.imgurl"
- :alt="item.name">
- <span class=" ">{{ item.name }}</span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_3_ul">
- <div class="">
- <NuxtLink
- class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData1data3"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- <NuxtLink
- class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData1data4"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 动态资讯 phone-->
- <div class="phone_box_4 pc_none" >
- <div class="phone_box_4_head">
- <NuxtLink
- class=""
- v-if="pageData[2]"
- :href="getLinkPath(pageData[2])" >
- {{ pageData[2].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_4_ul">
- <div class="">
- <NuxtLink
- class=""
- :href="getLinkPathDetail(item)" v-for="item in boxData3"
- :target="item.islink == 1 ? '_blank' : '_self'">
-
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
-
- <section class="index_5 clearfix phone_none">
- <div class="index_1_box clearfix">
- <!-- 供求信息 商品类型 start---------------------->
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[3]"
- :href="getLinkPath(pageData[3])" :title="pageData[3].alias">
- {{ pageData[3].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right_3">
- <NuxtLink class="index_head_box_right_3_a" v-for="item in boxData4menu"
- :to="{ path: `/gongqiuxinxi/${item.aLIas_pinyin}/index.html` }" :title="item.alias">
- {{ item.alias }}
- </NuxtLink>
- </div>
- </div>
- <div class=" clearfix">
- <div class="index_3_box clearfix">
- <div class="index_img_ul_1_ul">
- <div class="index_img_ul_1_li">
- <NuxtLink class="index_img_ul_1_li_a" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'"
- v-for="item in boxData4">
- <img class="index_img_ul_1_li_img" :src="item.imgurl" :alt="item.name">
- <div class="index_img_ul_1_li_dot1 dot1">
- {{ item.name }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_4_box clearfix">
- <div class="index_name_ul">
- <div class="index_name_ul_li" v-for="item in boxData4data2">
- <NuxtLink class="index_name_ul_li_tag" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- 供应
- </NuxtLink>
- <NuxtLink class="index_name_ul_li_dot1 dot1" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- <div class="index_name_ul_li" v-for="item in boxData4data3">
- <NuxtLink class="index_name_ul_li_tag" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- 【供应】
- </NuxtLink>
- <NuxtLink class="index_name_ul_li_dot1 dot1" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_name_ul_2">
- <div class="index_name_ul_2_li" v-for="item in boxData4data4">
- <NuxtLink class="index_name_ul_2_li_tag" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- 求购
- </NuxtLink>
- <NuxtLink class="index_name_ul_2_li_dot1 dot1 dot1" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- <div class="index_name_ul_2_li" v-for="item in boxData4data5" :key="per_obj">
- <NuxtLink class="index_name_ul_2_li_tag" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- 【求购】
- </NuxtLink>
- <NuxtLink class="index_name_ul_2_li_dot1 dot1 dot1" :href="getLinkPathDetail(item)"
- :title="item.name" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <!-- 供求信息 商品类型 end---------------------->
- </div>
- <div class="index_2_box clearfix">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[4]"
- :href="getLinkPath(pageData[4])" :title="pageData[4].alias">
- {{ pageData[4].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right">
- <NuxtLink class="index_head_box_right_1_a" v-if="pageData[4]"
- :href="getLinkPath(pageData[4])" :title="pageData[4].alias">
- 更多 >
- </NuxtLink>
- </div>
- </div>
- <div class=" clearfix">
- <!--三农专题open-->
- <div class="index_5_box clearfix">
- <div class="index_img_ul_2">
- <div class="index_img_ul_2_li" v-for="item in boxData5" :key="per_obj">
- <NuxtLink class="index_img_ul_2_li" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_img_ul_2_li_dot1 dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_6_box clearfix">
- <div class="index_ul_8 clearfix">
- <div class="index_ul_8_li_box" v-for="item in boxData5data2" :key="per_obj">
- <div class="index_ul_8_li">
- <NuxtLink class="index_ul_8_a dot2" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <!--三农专题end-->
- </div>
- </div>
- </section>
-
- <!-- 供求信息 phone-->
- <div class="phone_box_5 pc_none" >
- <div class="phone_box_5_head">
- <NuxtLink
- class=""
- v-if="pageData[3]"
- :href="getLinkPath(pageData[3])">
- {{ pageData[3].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_5_img_ul">
- <div class="" >
- <NuxtLink
- class=""
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'"
- v-for="item in boxData4">
- <img class=""
- :src="item.imgurl"
- :alt="item.name"
- >
- <span class="">
- {{ item.name }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_5_ul">
- <div class="">
-
- <NuxtLink class=""
- v-for="item in boxData4data2"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.name }}
- </NuxtLink>
- </div>
- </div>
- </div>
-
- <!-- 供求信息 phone-->
- <div class="phone_box_6 pc_none" >
- <div class="phone_box_6_head">
- <NuxtLink class=""
- v-if="pageData[4]"
- :href="getLinkPath(pageData[4])" >
- {{ pageData[4].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_6_ul">
- <div class="">
- <NuxtLink class=""
- v-for="item in boxData5"
- :key="item"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- <NuxtLink class=""
- v-for="item in boxData5data2" :key="item"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 广告2 -->
- <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
- <section class="index_6 clearfix phone_none">
- <div class="index_1_box clearfix">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[5]"
- :href="getLinkPath(pageData[5])" :title="pageData[5].alias">
- {{ pageData[5].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right_4">
- <NuxtLink class="index_head_box_right_4_a" v-for="item in boxData6menu"
- :to="{ path: `/${item.aLIas_pinyin}/list-1.html` }" :title="item.alias">
- {{ item.alias }}
- </NuxtLink>
- </div>
- </div>
- <!--政策法规open-->
- <div class=" clearfix">
- <div class="index_3_box clearfix">
- <div class="index_img_ul_3">
- <div class="index_img_ul_3_li">
- <NuxtLink class="index_img_ul_3_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData6"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_img_ul_3_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_img_ul_3_li_dot2 dot2">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_img_ul_even_1 clearfix">
- <div class="index_img_ul_even_1_li" v-for="item in boxData6data2">
- <NuxtLink class="index_img_ul_even_1_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_img_ul_even_1_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_img_ul_even_1_li_dot2 dot2">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_4_box clearfix">
- <div class="index_ul_9 clearfix">
- <div class="index_ul_9_head_box clearfix">
- <NuxtLink :to="{ path: `/${boxData6childpinyin}/list-1.html` }"
- v-if="boxData6menu[0]" class="index_ul_9_head_a" :title="boxData6menu[0].alias">
- {{ boxData6menu[0].alias }}
- </NuxtLink>
- </div>
- <NuxtLink class="index_ul_9_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in boxData6mainData" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!--政策法规end-->
- </div>
- <div class="index_2_box clearfix">
- <div class="index_head_box clearfix">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[6]"
- :href="getLinkPath(pageData[6])" :title="pageData[6].alias">
- {{ pageData[6].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right">
- <NuxtLink class="index_head_box_right_1_a" v-if="pageData[6]"
- :href="getLinkPath(pageData[6])" :title="pageData[6].alias">
- 更多 >
- </NuxtLink>
- </div>
- </div>
- <!--会展服务open-->
- <div class=" clearfix">
- <div class="index_even_img_ul_1 clearfix">
- <div class="index_even_img_ul_1_li" v-for="item in boxData7" :key="per_obj">
- <NuxtLink class="index_even_img_ul_1_a" :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_even_img_ul_1_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_even_img_ul_1_dot1 dot1">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_10 clearfix">
- <NuxtLink class="index_ul_10_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData7data2" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <!--会展服务end-->
- </div>
- </section>
- <!-- 政策法规 phone-->
- <div class="phone_box_7 pc_none" >
- <div class="phone_box_7_head">
- <NuxtLink class=""
- v-if="pageData[5]"
- :href="getLinkPath(pageData[5])"
- :title="pageData[5].alias">
- {{ pageData[5].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_7_img_ul">
- <div class="" >
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData6"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class=""
- :src="item.imgurl"
- alt="item.title">
- <span class="">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_7_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData6mainData"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 会展服务 phone -->
- <div class="phone_box_8 pc_none" >
- <div class="phone_box_8_head">
- <NuxtLink class=""
- v-if="pageData[6]"
- :href="getLinkPath(pageData[6])" >
- {{ pageData[6].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_8_img_ul">
- <div class="" >
- <NuxtLink class=""
- v-for="item in boxData7" :key="item"
- :href="getLinkPathDetail(item)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class=" "
- :src="item.imgurl"
- alt="item.title" >
-
- <span class=" ">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_8_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData7data2"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <section class="index_7 clearfix phone_none">
- <div class="index_7_line_box clearfix">
- <div class="index_7_in_box">
- <div class="index_7_head">
- <NuxtLink class="index_7_head_a" v-if="pageData[7]" :href="getLinkPath(pageData[7])"
- :title="pageData[7].alias">
- {{ pageData[7].alias }}
- </NuxtLink>
- </div>
- <div class="index_ul_11 clearfix">
- <NuxtLink class="index_ul_11_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData8" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_7_in_box">
- <div class="index_7_head">
- <NuxtLink class="index_7_head_a" v-if="pageData[8]" :href="getLinkPath(pageData[8])"
- :title="pageData[8].alias">
- {{ pageData[8].alias }}
- </NuxtLink>
- </div>
- <!--策划服务open-->
- <div class="index_ul_11 clearfix">
- <NuxtLink class="index_ul_11_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData9" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- <!--策划服务end-->
- </div>
- <div class="index_7_in_box">
- <div class="index_7_head">
- <NuxtLink class="index_7_head_a" v-if="pageData[9]" :href="getLinkPath(pageData[9])"
- :title="pageData[9].alias">
- {{ pageData[9].alias }}
- </NuxtLink>
- </div>
- <!--网站动态-->
- <div class="index_ul_11 clearfix">
- <NuxtLink class="index_ul_11_a dot1" :href="getLinkPathDetail(item)"
- v-for="item in boxData10" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- <!--网站动态-->
- </div>
- </div>
- </section>
- <!-- 推广服务 phone-->
- <div class="phone_box_9 pc_none" >
- <div class="phone_box_9_head">
- <NuxtLink class=""
- v-if="pageData[7]"
- :href="getLinkPath(pageData[7])" >
- {{ pageData[7].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_9_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData8"
- :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 策划服务 phone-->
- <div class="phone_box_10 pc_none" >
- <div class="phone_box_10_head">
- <NuxtLink class=""
- v-if="pageData[8]"
- :href="getLinkPath(pageData[8])">
- {{ pageData[8].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_10_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData9"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
-
- <!-- 人才服务 phone-->
- <div class="phone_box_11 pc_none" >
- <div class="phone_box_11_head">
- <NuxtLink class=""
- v-if="pageData[9]"
- :href="getLinkPath(pageData[9])">
- {{ pageData[9].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_11_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData10"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <section class="index_8 clearfix phone_none">
- <div class="index_1_box clearfix">
- <div class="index_head_box clearfix index_head_box_2">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[10]"
- :href="getLinkPath(pageData[10])" :title="pageData[10].alias">
- {{ pageData[10].alias }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!--行业报告open-->
- <div class="index_big_2_ul clearfix">
- <div class="index_big_2_li clearfix">
- <div class="index_big_2_li_img_box">
- <div v-for="(item, index) in boxData11">
- <NuxtLink v-if="showImg == index" class="index_big_2_li_img_a"
- :href="getLinkPathDetail(item)" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_big_2_li_img" :src="item.imgurl" alt="item.title">
- </NuxtLink>
- </div>
- </div>
- <div class="index_big_2_li_in">
- <div class="index_ul_12">
- <NuxtLink class="index_ul_12_a dot1" v-for="(item, index) in boxData11"
- :href="getLinkPathDetail(item)" @mouseenter="changeImg(index)"
- :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="index_ul_13 clearfix">
- <NuxtLink class="index_ul_13_a dot1" v-for="(item, index) in boxData11data2"
- :href="getLinkPathDetail(item)" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- <!--行业报告end-->
- </div>
- <div class="index_2_box clearfix">
- <div class="index_head_box clearfix index_head_box_3">
- <div class="index_head_box_left">
- <div class="index_head_left_a_btn">
- <NuxtLink class="index_head_left_a index_head_left_a_only" v-if="pageData[11]"
- :href="getLinkPath(pageData[11])" :title="pageData[11].alias">
- {{ pageData[11].alias }}
- </NuxtLink>
- </div>
- </div>
- <div class="index_head_box_right">
- <NuxtLink class="index_head_box_right_1_a" v-if="pageData[11]"
- :href="getLinkPath(pageData[11])" :title="pageData[11].alias">
- 更多 >
- </NuxtLink>
- </div>
- </div>
- <!--专家服务open-->
- <div class="index_ul_6 clearfix">
- <div class="index_ul_6_li clearfix">
- <NuxtLink class="index_ul_6_li_a" v-for="(item, index) in boxData12"
- :href="getLinkPathDetail(item)" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <div class="index_ul_6_img_box">
- <img class="index_ul_6_img" :src="item.imgurl" alt="item.title">
- </div>
- <div class="index_ul_6_li_right">
- <!-- <div class="index_ul_6_li_head">郭建炜</div> -->
- <article class="index_ul_6_li_article dot3">
- {{ item.title }}
- </article>
- <span class="index_ul_6_li_article_detail">【详细】</span>
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_ul_13 clearfix">
- <NuxtLink class="index_ul_13_a dot1" v-for="item in boxData12data2"
- :href="getLinkPathDetail(item)" :title="item.title"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- <!--专家服务end-->
- </div>
- </section>
- <!-- 行业报告 phone-->
- <div class="phone_box_12 pc_none" >
- <div class="phone_box_12_head">
- <NuxtLink
- class=""
- v-if="pageData[10]"
- :href="getLinkPath(pageData[10])" >
- {{ pageData[10].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_12_img_ul">
- <div class="" >
- <NuxtLink
- v-for="(item, index) in boxData11.slice(0, 1)"
-
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="" :src="item.imgurl" alt="item.title">
-
- <span class=" "> {{item.title}} </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_12_ul">
- <div class="">
-
- <NuxtLink
- v-for="(item, index) in boxData11.slice(1)"
- v-if="showImg == index"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
-
- {{item.title}}
- </NuxtLink>
- <NuxtLink
- class=""
- v-for="(item, index) in boxData11data2"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- <!-- 广告3 -->
- <HomeAdvertising :imgurl="adImg4"></HomeAdvertising>
- </main>
- <!-- 页面底部 -->
- <HomeFoot></HomeFoot>
- </div>
- </template>
- <script setup>
- //0.加载页面必备组件 start---------------------------------------->
- import { ref, onMounted } from 'vue';
- import { ElMessage } from 'element-plus';
- import { getToken } from '@/store/useCookieStore'
- //获得全局url
- const { $BwebUrl, $CwebUrl } = useNuxtApp();
- //0.加载页面必备组件 end---------------------------------------->
- //1.获取头条新闻 start---------------------------------------->
- //1.1 头条
- const headline = ref({})
- const headlineData2 = ref([])
- async function getModelData1() {
- const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
- method: 'GET',
- query: {
- 'imgnum': 0,
- 'textnum': 4,
- 'level': 1,
- 'placeid': 0,
- 'id': ''
- },
- });
- if (mkdata.code == 200) {
- //填充大标题
- for (let index in mkdata.data.text) {
- if (index < 1) {
- headline.value = mkdata.data.text[index]
- } else {
- headlineData2.value.push(mkdata.data.text[index])
- }
- }
- } else {
- console.log("设置大标题错误", mkdata.message)
- }
- }
- getModelData1()
- //1.3 今日热点
- const hotNewsList = ref("")
- async function getModelData3() {
- const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
- method: 'GET',
- query: {
- 'imgnum': 0,
- 'textnum': 10,
- 'level': 6,
- 'placeid': 0,
- 'id': ''
- },
- });
- if (mkdata.code == 200) {
- hotNewsList.value = mkdata.data.text;
- } else {
- console.log("获取首页今日热点错误", mkdata.message)
- }
- }
- getModelData3()
- //1.获取头条新闻 end---------------------------------------->
- //2.选项卡 start---------------------------------------->
- const hoverStatus = ref(1)
- const qhPic = function (num) {
- hoverStatus.value = num;
- }
- const hoverStatusTwo = ref(1)
- const qhPicTwo = function (num) {
- hoverStatusTwo.value = num;
- }
- const hoverStatusThree = ref(1)
- const qhPicThree = function (num) {
- hoverStatusThree.value = num;
- }
- let goAddShop = () => {
- if (getToken()) {
- window.open($BwebUrl + '/#/addGood', '_blank');
- } else {
- ElMessage.error('请先登录!')
- }
- }
- //图片切换
- const showImg = ref(1)
- const changeImg = function (num) {
- showImg.value = num;
- }
- //2.选项卡 end---------------------------------------->
- //3.广告 start---------------------------------------->
- //获得所有广告
- let adImg1 = ref({})
- let adImg2 = ref({})
- let adImg3 = ref({})
- let adImg4 = ref({})
- onMounted(async () => {
- //从客户端获取行政职能部门 加快打开速度//从客户端获取行政职能部门 加快打开速度
- const { $webUrl, $CwebUrl } = useNuxtApp();
- //从客户端启动广告
- //广告1
- let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_index_0001`
- const responseAd1 = await fetch(url, {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const resultAd1 = await responseAd1.json();
- adImg1.value = resultAd1.data[0];
- //广告2
- let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_index_0002`
- const responseAd2 = await fetch(url2, {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const resultAd2 = await responseAd2.json();
- adImg2.value = resultAd2.data[0];
- //广告3
- let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_index_0003`
- const responseAd3 = await fetch(url3, {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const resultAd3 = await responseAd3.json();
- adImg3.value = resultAd3.data[0];
- //广告4
- let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_index_0004`
- const responseAd4 = await fetch(url4, {
- headers: {
- 'Content-Type': 'application/json',
- 'Userurl': $CwebUrl,
- 'Origin': $CwebUrl
- }
- });
- const resultAd4 = await responseAd4.json();
- adImg4.value = resultAd4.data[0];
- })
- //3.广告 end---------------------------------------->
- //4.页面数据 start---------------------------------------->
- //产品分类部分导航菜单
- const navigation = ref([]);
- async function getNavigation() {
- const mkdata = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'pid': 0,
- 'num': 10,
- 'placeid': 29,
- 'type': 1
- },
- });
- navigation.value = mkdata.data;
- // console.log("navigation11111111", navigation.value);
- }
- getNavigation();
- //4.1导航
- const pageData = ref([
- //示例 { cid: "", title: "", data: [] ,children_count:""},
- ]);
- //4.2 模块数据
- //模块1
- const boxData1 = ref([])
- const boxData1data2 = ref([])
- const boxData1data3 = ref([])
- const boxData1data4 = ref([])
- const boxData1data5 = ref([])
- const boxData1data6 = ref([])
- //模块2
- const boxData2 = ref([])
- const boxData2data2 = ref([])
- const boxData2data3 = ref([])
- const boxData2data4 = ref([])
- const boxData2data5 = ref([])
- const boxData2data6 = ref([])
- //模块3
- const boxData3 = ref([]);
- const boxData3menu = ref([]);
- //模块4
- const boxData4 = ref([]);
- const boxData4data2 = ref([]);
- const boxData4data3 = ref([]);
- const boxData4data4 = ref([]);
- const boxData4data5 = ref([]);
- const boxData4menu = ref([]);
- //模块5
- const boxData5 = ref([])
- const boxData5data2 = ref([])
- //模块6
- const boxData6 = ref([]);
- const boxData6data2 = ref([]);
- const boxData6menu = ref([]);
- const boxData6childpinyin = ref([]);
- const boxData6mainData = ref([]);
- //模块7
- const boxData7 = ref([]);
- const boxData7data2 = ref([]);
- //模块8
- const boxData8 = ref([]);
- //模块9
- const boxData9 = ref([]);
- //模块10
- const boxData10 = ref([]);
- //模块11
- const boxData11 = ref([]);
- const boxData11data2 = ref([]);
- //模块12
- const boxData12 = ref([]);
- const boxData12data2 = ref([]);
- //引入导航
- const { $pageNav } = useNuxtApp();
- //4.3获得导航数据
- try {
- const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'placeid': 1,
- 'pid': 0,
- 'num': 30
- },
- });
- if (navigateData.code == 200) {
- // 遍历可用的导航池放到页面中
- for (let index in navigateData.data) {
- let data = {
- title: navigateData.data[index].name,
- cid: navigateData.data[index].category_id,
- children_count: navigateData.data[index].children_count,
- alias: navigateData.data[index].alias,
- aLIas_pinyin: navigateData.data[index].aLIas_pinyin,
- chilid_id: navigateData.data[index].chilid_id
- };
- //渲染标题
- //1
- if (navigateData.data[index].category_id == $pageNav[0]) { pageData.value[0] = data }
- //2
- if (navigateData.data[index].category_id == $pageNav[1]) { pageData.value[1] = data }
- //3
- if (navigateData.data[index].category_id == $pageNav[2]) { pageData.value[2] = data }
- //4
- if (navigateData.data[index].category_id == $pageNav[3]) { pageData.value[3] = data }
- //5
- if (navigateData.data[index].category_id == $pageNav[4]) { pageData.value[4] = data }
- //6
- if (navigateData.data[index].category_id == $pageNav[5]) { pageData.value[5] = data }
- //7
- if (navigateData.data[index].category_id == $pageNav[6]) { pageData.value[6] = data }
- //8
- if (navigateData.data[index].category_id == $pageNav[7]) { pageData.value[7] = data }
- //9
- if (navigateData.data[index].category_id == $pageNav[8]) { pageData.value[8] = data }
- //10
- if (navigateData.data[index].category_id == $pageNav[9]) { pageData.value[9] = data }
- //11
- if (navigateData.data[index].category_id == $pageNav[10]) { pageData.value[10] = data }
- //12
- if (navigateData.data[index].category_id == $pageNav[11]) { pageData.value[11] = data }
- }
- } else {
- console.log("获取导航池出错!", navigateData.message)
- }
- } catch (error) {
- console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
- }
- let getJson = [
- { "parent": $pageNav[0] + ",2,10", "child": "" },//模块1
- { "parent": $pageNav[1] + ",2,10", "child": "" },//模块2
- { "parent": $pageNav[2] + ",0,7", "child": $pageNav[12] + ",0,1" },//模块3
- { "parent": $pageNav[3] + ",1,6", "child": $pageNav[14] + ",0,1" },//模块4 商城相关,暂时不用
- { "parent": $pageNav[4] + ",2,4", "child": "" },//模块5
- { "parent": $pageNav[5] + ",3,10", "child": $pageNav[13] + ",0,11" },//模块6
- { "parent": $pageNav[6] + ",2,7", "child": "" },//模块7
- { "parent": $pageNav[7] + ",0,3", "child": "" },//模块8
- { "parent": $pageNav[8] + ",0,3", "child": "" },//模块9
- { "parent": $pageNav[9] + ",0,3", "child": "" },//模块10
- { "parent": $pageNav[10] + ",4,3", "child": "" },//模块11
- { "parent": $pageNav[11] + ",1,3", "child": "" },//模块12
- ]
- let jsonString = JSON.stringify(getJson);
- async function getPageAllData() {
- const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
- method: 'GET',
- query: {
- 'id': jsonString
- },
- });
- console.log("mkdata", mkdata)
- if (mkdata.code == 200) {
- //模块1
- // for (let index in mkdata.data[0].imgnum) {
- // if (index < 1) {
- // boxData1.value.push(mkdata.data[0].imgnum[index])
- // } else {
- // boxData1data2.value.push(mkdata.data[0].imgnum[index])
- // }
- // }
- // for (let index in mkdata.data[0].textnum) {
- // if (index < 2) {
- // // boxData1data3.value.push(mkdata.data[0].textnum[index])
- // } else if (index >= 2 && index < 5) {
- // boxData1data4.value.push(mkdata.data[0].textnum[index])
- // } else if (index >= 5 && index <= 6) {
- // boxData1data5.value.push(mkdata.data[0].textnum[index])
- // } else if (index >= 7 && index <= 10) {
- // boxData1data6.value.push(mkdata.data[0].textnum[index])
- // }
- // }
- //模块2
- for (let index in mkdata.data[1].imgnum) {
- if (index < 1) {
- boxData2.value.push(mkdata.data[1].imgnum[index])
- } else {
- boxData2data2.value.push(mkdata.data[1].imgnum[index])
- }
- }
- for (let index in mkdata.data[1].textnum) {
- if (index < 2) {
- boxData2data3.value.push(mkdata.data[1].textnum[index])
- } else if (index >= 2 && index < 5) {
- boxData2data4.value.push(mkdata.data[1].textnum[index])
- } else if (index >= 5 && index <= 6) {
- boxData2data5.value.push(mkdata.data[1].textnum[index])
- } else if (index >= 7 && index <= 10) {
- boxData2data6.value.push(mkdata.data[1].textnum[index])
- }
- }
- //模块3
- boxData3.value = mkdata.data[2].textnum;
- for (let index in mkdata.data[2].child.all_childcat) {
- if (index < 3) {
- boxData3menu.value.push(mkdata.data[2].child.all_childcat[index])
- }
- }
- //模块4 商城相关
- for (let index in mkdata.data[3].child.all_childcat) {
- if (index < 3) {
- boxData4menu.value.push(mkdata.data[3].child.all_childcat[index])
- }
- }
- //模块5
- boxData5.value = mkdata.data[4].imgnum;
- boxData5data2.value = mkdata.data[4].textnum;
- //模块6
- for (let index in mkdata.data[5].imgnum) {
- if (index < 1) {
- boxData6.value.push(mkdata.data[5].imgnum[index])
- } else {
- boxData6data2.value.push(mkdata.data[5].imgnum[index])
- }
- }
- // console.log("boxData6data2", boxData6data2.value);
- boxData6childpinyin.value = mkdata.data[5].child.pinyin;
- boxData6mainData.value = mkdata.data[5].child.textnum;
- for (let index in mkdata.data[5].child.all_childcat) {
- if (index < 3) {
- boxData6menu.value.push(mkdata.data[5].child.all_childcat[index])
- }
- }
- //模块7
- boxData7.value = mkdata.data[6].imgnum;
- boxData7data2.value = mkdata.data[6].textnum;
- //模块8
- boxData8.value = mkdata.data[7].textnum;
- //模块9
- boxData9.value = mkdata.data[8].textnum;
- //模块10
- boxData10.value = mkdata.data[9].textnum;
- //模块11
- boxData11.value = mkdata.data[10].imgnum;
- boxData11data2.value = mkdata.data[10].textnum;
- //模块12
- boxData12.value = mkdata.data[11].imgnum;
- boxData12data2.value = mkdata.data[11].textnum;
- } else {
- ElMessage.error(mkdata.message)
- }
- }
- getPageAllData();
- // 获取首页商品模块数据
- const getShopData1 = async () => {
- const mkdata = await requestDataPromise('/web/getWebsiteshopList', {
- method: 'GET',
- query: {
- 'catid': $pageNav[0],
- 'page': 1,
- 'pageSize': 12,
- 'ismix': 1,
- },
- });
- // console.log("mkdata11111111", mkdata);
- if (mkdata.code == 200) {
- for (let index in mkdata.data.goods) {
- if (index < 1) {
- boxData1.value.push(mkdata.data.goods[index])
- } else if (index >= 1 && index < 3) {
- boxData1data3.value.push(mkdata.data.goods[index])
- } else if (index >= 3 && index < 6) {
- boxData1data4.value.push(mkdata.data.goods[index])
- } else if (index >= 6 && index < 7) {
- boxData1data2.value.push(mkdata.data.goods[index])
- } else if (index >= 7 && index < 9) {
- boxData1data5.value.push(mkdata.data.goods[index])
- } else if (index >= 9 && index < 12) {
- boxData1data6.value.push(mkdata.data.goods[index])
- }
- }
- }
- }
- getShopData1()
- // 获取首页商品模块数据
- const getShopData = async () => {
- const mkdata = await requestDataPromise('/web/getWebsiteshopList', {
- method: 'GET',
- query: {
- 'catid': $pageNav[3],
- 'page': 1,
- 'pageSize': 10,
- },
- });
- if (mkdata.code == 200) {
- for (let index in mkdata.data.type1) {
- if (index < 1) {
- boxData4.value.push(mkdata.data.type1[index])
- } else if (index >= 1 && index < 2) {
- boxData4data2.value.push(mkdata.data.type1[index])
- } else if (index >= 2 && index < 4) {
- boxData4data3.value.push(mkdata.data.type1[index])
- }
- }
- for (let index in mkdata.data.type2) {
- if (index < 1) {
- boxData4data4.value.push(mkdata.data.type2[index])
- } else if (index >= 1 && index < 3) {
- boxData4data5.value.push(mkdata.data.type2[index])
- }
- }
- }
- }
- getShopData()
- // 获取首页企业模块数据
- let getJson_company = [
- { 'level': "1,0,12" },
- ]
- let companyJson = JSON.stringify(getJson_company)
- //企业功能
- //农民工培训模块547
- const recommend_company = ref('') // 推荐岗位
- const getRecommendCompany = async () => {
- const getCompany = await requestDataPromise('/web/getWebsiteCompany', {
- method: 'GET',
- query: {
- 'id': companyJson
- },
- });
- if (getCompany.code == 200) {
- console.log('getCompany', getCompany);
- if (getCompany.data.length > 0) {
- recommend_company.value = getCompany.data[0].text_num;
- }
- }
- }
- getRecommendCompany()
- //4.页面数据 end---------------------------------------->
- //5.设置seo数据 start---------------------------------------->
- //获取seo数据
- const setData = await requestDataPromise('/web/getWebsiteFootInfo', {
- method: 'GET',
- query: {},
- });
- if (setData.code == 200) {
- let seoTitle = setData.data.website_head.title;
- let seoDescription = setData.data.website_head.description;
- let seoKeywords = setData.data.website_head.keywords;
- let seoSuffix = setData.data.website_head.suffix;
- let seoName = setData.data.website_head.website_name;
- useSeoMeta({
- title: seoTitle + "_" + seoSuffix,
- meta: [
- { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
- { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
- ]
- });
- } else {
- console.log("设置首页SEO出错!", setData.message)
- }
- //5.设置seo数据 start---------------------------------------->
- </script>
- <style lang="less" scoped>
- @import url('@/assets/css/index.less');
- </style>
- <style lang="less" scoped>
-
- @media screen and (min-width:801px){/*pc*/
-
-
- .pc_none{display:none;}
- }
- @media screen and (max-width:800px){/*ipad_phone*/
-
- .index_main{width:100%;margin-bottom:0px;}
-
- .index_head_out{
- background:rgba(0,0,0,0);
- border:0px;margin-top:18px;
- }
- .index_head_out .index_head_h3{
- display:block;width:92%;margin:0px auto 0px;text-align:center;height:33px;
- overflow:hidden;
- }
- .index_head_out .index_head_h3_a{
- display:inline-block;
- width:auto;max-width:100%;height:100%;line-height:33px;
- font-size:22px;margin-top:0px;padding:0px 0px 0px 50px;
- box-sizing:border-box;
- background-size:auto 100%;
- }
-
- .index_head_out .index_head_h3_tag{
- left:0px;top:8px;line-height:22px;height:22px;
- font-size:12px;padding:0px 8px;
- }
-
- .index_head_out .index_head_a_box{width:75%;margin:10px auto 0px;}
- .index_head_out .index_head_a_box .index_head_a{width:100%;display:none;font-size:16px;}
- .index_head_out .index_head_a_box .index_head_a:nth-of-type(1){display:block;}
- .index_1{margin-top:2px;}
- .index_1_box{width:100%;float:none;}
- .roll_1_box{width:92%;height:55vw;margin:0px auto 0px;overflow:hidden;}
-
- .phone_box_1{
- width:92%;margin:0px auto 0px;
-
- .phone_box_1_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_2{
- width:92%;margin:0px auto 0px;
- .phone_box_2_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
- .phone_box_2_ul{
- overflow:hidden;height:205px;margin-top:8px;
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_3{
- width:92%;margin:0px auto 0px;
- .phone_box_3_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_3_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_3_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_4{
- width:92%;margin:0px auto 0px;
- .phone_box_4_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_4_ul{
- >div{width:100%;height:100%;}
- overflow:hidden;height:205px;margin-top:8px;
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_5{
- width:92%;margin:0px auto 0px;
- .phone_box_5_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_5_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_5_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_6{
- width:92%;margin:0px auto 0px;
- .phone_box_6_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_6_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_6_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
-
- .phone_box_7{
- width:92%;margin:0px auto 0px;
- .phone_box_7_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_7_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_7_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
-
- .phone_box_8{
- width:92%;margin:0px auto 0px;
- .phone_box_8_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_8_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_8_ul{
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .phone_box_9{
- width:92%;margin:0px auto 0px;
- .phone_box_9_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_9_ul{
- overflow:hidden;height:123px;margin-top:8px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
- .phone_box_10{
- width:92%;margin:0px auto 0px;
- .phone_box_10_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_10_ul{
- overflow:hidden;height:123px;margin-top:8px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
- .phone_box_11{
- width:92%;margin:0px auto 0px;
- .phone_box_11_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
- .phone_box_11_ul{
- overflow:hidden;height:123px;margin-top:8px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+4){display:none;}
- }
- }
-
- .phone_box_12{
- width:92%;margin:0px auto 0px;
- .phone_box_12_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:15px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
- position:relative;padding-left:8px;
- }
- a::before{
- content: '';display: block;
- position:absolute;left:0px;top:15px;
- background:#a91b33;
- width:3px;height:20px;
- }
-
- }
-
- .phone_box_12_img_ul{
- height:55vw;overflow:hidden;margin-top:15px;
- div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
- a{display:block;width:100%;height:100%;}
- img{display:block;width:100%;height:100%;}
- span{
- position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
- left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
- background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- }
- >div:nth-of-type(n+2){display:none;}
- }
- .phone_box_12_ul{
-
- overflow:hidden;height:205px;margin-top:15px;
- >div{width:100%;height:100%;}
- a{
- width:100%!important;display:block;height:40px;line-height:40px;
- border-bottom:1px solid #E6E6E6;display:block;position:relative;
- word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
- font-size:16px;color:#333;text-indent:18px;
- }
- a::after{
- content: '';display: block;
- position:absolute;left:0px;top:18px;background:#E6E6E6;
- width:6px;height:6px;
- }
- a:nth-of-type(n+6){display:none;}
- }
- }
- .index_2_box{display:none;}
- .phone_none{display:none;}
- }
- </style>
|