index.vue 84 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140
  1. <template>
  2. <div>
  3. <HomePageHead></HomePageHead>
  4. <HomePageNavigation></HomePageNavigation>
  5. <main class="index_main">
  6. <section class="index_1 clearfix">
  7. <h3 class="index_1_h3">
  8. <NuxtLink class="index_1_h3_a" :href="getLinkPathDetail(headline)" :title="headline.title"
  9. :target="headline.islink == 1 ? '_blank' : '_self'">
  10. {{ headline.title }}
  11. </NuxtLink>
  12. </h3>
  13. <div class="index_1_h3_title_box">
  14. <NuxtLink class="index_1_h3_title_box_a" :href="getLinkPathDetail(headline)" :title="headline.title"
  15. :target="headline.islink == 1 ? '_blank' : '_self'" v-for="item in headlineData2">
  16. {{ item.title }}
  17. </NuxtLink>
  18. </div>
  19. </section>
  20. <section class="index_2 clearfix">
  21. <div class="roll_1_box">
  22. <!-- 农 民 工 轮播图-->
  23. <HomeSmallSwiperNmg></HomeSmallSwiperNmg>
  24. </div>
  25. <!-- open 农民工人才库-->
  26. <div class="index_2_right_box phone_none">
  27. <div class="index_2_head clearfix">
  28. <NuxtLink class="index_2_head_a" :class="{ 'index_2_head_a_only': hoverStatus === 1 }"
  29. @mouseenter="qhPic(1)" :href="getLinkPath(pageData[0])" :title="pageData[0].alias">
  30. {{ pageData[0].alias }}
  31. </NuxtLink>
  32. <NuxtLink class="index_2_head_a" :class="{ 'index_2_head_a_only': hoverStatus === 2 }"
  33. @mouseenter="qhPic(2)" :href="getLinkPath(pageData[1])" :title="pageData[1].alias">
  34. {{ pageData[1].alias }}
  35. </NuxtLink>
  36. <NuxtLink class="index_2_head_a" :class="{ 'index_2_head_a_only': hoverStatus === 3 }"
  37. @mouseenter="qhPic(3)" :href="getLinkPath(pageData[2])" :title="pageData[2].alias">
  38. {{ pageData[2].alias }}
  39. </NuxtLink>
  40. </div>
  41. <div class="index_2_ul index_2_ul_top index_2_ul_bold" v-if="hoverStatus == 1">
  42. <NuxtLink class="index_2_ul_a dot1" v-for="item in boxData1" :href="getLinkPathDetail(item)"
  43. :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  44. {{ item.title }}
  45. </NuxtLink>
  46. </div>
  47. <div class="index_2_ul index_2_ul_top index_2_ul_bold" v-if="hoverStatus == 2">
  48. <NuxtLink class="index_2_ul_a dot1" v-for="item in boxData2" :href="getLinkPathDetail(item)"
  49. :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  50. {{ item.title }}
  51. </NuxtLink>
  52. </div>
  53. <div class="index_2_ul index_2_ul_top index_2_ul_bold" v-if="hoverStatus == 3">
  54. <NuxtLink class="index_2_ul_a dot1" v-for="item in boxData3" :href="getLinkPathDetail(item)"
  55. :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  56. {{ item.title }}
  57. </NuxtLink>
  58. </div>
  59. </div>
  60. <!-- over 农民工人才库-->
  61. </section>
  62. <!-- 农民工维权 phone-->
  63. <div class="phone_box_1 pc_none">
  64. <div class="phone_box_1_head">
  65. <NuxtLink class="" :href="getLinkPath(pageData[1])">
  66. {{ pageData[1].alias }}
  67. </NuxtLink>
  68. </div>
  69. <div class="phone_box_1_ul">
  70. <div class="">
  71. <NuxtLink class="" v-for="item in boxData2" :href="getLinkPathDetail(item)"
  72. :target="item.islink == 1 ? '_blank' : '_self'">
  73. {{ item.title }}
  74. </NuxtLink>
  75. </div>
  76. </div>
  77. </div>
  78. <!-- 广告位一 start -->
  79. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  80. <!-- 广告位一 end -->
  81. <section class="index_3 clearfix phone_none">
  82. <div class="index_3_h4_box">
  83. <h4 class="index_3_h4">
  84. <span class="index_3_h4_a" :title="最新热门职位">最新热门职位</span>
  85. </h4>
  86. </div>
  87. <!-- {{ job_vacancy }} -->
  88. <!-- open 最新热门职位1-->
  89. <div class="index_3_ul clearfix_2" v-if="job_vacancy">
  90. <div class="index_3_li clearfix_2" v-for="(item, index) in job_vacancy" :key="index">
  91. <NuxtLink class="index_3_li_a" :href="`/${item.pinyin}/${item.id}.html`" title="">
  92. <div class="index_3_li_name_box">
  93. <div class="index_3_li_num">{{ index + 1 }}</div>
  94. <div class="index_3_li_name dot1">{{ item.title }}</div>
  95. </div>
  96. <div class="index_3_li_dot1 dot1">
  97. {{ item.business_name }}
  98. </div>
  99. </NuxtLink>
  100. </div>
  101. </div>
  102. <!-- over 最新热门职位1-->
  103. <!-- open 最新热门职位2ul-->
  104. <div class="index_3_ol_box">
  105. <div class="index_3_ol clearfix">
  106. <div class="index_3_ol_li" v-for="(item, index) in recommend_job" :key="index">
  107. <NuxtLink class="index_3_ol_li_a" :href="`/${item.pinyin}/${item.id}.html`" title="">
  108. <div class="index_3_li_num">{{ index + 1 }}</div>
  109. <div class="index_3_ol_li_dot1 dot1">
  110. {{ item.business_name }}--{{ item.title }}
  111. </div>
  112. </NuxtLink>
  113. </div>
  114. </div>
  115. </div>
  116. <!-- over 最新热门职位2-ul-->
  117. </section>
  118. <section class="index_4 clearfix phone_none">
  119. <!-- open 推荐就业单位-->
  120. <div class="index_3_h4_box">
  121. <h4 class="index_3_h4">
  122. <span class="index_3_h4_a" title="推荐就业单位">推荐就业单位</span>
  123. </h4>
  124. </div>
  125. <div class="index_4_ul clearfix">
  126. <NuxtLink class="index_4_ul_a dot1" :href="`/${item.pinyin}/${item.id}.html`" :title="item.title"
  127. v-for="(item, index) in recommend_company" :key="index">
  128. {{ item.title }}
  129. </NuxtLink>
  130. </div>
  131. <!-- over 推荐就业单位-->
  132. </section>
  133. <!-- 广告位二 start -->
  134. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  135. <!-- 广告位二 end -->
  136. <!-- 动态模块开始-->
  137. <section class="index_5 clearfix phone_none">
  138. <div class="index_2_head clearfix">
  139. <NuxtLink class="index_2_head_a" :class="{ 'index_2_head_a_only': hoverStatusTwo === 1 }"
  140. @mouseenter="qhPicTwo(1)" :href="getLinkPath(pageData[3])" :title="pageData[3].alias">
  141. {{ pageData[3].alias }}
  142. </NuxtLink>
  143. <!-- <NuxtLink class="index_2_head_a" :class="{ 'index_2_head_a_only': hoverStatusTwo === 2 }"
  144. @mouseenter="qhPicTwo(2)" :href="getLinkPath(pageData[4])" :title="pageData[4].alias">
  145. {{ pageData[4].alias }}11111
  146. </NuxtLink> -->
  147. </div>
  148. <div class="clearfix" v-if="hoverStatusTwo === 1">
  149. <div class="index_5_box_1 clearfix">
  150. <div class="index_5_big_img_ul">
  151. <div class="index_5_big_img_li">
  152. <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
  153. v-for="item in boxData4" :title="item.title"
  154. :target="item.islink == 1 ? '_blank' : '_self'">
  155. <img class="index_5_big_img_li_img" :src="item.imgurl" alt="item.title">
  156. <div class="index_5_big_img_li_dot2 dot2">
  157. {{ item.title }}
  158. </div>
  159. </NuxtLink>
  160. </div>
  161. </div>
  162. <div class="index_5_img_ul">
  163. <div class="index_5_img_li" v-for="item in boxData4data2">
  164. <NuxtLink class="index_5_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  165. :target="item.islink == 1 ? '_blank' : '_self'">
  166. <img class="index_5_img_li_img" :src="item.imgurl" alt="item.title">
  167. <div class="index_5_img_li_dot2 dot2">
  168. {{ item.title }}
  169. </div>
  170. </NuxtLink>
  171. </div>
  172. </div>
  173. </div>
  174. <div class="index_5_box_2 clearfix">
  175. <div class="index_5_ul">
  176. <NuxtLink class="index_5_ul_a dot1" :href="getLinkPathDetail(item)"
  177. v-for="item in boxData4data4" :title="item.title"
  178. :target="item.islink == 1 ? '_blank' : '_self'">
  179. {{ item.title }}
  180. </NuxtLink>
  181. </div>
  182. </div>
  183. <div class="index_5_box_3 clearfix">
  184. <div class="index_5_img_ul_2 clearfix">
  185. <div class="index_5_img_ul_2_li" v-for="item in boxData4data3">
  186. <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)"
  187. :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  188. <img class="index_5_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
  189. <div class="index_5_img_ul_2_li_dot1 dot1">
  190. {{ item.title }}
  191. </div>
  192. </NuxtLink>
  193. </div>
  194. </div>
  195. <div class="index_2_ul index_2_ul_2">
  196. <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)"
  197. v-for="item in boxData4data5" :title="item.title"
  198. :target="item.islink == 1 ? '_blank' : '_self'">
  199. {{ item.title }}
  200. </NuxtLink>
  201. </div>
  202. </div>
  203. </div>
  204. <div class="clearfix" v-if="hoverStatusTwo === 2">
  205. <div class="index_5_box_1 clearfix">
  206. <div class="index_5_big_img_ul">
  207. <div class="index_5_big_img_li">
  208. <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
  209. v-for="item in boxData5" :title="item.title"
  210. :target="item.islink == 1 ? '_blank' : '_self'">
  211. <img class="index_5_big_img_li_img" :src="item.imgurl" alt="item.title">
  212. <div class="index_5_big_img_li_dot2 dot2">
  213. {{ item.title }}
  214. </div>
  215. </NuxtLink>
  216. </div>
  217. </div>
  218. <div class="index_5_img_ul">
  219. <div class="index_5_img_li" v-for="item in boxData5data2">
  220. <NuxtLink class="index_5_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  221. :target="item.islink == 1 ? '_blank' : '_self'">
  222. <img class="index_5_img_li_img" :src="item.imgurl" alt="item.title">
  223. <div class="index_5_img_li_dot2 dot2">
  224. {{ item.title }}
  225. </div>
  226. </NuxtLink>
  227. </div>
  228. </div>
  229. </div>
  230. <div class="index_5_box_2 clearfix">
  231. <div class="index_5_ul">
  232. <NuxtLink class="index_5_ul_a dot1" :href="getLinkPathDetail(item)"
  233. v-for="item in boxData5data4" :title="item.title"
  234. :target="item.islink == 1 ? '_blank' : '_self'">
  235. {{ item.title }}
  236. </NuxtLink>
  237. </div>
  238. </div>
  239. <div class="index_5_box_3 clearfix">
  240. <div class="index_5_img_ul_2 clearfix">
  241. <div class="index_5_img_ul_2_li" v-for="item in boxData5data3">
  242. <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)"
  243. :title="item.title" :target="item.islink == 1 ? '_blank' : '_self'">
  244. <img class="index_5_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
  245. <div class="index_5_img_ul_2_li_dot1 dot1">
  246. {{ item.title }}
  247. </div>
  248. </NuxtLink>
  249. </div>
  250. </div>
  251. <div class="index_2_ul index_2_ul_2">
  252. <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)"
  253. v-for="item in boxData5data5" :title="item.title"
  254. :target="item.islink == 1 ? '_blank' : '_self'">
  255. {{ item.title }}
  256. </NuxtLink>
  257. </div>
  258. </div>
  259. </div>
  260. </section>
  261. <!-- over 致富信息-->
  262. <!-- 致富信息 phone-->
  263. <div class="phone_box_2 pc_none">
  264. <div class="phone_box_2_head">
  265. <NuxtLink class="" :href="getLinkPath(pageData[3])">
  266. {{ pageData[3].alias }}
  267. </NuxtLink>
  268. </div>
  269. <div class="phone_box_2_img_ul">
  270. <div class="">
  271. <NuxtLink class="" :href="getLinkPathDetail(item)" v-for="item in boxData4"
  272. :target="item.islink == 1 ? '_blank' : '_self'">
  273. <img class="" :src="item.imgurl">
  274. <span class="">
  275. {{ item.title }}
  276. </span>
  277. </NuxtLink>
  278. </div>
  279. </div>
  280. <div class="phone_box_2_ul">
  281. <div class="">
  282. <NuxtLink class="" :href="getLinkPathDetail(item)" v-for="item in boxData4data4"
  283. :target="item.islink == 1 ? '_blank' : '_self'">
  284. {{ item.title }}
  285. </NuxtLink>
  286. </div>
  287. </div>
  288. </div>
  289. <!-- open 农民工资讯-->
  290. <section class="index_6 clearfix phone_none">
  291. <div class="index_2_head clearfix">
  292. <NuxtLink class="index_2_head_a index_2_head_a_only" v-if="pageData.length > 5"
  293. :href="getLinkPath(pageData[5])" :title="pageData[5].alias">
  294. {{ pageData[5].alias }}
  295. </NuxtLink>
  296. <div class="index_6_head_right">
  297. <div class="index_6_head_right_in" v-if="boxData6menu">
  298. <NuxtLink class="index_6_head_right_in_a" v-for="item in boxData6menu"
  299. :to="{ path: `/${item.pinyin}/list-1.html` }" :title="item.alias">
  300. {{ item.alias }}
  301. </NuxtLink>
  302. </div>
  303. <NuxtLink class="index_6_head_right_in_a" v-if="pageData.length > 5"
  304. :href="getLinkPath(pageData[5])" :title="pageData[5].alias">
  305. 更多 &gt;
  306. </NuxtLink>
  307. </div>
  308. </div>
  309. <div class="index_6_left clearfix">
  310. <div class="roll_2_box" v-if="boxData6.length > 0">
  311. <div class="roll_2_img_ul">
  312. <div class="roll_2_per">
  313. <NuxtLink class="roll_2_per_a" v-if="showImg == 1 && boxData6.length > 0"
  314. :href="getLinkPathDetail(boxData6[0])" :title="boxData6[0].title"
  315. :target="boxData6[0].islink == 1 ? '_blank' : '_self'">
  316. <img class="roll_2_per_a_img" :src="boxData6[0].imgurl" :alt="boxData6[0].title">
  317. </NuxtLink>
  318. <NuxtLink class="roll_2_per_a" v-if="showImg == 2 && boxData6.length > 1"
  319. :href="getLinkPathDetail(boxData6[1])" :title="boxData6[1].title"
  320. :target="boxData6[1].islink == 1 ? '_blank' : '_self'">
  321. <img class="roll_2_per_a_img" :src="boxData6[1].imgurl" :alt="boxData6[1].title">
  322. </NuxtLink>
  323. <NuxtLink class="roll_2_per_a" v-if="showImg == 3 && boxData6.length > 2"
  324. :href="getLinkPathDetail(boxData6[2])" :title="boxData6[2].title"
  325. :target="boxData6[2].islink == 1 ? '_blank' : '_self'">
  326. <img class="roll_2_per_a_img" :src="boxData6[2].imgurl" :alt="boxData6[2].title">
  327. </NuxtLink>
  328. </div>
  329. </div>
  330. </div>
  331. <div class="roll_2_btn_box" v-if="boxData6.length > 0">
  332. <div class="roll_2_btn roll_2_btn_only" v-if="boxData6.length > 0">
  333. <NuxtLink class="roll_2_btn_dot2 dot2" @mouseenter="changeImg(1)"
  334. :href="getLinkPathDetail(boxData6[0])" :title="boxData6[0].title"
  335. :target="boxData6[0].islink == 1 ? '_blank' : '_self'">
  336. {{ boxData6[0].title }}
  337. </NuxtLink>
  338. </div>
  339. <div class="roll_2_btn roll_2_btn_only" v-if="boxData6.length > 1">
  340. <NuxtLink class="roll_2_btn_dot2 dot2" @mouseenter="changeImg(2)"
  341. :href="getLinkPathDetail(boxData6[1])" :title="boxData6[1].title"
  342. :target="boxData6[1].islink == 1 ? '_blank' : '_self'">
  343. {{ boxData6[1].title }}
  344. </NuxtLink>
  345. </div>
  346. <div class="roll_2_btn roll_2_btn_only" v-if="boxData6.length > 2">
  347. <NuxtLink class="roll_2_btn_dot2 dot2" @mouseenter="changeImg(3)"
  348. :href="getLinkPathDetail(boxData6[2])" :title="boxData6[2].title"
  349. :target="boxData6[2].islink == 1 ? '_blank' : '_self'">
  350. {{ boxData6[2].title }}
  351. </NuxtLink>
  352. </div>
  353. </div>
  354. </div>
  355. <div class="index_6_right clearfix">
  356. <div class="index_6_img_ul clearfix" v-if="boxData6data2.length > 0">
  357. <div class="index_6_img_li" v-for="item in boxData6data2">
  358. <NuxtLink class="index_6_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  359. :target="item.islink == 1 ? '_blank' : '_self'">
  360. <img class="index_6_img_li_img" :src="item.imgurl" alt="item.title">
  361. <div class="index_6_img_li_dot3 dot3">
  362. {{ item.title }}
  363. </div>
  364. </NuxtLink>
  365. </div>
  366. </div>
  367. </div>
  368. </section>
  369. <!-- over 农民工资讯-->
  370. <!-- 农民工资讯 phone-->
  371. <div class="phone_box_3 pc_none" v-if="pageData.length > 5">
  372. <div class="phone_box_3_head">
  373. <NuxtLink class="" :href="getLinkPath(pageData[5])">
  374. {{ pageData[5].alias }}
  375. </NuxtLink>
  376. </div>
  377. <div class="phone_box_3_img_ul">
  378. <div class="" v-if="boxData6.length > 0">
  379. <NuxtLink class="" :href="getLinkPathDetail(boxData6[0])"
  380. :target="boxData6[0].islink == 1 ? '_blank' : '_self'">
  381. <img class="" :src="boxData6[0].imgurl" :alt="boxData6[0].title">
  382. <span class=" ">{{ boxData6[0].title }}</span>
  383. </NuxtLink>
  384. </div>
  385. </div>
  386. <div class="phone_box_3_ul">
  387. <div class="">
  388. <NuxtLink class="" v-if="boxData6.length > 1" :href="getLinkPathDetail(boxData6[1])"
  389. :target="boxData6[1].islink == 1 ? '_blank' : '_self'">
  390. {{ boxData6[1].title }}
  391. </NuxtLink>
  392. <NuxtLink class="" v-if="boxData6.length > 2" :href="getLinkPathDetail(boxData6[2])"
  393. :target="boxData6[2].islink == 1 ? '_blank' : '_self'">
  394. {{ boxData6[2].title }}
  395. </NuxtLink>
  396. <NuxtLink class="" v-if="boxData6data2.length > 0" v-for="item in boxData6data2"
  397. :href="getLinkPathDetail(item)" :target="item.islink == 1 ? '_blank' : '_self'">
  398. {{ item.title }}
  399. </NuxtLink>
  400. </div>
  401. </div>
  402. </div>
  403. <section class="index_7 clearfix phone_none">
  404. <!-- open 专题报道-->
  405. <div class="index_6_left clearfix">
  406. <div class="index_7_head" v-if="boxData6menu[0]">
  407. <NuxtLink :to="{ path: `/${boxData6pinyin}/list-1.html` }" v-if="boxData6menu[0]"
  408. class="index_7_head_a" :title="boxData6menu[0].alias">
  409. {{ boxData6menu[0].alias }}
  410. </NuxtLink>
  411. </div>
  412. <div class="index_7_ul clearfix">
  413. <NuxtLink class="index_7_ul_a dot1" :href="getLinkPathDetail(item)"
  414. v-for="item in boxData6mainData" :title="item.title"
  415. :target="item.islink == 1 ? '_blank' : '_self'">
  416. {{ item.title }}
  417. </NuxtLink>
  418. </div>
  419. </div>
  420. <!-- over 专题报道-->
  421. <!-- 各地机构动态open -->
  422. <div class="index_7_right clearfix">
  423. <div class="index_7_head">
  424. <a class="index_7_head_a" href="" title="">各地机构动态</a>
  425. </div>
  426. <div class="index_7_btn_ul clearfix">
  427. <NuxtLink class="index_7_btn_a dot1" v-if="pageData[11].cid" :href="getLinkPath(pageData[11])"
  428. :title="pageData[11].alias">
  429. 劳动保障部门
  430. </NuxtLink>
  431. <NuxtLink class="index_7_btn_a dot1" v-if="pageData[12].cid" :href="getLinkPath(pageData[12])"
  432. :title="pageData[12].alias">
  433. 各级工会组织
  434. </NuxtLink>
  435. <NuxtLink class="index_7_btn_a dot1" v-if="pageData[13].cid" :href="getLinkPath(pageData[13])"
  436. :title="pageData[13].alias">
  437. 各地妇联组织
  438. </NuxtLink>
  439. <NuxtLink class="index_7_btn_a dot1" v-if="pageData[14].cid" :href="getLinkPath(pageData[14])"
  440. :title="pageData[14].alias">
  441. 各地人才市场
  442. </NuxtLink>
  443. <a class="index_7_btn_a dot1" href="" title="">各地人才中介</a>
  444. <a class="index_7_btn_a dot1" href="" title="">各地用户大户</a>
  445. </div>
  446. </div>
  447. <!-- 各地机构动态over -->
  448. </section>
  449. <section class="index_8 clearfix phone_none">
  450. <!-- open 人才服务-->
  451. <div class="index_2_head clearfix">
  452. <NuxtLink class="index_2_head_a index_2_head_a_only" v-if="pageData[6].cid"
  453. :href="getLinkPath(pageData[6])" :title="pageData[6].alias">
  454. {{ pageData[6].alias }}
  455. </NuxtLink>
  456. <div class="index_6_head_right">
  457. <div class="index_6_head_right_in">
  458. <NuxtLink class="index_6_head_right_in_a" v-for="item in boxData7menu"
  459. :to="{ path: `/${item.aLIas_pinyin}/list-1.html` }" :title="item.alias">
  460. {{ item.alias }}
  461. </NuxtLink>
  462. </div>
  463. <NuxtLink class="index_6_head_right_in_a" v-if="pageData[6].cid"
  464. :href="getLinkPath(pageData[6])" :title="pageData[6].alias">
  465. 更多 &gt;
  466. </NuxtLink>
  467. </div>
  468. </div>
  469. <div class="index_5_box_1 clearfix">
  470. <div class="index_5_big_img_ul">
  471. <div class="index_5_big_img_li">
  472. <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
  473. v-for="item in boxData7" :title="item.title"
  474. :target="item.islink == 1 ? '_blank' : '_self'">
  475. <img class="index_5_big_img_li_img" :src="item.imgurl" alt="item.title">
  476. <div class="index_5_big_img_li_dot2 dot2">
  477. {{ item.title }}
  478. </div>
  479. </NuxtLink>
  480. </div>
  481. </div>
  482. <div class="index_5_img_ul">
  483. <div class="index_5_img_li" v-for="item in boxData7data2">
  484. <NuxtLink class="index_5_img_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  485. :target="item.islink == 1 ? '_blank' : '_self'">
  486. <img class="index_5_img_li_img" :src="item.imgurl" alt="item.title">
  487. <div class="index_5_img_li_dot2 dot2">
  488. {{ item.title }}
  489. </div>
  490. </NuxtLink>
  491. </div>
  492. </div>
  493. </div>
  494. <div class="index_5_box_2 clearfix">
  495. <div class="index_5_ul">
  496. <NuxtLink class="index_5_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  497. v-for="item in boxData7data4" :target="item.islink == 1 ? '_blank' : '_self'">
  498. {{ item.title }}
  499. </NuxtLink>
  500. </div>
  501. </div>
  502. <div class="index_5_box_3 clearfix">
  503. <div class="index_5_img_ul_2 clearfix">
  504. <div class="index_5_img_ul_2_li" v-for="item in boxData7data3">
  505. <NuxtLink class="index_5_img_ul_2_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  506. :target="item.islink == 1 ? '_blank' : '_self'">
  507. <img class="index_5_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
  508. <div class="index_5_img_ul_2_li_dot1 dot1">
  509. {{ item.title }}
  510. </div>
  511. </NuxtLink>
  512. </div>
  513. </div>
  514. <div class="adBox1" v-if="adImg3">
  515. <a href="http://nzgxw.org.cn/" v-if="adImg3.image_url == null" target="_blank"
  516. :title="adImg3.introduce">
  517. <img :src="adImg3.thumb" :title="adImg3.introduce" :id="adImg3.ad_tag"
  518. data-tag="adImg3.ad_tag">
  519. </a>
  520. <a :href="adImg3.image_url" :title="adImg3.introduce" v-else>
  521. <img :src="adImg3.image_src" :alt="adImg3.introduce" :id="adImg3.ad_tag"
  522. data-tag="adImg3.ad_tag">
  523. </a>
  524. </div>
  525. </div>
  526. <!-- over 人才服务-->
  527. </section>
  528. <!-- 人才服务 phone-->
  529. <div class="phone_box_4 pc_none" v-if="pageData[6].cid">
  530. <div class="phone_box_4_head">
  531. <NuxtLink class="" :href="getLinkPath(pageData[6])">
  532. {{ pageData[6].alias }}
  533. </NuxtLink>
  534. </div>
  535. <div class="phone_box_4_img_ul">
  536. <div class="">
  537. <NuxtLink class="" :href="getLinkPathDetail(item)" v-for="item in boxData7"
  538. :target="item.islink == 1 ? '_blank' : '_self'">
  539. <img class="" :src="item.imgurl">
  540. <span>
  541. {{ item.title }}
  542. </span>
  543. </NuxtLink>
  544. </div>
  545. </div>
  546. <div class="phone_box_4_ul">
  547. <div class="">
  548. <NuxtLink class="" v-for="item in boxData7data4" :href="getLinkPathDetail(item)"
  549. :target="item.islink == 1 ? '_blank' : '_self'">
  550. {{ item.title }}
  551. </NuxtLink>
  552. </div>
  553. </div>
  554. </div>
  555. <!-- 广告位三 start -->
  556. <HomeAdvertising :imgurl="adImg4"></HomeAdvertising>
  557. <!-- <HomeTopTenTitle :imgurl="adList[2]" v-if="adList[2]"></HomeTopTenTitle> -->
  558. <!-- 广告位三 end -->
  559. <section class="index_9 clearfix phone_none">
  560. <!-- open 民工培训-->
  561. <div class="index_9_box_1">
  562. <div class="index_2_head clearfix">
  563. <NuxtLink :class="['index_2_head_a', hoverStatusThree == 1 ? 'index_2_head_a_only' : '']"
  564. @mouseenter="qhPicThree(1)" v-if="pageData[7].cid" :href="getLinkPath(pageData[7])"
  565. :title="pageData[7].alias">
  566. {{ pageData[7].alias }}
  567. </NuxtLink>
  568. <NuxtLink :class="['index_2_head_a', hoverStatusThree == 2 ? 'index_2_head_a_only' : '']"
  569. @mouseenter="qhPicThree(2)" v-if="pageData[8].cid" :href="getLinkPath(pageData[8])"
  570. :title="pageData[8].alias">
  571. {{ pageData[8].alias }}
  572. </NuxtLink>
  573. </div>
  574. <div class="index_2_ul index_9_ul_1" v-if="hoverStatusThree == 1">
  575. <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  576. v-for="item in boxData8" :target="item.islink == 1 ? '_blank' : '_self'">
  577. {{ item.title }}
  578. </NuxtLink>
  579. </div>
  580. <div class="index_2_ul index_9_ul_1" v-if="hoverStatusThree == 2">
  581. <NuxtLink class="index_2_ul_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  582. v-for="item in boxData9" :target="item.islink == 1 ? '_blank' : '_self'">
  583. {{ item.title }}
  584. </NuxtLink>
  585. </div>
  586. </div>
  587. <!-- over 民工培训-->
  588. <!-- open 知识天地-->
  589. <div class="index_5_box_3 clearfix">
  590. <div class="index_2_head clearfix">
  591. <a class="index_2_head_a index_2_head_a_only" title="">知识天地</a>
  592. </div>
  593. <div class="index_9_big_img_ul">
  594. <div class="index_5_big_img_li">
  595. <NuxtLink class="index_5_big_img_li_a" :href="getLinkPathDetail(item)"
  596. v-for="item in boxData10" :title="item.title"
  597. :target="item.islink == 1 ? '_blank' : '_self'">
  598. <img class="index_9_big_img_li_img" :src="item.imgurl" alt="item.title">
  599. <div class="index_5_big_img_li_dot2 dot2">
  600. {{ item.title }}
  601. </div>
  602. </NuxtLink>
  603. </div>
  604. </div>
  605. </div>
  606. <!-- over 知识天地-->
  607. </section>
  608. <!-- 农民工创业 phone -->
  609. <div class="phone_box_5 pc_none" v-if="pageData[7].cid">
  610. <div class="phone_box_5_head">
  611. <NuxtLink class="" :href="getLinkPath(pageData[7])">
  612. {{ pageData[7].alias }}
  613. </NuxtLink>
  614. </div>
  615. <div class="phone_box_5_ul">
  616. <div class="">
  617. <NuxtLink class="" v-for="item in boxData8" :href="getLinkPathDetail(item)"
  618. :target="item.islink == 1 ? '_blank' : '_self'">
  619. {{ item.title }}
  620. </NuxtLink>
  621. </div>
  622. </div>
  623. </div>
  624. <!-- 农民工培训 phone-->
  625. <div class="phone_box_6 pc_none" v-if="pageData[8].cid">
  626. <div class="phone_box_6_head">
  627. <NuxtLink class=" " :href="getLinkPath(pageData[8])">
  628. {{ pageData[8].alias }}
  629. </NuxtLink>
  630. </div>
  631. <div class="phone_box_6_ul">
  632. <div class="">
  633. <NuxtLink class="" v-for="item in boxData9" :href="getLinkPathDetail(item)"
  634. :target="item.islink == 1 ? '_blank' : '_self'">
  635. {{ item.title }}
  636. </NuxtLink>
  637. </div>
  638. </div>
  639. </div>
  640. <div class="phone_box_7 pc_none">
  641. <div class="phone_box_7_head">
  642. <a class="" title="">知识天地</a>
  643. </div>
  644. <div class="phone_box_7_img_ul">
  645. <div class="">
  646. <NuxtLink class="" v-for="item in boxData10" :href="getLinkPathDetail(item)"
  647. :target="item.islink == 1 ? '_blank' : '_self'">
  648. <img class="" :src="item.imgurl" alt="item.title">
  649. <span class="">
  650. {{ item.title }}
  651. </span>
  652. </NuxtLink>
  653. </div>
  654. </div>
  655. </div>
  656. <section class="index_10 clearfix phone_none">
  657. <!-- open 各地组织机构展示-->
  658. <div class="index_9_box_1 index_10_box_1">
  659. <div class="index_2_head clearfix">
  660. <a class="index_2_head_a index_2_head_a_only" title="">各地组织机构展示</a>
  661. </div>
  662. <div class="index_10_ul clearfix">
  663. <NuxtLink class="index_10_ul_a dot1" v-if="pageData[13].cid" :href="getLinkPath(pageData[13])"
  664. :title="pageData[13].alias">
  665. 妇联组织
  666. </NuxtLink>
  667. <NuxtLink class="index_10_ul_a dot1" v-if="pageData[14].cid" :href="getLinkPath(pageData[14])"
  668. :title="pageData[14].alias">
  669. 人才市场
  670. </NuxtLink>
  671. <NuxtLink class="index_10_ul_a dot1" v-if="pageData[11].cid" :href="getLinkPath(pageData[11])"
  672. :title="pageData[11].alias">
  673. 劳动保障机构
  674. </NuxtLink>
  675. <NuxtLink class="index_10_ul_a dot1" v-if="pageData[12].cid" :href="getLinkPath(pageData[12])"
  676. :title="pageData[12].alias">
  677. 工会组织
  678. </NuxtLink>
  679. </div>
  680. </div>
  681. <!-- over 各地组织机构展示-->
  682. <!-- open 三农人物-->
  683. <div class="index_5_box_3 clearfix index_10_box_3">
  684. <div class="index_2_head clearfix">
  685. <a class="index_2_head_a index_2_head_a_only" title="">三农人物</a>
  686. </div>
  687. <div class="index_10_img_ul clearfix">
  688. <div class="index_10_img_ul_li" v-for="item in boxData11">
  689. <NuxtLink class="index_10_img_ul_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  690. :target="item.islink == 1 ? '_blank' : '_self'">
  691. <img class="index_10_img_ul_li_img" :src="item.imgurl" alt="item.title">
  692. <div class="index_10_img_ul_li_dot1 dot1">
  693. {{ item.title }}
  694. </div>
  695. </NuxtLink>
  696. </div>
  697. </div>
  698. </div>
  699. <!-- over 三农人物-->
  700. </section>
  701. <!-- 三农人物 phone-->
  702. <div class="phone_box_8 pc_none">
  703. <div class="phone_box_8_head">
  704. <a class="" title="">三农人物</a>
  705. </div>
  706. <div class="phone_box_8_img_ul">
  707. <div class="">
  708. <NuxtLink class="" v-for="item in boxData11.slice(0, 1)" :href="getLinkPathDetail(item)"
  709. :target="item.islink == 1 ? '_blank' : '_self'">
  710. <img class="" :src="item.imgurl" alt="item.title">
  711. <span class="">
  712. {{ item.title }}
  713. </span>
  714. </NuxtLink>
  715. </div>
  716. </div>
  717. <div class="phone_box_8_ul">
  718. <div class="">
  719. <NuxtLink class="" v-for="item in boxData11.slice(1, 2)" :href="getLinkPathDetail(item)"
  720. :target="item.islink == 1 ? '_blank' : '_self'">
  721. {{ item.title }}
  722. </NuxtLink>
  723. </div>
  724. </div>
  725. </div>
  726. </main>
  727. <HomeFoot></HomeFoot>
  728. </div>
  729. </template>
  730. <script setup>
  731. //0.加载页面必备组件 start---------------------------------------->
  732. import { ref, onMounted } from 'vue';
  733. import { ElMessage } from 'element-plus';
  734. //0.加载页面必备组件 end---------------------------------------->
  735. //1.获取头条新闻 start---------------------------------------->
  736. //1.1 头条
  737. const headline = ref({})
  738. const headlineData2 = ref([])
  739. async function getModelData1() {
  740. const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
  741. method: 'GET',
  742. query: {
  743. 'imgnum': 0,
  744. 'textnum': 5,
  745. 'level': 1,
  746. 'placeid': 0,
  747. 'id': ''
  748. },
  749. });
  750. if (mkdata.code == 200) {
  751. //填充大标题
  752. for (let index in mkdata.data.text) {
  753. if (index < 1) {
  754. headline.value = mkdata.data.text[index]
  755. } else {
  756. headlineData2.value.push(mkdata.data.text[index])
  757. }
  758. }
  759. } else {
  760. console.log("设置大标题错误", mkdata.message)
  761. }
  762. }
  763. getModelData1()
  764. //1.3 今日热点
  765. const hotNewsList = ref("")
  766. async function getModelData3() {
  767. const mkdata = await requestDataPromise('/web/getWebsiteArticlett', {
  768. method: 'GET',
  769. query: {
  770. 'pageSize': 10,
  771. 'level': 6,
  772. 'placeid': 0,
  773. 'id': ''
  774. },
  775. });
  776. if (mkdata.code == 200) {
  777. hotNewsList.value = mkdata.data;
  778. } else {
  779. console.log("获取首页今日热点错误", mkdata.message)
  780. }
  781. }
  782. getModelData3()
  783. //1.获取头条新闻 end---------------------------------------->
  784. //2.选项卡 start---------------------------------------->
  785. const hoverStatus = ref(1)
  786. const qhPic = function (num) {
  787. hoverStatus.value = num;
  788. }
  789. const hoverStatusTwo = ref(1)
  790. const qhPicTwo = function (num) {
  791. hoverStatusTwo.value = num;
  792. }
  793. const hoverStatusThree = ref(1)
  794. const qhPicThree = function (num) {
  795. hoverStatusThree.value = num;
  796. }
  797. //图片切换
  798. const showImg = ref(1)
  799. const changeImg = function (num) {
  800. showImg.value = num;
  801. }
  802. //2.选项卡 end---------------------------------------->
  803. //3.广告 start---------------------------------------->
  804. //获得所有广告
  805. let adImg1 = ref({})
  806. let adImg2 = ref({})
  807. let adImg3 = ref({})
  808. let adImg4 = ref({})
  809. onMounted(async () => {
  810. //从客户端获取行政职能部门 加快打开速度//从客户端获取行政职能部门 加快打开速度
  811. const { $webUrl, $CwebUrl } = useNuxtApp();
  812. //从客户端启动广告
  813. //广告1
  814. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_index_0001`
  815. const responseAd1 = await fetch(url, {
  816. headers: {
  817. 'Content-Type': 'application/json',
  818. 'Userurl': $CwebUrl,
  819. 'Origin': $CwebUrl
  820. }
  821. });
  822. const resultAd1 = await responseAd1.json();
  823. adImg1.value = resultAd1.data[0];
  824. //广告2
  825. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_index_0002`
  826. const responseAd2 = await fetch(url2, {
  827. headers: {
  828. 'Content-Type': 'application/json',
  829. 'Userurl': $CwebUrl,
  830. 'Origin': $CwebUrl
  831. }
  832. });
  833. const resultAd2 = await responseAd2.json();
  834. adImg2.value = resultAd2.data[0];
  835. //广告3
  836. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_index_0003`
  837. const responseAd3 = await fetch(url3, {
  838. headers: {
  839. 'Content-Type': 'application/json',
  840. 'Userurl': $CwebUrl,
  841. 'Origin': $CwebUrl
  842. }
  843. });
  844. const resultAd3 = await responseAd3.json();
  845. adImg3.value = resultAd3.data[0];
  846. //广告4
  847. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nmgw_index_0004`
  848. const responseAd4 = await fetch(url4, {
  849. headers: {
  850. 'Content-Type': 'application/json',
  851. 'Userurl': $CwebUrl,
  852. 'Origin': $CwebUrl
  853. }
  854. });
  855. const resultAd4 = await responseAd4.json();
  856. adImg4.value = resultAd4.data[0];
  857. })
  858. //3.广告 end---------------------------------------->
  859. //4.页面数据 start---------------------------------------->
  860. //4.1导航
  861. const pageData = ref([
  862. //示例 { cid: "", title: "", data: [] ,children_count:""},
  863. ]);
  864. //4.2 模块数据
  865. //模块1
  866. const boxData1 = ref([])
  867. //模块2
  868. const boxData2 = ref([]);
  869. //模块3
  870. const boxData3 = ref([]);
  871. //模块4
  872. const boxData4 = ref([]);
  873. const boxData4data2 = ref([]);
  874. const boxData4data3 = ref([]);
  875. const boxData4data4 = ref([]);
  876. const boxData4data5 = ref([]);
  877. //模块5
  878. const boxData5 = ref([]);
  879. const boxData5data2 = ref([]);
  880. const boxData5data3 = ref([]);
  881. const boxData5data4 = ref([]);
  882. const boxData5data5 = ref([]);
  883. //模块6
  884. const boxData6 = ref([]);
  885. const boxData6data2 = ref([]);
  886. const boxData6menu = ref([]);
  887. const boxData6mainData = ref([]);
  888. const boxData6pinyin = ref("");
  889. //模块7
  890. const boxData7 = ref([]);
  891. const boxData7data2 = ref([]);
  892. const boxData7data3 = ref([]);
  893. const boxData7data4 = ref([]);
  894. const boxData7data5 = ref([]);
  895. const boxData7menu = ref([]);
  896. const boxData7mainData = ref([]);
  897. const boxData7pinyin = ref("");
  898. //模块8
  899. const boxData8 = ref([]);
  900. //模块9
  901. const boxData9 = ref([]);
  902. //模块10
  903. const boxData10 = ref([]);
  904. //模块11
  905. const boxData11 = ref([]);
  906. //获得全局配置的导航数据
  907. const { $pageNav } = useNuxtApp();
  908. //4.3获得导航数据
  909. try {
  910. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  911. method: 'GET',
  912. query: {
  913. 'placeid': 1,
  914. 'pid': 0,
  915. 'num': 30
  916. },
  917. });
  918. if (navigateData.code == 200) {
  919. // 遍历可用的导航池放到页面中
  920. for (let index in navigateData.data) {
  921. let data = {
  922. title: navigateData.data[index].name,
  923. cid: navigateData.data[index].category_id,
  924. children_count: navigateData.data[index].children_count,
  925. alias: navigateData.data[index].alias,
  926. aLIas_pinyin: navigateData.data[index].aLIas_pinyin,
  927. chilid_id: navigateData.data[index].chilid_id
  928. };
  929. //渲染标题
  930. //1农民工资讯552 759
  931. if (navigateData.data[index].category_id == $pageNav[0]) { pageData.value[0] = data }
  932. //2农民工维权548 747
  933. if (navigateData.data[index].category_id == $pageNav[1]) { pageData.value[1] = data }
  934. //3人才市场554 760
  935. if (navigateData.data[index].category_id == $pageNav[2]) { pageData.value[2] = data }
  936. //4致富信息545 2039
  937. if (navigateData.data[index].category_id == $pageNav[3]) { pageData.value[3] = data }
  938. //5书刊音像城561 690
  939. if (navigateData.data[index].category_id == $pageNav[4]) { pageData.value[4] = data }
  940. //6农民工资讯552 759
  941. if (navigateData.data[index].category_id == $pageNav[5]) { pageData.value[5] = data }
  942. //7人才服务539 762
  943. if (navigateData.data[index].category_id == $pageNav[6]) { pageData.value[6] = data }
  944. //8农民工创业546 691
  945. if (navigateData.data[index].category_id == $pageNav[7]) { pageData.value[7] = data }
  946. //9农民工培训547 692
  947. if (navigateData.data[index].category_id == $pageNav[8]) { pageData.value[8] = data }
  948. //10知识天地558 686
  949. if (navigateData.data[index].category_id == $pageNav[9]) { pageData.value[9] = data }
  950. //11三农人物18 687
  951. if (navigateData.data[index].category_id == $pageNav[10]) { pageData.value[10] = data }
  952. // 固定的一级栏目
  953. //12 劳动保障555 768
  954. if (navigateData.data[index].category_id == $pageNav[11]) { pageData.value[11] = data }
  955. //13 工会组织556 771
  956. if (navigateData.data[index].category_id == $pageNav[12]) { pageData.value[12] = data }
  957. //14 妇联组织557 773
  958. if (navigateData.data[index].category_id == $pageNav[13]) { pageData.value[13] = data }
  959. //15 人才市场554 760
  960. if (navigateData.data[index].category_id == $pageNav[14]) { pageData.value[14] = data }
  961. }
  962. } else {
  963. console.log("获取导航池出错!", navigateData.message)
  964. }
  965. } catch (error) {
  966. console.log("错误:导航池渲染执行接口出错!请检查首页的14的模块的具体执行方法!")
  967. }
  968. let getJson = [
  969. { "parent": $pageNav[0] + ",0,6", "child": "" },//模块1 农民工资讯552
  970. { "parent": $pageNav[1] + ",0,6", "child": "" },//模块2 农民工维权548
  971. { "parent": $pageNav[2] + ",0,6", "child": "" },//模块3 人才市场554
  972. { "parent": $pageNav[3] + ",5,15", "child": "" },//模块4 致富信息545
  973. { "parent": $pageNav[4] + ",5,15", "child": "" },//模块5 书刊音像城561
  974. { "parent": $pageNav[5] + ",6,6", "child": $pageNav[15] + ",0,4" },//模块6 农民工资讯552pre 必须含有一个子导航的id 才能获取到子导航列表
  975. { "parent": $pageNav[6] + ",5,15", "child": "" },//模块7人才服务539
  976. { "parent": $pageNav[7] + ",0,6", "child": "" },//模块8 农民工创业546
  977. { "parent": $pageNav[8] + ",0,6", "child": "" },//模块9 农民工培训547
  978. { "parent": $pageNav[9] + ",1,0", "child": "" },//模块10 知识天地558
  979. { "parent": $pageNav[10] + ",2,0", "child": "" },//模块11 三农人物18
  980. ]
  981. let jsonString = JSON.stringify(getJson);
  982. async function getPageAllData() {
  983. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  984. method: 'GET',
  985. query: {
  986. 'id': jsonString
  987. },
  988. });
  989. if (mkdata.code == 200) {
  990. if (mkdata.data.length > 0) {
  991. //模块1
  992. boxData1.value = mkdata.data[0].textnum;
  993. }
  994. if (mkdata.data.length > 1) {
  995. //模块2
  996. boxData2.value = mkdata.data[1].textnum;
  997. }
  998. if (mkdata.data.length > 2) {
  999. //模块3
  1000. boxData3.value = mkdata.data[2].textnum;
  1001. }
  1002. if (mkdata.data.length > 3) {
  1003. //模块4
  1004. // mkdata.data[3].imgnum.forEach((item, index) => {
  1005. // if (index < 1) {
  1006. // boxData4.value.push(item);
  1007. // } else if (index >= 1 && index <= 2) {
  1008. // boxData4data2.value.push(item);
  1009. // } else if (index >= 3) {
  1010. // boxData4data3.value.push(item);
  1011. // }
  1012. // });
  1013. // mkdata.data[3].textnum.forEach((item, index) => {
  1014. // if (index < 10) {
  1015. // boxData4data4.value.push(item);
  1016. // } else {
  1017. // boxData4data5.value.push(item);
  1018. // }
  1019. // });
  1020. }
  1021. if (mkdata.data.length > 4) {
  1022. //模块5
  1023. mkdata.data[4].imgnum.forEach((item, index) => {
  1024. if (index < 1) {
  1025. boxData5.value.push(item);
  1026. } else if (index >= 1 && index <= 2) {
  1027. boxData5data2.value.push(item);
  1028. } else if (index >= 3) {
  1029. boxData5data3.value.push(item);
  1030. }
  1031. });
  1032. mkdata.data[4].textnum.forEach((item, index) => {
  1033. if (index < 10) {
  1034. boxData5data4.value.push(item);
  1035. } else {
  1036. boxData5data5.value.push(item);
  1037. }
  1038. });
  1039. }
  1040. if (mkdata.data.length > 5) {
  1041. //模块6
  1042. for (let index in mkdata.data[5].imgnum) {
  1043. if (index < 3) {
  1044. boxData6.value.push(mkdata.data[5].imgnum[index])
  1045. } else {
  1046. boxData6data2.value.push(mkdata.data[5].imgnum[index])
  1047. }
  1048. }
  1049. if (mkdata.data[5].child) {
  1050. for (let index in mkdata.data[5].child.all_childcat) {
  1051. if (index < 6) {
  1052. boxData6menu.value.push(mkdata.data[5].child.all_childcat[index])
  1053. }
  1054. }
  1055. //子导航路径
  1056. boxData6pinyin.value = mkdata.data[5].child.pinyin;
  1057. //子导航内容
  1058. boxData6mainData.value = mkdata.data[5].child.textnum;
  1059. }
  1060. console.log('boxData6', boxData6.value);
  1061. }
  1062. if (mkdata.data.length > 6) {
  1063. //模块7
  1064. for (let index in mkdata.data[6].imgnum) {
  1065. if (index < 1) {
  1066. boxData7.value.push(mkdata.data[6].imgnum[index])
  1067. } else if (index >= 1 && index <= 2) {
  1068. boxData7data2.value.push(mkdata.data[6].imgnum[index])
  1069. } else if (index >= 3) {
  1070. boxData7data3.value.push(mkdata.data[6].imgnum[index])
  1071. }
  1072. }
  1073. for (let index in mkdata.data[6].textnum) {
  1074. if (index <= 9) {
  1075. boxData7data4.value.push(mkdata.data[6].textnum[index])
  1076. } else {
  1077. boxData7data5.value.push(mkdata.data[6].textnum[index])
  1078. }
  1079. }
  1080. if (mkdata.data[6].child) {
  1081. //子导航路径
  1082. boxData7pinyin.value = mkdata.data[6].child.pinyin;
  1083. //子导航内容
  1084. boxData7mainData.value = mkdata.data[6].child.textnum;
  1085. }
  1086. }
  1087. if (mkdata.data.length > 7) {
  1088. //模块8
  1089. boxData8.value = mkdata.data[7].textnum;
  1090. }
  1091. // if (mkdata.data.length > 8) {
  1092. // //模块9
  1093. // boxData9.value = mkdata.data[8].textnum;
  1094. // }
  1095. if (mkdata.data.length > 9) {
  1096. //模块10
  1097. boxData10.value = mkdata.data[9].imgnum;
  1098. }
  1099. if (mkdata.data.length > 10) {
  1100. //模块11
  1101. boxData11.value = mkdata.data[10].imgnum;
  1102. }
  1103. } else {
  1104. ElMessage.error(mkdata.message)
  1105. }
  1106. }
  1107. getPageAllData();
  1108. let getJson_company = [
  1109. { 'id': $pageNav[8] + ",0,6" },
  1110. { 'level': "1,0,18" },
  1111. ]
  1112. let companyJson = JSON.stringify(getJson_company)
  1113. //企业功能
  1114. //农民工培训模块547
  1115. const recommend_company = ref('') // 推荐岗位
  1116. const getRecommendCompany = async () => {
  1117. const getCompany = await requestDataPromise('/web/getWebsiteCompany', {
  1118. method: 'GET',
  1119. query: {
  1120. 'id': companyJson
  1121. },
  1122. });
  1123. if (getCompany.code == 200) {
  1124. console.log('getCompany', getCompany);
  1125. if (getCompany.data.length > 0) {
  1126. boxData9.value = getCompany.data[0].text_num;
  1127. }
  1128. if (getCompany.data.length > 1) {
  1129. recommend_company.value = getCompany.data[1].text_num;
  1130. }
  1131. }
  1132. }
  1133. getRecommendCompany()
  1134. //项目模块(致富信息)
  1135. let getJson_project = [
  1136. { 'id': $pageNav[3] + ",5,15" },
  1137. ]
  1138. let projectJson = JSON.stringify(getJson_project)
  1139. //项目功能
  1140. const project = ref('') // 项目功能
  1141. const getProject = async () => {
  1142. const getProject = await requestDataPromise('/web/getWebsiteProject', {
  1143. method: 'GET',
  1144. query: {
  1145. 'id': projectJson
  1146. },
  1147. });
  1148. if (getProject.code == 200) {
  1149. console.log('getProject', getProject);
  1150. getProject.data[0].img_num.forEach((item, index) => {
  1151. if (index < 1) {
  1152. boxData4.value.push(item);
  1153. } else if (index >= 1 && index <= 2) {
  1154. boxData4data2.value.push(item);
  1155. } else if (index >= 3) {
  1156. boxData4data3.value.push(item);
  1157. }
  1158. });
  1159. getProject.data[0].text_num.forEach((item, index) => {
  1160. if (index < 10) {
  1161. boxData4data4.value.push(item);
  1162. } else {
  1163. boxData4data5.value.push(item);
  1164. }
  1165. });
  1166. }
  1167. }
  1168. getProject()
  1169. //4.页面数据 end---------------------------------------->
  1170. //5.设置seo数据 start---------------------------------------->
  1171. //获取seo数据
  1172. const setData = await requestDataPromise('/web/getWebsiteFootInfo', {
  1173. method: 'GET',
  1174. query: {},
  1175. });
  1176. if (setData.code == 200) {
  1177. let seoTitle = setData.data.website_head.title;
  1178. let seoDescription = setData.data.website_head.description;
  1179. let seoKeywords = setData.data.website_head.keywords;
  1180. let seoSuffix = setData.data.website_head.suffix;
  1181. let seoName = setData.data.website_head.website_name;
  1182. useSeoMeta({
  1183. title: seoTitle + "_" + seoSuffix,
  1184. meta: [
  1185. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  1186. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  1187. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no', tagPriority: 10 }
  1188. ]
  1189. });
  1190. } else {
  1191. console.log("设置首页SEO出错!", setData.message)
  1192. }
  1193. //5.设置seo数据 start---------------------------------------->
  1194. //6.获取页面职位 及推荐单位 start---------------------------------------->
  1195. //6.1 获取最新热门岗位
  1196. let job_vacancy = ref([]) // 招聘岗位
  1197. const getJob = async () => {
  1198. const getJob = await requestDataPromise('/web/getWebsiteJob', {
  1199. method: 'GET',
  1200. query: {
  1201. 'job1_num': 6,
  1202. 'job2_num': 6,
  1203. },
  1204. });
  1205. if (getJob.code == 200) {
  1206. // console.log("获取到的岗位和简历:", typeof (getJob.data.job_recuiting));
  1207. if (typeof (getJob.data.job_recuiting) == string) {
  1208. job_vacancy.value = getJob.data.job_recuiting; // 招聘岗位
  1209. }
  1210. // job_vacancy.value = getJob.data.job_recuiting;
  1211. }
  1212. }
  1213. getJob()
  1214. //6.2 获取推荐岗位
  1215. const recommend_job = ref('') // 推荐岗位
  1216. const getRecommendJob = async () => {
  1217. const getRecommendJob = await requestDataPromise('/web/getWebsiteLevelJob', {
  1218. method: 'GET',
  1219. query: {
  1220. 'job_level': 1,
  1221. 'pageSize': 6,
  1222. },
  1223. });
  1224. // console.log("获取推荐岗位1111:", getRecommendJob);
  1225. if (getRecommendJob.code == 200) {
  1226. // console.log("获取推荐岗位1111222:", getRecommendJob.data);
  1227. recommend_job.value = getRecommendJob.data; // 推荐岗位
  1228. }
  1229. }
  1230. getRecommendJob()
  1231. // 6.获取页面职位 及推荐单位 end---------------------------------------->
  1232. </script>
  1233. <style lang="less" scoped>
  1234. @import url('@/assets/css/index.less');
  1235. </style>
  1236. <style lang="less" scoped>
  1237. @media screen and (min-width:801px) {
  1238. /*pc*/
  1239. .pc_none {
  1240. display: none;
  1241. }
  1242. }
  1243. @media screen and (max-width:800px) {
  1244. /*ipad_phone*/
  1245. .index_main {
  1246. width: 100%;
  1247. margin-bottom: 0px;
  1248. }
  1249. .index_1 {
  1250. width: 100%;
  1251. margin: 0px auto 0px;
  1252. min-height: auto;
  1253. }
  1254. .index_2 {
  1255. width: 100%;
  1256. margin-bottom: 12px;
  1257. }
  1258. .index_1_h3 {
  1259. width: 92%;
  1260. text-align: center;
  1261. height: 33px;
  1262. overflow: hidden;
  1263. margin: 19px auto 0px;
  1264. }
  1265. .index_1_h3 .index_1_h3_a {
  1266. display: inline-block;
  1267. width: auto;
  1268. max-width: 100%;
  1269. height: 100%;
  1270. line-height: 33px;
  1271. font-size: 22px;
  1272. word-break: keep-all;
  1273. white-space: nowrap;
  1274. overflow: hidden;
  1275. text-overflow: ellipsis;
  1276. }
  1277. .index_1_h3_title_box {
  1278. width: 75%;
  1279. margin: 9px auto 0px;
  1280. }
  1281. .index_1_h3_title_box .index_1_h3_title_box_a {
  1282. width: 100%;
  1283. display: none;
  1284. font-size: 16px;
  1285. margin: 0;
  1286. }
  1287. .index_1_h3_title_box .index_1_h3_title_box_a:nth-of-type(1) {
  1288. display: block;
  1289. }
  1290. .roll_1_box {
  1291. width: 92%;
  1292. overflow: hidden;
  1293. height: auto;
  1294. margin: 0px auto 0px;
  1295. float: none;
  1296. }
  1297. .phone_box_1 {
  1298. width: 92%;
  1299. margin: 0px auto 0px;
  1300. .phone_box_1_head {
  1301. height: 50px;
  1302. line-height: 50px;
  1303. background: #fff;
  1304. border-bottom: 1px solid #E6E6E6;
  1305. width: 100%;
  1306. a {
  1307. float: left;
  1308. height: 50px;
  1309. line-height: 50px;
  1310. margin: 0;
  1311. position: relative;
  1312. color: #489d97;
  1313. font-size: 18px;
  1314. font-weight: bold;
  1315. box-sizing: border-box;
  1316. position: relative;
  1317. padding-left: 8px;
  1318. }
  1319. a::before {
  1320. content: '';
  1321. display: block;
  1322. position: absolute;
  1323. left: 0px;
  1324. top: 18px;
  1325. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1326. width: 3px;
  1327. height: 15px;
  1328. }
  1329. }
  1330. .phone_box_1_ul {
  1331. overflow: hidden;
  1332. height: 205px;
  1333. margin: 8px auto 0px;
  1334. >div {
  1335. width: 100%;
  1336. height: 100%;
  1337. }
  1338. a {
  1339. width: 100% !important;
  1340. display: block;
  1341. height: 40px;
  1342. line-height: 40px;
  1343. border-bottom: 1px solid #E6E6E6;
  1344. display: block;
  1345. position: relative;
  1346. word-break: keep-all;
  1347. white-space: nowrap;
  1348. overflow: hidden;
  1349. text-overflow: ellipsis;
  1350. font-size: 16px;
  1351. color: #333;
  1352. text-indent: 18px;
  1353. }
  1354. a::after {
  1355. content: '';
  1356. display: block;
  1357. position: absolute;
  1358. left: 0px;
  1359. top: 18px;
  1360. background: #E6E6E6;
  1361. width: 6px;
  1362. height: 6px;
  1363. }
  1364. a:nth-of-type(n+6) {
  1365. display: none;
  1366. }
  1367. }
  1368. }
  1369. .phone_box_2 {
  1370. width: 92%;
  1371. margin: 0px auto 0px;
  1372. .phone_box_2_head {
  1373. height: 50px;
  1374. line-height: 50px;
  1375. background: #fff;
  1376. border-bottom: 1px solid #E6E6E6;
  1377. margin-top: 15px;
  1378. width: 100%;
  1379. a {
  1380. float: left;
  1381. height: 50px;
  1382. line-height: 50px;
  1383. margin: 0;
  1384. position: relative;
  1385. color: #489d97;
  1386. font-size: 18px;
  1387. font-weight: bold;
  1388. box-sizing: border-box;
  1389. position: relative;
  1390. padding-left: 8px;
  1391. }
  1392. a::before {
  1393. content: '';
  1394. display: block;
  1395. position: absolute;
  1396. left: 0px;
  1397. top: 18px;
  1398. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1399. width: 3px;
  1400. height: 15px;
  1401. }
  1402. }
  1403. .phone_box_2_img_ul {
  1404. height: 55vw;
  1405. overflow: hidden;
  1406. margin-top: 15px;
  1407. div {
  1408. width: 100%;
  1409. float: none;
  1410. height: 55vw;
  1411. border-radius: 10px;
  1412. position: relative;
  1413. overflow: hidden;
  1414. }
  1415. a {
  1416. display: block;
  1417. width: 100%;
  1418. height: 100%;
  1419. }
  1420. img {
  1421. display: block;
  1422. width: 100%;
  1423. height: 100%;
  1424. }
  1425. span {
  1426. position: absolute;
  1427. width: 100%;
  1428. height: 66px;
  1429. line-height: 90px;
  1430. color: #fff;
  1431. font-size: 16px;
  1432. left: 0px;
  1433. bottom: 0px;
  1434. padding: 0px 5%;
  1435. box-sizing: border-box;
  1436. display: block;
  1437. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1438. word-break: keep-all;
  1439. white-space: nowrap;
  1440. overflow: hidden;
  1441. text-overflow: ellipsis;
  1442. }
  1443. >div:nth-of-type(n+2) {
  1444. display: none;
  1445. }
  1446. }
  1447. .phone_box_2_ul {
  1448. overflow: hidden;
  1449. height: 205px;
  1450. margin: 8px auto 0px;
  1451. >div {
  1452. width: 100%;
  1453. height: 100%;
  1454. }
  1455. a {
  1456. width: 100% !important;
  1457. display: block;
  1458. height: 40px;
  1459. line-height: 40px;
  1460. border-bottom: 1px solid #E6E6E6;
  1461. display: block;
  1462. position: relative;
  1463. word-break: keep-all;
  1464. white-space: nowrap;
  1465. overflow: hidden;
  1466. text-overflow: ellipsis;
  1467. font-size: 16px;
  1468. color: #333;
  1469. text-indent: 18px;
  1470. }
  1471. a::after {
  1472. content: '';
  1473. display: block;
  1474. position: absolute;
  1475. left: 0px;
  1476. top: 18px;
  1477. background: #E6E6E6;
  1478. width: 6px;
  1479. height: 6px;
  1480. }
  1481. a:nth-of-type(n+6) {
  1482. display: none;
  1483. }
  1484. }
  1485. }
  1486. .phone_box_3 {
  1487. width: 92%;
  1488. margin: 0px auto 0px;
  1489. .phone_box_3_head {
  1490. height: 50px;
  1491. line-height: 50px;
  1492. background: #fff;
  1493. border-bottom: 1px solid #E6E6E6;
  1494. margin-top: 15px;
  1495. width: 100%;
  1496. a {
  1497. float: left;
  1498. height: 50px;
  1499. line-height: 50px;
  1500. margin: 0;
  1501. position: relative;
  1502. color: #489d97;
  1503. font-size: 18px;
  1504. font-weight: bold;
  1505. box-sizing: border-box;
  1506. position: relative;
  1507. padding-left: 8px;
  1508. }
  1509. a::before {
  1510. content: '';
  1511. display: block;
  1512. position: absolute;
  1513. left: 0px;
  1514. top: 18px;
  1515. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1516. width: 3px;
  1517. height: 15px;
  1518. }
  1519. }
  1520. .phone_box_3_img_ul {
  1521. height: 55vw;
  1522. overflow: hidden;
  1523. margin-top: 15px;
  1524. div {
  1525. width: 100%;
  1526. float: none;
  1527. height: 55vw;
  1528. border-radius: 10px;
  1529. position: relative;
  1530. overflow: hidden;
  1531. }
  1532. a {
  1533. display: block;
  1534. width: 100%;
  1535. height: 100%;
  1536. }
  1537. img {
  1538. display: block;
  1539. width: 100%;
  1540. height: 100%;
  1541. }
  1542. span {
  1543. position: absolute;
  1544. width: 100%;
  1545. height: 66px;
  1546. line-height: 90px;
  1547. color: #fff;
  1548. font-size: 16px;
  1549. left: 0px;
  1550. bottom: 0px;
  1551. padding: 0px 5%;
  1552. box-sizing: border-box;
  1553. display: block;
  1554. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1555. word-break: keep-all;
  1556. white-space: nowrap;
  1557. overflow: hidden;
  1558. text-overflow: ellipsis;
  1559. }
  1560. >div:nth-of-type(n+2) {
  1561. display: none;
  1562. }
  1563. }
  1564. .phone_box_3_ul {
  1565. overflow: hidden;
  1566. height: 205px;
  1567. margin: 15px auto 0px;
  1568. >div {
  1569. width: 100%;
  1570. height: 100%;
  1571. }
  1572. a {
  1573. width: 100% !important;
  1574. display: block;
  1575. height: 40px;
  1576. line-height: 40px;
  1577. border-bottom: 1px solid #E6E6E6;
  1578. display: block;
  1579. position: relative;
  1580. word-break: keep-all;
  1581. white-space: nowrap;
  1582. overflow: hidden;
  1583. text-overflow: ellipsis;
  1584. font-size: 16px;
  1585. color: #333;
  1586. text-indent: 18px;
  1587. }
  1588. a::after {
  1589. content: '';
  1590. display: block;
  1591. position: absolute;
  1592. left: 0px;
  1593. top: 18px;
  1594. background: #E6E6E6;
  1595. width: 6px;
  1596. height: 6px;
  1597. }
  1598. a:nth-of-type(n+6) {
  1599. display: none;
  1600. }
  1601. }
  1602. }
  1603. .phone_box_4 {
  1604. width: 92%;
  1605. margin: 0px auto 0px;
  1606. .phone_box_4_head {
  1607. height: 50px;
  1608. line-height: 50px;
  1609. background: #fff;
  1610. border-bottom: 1px solid #E6E6E6;
  1611. margin-top: 15px;
  1612. width: 100%;
  1613. a {
  1614. float: left;
  1615. height: 50px;
  1616. line-height: 50px;
  1617. margin: 0;
  1618. position: relative;
  1619. color: #489d97;
  1620. font-size: 18px;
  1621. font-weight: bold;
  1622. box-sizing: border-box;
  1623. position: relative;
  1624. padding-left: 8px;
  1625. }
  1626. a::before {
  1627. content: '';
  1628. display: block;
  1629. position: absolute;
  1630. left: 0px;
  1631. top: 18px;
  1632. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1633. width: 3px;
  1634. height: 15px;
  1635. }
  1636. }
  1637. .phone_box_4_img_ul {
  1638. height: 55vw;
  1639. overflow: hidden;
  1640. margin-top: 15px;
  1641. div {
  1642. width: 100%;
  1643. float: none;
  1644. height: 55vw;
  1645. border-radius: 10px;
  1646. position: relative;
  1647. overflow: hidden;
  1648. }
  1649. a {
  1650. display: block;
  1651. width: 100%;
  1652. height: 100%;
  1653. }
  1654. img {
  1655. display: block;
  1656. width: 100%;
  1657. height: 100%;
  1658. }
  1659. span {
  1660. position: absolute;
  1661. width: 100%;
  1662. height: 66px;
  1663. line-height: 90px;
  1664. color: #fff;
  1665. font-size: 16px;
  1666. left: 0px;
  1667. bottom: 0px;
  1668. padding: 0px 5%;
  1669. box-sizing: border-box;
  1670. display: block;
  1671. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1672. word-break: keep-all;
  1673. white-space: nowrap;
  1674. overflow: hidden;
  1675. text-overflow: ellipsis;
  1676. }
  1677. >div:nth-of-type(n+2) {
  1678. display: none;
  1679. }
  1680. }
  1681. .phone_box_4_ul {
  1682. overflow: hidden;
  1683. height: 205px;
  1684. margin: 15px auto 0px;
  1685. >div {
  1686. width: 100%;
  1687. height: 100%;
  1688. }
  1689. a {
  1690. width: 100% !important;
  1691. display: block;
  1692. height: 40px;
  1693. line-height: 40px;
  1694. border-bottom: 1px solid #E6E6E6;
  1695. display: block;
  1696. position: relative;
  1697. word-break: keep-all;
  1698. white-space: nowrap;
  1699. overflow: hidden;
  1700. text-overflow: ellipsis;
  1701. font-size: 16px;
  1702. color: #333;
  1703. text-indent: 18px;
  1704. }
  1705. a::after {
  1706. content: '';
  1707. display: block;
  1708. position: absolute;
  1709. left: 0px;
  1710. top: 18px;
  1711. background: #E6E6E6;
  1712. width: 6px;
  1713. height: 6px;
  1714. }
  1715. a:nth-of-type(n+6) {
  1716. display: none;
  1717. }
  1718. }
  1719. }
  1720. .phone_box_5 {
  1721. width: 92%;
  1722. margin: 0px auto 0px;
  1723. .phone_box_5_head {
  1724. height: 50px;
  1725. line-height: 50px;
  1726. background: #fff;
  1727. border-bottom: 1px solid #E6E6E6;
  1728. margin-top: 15px;
  1729. width: 100%;
  1730. a {
  1731. float: left;
  1732. height: 50px;
  1733. line-height: 50px;
  1734. margin: 0;
  1735. position: relative;
  1736. color: #489d97;
  1737. font-size: 18px;
  1738. font-weight: bold;
  1739. box-sizing: border-box;
  1740. position: relative;
  1741. padding-left: 8px;
  1742. }
  1743. a::before {
  1744. content: '';
  1745. display: block;
  1746. position: absolute;
  1747. left: 0px;
  1748. top: 18px;
  1749. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1750. width: 3px;
  1751. height: 15px;
  1752. }
  1753. }
  1754. .phone_box_5_ul {
  1755. overflow: hidden;
  1756. height: 205px;
  1757. margin: 8px auto 0px;
  1758. >div {
  1759. width: 100%;
  1760. height: 100%;
  1761. }
  1762. a {
  1763. width: 100% !important;
  1764. display: block;
  1765. height: 40px;
  1766. line-height: 40px;
  1767. border-bottom: 1px solid #E6E6E6;
  1768. display: block;
  1769. position: relative;
  1770. word-break: keep-all;
  1771. white-space: nowrap;
  1772. overflow: hidden;
  1773. text-overflow: ellipsis;
  1774. font-size: 16px;
  1775. color: #333;
  1776. text-indent: 18px;
  1777. }
  1778. a::after {
  1779. content: '';
  1780. display: block;
  1781. position: absolute;
  1782. left: 0px;
  1783. top: 18px;
  1784. background: #E6E6E6;
  1785. width: 6px;
  1786. height: 6px;
  1787. }
  1788. a:nth-of-type(n+6) {
  1789. display: none;
  1790. }
  1791. }
  1792. }
  1793. .phone_box_6 {
  1794. width: 92%;
  1795. margin: 0px auto 0px;
  1796. .phone_box_6_head {
  1797. height: 50px;
  1798. line-height: 50px;
  1799. background: #fff;
  1800. border-bottom: 1px solid #E6E6E6;
  1801. margin-top: 15px;
  1802. width: 100%;
  1803. a {
  1804. float: left;
  1805. height: 50px;
  1806. line-height: 50px;
  1807. margin: 0;
  1808. position: relative;
  1809. color: #489d97;
  1810. font-size: 18px;
  1811. font-weight: bold;
  1812. box-sizing: border-box;
  1813. position: relative;
  1814. padding-left: 8px;
  1815. }
  1816. a::before {
  1817. content: '';
  1818. display: block;
  1819. position: absolute;
  1820. left: 0px;
  1821. top: 18px;
  1822. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1823. width: 3px;
  1824. height: 15px;
  1825. }
  1826. }
  1827. .phone_box_6_ul {
  1828. overflow: hidden;
  1829. height: 205px;
  1830. margin: 8px auto 0px;
  1831. >div {
  1832. width: 100%;
  1833. height: 100%;
  1834. }
  1835. a {
  1836. width: 100% !important;
  1837. display: block;
  1838. height: 40px;
  1839. line-height: 40px;
  1840. border-bottom: 1px solid #E6E6E6;
  1841. display: block;
  1842. position: relative;
  1843. word-break: keep-all;
  1844. white-space: nowrap;
  1845. overflow: hidden;
  1846. text-overflow: ellipsis;
  1847. font-size: 16px;
  1848. color: #333;
  1849. text-indent: 18px;
  1850. }
  1851. a::after {
  1852. content: '';
  1853. display: block;
  1854. position: absolute;
  1855. left: 0px;
  1856. top: 18px;
  1857. background: #E6E6E6;
  1858. width: 6px;
  1859. height: 6px;
  1860. }
  1861. a:nth-of-type(n+6) {
  1862. display: none;
  1863. }
  1864. }
  1865. }
  1866. .phone_box_7 {
  1867. width: 92%;
  1868. margin: 0px auto 0px;
  1869. .phone_box_7_head {
  1870. height: 50px;
  1871. line-height: 50px;
  1872. background: #fff;
  1873. border-bottom: 1px solid #E6E6E6;
  1874. margin-top: 15px;
  1875. width: 100%;
  1876. a {
  1877. float: left;
  1878. height: 50px;
  1879. line-height: 50px;
  1880. margin: 0;
  1881. position: relative;
  1882. color: #489d97;
  1883. font-size: 18px;
  1884. font-weight: bold;
  1885. box-sizing: border-box;
  1886. position: relative;
  1887. padding-left: 8px;
  1888. }
  1889. a::before {
  1890. content: '';
  1891. display: block;
  1892. position: absolute;
  1893. left: 0px;
  1894. top: 18px;
  1895. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1896. width: 3px;
  1897. height: 15px;
  1898. }
  1899. }
  1900. .phone_box_7_img_ul {
  1901. height: 55vw;
  1902. overflow: hidden;
  1903. margin-top: 15px;
  1904. div {
  1905. width: 100%;
  1906. float: none;
  1907. height: 55vw;
  1908. border-radius: 10px;
  1909. position: relative;
  1910. overflow: hidden;
  1911. }
  1912. a {
  1913. display: block;
  1914. width: 100%;
  1915. height: 100%;
  1916. }
  1917. img {
  1918. display: block;
  1919. width: 100%;
  1920. height: 100%;
  1921. }
  1922. span {
  1923. position: absolute;
  1924. width: 100%;
  1925. height: 66px;
  1926. line-height: 90px;
  1927. color: #fff;
  1928. font-size: 16px;
  1929. left: 0px;
  1930. bottom: 0px;
  1931. padding: 0px 5%;
  1932. box-sizing: border-box;
  1933. display: block;
  1934. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1935. word-break: keep-all;
  1936. white-space: nowrap;
  1937. overflow: hidden;
  1938. text-overflow: ellipsis;
  1939. }
  1940. >div:nth-of-type(n+2) {
  1941. display: none;
  1942. }
  1943. }
  1944. }
  1945. .phone_box_8 {
  1946. width: 92%;
  1947. margin: 0px auto 0px;
  1948. .phone_box_8_head {
  1949. height: 50px;
  1950. line-height: 50px;
  1951. background: #fff;
  1952. border-bottom: 1px solid #E6E6E6;
  1953. margin-top: 15px;
  1954. width: 100%;
  1955. a {
  1956. float: left;
  1957. height: 50px;
  1958. line-height: 50px;
  1959. margin: 0;
  1960. position: relative;
  1961. color: #489d97;
  1962. font-size: 18px;
  1963. font-weight: bold;
  1964. box-sizing: border-box;
  1965. position: relative;
  1966. padding-left: 8px;
  1967. }
  1968. a::before {
  1969. content: '';
  1970. display: block;
  1971. position: absolute;
  1972. left: 0px;
  1973. top: 18px;
  1974. background: linear-gradient(to top, #0998A9, #6ADDD6);
  1975. width: 3px;
  1976. height: 15px;
  1977. }
  1978. }
  1979. .phone_box_8_img_ul {
  1980. height: 55vw;
  1981. overflow: hidden;
  1982. margin-top: 15px;
  1983. div {
  1984. width: 100%;
  1985. float: none;
  1986. height: 55vw;
  1987. border-radius: 10px;
  1988. position: relative;
  1989. overflow: hidden;
  1990. }
  1991. a {
  1992. display: block;
  1993. width: 100%;
  1994. height: 100%;
  1995. }
  1996. img {
  1997. display: block;
  1998. width: 100%;
  1999. height: 100%;
  2000. }
  2001. span {
  2002. position: absolute;
  2003. width: 100%;
  2004. height: 66px;
  2005. line-height: 90px;
  2006. color: #fff;
  2007. font-size: 16px;
  2008. left: 0px;
  2009. bottom: 0px;
  2010. padding: 0px 5%;
  2011. box-sizing: border-box;
  2012. display: block;
  2013. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  2014. word-break: keep-all;
  2015. white-space: nowrap;
  2016. overflow: hidden;
  2017. text-overflow: ellipsis;
  2018. }
  2019. >div:nth-of-type(n+2) {
  2020. display: none;
  2021. }
  2022. }
  2023. .phone_box_8_ul {
  2024. overflow: hidden;
  2025. height: 41px;
  2026. margin: 15px auto 0px;
  2027. >div {
  2028. width: 100%;
  2029. height: 100%;
  2030. }
  2031. a {
  2032. width: 100% !important;
  2033. display: block;
  2034. height: 40px;
  2035. line-height: 40px;
  2036. border-bottom: 1px solid #E6E6E6;
  2037. display: block;
  2038. position: relative;
  2039. word-break: keep-all;
  2040. white-space: nowrap;
  2041. overflow: hidden;
  2042. text-overflow: ellipsis;
  2043. font-size: 16px;
  2044. color: #333;
  2045. text-indent: 18px;
  2046. }
  2047. a::after {
  2048. content: '';
  2049. display: block;
  2050. position: absolute;
  2051. left: 0px;
  2052. top: 18px;
  2053. background: #E6E6E6;
  2054. width: 6px;
  2055. height: 6px;
  2056. }
  2057. a:nth-of-type(n+2) {
  2058. display: none;
  2059. }
  2060. }
  2061. }
  2062. .phone_box_9 {
  2063. width: 92%;
  2064. margin: 0px auto 0px;
  2065. .phone_box_8_head {
  2066. height: 50px;
  2067. line-height: 50px;
  2068. background: #fff;
  2069. border-bottom: 1px solid #E6E6E6;
  2070. margin-top: 15px;
  2071. width: 100%;
  2072. a {
  2073. float: left;
  2074. height: 50px;
  2075. line-height: 50px;
  2076. margin: 0;
  2077. position: relative;
  2078. color: #489d97;
  2079. font-size: 18px;
  2080. font-weight: bold;
  2081. box-sizing: border-box;
  2082. position: relative;
  2083. padding-left: 8px;
  2084. }
  2085. a::before {
  2086. content: '';
  2087. display: block;
  2088. position: absolute;
  2089. left: 0px;
  2090. top: 18px;
  2091. background: linear-gradient(to top, #0998A9, #6ADDD6);
  2092. width: 3px;
  2093. height: 15px;
  2094. }
  2095. }
  2096. .phone_box_8_ul {
  2097. overflow: hidden;
  2098. height: 41px;
  2099. margin: 8px auto 0px;
  2100. >div {
  2101. width: 100%;
  2102. height: 100%;
  2103. }
  2104. a {
  2105. width: 100% !important;
  2106. display: block;
  2107. height: 40px;
  2108. line-height: 40px;
  2109. border-bottom: 1px solid #E6E6E6;
  2110. display: block;
  2111. position: relative;
  2112. word-break: keep-all;
  2113. white-space: nowrap;
  2114. overflow: hidden;
  2115. text-overflow: ellipsis;
  2116. font-size: 16px;
  2117. color: #333;
  2118. text-indent: 18px;
  2119. }
  2120. a::after {
  2121. content: '';
  2122. display: block;
  2123. position: absolute;
  2124. left: 0px;
  2125. top: 18px;
  2126. background: #E6E6E6;
  2127. width: 6px;
  2128. height: 6px;
  2129. }
  2130. a:nth-of-type(n+2) {
  2131. display: none;
  2132. }
  2133. }
  2134. }
  2135. .phone_none {
  2136. display: none;
  2137. }
  2138. }
  2139. </style>