| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047 |
- <template>
- <div>
- <HomePageHead></HomePageHead>
- <HomePageNavigation></HomePageNavigation>
- <HomeSecondaryHeading :titleData="pageData" :pinyinid="routeId"></HomeSecondaryHeading>
- <main class="index_main">
- <section class="channel_2 clearfix phone_none" v-if="pageData[0]">
- <div class="roll_1_box" v-if="pageData[0]">
- <HomeSmallSwiperTwo :data="pageData[0].data"></HomeSmallSwiperTwo>
- </div>
- <div class="index_2_right_box">
- <div class="index_2_head clearfix" v-if="pageData[0]">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[0])"
- v-if="pageData[0]" :title="pageData[0].alias">
- {{ pageData[0].alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more_2" :href="getLinkPath(pageData[0])" v-if="pageData[0]"
- :title="pageData[0].alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="index_2_ul index_2_ul_bold channel_2_ul" v-if="pageData[0]">
- <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[0].data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </section>
- <div class="pc_none">
- <div class="phone_box_1" v-if="pageData[0]">
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :href="getLinkPath(pageData[0])" >
- {{ pageData[0].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
- <div class="" >
-
- <NuxtLink
- v-for="item in pageData[0].data.slice(0,1)" :key="item"
- :to="`/${item.pinyin}/${item.id}.html`"
- :title="item.title">
- <img :src="item.imgurl" :alt="item.title">
- <span class="">
- {{ item.title }}
- </span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_1_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in pageData[0].data2.slice(0,3)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <section class="channel_3 clearfix phone_none"
- v-if="routeId == 547 || routeId == 539 || routeId == 692 || routeId == 762">
- <div class="channel_name_box clearfix">
- <NuxtLink class="channel_name" :href="getLinkPath1(boxData1data)" v-if="boxData1data"
- :title="boxData1data.alias">
- {{ boxData1data.alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more" :href="getLinkPath1(boxData1data)" v-if="boxData1data"
- :title="boxData1data.alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="channel_5_ul_box clearfix">
- <div class="channel_5_ul_box_in clearfix">
- <div class="channel_5_ul_left_img_box">
- <NuxtLink class="channel_5_ul_left_img_box_a" :href="getLinkPathDetail(boxData1[0])"
- :title="boxData1[0].title" :key="boxData1[0].id" v-if="boxData1.length > 0"
- :target="boxData1[0].islink == 1 ? '_blank' : '_self'">
- <img class="channel_5_ul_left_img" :src="boxData1[0].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData1[0].title }}</span>
- </NuxtLink>
- </div>
- <div class="channel_5_ul" v-if="boxData1data1">
- <NuxtLink class="channel_5_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in boxData1data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_5_ul_box_in clearfix">
- <NuxtLink class="channel_5_ul_left_img_box" :href="getLinkPathDetail(boxData1[1])"
- :title="boxData1[1].title" :key="boxData1[1].id" v-if="boxData1.length > 1"
- :target="boxData1[1].islink == 1 ? '_blank' : '_self'">
- <img class="channel_5_ul_left_img" :src="boxData1[1].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData1[1].title }}</span>
- </NuxtLink>
- <div class="channel_5_ul" v-if="boxData1data2">
- <NuxtLink class="channel_5_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in boxData1data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </section>
- <div class="pc_none">
- <div class="phone_box_2" v-if="boxData1data">
-
- <div class="phone_box_1_head">
- <NuxtLink class=" "
- :href="getLinkPath1(boxData1data)" >
- {{ boxData1data.alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
-
- <NuxtLink
- :key="boxData1[0].id"
- :href="getLinkPathDetail(boxData1[0])"
- :target="boxData1[0].islink == 1 ? '_blank' : '_self'" >
- <img :src="boxData1[0].imgurl" alt="">
- <span class="">{{ boxData1[0].title }}</span>
- </NuxtLink>
- </div>
- </div>
- <div class="phone_box_1_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData1data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
- <section class="channel_4 clearfix phone_none">
- <div class="index_9_box_1" v-if="pageData[1]">
- <div class="index_2_head clearfix" v-if="pageData[1]">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[1])"
- v-if="pageData[1]" :title="pageData[1].alias">
- {{ pageData[1].alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more_2" :href="getLinkPath(pageData[1])" v-if="pageData[1]"
- :title="pageData[1].alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="index_2_body clearfix">
- <div class="index_5_box_1 clearfix">
- <div class="index_5_big_img_ul">
- <div class="index_5_big_img_li" v-if="pageData[1].data">
- <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in pageData[1].data" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_big_img_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_5_big_img_li_dot2 dot2">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_5_img_ul clearfix" v-if="pageData[1].data2">
- <div class="index_5_img_li" v-for="item in pageData[1].data2">
- <NuxtLink class="index_5_img_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_img_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_5_img_li_dot2 dot2">
- {{ item.title }}
- </div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_5_box_2 clearfix">
- <div class="index_5_ul channel_foot_ul" v-if="pageData[1].data3">
- <NuxtLink class="index_5_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[1].data3" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="index_5_box_3 clearfix" v-if="pageData[2]">
- <div class="index_2_head clearfix" v-if="pageData[2]">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[2])"
- v-if="pageData[2]" :title="pageData[2].alias">
- {{ pageData[2].alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more_2" :href="getLinkPath(pageData[2])" v-if="pageData[2]"
- :title="pageData[2].alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="index_5_img_ul_2 clearfix channel_2_head_top" v-if="pageData[2].data">
- <div class="index_5_img_ul_2_li" v-for="item in pageData[2].data">
- <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)" :title="item.title"
- :key="item.id" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_5_img_ul_2_li_dot1 dot1">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_2_ul channel_ul_3 channel_foot_ul" v-if="pageData[2].data2">
- <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- :key="item.id" v-for="item in pageData[2].data2"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </section>
- <div class="pc_none">
- <div class="phone_box_3" v-if="pageData[1]">
-
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :href="getLinkPath(pageData[1])">
- {{ pageData[1].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
-
- <NuxtLink
- v-for="item in pageData[1].data"
- :key="item.id"
- :href="getLinkPathDetail(item)"
- :target="boxData1[0].islink == 1 ? '_blank' : '_self'" >
-
- <img :src="item.imgurl" alt="item.title">
- <span class="">{{ item.title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in pageData[1].data3" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
- </div>
- <div class="phone_box_4" v-if="pageData[2]">
-
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :href="getLinkPath(pageData[2])">
- {{ pageData[2].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
-
- <NuxtLink
- v-for="item in pageData[2].data.slice(0,1)"
- :key="item.id"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'" >
-
- <img :src="item.imgurl" alt="item.title">
- <span class="">{{ item.title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul">
- <div class="">
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in pageData[2].data2.slice(0, 3)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
- </div>
- </div>
- <section class="channel_5 clearfix phone_none">
- <div class="channel_1_box_1" v-if="pageData[3]">
- <div class="index_2_head clearfix">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[3])"
- v-if="pageData[3]" :title="pageData[3].alias">
- {{ pageData[3].alias }}
- </NuxtLink>
- </div>
- <div class="index_2_ul index_2_ul_bold channel_3_ul">
- <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[3].data" :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_1_box_2 clearfix" v-if="pageData[4]">
- <div class="index_2_head clearfix">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[4])"
- v-if="pageData[4]" :title="pageData[4].alias">
- {{ pageData[4].alias }}
- </NuxtLink>
- </div>
- <div class="index_9_big_img_ul">
- <div class="index_5_big_img_li" v-if="pageData[4].data">
- <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[4].data" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_9_big_img_li_img" :src="item.imgurl" alt="item.title">
- <div class="index_5_big_img_li_dot2 dot2">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- </div>
- </section>
- <div class="pc_none">
- <div class="phone_box_5" v-if="pageData[3]">
-
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :href="getLinkPath(pageData[3])">
- {{ pageData[3].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_ul">
- <div class="">
-
- <NuxtLink class=""
- v-for="item in pageData[3].data.slice(0, 3)"
- :key="item"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
- </div>
- <div class="phone_box_6" v-if="pageData[4]">
-
- <div class="phone_box_1_head">
-
- <NuxtLink class=""
- :href="getLinkPath(pageData[4])"
- >
- {{ pageData[4].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
-
- <NuxtLink
- v-for="item in pageData[4].data.slice(0,1)"
- :key="item"
- :href="getLinkPathDetail(item)"
- :target="item.islink == 1 ? '_blank' : '_self'">
-
- <img :src="item.imgurl" >
- <span class="">{{ item.title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- </div>
- </div>
-
- <section class="channel_6 clearfix phone_none"
- v-if="routeId == 547 || routeId == 539 || routeId == 692 || routeId == 762">
- <div class="channel_6_in">
- <div class="channel_name_box clearfix">
- <NuxtLink class="channel_name" :hef="getLinkPath1(boxData2data)" v-if="boxData2data"
- :title="boxData2data.alias">
- {{ boxData2data.alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more" :href="getLinkPath1(boxData2data)" v-if="boxData2data"
- :title="boxData2data.alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="channel_6_line clearfix">
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData2[0])"
- :title="boxData2[0].title" :key="boxData2[0].id" v-if="boxData2.length > 0"
- :target="boxData2[0].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData2[0].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData2[0].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData2data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData2[1])"
- :title="boxData2[1].title" :key="boxData2[1].id" v-if="boxData2.length > 1"
- :target="boxData2[1].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData2[1].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData2[1].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData2data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="channel_6_in">
- <div class="channel_name_box clearfix">
- <NuxtLink class="channel_name" :href="getLinkPath1(boxData3data)" v-if="boxData3data"
- :title="boxData3data.alias">
- {{ boxData3data.alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more" :href="getLinkPath1(boxData3data)" v-if="boxData3data"
- :title="boxData3data.alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="channel_6_line clearfix">
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData3[0])"
- :title="boxData3[0].title" :key="boxData3[0].id" v-if="boxData3.length > 0"
- :target="boxData3[0].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData3[0].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData3[0].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData3data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData3[1])"
- :title="boxData3[1].title" :key="boxData3[1].id" v-if="boxData3.length > 1"
- :target="boxData3[1].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData3[1].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData3[1].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData3data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <div class="pc_none">
- <div class="phone_box_7" v-if="boxData2data">
-
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :hef="getLinkPath1(boxData2data)">
- {{ boxData2data.alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul" >
-
- <div class="" >
-
- <NuxtLink
- :key="boxData2[0].id"
- v-if="boxData2.length > 0"
- :href="getLinkPathDetail(boxData2[0])"
- :target="boxData2[0].islink == 1 ? '_blank' : '_self'">
-
- <img :src="boxData2[0].imgurl">
- <span class="">{{ boxData2[0].title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul" >
- <div class="">
-
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData2data1"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
-
- </div>
- <div class="phone_box_8" v-if="boxData3data">
-
- <div class="phone_box_1_head">
- <NuxtLink class=""
- :hef="getLinkPath1(boxData3data)">
- {{ boxData3data.alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul" >
-
- <div class="" >
-
- <NuxtLink
- :key="boxData3[0].id"
- v-if="boxData3.length > 0"
- :href="getLinkPathDetail(boxData3[0])"
- :target="boxData3[0].islink == 1 ? '_blank' : '_self'">
-
- <img :src="boxData3[0].imgurl">
- <span class="">{{ boxData3[0].title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul" >
- <div class="">
-
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in boxData3data1"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
-
- </div>
- </div>
-
- <section class="channel_6 clearfix phone_none"
- v-if="routeId == 554 || routeId == 555 || routeId == 556 || routeId == 557 || routeId == 760 || routeId == 768 || routeId == 771 || routeId == 773">
- <div class="channel_6_in">
- <div class="channel_name_box clearfix">
- <NuxtLink class="channel_name" :href="getLinkPath1(boxData4data)" v-if="boxData4data"
- :title="boxData4data.alias">
- {{ boxData4data.alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more" :href="getLinkPath1(boxData4data)" v-if="boxData4data"
- :title="boxData4data.alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="channel_6_line clearfix">
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData4[0])"
- :title="boxData4[0].title" :key="boxData4[0].id" v-if="boxData4.length > 0"
- :target="boxData4[0].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData4[0].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData4[0].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData4data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData4[1])"
- :title="boxData4[1].title" :key="boxData4[1].id" v-if="boxData4.length > 1"
- :target="boxData4[1].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData4[1].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData4[1].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData4data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- <div class="channel_6_in">
- <div class="channel_name_box clearfix">
- <NuxtLink class="channel_name" :href="getLinkPath1(boxData5data)" v-if="boxData5data"
- :title="boxData5data.alias">
- {{ boxData5data.alias }}
- </NuxtLink>
- <!-- <NuxtLink class="channel_name_more" :href="getLinkPath1(boxData5data)" v-if="boxData5data"
- :title="boxData5data.alias">
- 栏目简介
- </NuxtLink> -->
- </div>
- <div class="channel_6_line clearfix">
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData5[0])"
- :title="boxData5[0].title" :key="boxData5[0].id" v-if="boxData5.length > 0"
- :target="boxData5[0].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData5[0].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData5[0].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData5data1" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div class="channel_6_ul_box_in clearfix">
- <NuxtLink class="channel_6_ul_left_img_box" :href="getLinkPathDetail(boxData5[1])"
- :title="boxData5[1].title" :key="boxData5[1].id" v-if="boxData5.length > 1"
- :target="boxData5[1].islink == 1 ? '_blank' : '_self'">
- <img class="channel_6_ul_left_img" :src="boxData5[1].imgurl" title="" alt="">
- <span class="channel_5_text">{{ boxData5[1].title }}</span>
- </NuxtLink>
- <div class="channel_6_ul">
- <NuxtLink class="channel_6_ul_a dot1" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in boxData5data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </div>
- </section>
-
- <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
- <section class="channel_4 clearfix phone_none">
- <div class="index_9_box_1" v-if="pageData[5]">
- <div class="index_2_head clearfix">
- <NuxtLink class="index_2_head_a index_2_head_a_only" :href="getLinkPath(pageData[5])"
- v-if="pageData[5]" :title="pageData[5].alias">
- {{ pageData[5].alias }}
- </NuxtLink>
- </div>
- <div class="index_5_box_1 clearfix">
- <div class="index_5_big_img_ul">
- <div class="index_5_big_img_li" v-if="pageData[5].data">
- <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" v-for="item in pageData[5].data" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_big_img_li_img" :src="item.imgurl" :alt="item.title">
- <div class="index_5_big_img_li_dot2 dot2">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_5_img_ul" v-if="pageData[5].data2">
- <div class="index_5_img_li" v-for="item in pageData[5].data2">
- <NuxtLink class="index_5_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
- :key="item.id" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_img_li_img" :src="item.imgurl" :alt="item.title">
- <div class="index_5_img_li_dot2 dot2">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_5_box_2 clearfix">
- <div class="index_5_ul" v-if="pageData[5].data3">
- <NuxtLink class="index_5_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- :key="item.id" v-for="(item, index) in pageData[5].data3"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <div class="index_5_img_li_dot2 dot2"> {{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- </div>
- <div class="index_5_box_3 clearfix" v-if="pageData[6]">
- <div class="index_2_head clearfix">
- <NuxtLink :class="['index_2_head_a', showTabs == 1 ? 'index_2_head_a_only' : '']"
- :href="getLinkPath(pageData[6])" v-if="pageData[6]" @mouseenter="qhtabs(1)"
- :title="pageData[6].alias">
- {{ pageData[6].alias }}
- </NuxtLink>
- <NuxtLink :class="['index_2_head_a', showTabs == 2 ? 'index_2_head_a_only' : '']"
- :href="getLinkPath(pageData[7])" v-if="pageData[7]" @mouseenter="qhtabs(2)"
- :title="pageData[7].alias">
- {{ pageData[7].alias }}
- </NuxtLink>
- </div>
- <div v-if="showTabs == 1">
- <div class="index_5_img_ul_2 clearfix channel_2_head_top" v-if="pageData[6].data">
- <div class="index_5_img_ul_2_li" v-for="item in pageData[6].data">
- <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" :key="item.id" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_img_ul_2_li_img" :src="item.imgurl" :alt="item.title">
- <div class="index_5_img_ul_2_li_dot1 dot1">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_2_ul channel_4_ul" v-if="pageData[6].data2">
- <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[6].data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- <div v-if="showTabs == 2">
- <div class="index_5_img_ul_2 clearfix channel_2_head_top" v-if="pageData[7].data">
- <div class="index_5_img_ul_2_li" v-for="item in pageData[7].data">
- <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)"
- :title="item.title" :key="item.id" :target="item.islink == 1 ? '_blank' : '_self'">
- <img class="index_5_img_ul_2_li_img" :src="item.imgurl" :alt="item.title">
- <div class="index_5_img_ul_2_li_dot1 dot1">{{ item.title }}</div>
- </NuxtLink>
- </div>
- </div>
- <div class="index_2_ul channel_4_ul" v-if="pageData[7].data">
- <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
- v-for="item in pageData[7].data2" :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
- </div>
- </div>
- </div>
- </section>
-
- <div class="pc_none">
-
- <div class="phone_box_9" v-if="pageData[5]">
-
- <div class="phone_box_1_head">
- <NuxtLink
- :href="getLinkPath(pageData[5])">
- {{ pageData[5].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul" >
-
- <div class="" >
-
- <NuxtLink class=""
- :href="getLinkPathDetail(item)"
- v-for="item in pageData[5].data.slice(0,1)" :key="item.id"
- :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_1_ul" >
- <div class="">
-
- <NuxtLink
- :href="getLinkPathDetail(item)"
- v-for="(item, index) in pageData[5].data3.slice(0,3)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
-
- </div>
-
- <div class="phone_box_10" v-if="pageData[6]">
-
- <div class="phone_box_1_head">
- <NuxtLink
- :href="getLinkPath(pageData[6])" >
- {{ pageData[6].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
- <NuxtLink
- v-for="item in pageData[6].data.slice(0)"
- :href="getLinkPathDetail(item)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img :src="item.imgurl" :alt="item.title">
- <span >{{ item.title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul" >
- <div class="">
- <NuxtLink
- v-for="item in pageData[6].data2.slice(0,3)"
- :href="getLinkPathDetail(item)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
-
- </div>
-
- <div class="phone_box_11" v-if="pageData[7]">
-
- <div class="phone_box_1_head">
- <NuxtLink
- :href="getLinkPath(pageData[7])" >
- {{ pageData[7].alias }}
- </NuxtLink>
- </div>
- <div class="phone_box_1_img_ul">
-
- <div class="" >
- <NuxtLink
- v-for="item in pageData[7].data.slice(0)"
- :href="getLinkPathDetail(item)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- <img :src="item.imgurl" :alt="item.title">
- <span >{{ item.title }}</span>
- </NuxtLink>
-
- </div>
- </div>
- <div class="phone_box_1_ul" >
- <div class="">
- <NuxtLink
- v-for="item in pageData[7].data2.slice(0,3)"
- :href="getLinkPathDetail(item)"
- :key="item.id"
- :target="item.islink == 1 ? '_blank' : '_self'">
- {{ item.title }}
- </NuxtLink>
-
- </div>
- </div>
-
- </div>
- </div>
- </main>
- <!-- 页脚部分 -->
- <HomeFoot1></HomeFoot1>
- </div>
- </template>
- <script setup>
- //0.加载页面依赖 start ---------------------------------------->
- import { ref, onMounted } from 'vue';
- import { ElMessage } from 'element-plus';
- //0.加载页面依赖 end ---------------------------------------->
- //1.获得路由id start ---------------------------------------->
- const targetSegment = getRoutePath(1);
- //1.1 获得当前的路由id
- let routeId;
- //通过导航路径反向查询导航id
- const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
- method: 'GET',
- query: {
- 'pinyin': targetSegment,
- },
- });
- if (getRouteId.code == 200) {
- routeId = getRouteId.data.category_id
- } else {
- console.log("获得路由id出错!", getRouteId.message)
- }
- //1.获得路由id end ---------------------------------------->
- //2.选项卡 start ---------------------------------------->
- let showTabs = ref(1)
- let qhtabs = function (number) {
- console.log(number)
- showTabs.value = number
- }
- //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=nmgw_category_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=nmgw_category_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=nmgw_category_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=nmgw_category_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 pageData = ref([
- //示例:
- // {
- // id: 1,
- // title: "", //该导航的标题
- // data: [], //数据1
- // data1: [], //数据2
- // data2: [], //数据3
- // data3: [], //数据4
- // data4: [], //数据5
- // category_id1: "", //子导航id1
- // category_id2: "",
- // category_id3: "",
- // category_id4: "",
- // title1: "", //子导航标题1
- // title2: "",
- // title3: "",
- // title4: "",
- // cid: "" //该导航的id
- // },
- ])
- //4.1 获取所有导航
- try {
- const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
- method: 'GET',
- query: {
- 'placeid': 1,
- 'pid': routeId,
- 'num': 20
- },
- });
- 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: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
- data: [],
- data1: [],
- data2: [],
- data3: [],
- data4: [],
- category_id1: "",
- category_id2: "",
- category_id3: "",
- category_id4: "",
- title1: "",
- title2: "",
- title3: "",
- title4: ""
- };
- if (navigateData.data[index].is_url == 1) {
- // 处理 URL 的逻辑
- } else {
- //每个页面最多8个模块
- pageData.value.push(data);
- }
- }
- //导航池加载完毕,开始申请模块数据
- let getJson = []
- for (let i = 0; i < pageData.value.length; i++) {
- if (i == 0) {
- getJson.push({ "id": pageData.value[i].cid + ",5,6" });
- } else if (i == 1) {
- getJson.push({ "id": pageData.value[i].cid + ",3,10" });
- } else if (i == 2) {
- getJson.push({ "id": pageData.value[i].cid + ",2,5" });
- } else if (i == 3) {
- getJson.push({ "id": pageData.value[i].cid + ",0,7" });
- } else if (i == 4) {
- getJson.push({ "id": pageData.value[i].cid + ",1,0" });
- } else if (i == 5) {
- getJson.push({ "id": pageData.value[i].cid + ",3,10" });
- } else if (i == 6) {
- getJson.push({ "id": pageData.value[i].cid + ",2,5" });
- } else if (i == 7) {
- getJson.push({ "id": pageData.value[i].cid + ",2,5" });
- }
- }
- let jsonString = JSON.stringify(getJson);
- console.log('jsonString', jsonString);
- getPageAllData(jsonString);
- } else {
- console.log("错误:渲染8个模块环节出错,请检查是否存在没有数据的模块!")
- }
- } catch (error) {
- console.log("错误:导航池渲染执行接口出错!请检查频道页渲染的模块数据是否完整!")
- }
- async function getPageAllData(jsonString) {
- const mkdata = await requestDataPromise('/web/getWebsiteCompany', {
- method: 'GET',
- query: {
- 'id': jsonString
- },
- });
- // console.log('mkdata111111111111', mkdata)
- if (mkdata.code == 200) {
- if (mkdata.data.length > 0) {
- //模块1 顶部大图和列表
- pageData.value[0].data = mkdata.data[0].img_num;
- pageData.value[0].data2 = mkdata.data[0].text_num;
- }
- if (mkdata.data.length > 1) {
- //模块2
- for (let index in mkdata.data[1].img_num) {
- if (index < 1) {
- pageData.value[1].data.push(mkdata.data[1].img_num[index]);
- } else {
- pageData.value[1].data2.push(mkdata.data[1].img_num[index]);
- }
- }
- pageData.value[1].data3 = mkdata.data[1].text_num;
- }
- if (mkdata.data.length > 2) {
- pageData.value[2].data = mkdata.data[2].img_num;
- pageData.value[2].data2 = mkdata.data[2].text_num;
- }
- if (mkdata.data.length > 3) {
- pageData.value[3].data = mkdata.data[3].text_num;
- }
- if (mkdata.data.length > 4) {
- pageData.value[4].data = mkdata.data[4].img_num;
- }
- if (mkdata.data.length > 5) {
- for (let index in mkdata.data[5].img_num) {
- if (index < 1) {
- pageData.value[5].data.push(mkdata.data[5].img_num[index]);
- } else {
- pageData.value[5].data2.push(mkdata.data[5].img_num[index]);
- }
- }
- pageData.value[5].data3 = mkdata.data[5].text_num;
- }
- if (mkdata.data.length > 6) {
- pageData.value[6].data = mkdata.data[6].img_num;
- pageData.value[6].data2 = mkdata.data[6].text_num;
- }
- if (mkdata.data.length > 7) {
- pageData.value[7].data = mkdata.data[7].img_num;
- pageData.value[7].data2 = mkdata.data[7].text_num;
- }
- } else {
- ElMessage.error(mkdata.message)
- }
- }
- // 需要固定的二级栏目
- // 模块1
- const boxData1data = ref([])
- const boxData1 = ref([])
- const boxData1data1 = ref([])
- const boxData1data2 = ref([])
- // 模块2
- const boxData2data = ref([])
- const boxData2 = ref([])
- const boxData2data1 = ref([])
- const boxData2data2 = ref([])
- // 模块3
- const boxData3data = ref([])
- const boxData3 = ref([])
- const boxData3data1 = ref([])
- const boxData3data2 = ref([])
- // 模块4
- const boxData4data = ref([])
- const boxData4 = ref([])
- const boxData4data1 = ref([])
- const boxData4data2 = ref([])
- // 模块5
- const boxData5data = ref([])
- const boxData5 = ref([])
- const boxData5data1 = ref([])
- const boxData5data2 = ref([])
- const { $pageNav } = useNuxtApp();
- // 需要固定的二级栏目
- let getJson1 = [
- { "parent": $pageNav[16] + ",0,0", "child": $pageNav[19] + ",2,8" },//模块1 创业项目
- { "parent": $pageNav[16] + ",0,0", "child": $pageNav[20] + ",2,8" },//模块2 创业故事
- { "parent": $pageNav[16] + ",0,0", "child": $pageNav[21] + ",2,8" },//模块3 创业服务
- // { "parent": $pageNav[17] + ",0,0", "child": $pageNav[22] + ",2,8" },//模块4 组织机构
- // { "parent": $pageNav[18] + ",0,0", "child": $pageNav[23] + ",2,8" },//模块5 招贤纳士
- ]
- let jsonString1 = JSON.stringify(getJson1);
- async function getPagePartData(jsonString1) {
- const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
- method: 'GET',
- query: {
- 'id': jsonString1
- },
- });
- if (mkdata.code == 200) {
- if (mkdata.data.length > 0) {
- boxData1data.value = mkdata.data[0].child;
- boxData1.value = mkdata.data[0].child.imgnum;
- for (let index in mkdata.data[0].child.textnum) {
- if (index < 4) {
- boxData1data1.value.push(mkdata.data[0].child.textnum[index]);
- } else if (index < 8) {
- boxData1data2.value.push(mkdata.data[0].child.textnum[index]);
- }
- }
- }
- if (mkdata.data.length > 1) {
- boxData2data.value = mkdata.data[1].child;
- boxData2.value = mkdata.data[1].child.imgnum;
- for (let index in mkdata.data[1].child.textnum) {
- if (index < 4) {
- boxData2data1.value.push(mkdata.data[1].child.textnum[index]);
- } else if (index < 8) {
- boxData2data2.value.push(mkdata.data[1].child.textnum[index]);
- }
- }
- }
- if (mkdata.data.length > 2) {
- boxData3data.value = mkdata.data[2].child;
- boxData3.value = mkdata.data[2].child.imgnum;
- for (let index in mkdata.data[2].child.textnum) {
- if (index < 4) {
- boxData3data1.value.push(mkdata.data[2].child.textnum[index]);
- } else if (index < 8) {
- boxData3data2.value.push(mkdata.data[2].child.textnum[index]);
- }
- }
- }
- if (mkdata.data.length > 3) {
- boxData4data.value = mkdata.data[3].child;
- boxData4.value = mkdata.data[3].child.imgnum;
- for (let index in mkdata.data[3].child.textnum) {
- if (index < 4) {
- boxData4data1.value.push(mkdata.data[3].child.textnum[index]);
- } else if (index < 8) {
- boxData4data2.value.push(mkdata.data[3].child.textnum[index]);
- }
- }
- }
- if (mkdata.data.length > 4) {
- boxData5data.value = mkdata.data[4].child;
- boxData5.value = mkdata.data[4].child.imgnum;
- for (let index in mkdata.data[4].child.textnum) {
- if (index < 4) {
- boxData5data1.value.push(mkdata.data[4].child.textnum[index]);
- } else if (index < 8) {
- boxData5data2.value.push(mkdata.data[4].child.textnum[index]);
- }
- }
- }
- } else {
- ElMessage.error(mkdata.message)
- }
- }
- getPagePartData(jsonString1);
- //4.页面数据 end ---------------------------------------->
- //5.设置seo信息 start---------------------------------------->
- const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
- method: 'GET',
- query: {
- 'catid': routeId
- },
- });
- if (setData.code == 200) {
- let seoTitle = setData.data.seo_title;
- let seoDescription = setData.data.seo_description;
- let seoKeywords = setData.data.seo_keywords;
- let seoSuffix = setData.data.suffix;
- let seoName = setData.data.website_name;
- useSeoMeta({
- title: seoTitle + "_" + seoName + "_" + 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信息 end---------------------------------------->
- </script>
- <style lang="less" scoped>
- @import '@/assets/css/class.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:29px;}
- .phone_box_1{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_head{
- height:50px;line-height:50px;
- background:#fff;border-bottom:1px solid #E6E6E6;
- margin-top:0px;width:100%;
-
- a{
- float:left;height:50px;line-height:50px;margin:0;position:relative;
- color:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_2{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_3{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_4{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_5{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:8px auto 0px;
- >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_6{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:8px auto 0px;
- >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_7{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_8{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_9{
-
- width:92%;margin:0px auto 0px;
- .phone_box_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_1_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:#489d97;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:18px;
- background: linear-gradient(to top, #0998A9, #6ADDD6);
- width:3px;height:15px;
- }
-
- }
-
- .phone_box_1_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>a:nth-of-type(n+2){display:none;}
- }
-
- .phone_box_1_ul{
- overflow:hidden;height:123px;margin:15px auto 0px;
- >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_none{display:none;}
- }
- </style>
|