class.vue 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376
  1. <template>
  2. <div>
  3. <HomePageHead></HomePageHead>
  4. <HomePageNavigation></HomePageNavigation>
  5. <HomeSecondaryHeading :titleData="pageData" :pinyinid="routeId"></HomeSecondaryHeading>
  6. <!-- 频道页 -->
  7. <main class="index_main">
  8. <section class="channel_1 clearfix">
  9. <div class="channel_1_box clearfix">
  10. <div class="roll_1_box clearfix">
  11. <HomeSwiperNzgx :imgData="pageData[0].data"></HomeSwiperNzgx>
  12. </div>
  13. </div>
  14. <div class="channel_2_box clearfix phone_none">
  15. <div class="channel_ul_1 clearfix">
  16. <NuxtLink class="channel_ul_1_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  17. v-for="item in pageData[0].data2" :key="item.id"
  18. :target="item.islink == 1 ? '_blank' : '_self'">
  19. {{ item.title }}
  20. </NuxtLink>
  21. </div>
  22. </div>
  23. </section>
  24. <!-- 广告 1-->
  25. <HomeAdvertising :imgurl="adImg1"></HomeAdvertising>
  26. <section class="channel_2 clearfix phone_none">
  27. <div class="channel_1_box" v-if="pageData.length > 1">
  28. <div class="channel_head_box clearfix">
  29. <div class="channel_head_box_left">
  30. <div class="channel_head_left_a_btn">
  31. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  32. :href="getLinkPath(pageData[1])" v-if="pageData[1]" :title="pageData[1].alias">
  33. {{ pageData[1].alias }}
  34. </NuxtLink>
  35. </div>
  36. </div>
  37. </div>
  38. <div class=" clearfix">
  39. <div class="channel_3_box clearfix">
  40. <div class="channel_ul_2 clearfix" v-if="pageData[1]">
  41. <NuxtLink class="channel_ul_2_a dot1" :href="getLinkPathDetail(item)"
  42. :title="item.title" v-for="item in pageData[1].data3" :key="item.id"
  43. :target="item.islink == 1 ? '_blank' : '_self'">
  44. {{ item.title }}
  45. </NuxtLink>
  46. </div>
  47. </div>
  48. <div class="channel_4_box clearfix">
  49. <div class="channel_img_ul_1">
  50. <div class="channel_img_ul_1_li" v-if="pageData[1]">
  51. <NuxtLink class="channel_img_ul_1_li_a" :href="getLinkPathDetail(item)"
  52. :title="item.title" v-for="item in pageData[1].data" :key="item.id"
  53. :target="item.islink == 1 ? '_blank' : '_self'">
  54. <img class="channel_img_ul_1_li_img" :src="item.imgurl" alt="item.imgurl">
  55. <div class="channel_img_ul_1_li_dot2 dot2">
  56. {{ item.title }}
  57. </div>
  58. </NuxtLink>
  59. </div>
  60. </div>
  61. <div class="channel_img_ul_even_1 clearfix" v-if="pageData[1]">
  62. <div class="channel_img_ul_even_1_li" v-for="item in pageData[1].data2">
  63. <NuxtLink class="channel_img_ul_even_1_li_a" :href="getLinkPathDetail(item)"
  64. :title="item.title" :key="item.id"
  65. :target="item.islink == 1 ? '_blank' : '_self'">
  66. <img class="channel_img_ul_even_1_li_img" :src="item.imgurl" alt="item.imgurl">
  67. <div class="channel_img_ul_even_1_li_dot2 dot2">
  68. {{ item.title }}
  69. </div>
  70. </NuxtLink>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <div class="channel_2_box" v-if="pageData.length > 2">
  77. <div class="channel_head_box clearfix">
  78. <div class="channel_head_box_left">
  79. <div class="channel_head_left_a_btn">
  80. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  81. :href="getLinkPath(pageData[2])" v-if="pageData[2]" :title="pageData[2].alias">
  82. {{ pageData[2].alias }}
  83. </NuxtLink>
  84. </div>
  85. </div>
  86. <div class="channel_head_box_right">
  87. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[2])"
  88. v-if="pageData[2]" :title="pageData[2].alias">
  89. 栏目简介
  90. </NuxtLink> -->
  91. </div>
  92. </div>
  93. <div class=" clearfix">
  94. <div class="channel_even_img_ul_2 clearfix" v-if="pageData[2]">
  95. <div class="channel_even_img_ul_2_li" v-for="item in pageData[2].data">
  96. <NuxtLink class="channel_even_img_ul_2_a" :href="getLinkPathDetail(item)"
  97. :title="item.title" :key="item.id" :target="item.islink == 1 ? '_blank' : '_self'">
  98. <img class="channel_even_img_ul_2_li_img" :src="item.imgurl" alt="item.title">
  99. <div class="channel_even_img_ul_2_dot1 dot1">{{ item.title }}</div>
  100. </NuxtLink>
  101. </div>
  102. </div>
  103. <div class="channel_ul_3 clearfix" v-if="pageData[2]">
  104. <NuxtLink class="channel_ul_3_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  105. v-for="item in pageData[2].data2" :key="item.id"
  106. :target="item.islink == 1 ? '_blank' : '_self'">
  107. {{ item.title }}
  108. </NuxtLink>
  109. </div>
  110. </div>
  111. </div>
  112. </section>
  113. <div class="phone_box_1 pc_none">
  114. <div class="phone_box_1_ul">
  115. <div class="" >
  116. <NuxtLink
  117. :href="getLinkPathDetail(item)"
  118. v-for="item in pageData[0].data2"
  119. :key="item.id"
  120. :target="item.islink == 1 ? '_blank' : '_self'">
  121. {{ item.title }}
  122. </NuxtLink>
  123. </div>
  124. </div>
  125. </div>
  126. <!-- 惠农工程 phone-->
  127. <div class="phone_box_2 pc_none" v-if="pageData.length > 1">
  128. <div class="phone_box_2_head">
  129. <NuxtLink class=""
  130. :href="getLinkPath(pageData[1])"
  131. v-if="pageData[1]">
  132. {{ pageData[1].alias }}
  133. </NuxtLink>
  134. </div>
  135. <div class="phone_box_2_img_ul">
  136. <div class="" v-if="pageData[1]">
  137. <NuxtLink class=""
  138. :href="getLinkPathDetail(item)"
  139. v-for="item in pageData[1].data"
  140. :key="item.id"
  141. :target="item.islink == 1 ? '_blank' : '_self'">
  142. <img class=""
  143. :src="item.imgurl"
  144. alt="item.imgurl">
  145. <span class="">
  146. {{ item.title }}
  147. </span>
  148. </NuxtLink>
  149. </div>
  150. </div>
  151. <div class="phone_box_2_ul">
  152. <div class="" v-if="pageData[1]">
  153. <NuxtLink class=""
  154. :href="getLinkPathDetail(item)"
  155. :title="item.title"
  156. v-for="item in pageData[1].data3"
  157. :key="item.id"
  158. :target="item.islink == 1 ? '_blank' : '_self'">
  159. {{ item.title }}
  160. </NuxtLink>
  161. </div>
  162. </div>
  163. </div>
  164. <!-- 公告启事 phone -->
  165. <div class="phone_box_3 pc_none" v-if="pageData.length > 2">
  166. <div class="phone_box_3_head">
  167. <NuxtLink class=""
  168. :href="getLinkPath(pageData[2])"
  169. v-if="pageData[2]">
  170. {{ pageData[2].alias }}
  171. </NuxtLink>
  172. </div>
  173. <div class="phone_box_3_img_ul">
  174. <div class="" v-if="pageData[2]">
  175. <NuxtLink class=""
  176. v-for="item in pageData[2].data"
  177. :href="getLinkPathDetail(item)"
  178. :key="item.id"
  179. :target="item.islink == 1 ? '_blank' : '_self'">
  180. <img class=""
  181. :src="item.imgurl"
  182. alt="item.title">
  183. <span class="">{{ item.title }}</span>
  184. </NuxtLink>
  185. </div>
  186. </div>
  187. <div class="phone_box_3_ul">
  188. <div class="" v-if="pageData[2]">
  189. <NuxtLink class=""
  190. v-for="item in pageData[2].data2"
  191. :key="item.id"
  192. :href="getLinkPathDetail(item)"
  193. :target="item.islink == 1 ? '_blank' : '_self'">
  194. {{ item.title }}
  195. </NuxtLink>
  196. </div>
  197. </div>
  198. </div>
  199. <section class="channel_3 clearfix phone_none">
  200. <div class="channel_1_box" v-if="pageData.length > 3">
  201. <div class="channel_head_box clearfix">
  202. <div class="channel_head_box_left">
  203. <div class="channel_head_left_a_btn">
  204. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  205. :href="getLinkPath(pageData[3])" v-if="pageData[3]" :title="pageData[3].alias">
  206. {{ pageData[3].alias }}
  207. </NuxtLink>
  208. </div>
  209. </div>
  210. <div class="channel_head_box_right">
  211. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[3])"
  212. v-if="pageData[3]" :title="pageData[3].alias">
  213. 栏目简介
  214. </NuxtLink> -->
  215. </div>
  216. </div>
  217. <div class=" clearfix">
  218. <div class="channel_ul_4 clearfix" v-if="pageData[3]">
  219. <NuxtLink class="channel_ul_4_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  220. v-for="item in pageData[3].data2" :key="item.id"
  221. :target="item.islink == 1 ? '_blank' : '_self'">
  222. {{ item.title }}
  223. </NuxtLink>
  224. </div>
  225. </div>
  226. </div>
  227. <div class="channel_2_box" v-if="pageData.length > 4">
  228. <div class="channel_head_box clearfix">
  229. <div class="channel_head_box_left">
  230. <div class="channel_head_left_a_btn">
  231. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  232. :href="getLinkPath(pageData[4])" v-if="pageData[4]" :title="pageData[4].alias">
  233. {{ pageData[4].alias }}
  234. </NuxtLink>
  235. </div>
  236. </div>
  237. <div class="channel_head_box_right">
  238. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[4])"
  239. v-if="pageData[4]" :title="pageData[4].alias">
  240. 栏目简介
  241. </NuxtLink> -->
  242. </div>
  243. </div>
  244. <div class="channel_img_ul_2">
  245. <div class="channel_img_ul_2_li" v-if="pageData[4]">
  246. <NuxtLink class="channel_img_ul_2_li_a" :href="getLinkPathDetail(item)" :title="item.title"
  247. v-for="item in pageData[4].data" :key="item.id"
  248. :target="item.islink == 1 ? '_blank' : '_self'">
  249. <img class="channel_img_ul_2_li_img" :src="item.imgurl" alt="item.imgurl">
  250. <div class="channel_img_ul_2_li_dot2 dot2">{{ item.title }}</div>
  251. </NuxtLink>
  252. </div>
  253. </div>
  254. </div>
  255. </section>
  256. <!-- 法律咨询 phone-->
  257. <div class="phone_box_4 pc_none" v-if="pageData.length > 3" >
  258. <div class="phone_box_4_head">
  259. <NuxtLink class=" "
  260. :href="getLinkPath(pageData[3])"
  261. v-if="pageData[3]" >
  262. {{ pageData[3].alias }}
  263. </NuxtLink>
  264. </div>
  265. <div class="phone_box_4_ul">
  266. <div class="" v-if="pageData[3]">
  267. <NuxtLink class=""
  268. :href="getLinkPathDetail(item)"
  269. v-for="item in pageData[3].data2"
  270. :key="item.id"
  271. :target="item.islink == 1 ? '_blank' : '_self'">
  272. {{ item.title }}
  273. </NuxtLink>
  274. </div>
  275. </div>
  276. </div>
  277. <!-- 行业标准 phone-->
  278. <div class="phone_box_5 pc_none" v-if="pageData.length > 4">
  279. <div class="phone_box_5_head">
  280. <NuxtLink class=""
  281. :href="getLinkPath(pageData[4])"
  282. v-if="pageData[4]">
  283. {{ pageData[4].alias }}
  284. </NuxtLink>
  285. </div>
  286. <div class="phone_box_5_img_ul">
  287. <div class="" v-if="pageData[4]">
  288. <NuxtLink class=""
  289. v-for="item in pageData[4].data" :key="item.id"
  290. :href="getLinkPathDetail(item)"
  291. :target="item.islink == 1 ? '_blank' : '_self'">
  292. <img class="" :src="item.imgurl" alt="item.imgurl">
  293. <span class="">{{ item.title }}</span>
  294. </NuxtLink>
  295. </div>
  296. </div>
  297. </div>
  298. <!-- 广告 2-->
  299. <HomeAdvertising :imgurl="adImg2"></HomeAdvertising>
  300. <section class="channel_4 clearfix phone_none">
  301. <div class="channel_1_box">
  302. <div class="channel_head_box clearfix" v-if="pageData.length > 5">
  303. <div class="channel_head_box_left">
  304. <div class="channel_head_left_a_btn">
  305. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  306. :href="getLinkPath(pageData[5])" v-if="pageData[5]" :title="pageData[5].alias">
  307. {{ pageData[5].alias }}
  308. </NuxtLink>
  309. </div>
  310. </div>
  311. <div class="channel_head_box_right">
  312. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[5])"
  313. v-if="pageData[5]" :title="pageData[5].alias">
  314. 栏目简介
  315. </NuxtLink> -->
  316. </div>
  317. </div>
  318. <div class=" clearfix" v-if="pageData.length > 5">
  319. <div class="channel_3_box clearfix">
  320. <div class="channel_img_ul_3_ul boxheight2">
  321. <div class="channel_img_ul_3_li" v-if="pageData[5]">
  322. <NuxtLink class="channel_img_ul_3_li_a" :href="getLinkPathDetail(item)"
  323. :title="item.title" v-for="item in pageData[5].data" :key="item.id"
  324. :target="item.islink == 1 ? '_blank' : '_self'">
  325. <img class="channel_img_ul_3_li_img" :src="item.imgurl" alt="item.title">
  326. <div class="channel_img_ul_3_li_dot1 dot1">
  327. {{ item.title }}
  328. </div>
  329. </NuxtLink>
  330. </div>
  331. </div>
  332. </div>
  333. <div class="channel_4_box clearfix">
  334. <div class="channel_ul_5 clearfix" v-if="pageData[5]">
  335. <NuxtLink class="channel_ul_5_a dot1" :href="getLinkPathDetail(item)"
  336. :title="item.title" v-for="item in pageData[5].data2" :key="item.id"
  337. :target="item.islink == 1 ? '_blank' : '_self'">
  338. {{ item.title }}
  339. </NuxtLink>
  340. </div>
  341. </div>
  342. </div>
  343. <div class="channel_head_box clearfix channel_head_box_2" v-if="pageData.length > 6">
  344. <div class="channel_head_box_left">
  345. <div class="channel_head_left_a_btn">
  346. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  347. :href="getLinkPath(pageData[6])" v-if="pageData[6]" :title="pageData[6].alias">
  348. {{ pageData[6].alias }}
  349. </NuxtLink>
  350. </div>
  351. </div>
  352. <div class="channel_head_box_right">
  353. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[6])"
  354. v-if="pageData[6]" :title="pageData[6].alias">
  355. 栏目简介
  356. </NuxtLink> -->
  357. </div>
  358. </div>
  359. <div class=" clearfix" v-if="pageData.length > 6">
  360. <div class="channel_3_box clearfix">
  361. <div class="channel_img_ul_4_ul">
  362. <div class="channel_img_ul_4_li" v-if="pageData[6]">
  363. <NuxtLink class="channel_img_ul_4_li_a" :href="getLinkPathDetail(item)"
  364. :title="item.title" v-for="item in pageData[6].data" :key="item.id"
  365. :target="item.islink == 1 ? '_blank' : '_self'">
  366. <img class="channel_img_ul_4_li_img" :src="item.imgurl" alt="item.title">
  367. <div class="channel_img_ul_4_li_dot1 dot1">
  368. {{ item.title }}
  369. </div>
  370. </NuxtLink>
  371. </div>
  372. </div>
  373. </div>
  374. <div class="channel_4_box clearfix">
  375. <div class="channel_ul_6 clearfix" v-if="pageData[6]">
  376. <NuxtLink class="channel_ul_6_a dot1" :href="getLinkPathDetail(item)"
  377. :title="item.title" v-for="item in pageData[6].data2" :key="item.id"
  378. :target="item.islink == 1 ? '_blank' : '_self'">
  379. {{ item.title }}
  380. </NuxtLink>
  381. </div>
  382. </div>
  383. </div>
  384. </div>
  385. <div class="channel_2_box" v-if="pageData.length > 7">
  386. <div class="channel_head_box clearfix">
  387. <div class="channel_head_box_left">
  388. <div class="channel_head_left_a_btn">
  389. <NuxtLink class="channel_head_left_a channel_head_left_a_only"
  390. :href="getLinkPath(pageData[7])" v-if="pageData[7]" :title="pageData[7].alias">
  391. {{ pageData[7].alias }}
  392. </NuxtLink>
  393. </div>
  394. </div>
  395. <div class="channel_head_box_right">
  396. <!-- <NuxtLink class="channel_head_box_right_1_a" :href="getLinkPath(pageData[7])"
  397. v-if="pageData[7]" :title="pageData[7].alias">
  398. 栏目简介
  399. </NuxtLink> -->
  400. </div>
  401. </div>
  402. <div class="boxheight1 clearfix">
  403. <div class="channel_img_ul_5_ul">
  404. <div class="channel_img_ul_5_li" v-if="pageData[7]">
  405. <NuxtLink class="channel_img_ul_5_li_a" :href="getLinkPathDetail(item)"
  406. :title="item.title" v-for="item in pageData[7].data" :key="item.id"
  407. :target="item.islink == 1 ? '_blank' : '_self'">
  408. <img class="channel_img_ul_5_li_img" :src="item.imgurl" alt="item.title">
  409. <div class="channel_img_ul_5_li_dot1 dot1">{{ item.title }}</div>
  410. </NuxtLink>
  411. </div>
  412. </div>
  413. <div class="index_ul_7 clearfix" v-if="pageData[7]">
  414. <NuxtLink class="index_ul_7_a dot1" :href="getLinkPathDetail(item)" :title="item.title"
  415. v-for="item in pageData[7].data2" :key="item.id"
  416. :target="item.islink == 1 ? '_blank' : '_self'">
  417. {{ item.title }}
  418. </NuxtLink>
  419. </div>
  420. </div>
  421. </div>
  422. </section>
  423. <!-- 11地方法规 phone-->
  424. <div class="phone_box_6 pc_none" v-if="pageData.length > 5">
  425. <div class="phone_box_6_head" v-if="pageData.length > 5">
  426. <NuxtLink class=""
  427. :href="getLinkPath(pageData[5])"
  428. v-if="pageData[5]">
  429. {{ pageData[5].alias }}
  430. </NuxtLink>
  431. </div>
  432. <div class="phone_box_6_img_ul">
  433. <div class="" v-if="pageData[5]">
  434. <NuxtLink class=""
  435. :href="getLinkPathDetail(item)"
  436. v-for="item in pageData[5].data"
  437. :key="item.id"
  438. :target="item.islink == 1 ? '_blank' : '_self'">
  439. <img class="" :src="item.imgurl" alt="item.title">
  440. <span class="">
  441. {{ item.title }}
  442. </span>
  443. </NuxtLink>
  444. </div>
  445. </div>
  446. <div class="phone_box_6_ul">
  447. <div class="" v-if="pageData[5]">
  448. <NuxtLink class=""
  449. :href="getLinkPathDetail(item)"
  450. v-for="item in pageData[5].data2"
  451. :key="item.id"
  452. :target="item.islink == 1 ? '_blank' : '_self'">
  453. {{ item.title }}
  454. </NuxtLink>
  455. </div>
  456. </div>
  457. </div>
  458. <!-- 部委资讯 phone-->
  459. <div class="phone_box_7 pc_none" v-if="pageData.length > 6">
  460. <div class="phone_box_7_head">
  461. <NuxtLink class=""
  462. :href="getLinkPath(pageData[6])"
  463. v-if="pageData[6]" >
  464. {{ pageData[6].alias }}
  465. </NuxtLink>
  466. </div>
  467. <div class="phone_box_7_img_ul">
  468. <div class="" v-if="pageData[6]">
  469. <NuxtLink class=""
  470. :href="getLinkPathDetail(item)"
  471. v-for="item in pageData[6].data"
  472. :key="item.id"
  473. :target="item.islink == 1 ? '_blank' : '_self'">
  474. <img class="" :src="item.imgurl" alt="item.title">
  475. <span class="">
  476. {{ item.title }}
  477. </span>
  478. </NuxtLink>
  479. </div>
  480. </div>
  481. <div class="phone_box_7_ul">
  482. <div class="" v-if="pageData[6]">
  483. <NuxtLink class=""
  484. :href="getLinkPathDetail(item)"
  485. v-for="item in pageData[6].data2"
  486. :key="item.id"
  487. :target="item.islink == 1 ? '_blank' : '_self'">
  488. {{ item.title }}
  489. </NuxtLink>
  490. </div>
  491. </div>
  492. </div>
  493. <!-- 法律法规 phone-->
  494. <div class="phone_box_8 pc_none" v-if="pageData.length > 7">
  495. <div class="phone_box_8_head">
  496. <NuxtLink class=""
  497. :href="getLinkPath(pageData[7])"
  498. v-if="pageData[7]" >
  499. {{ pageData[7].alias }}
  500. </NuxtLink>
  501. </div>
  502. <div class="phone_box_8_img_ul">
  503. <div class="" v-if="pageData[7]">
  504. <NuxtLink class=""
  505. :href="getLinkPathDetail(item)"
  506. v-for="item in pageData[7].data"
  507. :key="item.id"
  508. :target="item.islink == 1 ? '_blank' : '_self'">
  509. <img class="" :src="item.imgurl" alt="item.title">
  510. <span class="">{{ item.title }}</span>
  511. </NuxtLink>
  512. </div>
  513. </div>
  514. <div class="phone_box_8_ul">
  515. <div class="" v-if="pageData[7]">
  516. <NuxtLink class=""
  517. :href="getLinkPathDetail(item)"
  518. v-for="item in pageData[7].data2"
  519. :key="item.id"
  520. :target="item.islink == 1 ? '_blank' : '_self'">
  521. {{ item.title }}
  522. </NuxtLink>
  523. </div>
  524. </div>
  525. </div>
  526. </main>
  527. <!-- 页脚部分 -->
  528. <HomeFoot1></HomeFoot1>
  529. </div>
  530. </template>
  531. <script setup>
  532. //0.加载页面依赖 start ---------------------------------------->
  533. import { ref, onMounted } from 'vue';
  534. import { ElMessage } from 'element-plus';
  535. //0.加载页面依赖 end ---------------------------------------->
  536. //1.获得路由id start ---------------------------------------->
  537. const targetSegment = getRoutePath(1);
  538. //1.1 获得当前的路由id
  539. let routeId;
  540. //通过导航路径反向查询导航id
  541. const getRouteId = await requestDataPromise('/web/getWebsiteRoute', {
  542. method: 'GET',
  543. query: {
  544. 'pinyin': targetSegment,
  545. },
  546. });
  547. console.log('mkdataRouteId', getRouteId);
  548. if (getRouteId.code == 200) {
  549. routeId = getRouteId.data.category_id
  550. console.log('mkdataRouteId1111', routeId);
  551. } else {
  552. console.log("获得路由id出错!", getRouteId.message)
  553. }
  554. //1.获得路由id end ---------------------------------------->
  555. //2.选项卡 start ---------------------------------------->
  556. let showTabs = ref(1)
  557. let qhtabs = function (number) {
  558. console.log(number)
  559. showTabs.value = number
  560. }
  561. //2.选项卡 end ---------------------------------------->
  562. //3.广告 start ---------------------------------------->
  563. let adImg1 = ref({})
  564. let adImg2 = ref({})
  565. let adImg3 = ref({})
  566. let adImg4 = ref({})
  567. onMounted(async () => {
  568. //从客户端获取行政职能部门 加快打开速度
  569. const { $webUrl, $CwebUrl } = useNuxtApp();
  570. //广告1
  571. let url = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_category_0001`
  572. const responseAd1 = await fetch(url, {
  573. headers: {
  574. 'Content-Type': 'application/json',
  575. 'Userurl': $CwebUrl,
  576. 'Origin': $CwebUrl
  577. }
  578. });
  579. const resultAd1 = await responseAd1.json();
  580. adImg1.value = resultAd1.data[0];
  581. //广告2
  582. let url2 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_category_0002`
  583. const responseAd2 = await fetch(url2, {
  584. headers: {
  585. 'Content-Type': 'application/json',
  586. 'Userurl': $CwebUrl,
  587. 'Origin': $CwebUrl
  588. }
  589. });
  590. const resultAd2 = await responseAd2.json();
  591. adImg2.value = resultAd2.data[0];
  592. //广告3
  593. let url3 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_category_0003`
  594. const responseAd3 = await fetch(url3, {
  595. headers: {
  596. 'Content-Type': 'application/json',
  597. 'Userurl': $CwebUrl,
  598. 'Origin': $CwebUrl
  599. }
  600. });
  601. const resultAd3 = await responseAd3.json();
  602. adImg3.value = resultAd3.data[0];
  603. //广告4
  604. let url4 = `${$webUrl}/web/getWebsiteAdvertisement?ad_tag=nzgxw_category_0004`
  605. const responseAd4 = await fetch(url4, {
  606. headers: {
  607. 'Content-Type': 'application/json',
  608. 'Userurl': $CwebUrl,
  609. 'Origin': $CwebUrl
  610. }
  611. });
  612. const resultAd4 = await responseAd4.json();
  613. adImg4.value = resultAd4.data[0];
  614. })
  615. //3.广告 end ---------------------------------------->
  616. //4.页面数据 start ---------------------------------------->
  617. const pageData = ref([
  618. //示例:
  619. // {
  620. // id: 1,
  621. // title: "", //该导航的标题
  622. // data: [], //数据1
  623. // data1: [], //数据2
  624. // data2: [], //数据3
  625. // data3: [], //数据4
  626. // data4: [], //数据5
  627. // category_id1: "", //子导航id1
  628. // category_id2: "",
  629. // category_id3: "",
  630. // category_id4: "",
  631. // title1: "", //子导航标题1
  632. // title2: "",
  633. // title3: "",
  634. // title4: "",
  635. // cid: "" //该导航的id
  636. // },
  637. ])
  638. //4.1 获取所有导航
  639. try {
  640. const navigateData = await requestDataPromise('/web/getWebsiteModelCategory', {
  641. method: 'GET',
  642. query: {
  643. 'placeid': 1,
  644. 'pid': routeId,
  645. 'num': 20
  646. },
  647. });
  648. if (navigateData.code == 200) {
  649. // 遍历可用的导航池放到页面中
  650. for (let index in navigateData.data) {
  651. let data = {
  652. title: navigateData.data[index].name,
  653. cid: navigateData.data[index].category_id,
  654. children_count: navigateData.data[index].children_count,
  655. alias: navigateData.data[index].alias,
  656. aLIas_pinyin: targetSegment + "/" + navigateData.data[index].aLIas_pinyin,
  657. data: [],
  658. data1: [],
  659. data2: [],
  660. data3: [],
  661. data4: [],
  662. category_id1: "",
  663. category_id2: "",
  664. category_id3: "",
  665. category_id4: "",
  666. title1: "",
  667. title2: "",
  668. title3: "",
  669. title4: ""
  670. };
  671. if (navigateData.data[index].is_url == 1) {
  672. // 处理 URL 的逻辑
  673. } else {
  674. //每个页面最多8个模块
  675. pageData.value.push(data);
  676. }
  677. }
  678. console.log("mkdata导航池加载完毕", pageData.value);
  679. //导航池加载完毕,开始申请模块数据
  680. let getJson = [
  681. // { "parent": routeId + ",0,0", "child": pageData.value[0].cid + ",4,9" },//模块1 顶部没有标题的那个
  682. // { "parent": routeId + ",0,0", "child": pageData.value[1].cid + ",3,11" },//模块2
  683. // { "parent": routeId + ",0,0", "child": pageData.value[2].cid + ",2,7" },//模块3
  684. // { "parent": routeId + ",0,0", "child": pageData.value[3].cid + ",0,8" },//模块4
  685. // { "parent": routeId + ",0,0", "child": pageData.value[4].cid + ",1,0" },//模块5
  686. // { "parent": routeId + ",0,0", "child": pageData.value[5].cid + ",1,6" },//模块6
  687. // { "parent": routeId + ",0,0", "child": pageData.value[6].cid + ",1,6" },//模块7
  688. // { "parent": routeId + ",0,0", "child": pageData.value[7].cid + ",1,7" },//模块8
  689. ]
  690. for (let i = 0; i < pageData.value.length; i++) {
  691. if (i == 0) {
  692. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",4,9" });//模块1
  693. } else if (i == 1) {
  694. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",3,11" });//模块2
  695. } else if (i == 2) {
  696. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",2,7" });//模块3
  697. } else if (i == 3) {
  698. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",0,8" });//模块4
  699. } else if (i == 4) {
  700. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,0" });//模块5
  701. } else if (i == 5) {
  702. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,6" });//模块6
  703. } else if (i == 6) {
  704. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,6" });//模块7
  705. } else if (i == 7) {
  706. getJson.push({ "parent": routeId + ",0,0", "child": pageData.value[i].cid + ",1,7" });//模块8
  707. }
  708. }
  709. let jsonString = JSON.stringify(getJson);
  710. console.log('mkdatajsonString', jsonString);
  711. getPageAllData(jsonString);
  712. } else {
  713. console.log("错误:渲染8个模块环节出错,请检查是否存在没有数据的模块!")
  714. }
  715. } catch (error) {
  716. console.log("错误:导航池渲染执行接口出错!请检查频道页渲染的模块数据是否完整!")
  717. }
  718. async function getPageAllData(jsonString) {
  719. const mkdata = await requestDataPromise('/web/getWebsiteAllArticle', {
  720. method: 'GET',
  721. query: {
  722. 'id': jsonString
  723. },
  724. });
  725. console.log('mkdata', mkdata.data);
  726. if (mkdata.code == 200) {
  727. if (mkdata.data.length > 0) {
  728. //模块1 顶部大图和列表
  729. pageData.value[0].data = mkdata.data[0].child.imgnum;
  730. pageData.value[0].data2 = mkdata.data[0].child.textnum;
  731. }
  732. if (mkdata.data.length > 1) {
  733. //模块2
  734. pageData.value[1].data3 = mkdata.data[1].child.textnum;
  735. for (let index in mkdata.data[1].child.imgnum) {
  736. if (index < 1) {
  737. pageData.value[1].data.push(mkdata.data[1].child.imgnum[index]);
  738. } else {
  739. pageData.value[1].data2.push(mkdata.data[1].child.imgnum[index]);
  740. }
  741. }
  742. }
  743. if (mkdata.data.length > 2) {
  744. //模块3
  745. pageData.value[2].data = mkdata.data[2].child.imgnum;
  746. pageData.value[2].data2 = mkdata.data[2].child.textnum;
  747. }
  748. if (mkdata.data.length > 3) {
  749. //模块4
  750. pageData.value[3].data = mkdata.data[3].child.imgnum;
  751. pageData.value[3].data2 = mkdata.data[3].child.textnum;
  752. }
  753. if (mkdata.data.length > 4) {
  754. //模块5
  755. pageData.value[4].data = mkdata.data[4].child.imgnum;
  756. }
  757. if (mkdata.data.length > 5) {
  758. //模块6
  759. pageData.value[5].data = mkdata.data[5].child.imgnum;
  760. pageData.value[5].data2 = mkdata.data[5].child.textnum;
  761. }
  762. if (mkdata.data.length > 6) {
  763. //模块7
  764. pageData.value[6].data = mkdata.data[6].child.imgnum;
  765. pageData.value[6].data2 = mkdata.data[6].child.textnum;
  766. }
  767. if (mkdata.data.length > 7) {
  768. //模块8
  769. pageData.value[7].data = mkdata.data[7].child.imgnum;
  770. pageData.value[7].data2 = mkdata.data[7].child.textnum;
  771. }
  772. } else {
  773. ElMessage.error(mkdata.message)
  774. }
  775. }
  776. //4.页面数据 end ---------------------------------------->
  777. //5.设置seo信息 start---------------------------------------->
  778. const setData = await requestDataPromise('/web/getWebsiteCategoryHead', {
  779. method: 'GET',
  780. query: {
  781. 'catid': routeId
  782. },
  783. });
  784. if (setData.code == 200) {
  785. let seoTitle = setData.data.seo_title;
  786. let seoDescription = setData.data.seo_description;
  787. let seoKeywords = setData.data.seo_keywords;
  788. let seoSuffix = setData.data.suffix;
  789. let seoName = setData.data.website_name;
  790. useSeoMeta({
  791. title: seoTitle + "_" + seoName + "_" + seoSuffix,
  792. meta: [
  793. { name: 'keywords', content: seoKeywords + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  794. { name: 'description', content: seoDescription + "_" + seoName + "_" + seoSuffix, tagPriority: 10 },
  795. { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no',tagPriority: 10 }
  796. ]
  797. });
  798. } else {
  799. console.log("设置频道页SEO出错!", setData.message)
  800. }
  801. //5.设置seo信息 end---------------------------------------->
  802. </script>
  803. <style lang="less" scoped>
  804. @import '@/assets/css/class.less';
  805. </style>
  806. <style lang="less" scoped>
  807. @media screen and (min-width:801px){/*pc*/
  808. .pc_none{display:none;}
  809. }
  810. @media screen and (max-width:800px){/*ipad_phone*/
  811. .index_main{width:100%;}
  812. .index_main:nth-of-type(2){margin-bottom:29px;}
  813. .channel_1_box{width:100%;overflow:hidden;float:none;}
  814. .channel_1{margin-top:0px;}
  815. .phone_box_1{
  816. width:92%;margin:0px auto 0px;
  817. .phone_box_1_ul{
  818. overflow:hidden;height:123px;margin-top:15px;
  819. >div{width:100%;height:100%;}
  820. a{
  821. width:100%!important;display:block;height:40px;line-height:40px;
  822. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  823. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  824. font-size:16px;color:#333;text-indent:18px;
  825. }
  826. a::after{
  827. content: '';display: block;
  828. position:absolute;left:0px;top:18px;background:#E6E6E6;
  829. width:6px;height:6px;
  830. }
  831. a:nth-of-type(n+4){display:none;}
  832. }
  833. }
  834. .phone_box_2{
  835. width:92%;margin:0px auto 0px;
  836. .phone_box_2_head{
  837. height:50px;line-height:50px;
  838. background:#fff;border-bottom:1px solid #E6E6E6;
  839. margin-top:15px;width:100%;
  840. a{
  841. float:left;height:50px;line-height:50px;margin:0;position:relative;
  842. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  843. position:relative;padding-left:8px;
  844. }
  845. a::before{
  846. content: '';display: block;
  847. position:absolute;left:0px;top:15px;
  848. background:#a91b33;
  849. width:3px;height:20px;
  850. }
  851. }
  852. .phone_box_2_img_ul{
  853. height:55vw;overflow:hidden;margin-top:15px;
  854. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  855. a{display:block;width:100%;height:100%;}
  856. img{display:block;width:100%;height:100%;}
  857. span{
  858. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  859. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  860. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  861. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  862. }
  863. >div:nth-of-type(n+2){display:none;}
  864. }
  865. .phone_box_2_ul{
  866. overflow:hidden;height:123px;margin-top:15px;
  867. >div{width:100%;height:100%;}
  868. a{
  869. width:100%!important;display:block;height:40px;line-height:40px;
  870. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  871. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  872. font-size:16px;color:#333;text-indent:18px;
  873. }
  874. a::after{
  875. content: '';display: block;
  876. position:absolute;left:0px;top:18px;background:#E6E6E6;
  877. width:6px;height:6px;
  878. }
  879. a:nth-of-type(n+4){display:none;}
  880. }
  881. }
  882. .phone_box_3{
  883. width:92%;margin:0px auto 0px;
  884. .phone_box_3_head{
  885. height:50px;line-height:50px;
  886. background:#fff;border-bottom:1px solid #E6E6E6;
  887. margin-top:15px;width:100%;
  888. a{
  889. float:left;height:50px;line-height:50px;margin:0;position:relative;
  890. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  891. position:relative;padding-left:8px;
  892. }
  893. a::before{
  894. content: '';display: block;
  895. position:absolute;left:0px;top:15px;
  896. background:#a91b33;
  897. width:3px;height:20px;
  898. }
  899. }
  900. .phone_box_3_img_ul{
  901. height:55vw;overflow:hidden;margin-top:15px;
  902. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  903. a{display:block;width:100%;height:100%;}
  904. img{display:block;width:100%;height:100%;}
  905. span{
  906. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  907. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  908. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  909. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  910. }
  911. >div:nth-of-type(n+2){display:none;}
  912. }
  913. .phone_box_3_ul{
  914. overflow:hidden;height:123px;margin-top:15px;
  915. >div{width:100%;height:100%;}
  916. a{
  917. width:100%!important;display:block;height:40px;line-height:40px;
  918. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  919. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  920. font-size:16px;color:#333;text-indent:18px;
  921. }
  922. a::after{
  923. content: '';display: block;
  924. position:absolute;left:0px;top:18px;background:#E6E6E6;
  925. width:6px;height:6px;
  926. }
  927. a:nth-of-type(n+4){display:none;}
  928. }
  929. }
  930. .phone_box_4{
  931. width:92%;margin:0px auto 0px;
  932. .phone_box_4_head{
  933. height:50px;line-height:50px;
  934. background:#fff;border-bottom:1px solid #E6E6E6;
  935. margin-top:15px;width:100%;
  936. a{
  937. float:left;height:50px;line-height:50px;margin:0;position:relative;
  938. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  939. position:relative;padding-left:8px;
  940. }
  941. a::before{
  942. content: '';display: block;
  943. position:absolute;left:0px;top:15px;
  944. background:#a91b33;
  945. width:3px;height:20px;
  946. }
  947. }
  948. .phone_box_4_ul{
  949. overflow:hidden;height:123px;margin-top:8px;
  950. >div{width:100%;height:100%;}
  951. a{
  952. width:100%!important;display:block;height:40px;line-height:40px;
  953. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  954. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  955. font-size:16px;color:#333;text-indent:18px;
  956. }
  957. a::after{
  958. content: '';display: block;
  959. position:absolute;left:0px;top:18px;background:#E6E6E6;
  960. width:6px;height:6px;
  961. }
  962. a:nth-of-type(n+4){display:none;}
  963. }
  964. }
  965. .phone_box_5{
  966. width:92%;margin:0px auto 0px;
  967. .phone_box_5_head{
  968. height:50px;line-height:50px;
  969. background:#fff;border-bottom:1px solid #E6E6E6;
  970. margin-top:15px;width:100%;
  971. a{
  972. float:left;height:50px;line-height:50px;margin:0;position:relative;
  973. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  974. position:relative;padding-left:8px;
  975. }
  976. a::before{
  977. content: '';display: block;
  978. position:absolute;left:0px;top:15px;
  979. background:#a91b33;
  980. width:3px;height:20px;
  981. }
  982. }
  983. .phone_box_5_img_ul{
  984. height:55vw;overflow:hidden;margin-top:15px;
  985. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  986. a{display:block;width:100%;height:100%;}
  987. img{display:block;width:100%;height:100%;}
  988. span{
  989. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  990. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  991. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  992. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  993. }
  994. >div:nth-of-type(n+2){display:none;}
  995. }
  996. }
  997. .phone_box_6{
  998. width:92%;margin:0px auto 0px;
  999. .phone_box_6_head{
  1000. height:50px;line-height:50px;
  1001. background:#fff;border-bottom:1px solid #E6E6E6;
  1002. margin-top:15px;width:100%;
  1003. a{
  1004. float:left;height:50px;line-height:50px;margin:0;position:relative;
  1005. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  1006. position:relative;padding-left:8px;
  1007. }
  1008. a::before{
  1009. content: '';display: block;
  1010. position:absolute;left:0px;top:15px;
  1011. background:#a91b33;
  1012. width:3px;height:20px;
  1013. }
  1014. }
  1015. .phone_box_6_img_ul{
  1016. height:55vw;overflow:hidden;margin-top:15px;
  1017. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  1018. a{display:block;width:100%;height:100%;}
  1019. img{display:block;width:100%;height:100%;}
  1020. span{
  1021. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  1022. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  1023. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1024. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1025. }
  1026. >div:nth-of-type(n+2){display:none;}
  1027. }
  1028. .phone_box_6_ul{
  1029. overflow:hidden;height:123px;margin-top:15px;
  1030. >div{width:100%;height:100%;}
  1031. a{
  1032. width:100%!important;display:block;height:40px;line-height:40px;
  1033. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  1034. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1035. font-size:16px;color:#333;text-indent:18px;
  1036. }
  1037. a::after{
  1038. content: '';display: block;
  1039. position:absolute;left:0px;top:18px;background:#E6E6E6;
  1040. width:6px;height:6px;
  1041. }
  1042. a:nth-of-type(n+4){display:none;}
  1043. }
  1044. }
  1045. .phone_box_7{
  1046. width:92%;margin:0px auto 0px;
  1047. .phone_box_7_head{
  1048. height:50px;line-height:50px;
  1049. background:#fff;border-bottom:1px solid #E6E6E6;
  1050. margin-top:15px;width:100%;
  1051. a{
  1052. float:left;height:50px;line-height:50px;margin:0;position:relative;
  1053. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  1054. position:relative;padding-left:8px;
  1055. }
  1056. a::before{
  1057. content: '';display: block;
  1058. position:absolute;left:0px;top:15px;
  1059. background:#a91b33;
  1060. width:3px;height:20px;
  1061. }
  1062. }
  1063. .phone_box_7_img_ul{
  1064. height:55vw;overflow:hidden;margin-top:15px;
  1065. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  1066. a{display:block;width:100%;height:100%;}
  1067. img{display:block;width:100%;height:100%;}
  1068. span{
  1069. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  1070. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  1071. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1072. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1073. }
  1074. >div:nth-of-type(n+2){display:none;}
  1075. }
  1076. .phone_box_7_ul{
  1077. overflow:hidden;height:123px;margin-top:15px;
  1078. >div{width:100%;height:100%;}
  1079. a{
  1080. width:100%!important;display:block;height:40px;line-height:40px;
  1081. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  1082. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1083. font-size:16px;color:#333;text-indent:18px;
  1084. }
  1085. a::after{
  1086. content: '';display: block;
  1087. position:absolute;left:0px;top:18px;background:#E6E6E6;
  1088. width:6px;height:6px;
  1089. }
  1090. a:nth-of-type(n+4){display:none;}
  1091. }
  1092. }
  1093. .phone_box_8{
  1094. width:92%;margin:0px auto 0px;
  1095. .phone_box_8_head{
  1096. height:50px;line-height:50px;
  1097. background:#fff;border-bottom:1px solid #E6E6E6;
  1098. margin-top:15px;width:100%;
  1099. a{
  1100. float:left;height:50px;line-height:50px;margin:0;position:relative;
  1101. color:#a91b33;font-size:18px; font-weight:bold;box-sizing:border-box;
  1102. position:relative;padding-left:8px;
  1103. }
  1104. a::before{
  1105. content: '';display: block;
  1106. position:absolute;left:0px;top:15px;
  1107. background:#a91b33;
  1108. width:3px;height:20px;
  1109. }
  1110. }
  1111. .phone_box_8_img_ul{
  1112. height:55vw;overflow:hidden;margin-top:15px;
  1113. div{width:100%;float:none;height:55vw;border-radius:10px;position:relative;overflow:hidden;}
  1114. a{display:block;width:100%;height:100%;}
  1115. img{display:block;width:100%;height:100%;}
  1116. span{
  1117. position:absolute;width:100%;height:66px;line-height:90px;color:#fff; font-size:16px;
  1118. left:0px;bottom:0px;padding:0px 5%;box-sizing:border-box; display:block;
  1119. background:linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  1120. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1121. }
  1122. >div:nth-of-type(n+2){display:none;}
  1123. }
  1124. .phone_box_8_ul{
  1125. overflow:hidden;height:123px;margin:15px auto 0;
  1126. >div{width:100%;height:100%;}
  1127. a{
  1128. width:100%!important;display:block;height:40px;line-height:40px;
  1129. border-bottom:1px solid #E6E6E6;display:block;position:relative;
  1130. word-break: keep-all; white-space: nowrap;overflow:hidden;text-overflow:ellipsis;
  1131. font-size:16px;color:#333;text-indent:18px;
  1132. }
  1133. a::after{
  1134. content: '';display: block;
  1135. position:absolute;left:0px;top:18px;background:#E6E6E6;
  1136. width:6px;height:6px;
  1137. }
  1138. a:nth-of-type(n+4){display:none;}
  1139. }
  1140. }
  1141. .phone_none{display:none;}
  1142. }
  1143. </style>