index.vue 112 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025
  1. <template>
  2. <div>
  3. <!-- 页面头部 -->
  4. <HomePageHead></HomePageHead>
  5. <!-- 页面导航 -->
  6. <HomePageNavigation></HomePageNavigation>
  7. <!-- <HomePageNavigation1></HomePageNavigation1> -->
  8. <!-- 资讯 -->
  9. <HomePageMessage></HomePageMessage>
  10. <!-- 十强称号logo -->
  11. <HomeAdvertising></HomeAdvertising>
  12. <!-- <HomeTopTenTitle></HomeTopTenTitle> -->
  13. <!-- 更多服务 -->
  14. <HomeMoreService></HomeMoreService>
  15. <!-- 三农资讯logo -->
  16. <!-- <HomeSannongzixun></HomeSannongzixun> -->
  17. <!-- 板块标题 -->
  18. <div class="titleBox" id="ztzx">
  19. <img src="../static/index/theme1.png" alt="主题资讯">
  20. </div>
  21. <!-- 模块一 -->
  22. <div class="farming">
  23. <div class="inner">
  24. <div class="farmerLeft">
  25. <div class="farmer">
  26. <h3>
  27. <span>{{pageData[0].alias}}</span>
  28. <NuxtLink
  29. :to="{ path: `/newsList/${pageData[0].cid}`, query: { catid: pageData[0].cid } }"
  30. target="_blank" v-if="pageData[0].cid">
  31. 查看更多
  32. </NuxtLink>
  33. </h3>
  34. <ul class="mode1ul_style1">
  35. <li v-for="item in boxData1">
  36. <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank">
  37. <img :src="item.imgurl" :alt="item.title">
  38. <div>
  39. <p>
  40. <span>专题</span>
  41. {{ item.title }}
  42. </p>
  43. <p>
  44. {{ item.updated_at }}
  45. </p>
  46. </div>
  47. </NuxtLink>
  48. </li>
  49. </ul>
  50. <ul class="mode1ul_style2">
  51. <li v-for="item in boxData1data2">
  52. <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank">
  53. <p class="title">{{ item.title }}</p>
  54. <p>{{ item.updated_at }}</p>
  55. </NuxtLink>
  56. </li>
  57. </ul>
  58. </div>
  59. <!-- <div class="farmerbottom">
  60. <img class="left" :src="boxData2[0].imgurl" v-if="boxData2[0] && hoverStatus == 0">
  61. <img class="left" :src="boxData2[1].imgurl" v-if="boxData2[1] && hoverStatus == 1">
  62. <img class="left" :src="boxData2[2].imgurl" v-if="boxData2[2] && hoverStatus == 2">
  63. <img class="left" :src="boxData2[3].imgurl" v-if="boxData2[3] && hoverStatus == 3">
  64. <img class="left" :src="boxData2[4].imgurl" v-if="boxData2[4] && hoverStatus == 4">
  65. <img class="left" :src="boxData2[5].imgurl" v-if="boxData2[5] && hoverStatus == 5">
  66. <ul class="leftList left">
  67. <li v-for='(item, index) in boxData2' @mouseenter="qhPic(index)">
  68. <NuxtLink
  69. :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }"
  70. target="_blank">
  71. <h4>
  72. <em></em>
  73. {{ item.title }}
  74. </h4>
  75. </NuxtLink>
  76. </li>
  77. </ul>
  78. </div> -->
  79. </div>
  80. <div class="farmerRight">
  81. <div class="rich">
  82. <h3>
  83. <span>{{ pageData[1].alias }}</span>
  84. <NuxtLink
  85. :to="{ path: `/newsList/${pageData[1].cid}`, query: { catid: pageData[1].cid } }"
  86. target="_blank" v-if="pageData[1].cid">
  87. 查看更多
  88. </NuxtLink>
  89. </h3>
  90. <ul>
  91. <li v-for="(item,index) in boxData2">
  92. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  93. <div class="index">{{ index+1 }}</div>
  94. <div class="title">{{ item.title }}</div>
  95. </NuxtLink>
  96. </li>
  97. </ul>
  98. <!-- 轮播图 -->
  99. <!-- <div class="banner">
  100. <HomeSmallSwiper1 :message="pageData[1].cid"></HomeSmallSwiper1>
  101. </div> -->
  102. <!-- 轮播图下小图列表 及内容列表 -->
  103. <!-- <div class="photo">
  104. <div class="photoL" v-for="item in boxData4">
  105. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  106. <img :src="item.imgurl">
  107. <span>{{ item.title }}</span>
  108. </NuxtLink>
  109. </div>
  110. </div> -->
  111. </div>
  112. <!-- 三农调查 -->
  113. <!-- <div class="inquire">
  114. <h3>
  115. 三农调查
  116. <span>查看更多</span>
  117. </h3>
  118. <p>郑州17名警察因出警慢被关禁闭,你怎么看?</p>
  119. <div class="radio">
  120. <el-radio-group v-model="radio1" text-color=#33B023>
  121. <el-radio value="1" size="large">支持,警察不关心百姓应惩罚</el-radio>
  122. <el-radio value="2" size="large">反对,这件事就关禁闭不合理</el-radio>
  123. <el-radio value="3" size="large">建议其他部门效仿此做法</el-radio>
  124. </el-radio-group>
  125. </div>
  126. <div class="btn">
  127. <button class="voting">投票</button>
  128. <button class="look">查看</button>
  129. </div>
  130. </div> -->
  131. </div>
  132. </div>
  133. </div>
  134. <!-- 十强称号logo -->
  135. <!-- <HomeTopTenTitle></HomeTopTenTitle> -->
  136. <!-- 三农科教 -->
  137. <div class="scienceEducation">
  138. <div class="inner">
  139. <!-- 左侧 -->
  140. <div class="scienceLeft">
  141. <HomeSlider :message="pageData[2]"></HomeSlider>
  142. </div>
  143. <!-- 右侧 -->
  144. <div class="scienceRight">
  145. <div class="adBox1">
  146. <img src="../static/index/ad4.png" alt="广告">
  147. </div>
  148. <!-- 标题部分 -->
  149. <h3>
  150. <span>
  151. {{ pageData[3].alias }}
  152. </span>
  153. <NuxtLink
  154. :to="{ path: `/newsList/${pageData[3].cid}`, query: { catid: pageData[3].cid } }"
  155. target="_blank" v-if="pageData[3].cid">
  156. 查看更多
  157. </NuxtLink>
  158. </h3>
  159. <!-- 轮播图 -->
  160. <!-- <div class="banner">
  161. <HomeSmallSwiper1 :message="pageData[3].cid"></HomeSmallSwiper1>
  162. </div> -->
  163. <!-- 轮播图下小图列表 及内容列表 -->
  164. <div class="banner_b_img">
  165. <!-- <div class="photo">
  166. <div class="photoL" v-for="item in boxData6">
  167. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  168. <img :src="item.imgurl">
  169. <span>{{ item.title }}</span>
  170. </NuxtLink>
  171. </div>
  172. </div> -->
  173. <ul>
  174. <li v-for="item in boxData4">
  175. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  176. <img src="../static/index/qz.png" alt="三农招聘">
  177. <p>{{ item.title }}</p>
  178. </NuxtLink>
  179. </li>
  180. </ul>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. <!-- 农副产品十强光荣称号logo -->
  186. <HomeTopTen></HomeTopTen>
  187. <div class="layoutCopy">
  188. <div class="layoutCopyLeft">
  189. <div class="layoutCopyLeftTop">
  190. <div class="layoutCopyLeft1">
  191. <div class="layoutTitleBox">
  192. <div class="layoutTitle"> {{ pageData[4].alias }}</div>
  193. <div class="layoutMore">
  194. <NuxtLink
  195. :to="{ path: `/newsList/${pageData[4].cid}`, query: { catid: pageData[4].cid } }"
  196. target="_blank" v-if="pageData[4].cid">
  197. 查看更多
  198. </NuxtLink>
  199. </div>
  200. </div>
  201. <div class="layoutCopyData_style1">
  202. <NuxtLink :to="`/newsDetail/${boxData5[0].id}`" target="_blank" v-if="boxData5[0]">
  203. <img :src="boxData5[0].imgurl" alt="">
  204. <div>
  205. <span>{{ boxData5[0].title }}</span>
  206. </div>
  207. </NuxtLink>
  208. <NuxtLink :to="`/newsDetail/${boxData5data2[0].id}`" target="_blank" v-if="boxData5data2[0]">
  209. <p class="title">{{ boxData5data2[0].title }}</p>
  210. <p>{{ boxData5data2[0].created_at }}</p>
  211. </NuxtLink>
  212. </div>
  213. </div>
  214. <div class="layoutCopyLeft2">
  215. <div class="layoutTitleBox">
  216. <div class="layoutTitle">{{ pageData[5].alias }}</div>
  217. <div class="layoutMore">
  218. <NuxtLink :to="{ path: `/newsList/${pageData[5].cid}`, query: { catid: pageData[5].cid } }" target="_blank" v-if="pageData[5].cid">
  219. 查看更多
  220. </NuxtLink>
  221. </div>
  222. </div>
  223. <div class="layoutCopyData_style2">
  224. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData6">
  225. <p class="title">{{ item.title }}</p>
  226. <p>{{ item.created_at }}</p>
  227. </NuxtLink>
  228. </div>
  229. </div>
  230. </div>
  231. <div class="layoutCopyLeftBottom">
  232. <div class="layoutTitleBox">
  233. <div class="layoutTitle"> {{ pageData[6].alias }}</div>
  234. <div class="layoutMore">
  235. <NuxtLink
  236. :to="{ path: `/newsList/${pageData[6].cid}`, query: { catid: pageData[6].cid } }"
  237. target="_blank" v-if="pageData[6].cid">
  238. 查看更多
  239. </NuxtLink>
  240. </div>
  241. </div>
  242. <div class="layoutCopyData_style3">
  243. <div v-for="(item,index) in boxData7">
  244. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index==1" class="style3link1">
  245. <div class="time">
  246. <p>{{ getDay(item.created_at) }}</p>
  247. <p>{{ geMonth(item.created_at) }}</p>
  248. </div>
  249. <div>
  250. <p class="title">{{ item.title }}</p>
  251. <p class="introduce">{{ item.introduce }}</p>
  252. </div>
  253. </NuxtLink>
  254. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-if="index>1" class="style3link2">
  255. <div>
  256. <b></b>
  257. <p class="title">{{ item.title }}</p>
  258. </div>
  259. <p>{{ getTime(item.created_at) }}</p>
  260. </NuxtLink>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. <div class="layoutCopyRight">
  266. <div class="layoutTitleBox">
  267. <div class="layoutTitle"> {{ pageData[7].alias }}</div>
  268. <div class="layoutMore">
  269. <NuxtLink
  270. :to="{ path: `/newsList/${pageData[7].cid}`, query: { catid: pageData[7].cid } }"
  271. target="_blank" v-if="pageData[7].cid">
  272. 查看更多
  273. </NuxtLink>
  274. </div>
  275. </div>
  276. <div class="layoutCopyData_style4">
  277. <div class="layoutCopyData_pic">
  278. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData8">
  279. <img :src="item.imgurl">
  280. <p>{{ item.title }}</p>
  281. </NuxtLink>
  282. </div>
  283. <div class="layoutCopyData_text">
  284. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank" v-for="item in boxData88">
  285. <div class="title">{{ item.title }}</div>
  286. <div class="more">详情</div>
  287. </NuxtLink>
  288. </div>
  289. </div>
  290. </div>
  291. </div>
  292. <!-- 板块标题 -->
  293. <div class="titleBox" id="hdzx">
  294. <img src="../static/index/theme2.png" alt="互动资讯">
  295. </div>
  296. <!--布局复制用 三列-->
  297. <!-- <div class="layoutCopy">
  298. <div class="layoutCopyLeft">
  299. <div class="layoutCopyAll">
  300. <div class="layoutTitleBox">
  301. <div class="layoutTitleBoxTabs">
  302. <div class="layoutTitle active">{{ pageData[8].alias }}</div>
  303. <div class="layoutTitle">{{ pageData[9].alias }}</div>
  304. </div>
  305. <div class="layoutMore">
  306. <NuxtLink
  307. :to="{ path: `/newsList/${pageData[8].cid}`, query: { catid: pageData[8].cid } }"
  308. target="_blank" v-if="pageData[8].cid">
  309. 查看更多
  310. </NuxtLink>
  311. </div>
  312. </div>
  313. </div>
  314. <div class="layoutCopyData_style5">
  315. <div>
  316. <div class="">
  317. {{ boxData12[0] }}
  318. {{ boxData12[1] }}
  319. </div>
  320. </div>
  321. <div>
  322. </div>
  323. </div>
  324. </div>
  325. <div class="layoutCopyRight">
  326. <div class="layoutTitleBox">
  327. <div class="layoutTitle">标题</div>
  328. <div class="layoutMore">查看更多</div>
  329. </div>
  330. <div class="layoutCopyData_style6">
  331. </div>
  332. </div>
  333. </div> -->
  334. <div class="farming">
  335. <div class="inner">
  336. <div class="farmerLeft">
  337. <div class="farmer">
  338. <h3>
  339. <div class="titleBoxTabs">
  340. <span class="active">
  341. <NuxtLink
  342. :to="{ path: `/newsList/${pageData[8].cid}`, query: { catid: pageData[8].cid } }"
  343. target="_blank" v-if="pageData[8].cid" :title="pageData[8].alias">
  344. {{ pageData[8].alias }}
  345. </NuxtLink>
  346. </span>
  347. <span>
  348. <NuxtLink
  349. :to="{ path: `/newsList/${pageData[9].cid}`, query: { catid: pageData[9].cid } }"
  350. target="_blank" v-if="pageData[9].cid" :title="pageData[9].alias">
  351. {{ pageData[9].alias }}
  352. </NuxtLink>
  353. </span>
  354. </div>
  355. <!-- <NuxtLink
  356. :to="{ path: `/newsList/${pageData[8].cid}`, query: { catid: pageData[8].cid } }"
  357. target="_blank" v-if="pageData[8].cid">
  358. 查看更多
  359. </NuxtLink> -->
  360. </h3>
  361. <ul class="mode1ul_style1">
  362. <li v-for="item in boxData9">
  363. <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank">
  364. <img :src="item.imgurl" :alt="item.title">
  365. <div>
  366. <p>
  367. <span>专题</span>
  368. {{ item.title }}
  369. </p>
  370. <p>
  371. {{ item.updated_at }}
  372. </p>
  373. </div>
  374. </NuxtLink>
  375. </li>
  376. </ul>
  377. <ul class="mode1ul_style2">
  378. <li v-for="item in boxData9data2">
  379. <NuxtLink :to="{ path: `/newsDetail/${item.id}`, query: { listId: routeId, listName: routeName } }" target="_blank">
  380. <p class="title">{{ item.title }}</p>
  381. <p>{{ item.updated_at }}</p>
  382. </NuxtLink>
  383. </li>
  384. </ul>
  385. </div>
  386. </div>
  387. <div class="farmerRight">
  388. <!-- 致富信息 -->
  389. <div class="rich">
  390. <h3>
  391. <span>{{ pageData[10].alias }}</span>
  392. <NuxtLink
  393. :to="{ path: `/newsList/${pageData[10].cid}`, query: { catid: pageData[1].cid } }"
  394. target="_blank" v-if="pageData[10].cid">
  395. 查看更多
  396. </NuxtLink>
  397. </h3>
  398. <div class="richList">
  399. <div class="richListPic">
  400. <NuxtLink :to="`/newsDetail/${boxData11[0].id}`" target="_blank" v-if="boxData11[0]">
  401. <img :src="boxData11[0].imgurl" alt="">
  402. <div>
  403. <span>{{ boxData11[0].title }}</span>
  404. </div>
  405. </NuxtLink>
  406. </div>
  407. <div class="richListText">
  408. <NuxtLink :to="`/newsDetail/${boxData11data2[0].id}`" target="_blank" v-if="boxData11data2[0]">
  409. <span>{{ boxData11data2[0].title }}</span>
  410. </NuxtLink>
  411. </div>
  412. <div class="richListText">
  413. <NuxtLink :to="`/newsDetail/${boxData11[1].id}`" target="_blank" v-if="boxData11data2[1]">
  414. <span>{{ boxData11data2[1].title }}</span>
  415. </NuxtLink>
  416. </div>
  417. <div class="richListPic">
  418. <NuxtLink :to="`/newsDetail/${boxData11[0].id}`" target="_blank" v-if="boxData11[0]">
  419. <img :src="boxData11[0].imgurl" alt="">
  420. <div>
  421. <span>{{ boxData11[0].title }}</span>
  422. </div>
  423. </NuxtLink>
  424. </div>
  425. <div class="richListText">
  426. <NuxtLink :to="`/newsDetail/${boxData11data2[3].id}`" target="_blank" v-if="boxData11data2[3]">
  427. <span>{{ boxData11data2[3].title }}</span>
  428. </NuxtLink>
  429. </div>
  430. <div class="richListText">
  431. <NuxtLink :to="`/newsDetail/${boxData11[4].id}`" target="_blank" v-if="boxData11data2[4]">
  432. <span>{{ boxData11data2[4].title }}</span>
  433. </NuxtLink>
  434. </div>
  435. </div>
  436. </div>
  437. </div>
  438. </div>
  439. </div>
  440. <div class="titleBox">
  441. <img src="../static/index/ad3.png" alt="三农资讯发布中心_全国三农信息一体化应用平台">
  442. </div>
  443. <!-- <section class="index_2 clearfix">
  444. <div class="index_2_head_box clearfix">
  445. <div class="index_1_head_box index_1_head_box_2 clearfix">
  446. <div class="index_1_head index_1_head_only"><a class=" " href="" title="">栏目简介</a></div>
  447. <div class="index_1_head"><a class=" " href="" title="">栏目简介</a></div>
  448. </div>
  449. <div class="index_2_head_a_box clearfix">
  450. <a class=" " href="" title="">农产在线</a>
  451. <a class=" " href="" title="">农产在线</a>
  452. <a class=" " href="" title="">农产在线</a>
  453. <a class=" " href="" title="">农产在线</a>
  454. <a class=" " href="" title="">农产在线</a>
  455. </div>
  456. </div>
  457. <div class=" clearfix">
  458. <div class=" clearfix">
  459. <div class="index_1_box">
  460. <div class="index_2_big_img_ul">
  461. <div class="index_2_big_img_li cover100">
  462. <a class=" " href="" title="">
  463. <img class="" src="#" title="" alt="">
  464. <div class="index_2_big_img_li_dot2 dot2">
  465. <span class="index_2_big_img_li_dot2_tag">专题</span>
  466. 农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线
  467. </div>
  468. <div class="index_1_box_right_img_li_dot1 dot1">09-09</div>
  469. </a>
  470. </div>
  471. </div>
  472. <div class="index_1_box_right_img_ul index_1_box_right_img_ul_2 clearfix">
  473. <div class="index_1_box_right_img_li cover100">
  474. <a class=" " href="" title="">
  475. <img class="" src="#" title="" alt="">
  476. <div class="index_1_box_right_img_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  477. </a>
  478. </div>
  479. <div class="index_1_box_right_img_li cover100">
  480. <a class=" " href="" title="">
  481. <img class="" src="#" title="" alt="">
  482. <div class="index_1_box_right_img_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  483. </a>
  484. </div>
  485. </div>
  486. <div class="index_2_big_img_ul">
  487. <div class="index_2_big_img_li cover100">
  488. <a class=" " href="" title="">
  489. <img class="" src="#" title="" alt="">
  490. <div class="index_2_big_img_li_dot2 dot2">
  491. 农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线农产在线
  492. </div>
  493. <div class="index_1_box_right_img_li_dot1 dot1">09-09</div>
  494. </a>
  495. </div>
  496. </div>
  497. </div>
  498. <div class="index_1_box">
  499. <div class="index_1_ul clearfix">
  500. <div class="index_1_li clearfix">
  501. <a class=" " href="" title="">
  502. <div class="index_1_li_dot2 dot2">
  503. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  504. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  505. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  506. </div>
  507. <time class="index_1_li_time">09-09</time>
  508. </a>
  509. </div>
  510. <div class="index_1_li clearfix">
  511. <a class=" " href="" title="">
  512. <div class="index_1_li_dot2 dot2">
  513. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  514. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  515. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  516. </div>
  517. <time class="index_1_li_time">09-09</time>
  518. </a>
  519. </div>
  520. <div class="index_1_li clearfix">
  521. <a class=" " href="" title="">
  522. <div class="index_1_li_dot2 dot2">
  523. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  524. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  525. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  526. </div>
  527. <time class="index_1_li_time">09-09</time>
  528. </a>
  529. </div>
  530. <div class="index_1_li clearfix">
  531. <a class=" " href="" title="">
  532. <div class="index_1_li_dot2 dot2">
  533. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  534. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  535. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  536. </div>
  537. <time class="index_1_li_time">09-09</time>
  538. </a>
  539. </div>
  540. <div class="index_1_li clearfix">
  541. <a class=" " href="" title="">
  542. <div class="index_1_li_dot2 dot2">
  543. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  544. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  545. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  546. </div>
  547. <time class="index_1_li_time">09-09</time>
  548. </a>
  549. </div>
  550. <div class="index_1_li clearfix">
  551. <a class=" " href="" title="">
  552. <div class="index_1_li_dot2 dot2">
  553. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  554. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  555. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  556. </div>
  557. <time class="index_1_li_time">09-09</time>
  558. </a>
  559. </div>
  560. </div>
  561. </div>
  562. <div class="index_1_box_right">
  563. <div class="index_1_head_box clearfix index_1_head_box_line_none">
  564. <div class="index_1_head ">栏目简介</div>
  565. <a class=" " href="" title="">栏目简介</a>
  566. </div>
  567. <div class="index_2_ul">
  568. <div class="index_2_li clearfix">
  569. <a class=" " href="" title="">
  570. <time class="index_2_li_time_box">
  571. <div class="index_2_li_time_head">17</div>
  572. <div class="index_2_li_time_foot">2024-12</div>
  573. </time>
  574. <div class="index_2_li_dot2 dot2">栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介</div>
  575. </a>
  576. </div>
  577. <div class="index_2_li clearfix">
  578. <a class=" " href="" title="">
  579. <time class="index_2_li_time_box">
  580. <div class="index_2_li_time_head">17</div>
  581. <div class="index_2_li_time_foot">2024-12</div>
  582. </time>
  583. <div class="index_2_li_dot2 dot2">栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介</div>
  584. </a>
  585. </div>
  586. <div class="index_2_li clearfix">
  587. <a class=" " href="" title="">
  588. <time class="index_2_li_time_box">
  589. <div class="index_2_li_time_head">17</div>
  590. <div class="index_2_li_time_foot">2024-12</div>
  591. </time>
  592. <div class="index_2_li_dot2 dot2">栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介</div>
  593. </a>
  594. </div>
  595. <div class="index_2_li clearfix">
  596. <a class=" " href="" title="">
  597. <time class="index_2_li_time_box">
  598. <div class="index_2_li_time_head">17</div>
  599. <div class="index_2_li_time_foot">2024-12</div>
  600. </time>
  601. <div class="index_2_li_dot2 dot2">栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介栏目简介</div>
  602. </a>
  603. </div>
  604. </div>
  605. </div>
  606. </div>
  607. </div>
  608. </section>
  609. <section class="index_1 clearfix">
  610. <div class="index_1_box">
  611. <div class="index_1_head_box clearfix">
  612. <div class="index_1_head index_1_head_only">栏目简介</div>
  613. <a class=" " href="" title="">栏目简介</a>
  614. </div>
  615. <div class="index_1_ul clearfix">
  616. <div class="index_1_img_li clearfix">
  617. <a class=" " href="" title="">
  618. <img class="" src="#" title="" alt="">
  619. <div class="index_1_li_dot3 dot3">
  620. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  621. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  622. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  623. </div>
  624. </a>
  625. </div>
  626. </div>
  627. <div class="index_1_ul clearfix">
  628. <div class="index_1_li clearfix">
  629. <a class=" " href="" title="">
  630. <div class="index_1_li_dot2 dot2">
  631. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  632. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  633. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  634. </div>
  635. <time class="index_1_li_time">09-09</time>
  636. </a>
  637. </div>
  638. <div class="index_1_li clearfix">
  639. <a class=" " href="" title="">
  640. <div class="index_1_li_dot2 dot2">
  641. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  642. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  643. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  644. </div>
  645. <time class="index_1_li_time">09-09</time>
  646. </a>
  647. </div>
  648. </div>
  649. </div>
  650. <div class="index_1_box">
  651. <div class="index_1_head_box clearfix">
  652. <div class="index_1_head index_1_head_only">栏目简介</div>
  653. <a class=" " href="" title="">栏目简介</a>
  654. </div>
  655. <div class="index_1_ul clearfix">
  656. <div class="index_1_li clearfix index_1_li_bold">
  657. <a class=" " href="" title="">
  658. <div class="index_1_li_dot2 dot2">
  659. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  660. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  661. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  662. </div>
  663. <time class="index_1_li_time">09-09</time>
  664. </a>
  665. </div>
  666. </div>
  667. <div class="index_1_ul clearfix">
  668. <div class="index_1_li clearfix">
  669. <a class=" " href="" title="">
  670. <div class="index_1_li_dot2 dot2">
  671. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  672. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  673. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  674. </div>
  675. <time class="index_1_li_time">09-09</time>
  676. </a>
  677. </div>
  678. <div class="index_1_li clearfix">
  679. <a class=" " href="" title="">
  680. <div class="index_1_li_dot2 dot2">
  681. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  682. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  683. 荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》
  684. </div>
  685. <time class="index_1_li_time">09-09</time>
  686. </a>
  687. </div>
  688. </div>
  689. </div>
  690. <div class="index_1_box_right">
  691. <div class="index_1_head_box clearfix">
  692. <div class="index_1_head index_1_head_only">栏目简介</div>
  693. <a class=" " href="" title="">栏目简介</a>
  694. </div>
  695. <div class="index_1_box_right_img_ul clearfix">
  696. <div class="index_1_box_right_img_li cover100">
  697. <a class=" " href="" title="">
  698. <img class="" src="#" title="" alt="">
  699. <div class="index_1_box_right_img_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  700. </a>
  701. </div>
  702. <div class="index_1_box_right_img_li cover100">
  703. <a class=" " href="" title="">
  704. <img class="" src="#" title="" alt="">
  705. <div class="index_1_box_right_img_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  706. </a>
  707. </div>
  708. </div>
  709. <div class="index_1_box_right_ul clearfix">
  710. <div class="index_1_box_right_li">
  711. <a class=" " href="" title="">
  712. <div class="index_1_box_right_li_font">详</div>
  713. <div class="index_1_box_right_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  714. </a>
  715. </div>
  716. <div class="index_1_box_right_li">
  717. <a class=" " href="" title="">
  718. <div class="index_1_box_right_li_font">详</div>
  719. <div class="index_1_box_right_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  720. </a>
  721. </div>
  722. <div class="index_1_box_right_li">
  723. <a class=" " href="" title="">
  724. <div class="index_1_box_right_li_font">详</div>
  725. <div class="index_1_box_right_li_dot1 dot1">荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》荆州市《关于在全市深入开展包联工业企业和重大项目活动的通知》</div>
  726. </a>
  727. </div>
  728. </div>
  729. </div>
  730. </section> -->
  731. <!--打假维权 产业动态 -->
  732. <!-- <div class="dynamic">
  733. <div class="inner">
  734. <div class="innerLeft">
  735. <div class="title">
  736. <h3>
  737. {{ pageData[4].alias }}
  738. <NuxtLink
  739. :to="{ path: `/newsList/${pageData[4].cid}`, query: { catid: pageData[4].cid } }"
  740. target="_blank" v-if="pageData[4].cid">
  741. 查看更多
  742. </NuxtLink>
  743. </h3>
  744. </div>
  745. <div class="protectRights">
  746. <div class="photoList">
  747. <div class="top" v-for="item in boxData8">
  748. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  749. <img :src="item.imgurl" alt="">
  750. <span>{{ item.title }}</span>
  751. </NuxtLink>
  752. </div>
  753. <ul class="bottom">
  754. <li v-for="item in boxData88">
  755. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  756. <img :src="item.imgurl" alt="">
  757. <p>{{ item.title }}</p>
  758. </NuxtLink>
  759. </li>
  760. </ul>
  761. </div>
  762. <ul class="textList">
  763. <li v-for="item in boxData9">
  764. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  765. <h4>
  766. <em></em>
  767. {{ item.title }}
  768. </h4>
  769. </NuxtLink>
  770. </li>
  771. </ul>
  772. </div>
  773. </div>
  774. <div class="innerRight">
  775. <div class="title">
  776. <h3>
  777. {{ pageData[5].alias }}
  778. <NuxtLink
  779. :to="{ path: `/newsList/${pageData[5].cid}`, query: { catid: pageData[5].cid } }"
  780. target="_blank" v-if="pageData[5].cid">
  781. 查看更多
  782. </NuxtLink>
  783. </h3>
  784. </div>
  785. <ul class="dynamicList">
  786. <li v-for="item in boxData10">
  787. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  788. <img :src="item.imgurl" alt="">
  789. <div class="text">
  790. <h5>{{ item.title }}</h5>
  791. <p>作者:{{ item.author }}</p>
  792. </div>
  793. </NuxtLink>
  794. </li>
  795. </ul>
  796. </div>
  797. </div>
  798. </div> -->
  799. <!-- 三农资讯logo -->
  800. <!-- <HomeSannongzixun></HomeSannongzixun> -->
  801. <!--政策法规 -->
  802. <!-- <div class="policy">
  803. <div class="inner">
  804. <div class="innerLeft">
  805. <div class="title">
  806. <h3>
  807. {{ pageData[6].alias }}
  808. <NuxtLink
  809. :to="{ path: `/newsList/${pageData[6].cid}`, query: { catid: pageData[6].cid } }"
  810. target="_blank" v-if="pageData[6].cid">
  811. 查看更多
  812. </NuxtLink>
  813. </h3>
  814. </div>
  815. <ul class="policyList">
  816. <li v-for="item in boxData11">
  817. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  818. <img :src="item.imgurl">
  819. <div class="text">
  820. <h5>{{ item.title }}</h5>
  821. <p>
  822. <span class="left">来源:{{ item.copyfrom }}</span>
  823. <span class="left">作者:{{ item.author }}</span>
  824. <span class="right">{{ item.created_at }}</span>
  825. </p>
  826. </div>
  827. </NuxtLink>
  828. </li>
  829. </ul>
  830. </div>
  831. <div class="innerRight">
  832. <div class="title">
  833. <h3>
  834. {{ pageData[7].alias }}
  835. <NuxtLink
  836. :to="{ path: `/newsList/${pageData[7].cid}`, query: { catid: pageData[7].cid } }"
  837. target="_blank" v-if="pageData[7].cid">
  838. 查看更多
  839. </NuxtLink>
  840. </h3>
  841. </div>
  842. <div class="banner">
  843. <HomeSmallSwiper1 :message="pageData[7].cid" v-show="pageData[7] != ''"></HomeSmallSwiper1>
  844. </div>
  845. <div class="banner_b_img">
  846. <div class="photo">
  847. <div class="photoL" v-for="item in boxData13">
  848. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">
  849. <img :src="item.imgurl">
  850. <span>{{ item.title }}</span>
  851. </NuxtLink>
  852. </div>
  853. </div>
  854. <ul>
  855. <li v-for="item in boxData12">
  856. <em></em>
  857. <NuxtLink :to="`/newsDetail/${item.id}`" target="_blank">{{ item.title }}</NuxtLink>
  858. </li>
  859. </ul>
  860. </div>
  861. </div>
  862. </div>
  863. </div> -->
  864. <!-- 页面底部 -->
  865. <HomeFoot></HomeFoot>
  866. </div>
  867. </template>
  868. <script setup>
  869. //1.加载页面必备组件 start---------------------------------------->
  870. import { ref, onMounted } from 'vue'
  871. import { ElRadio, ElRadioGroup } from 'element-plus'
  872. const nuxtApp = useNuxtApp();
  873. const axios = nuxtApp.$axios;
  874. //1.加载页面必备组件 end---------------------------------------->
  875. //2.交互方法 start---------------------------------------->
  876. //2.1 新闻图片切换
  877. const hoverStatus = ref(1)
  878. const qhPic = function (num) {
  879. console.log('qhPic', num)
  880. hoverStatus.value = num;
  881. }
  882. //2.2 投票
  883. const radio1 = ref('1');
  884. let index = ref(0)
  885. //2.3 格式化年月日
  886. function getDay(time) {
  887. const date = new Date(time);
  888. const year = date.getFullYear();
  889. const month = date.getMonth() + 1;
  890. const day = date.getDate();
  891. return `${day}`;
  892. }
  893. function geMonth(time) {
  894. const date = new Date(time);
  895. const year = date.getFullYear();
  896. const month = date.getMonth() + 1;
  897. const day = date.getDate();
  898. return `${year}-${month}`;
  899. }
  900. function getTime(time) {
  901. const date = new Date(time);
  902. const year = date.getFullYear();
  903. const month = date.getMonth() + 1;
  904. const day = date.getDate();
  905. return `${year}-${month}-${day}`;
  906. }
  907. //2.交互方法 end---------------------------------------->
  908. //3.页面基本信息 start---------------------------------------->
  909. //3.1 获取网站底部信息
  910. const info = ref("");
  911. const getInfo = async () => {
  912. const response = await axios.get(`/web/getWebsiteFootInfo`);
  913. info.value = response.data.website_head;
  914. }
  915. onMounted(() => {
  916. getInfo();
  917. })
  918. //3.2 模块基本信息
  919. //预创建首页模块 调用了20个导航 这里就创建20个模块
  920. const pageData = ref([
  921. { cid: "", title: "", data: []},
  922. { cid: "", title: "", data: [] },
  923. { cid: "", title: "", data: [] },
  924. { cid: "", title: "", data: [] },
  925. { cid: "", title: "", data: [] },
  926. { cid: "", title: "", data: [] },
  927. { cid: "", title: "", data: [] },
  928. { cid: "", title: "", data: [] },
  929. { cid: "", title: "", data: [] },
  930. { cid: "", title: "", data: [] },
  931. { cid: "", title: "", data: [] },
  932. { cid: "", title: "", data: [] },
  933. { cid: "", title: "", data: [] },
  934. { cid: "", title: "", data: [] },
  935. { cid: "", title: "", data: [] },
  936. { cid: "", title: "", data: [] },
  937. { cid: "", title: "", data: [] },
  938. { cid: "", title: "", data: [] },
  939. { cid: "", title: "", data: [] },
  940. { cid: "", title: "", data: [] }
  941. ]);
  942. //pageData[0] boxData1 boxData1data2
  943. const boxData1 = ref("");
  944. const boxData1data2 = ref("");
  945. const getWebsiteModelArticles = async () => {
  946. try {
  947. // const response = await axios.get(`/web/getWebsiteModelArticles?catid=${14}&level=${1}&pagesize=${10}`);
  948. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${3}&pagesize=${2}`);
  949. boxData1.value = response.data;
  950. const response2 = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[0].cid}&level=${1}&pagesize=${6}`);
  951. boxData1data2.value = response2.data;
  952. } catch (error) {
  953. console.error(error);
  954. }
  955. }
  956. //pageData[1] boxData2 boxData2
  957. const boxData2 = ref("");
  958. const getWebsiteModelArticles2 = async () => {
  959. try {
  960. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[1].cid}&level=${3}&pagesize=${7}`);
  961. console.log('mouseenter', response.data);
  962. boxData2.value = response.data;
  963. } catch (error) {
  964. console.error(error);
  965. }
  966. }
  967. //pageData[2] boxData2 boxData3
  968. const boxData3 = ref("");
  969. const getWebsiteModelArticles3 = async () => {
  970. try {
  971. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[2].cid}&level=${1}&pagesize=${5}`);
  972. boxData3.value = response.data;
  973. } catch (error) {
  974. console.error(error);
  975. }
  976. }
  977. //pageData[3] boxData4
  978. const boxData4 = ref("");
  979. const getWebsiteModelArticles4 = async () => {
  980. try {
  981. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[3].cid}&level=${3}&pagesize=${2}`);
  982. console.log('boxData4', response.data);
  983. boxData4.value = response.data;
  984. } catch (error) {
  985. console.error(error);
  986. }
  987. }
  988. //pageData[4] boxData5
  989. const boxData5 = ref("");
  990. const getWebsiteModelArticles5 = async () => {
  991. try {
  992. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
  993. boxData5.value = response.data;
  994. } catch (error) {
  995. console.error(error);
  996. }
  997. }
  998. const boxData5data2 = ref("");
  999. const getWebsiteModelArticles5data2 = async () => {
  1000. try {
  1001. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[4].cid}&level=${1}&pagesize=${4}`);
  1002. boxData5data2.value = response.data
  1003. } catch (error) {
  1004. console.error(error);
  1005. }
  1006. }
  1007. //pageData[5] boxData6
  1008. const boxData6 = ref("");
  1009. const getWebsiteModelArticles6 = async () => {
  1010. try {
  1011. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[5].cid}&level=${3}&pagesize=${2}`);
  1012. boxData6.value = response.data;
  1013. } catch (error) {
  1014. console.error(error);
  1015. }
  1016. }
  1017. //pageData[6] boxData7
  1018. const boxData7 = ref("");
  1019. const getWebsiteModelArticles7 = async () => {
  1020. try {
  1021. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[6].cid}&level=${1}&pagesize=${4}`);
  1022. boxData7.value = response.data;
  1023. } catch (error) {
  1024. console.error(error);
  1025. }
  1026. }
  1027. //pageData[7] boxData8
  1028. const boxData8 = ref("");
  1029. const getWebsiteModelArticles8 = async () => {
  1030. try {
  1031. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${2}`);
  1032. boxData8.value = response.data;
  1033. } catch (error) {
  1034. console.error(error);
  1035. }
  1036. }
  1037. const boxData88 = ref("");
  1038. const getWebsiteModelArticles88 = async () => {
  1039. try {
  1040. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[7].cid}&level=${3}&pagesize=${7}&placeid=${1}`);
  1041. boxData88.value = response.data;
  1042. } catch (error) {
  1043. console.error(error);
  1044. }
  1045. }
  1046. //pageData[8] boxData9
  1047. const boxData9 = ref("");
  1048. const getWebsiteModelArticles9 = async () => {
  1049. try {
  1050. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${3}&pagesize=${2}`);
  1051. boxData9.value = response.data;
  1052. } catch (error) {
  1053. console.error(error);
  1054. }
  1055. }
  1056. const boxData9data2 = ref("");
  1057. const getWebsiteModelArticles9data2 = async () => {
  1058. try {
  1059. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[8].cid}&level=${1}&pagesize=${6}&placeid=${6}`);
  1060. boxData9data2.value = response.data;
  1061. } catch (error) {
  1062. console.error(error);
  1063. }
  1064. }
  1065. //pageData[9] boxData10
  1066. const boxData10 = ref("");
  1067. const getWebsiteModelArticles10 = async () => {
  1068. try {
  1069. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[9].cid}&level=${1}&pagesize=${3}`);
  1070. console.log('boxData10', response.data);
  1071. boxData10.value = response.data;
  1072. } catch (error) {
  1073. console.error(error);
  1074. }
  1075. }
  1076. //pageData[10] boxData11
  1077. const boxData11 = ref("");
  1078. const getWebsiteModelArticles11 = async () => {
  1079. try {
  1080. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${3}&pagesize=${2}`);
  1081. console.log('boxData11', response.data);
  1082. boxData11.value = response.data;
  1083. } catch (error) {
  1084. console.error(error);
  1085. }
  1086. }
  1087. const boxData11data2 = ref("");
  1088. const getWebsiteModelArticles11data2 = async () => {
  1089. try {
  1090. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[10].cid}&level=${1}&pagesize=${4}&placeid=${3}`);
  1091. console.log('boxData11', response.data);
  1092. boxData11data2.value = response.data;
  1093. } catch (error) {
  1094. console.error(error);
  1095. }
  1096. }
  1097. //pageData[11] boxData12
  1098. const boxData12 = ref("");
  1099. const getWebsiteModelArticles12 = async () => {
  1100. try {
  1101. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[11].cid}&level=${3}&pagesize=${2}`);
  1102. console.log('boxData12', response.data);
  1103. boxData12.value = response.data;
  1104. } catch (error) {
  1105. console.error(error);
  1106. }
  1107. }
  1108. //pageData[12] boxData13
  1109. const boxData13 = ref("");
  1110. const getWebsiteModelArticles13 = async () => {
  1111. try {
  1112. const response = await axios.get(`/web/getWebsiteModelArticles?catid=${pageData.value[12].cid}&level=${3}&pagesize=${2}`);
  1113. console.log('boxData13', response.data);
  1114. boxData13.value = response.data;
  1115. } catch (error) {
  1116. console.error(error);
  1117. }
  1118. }
  1119. //获取导航一的栏目
  1120. const navigation1 = ref("");
  1121. const navigateList = async () => {
  1122. try {
  1123. const response = await axios.get(`/web/getWebsiteModelCategory?placeid=${1}&pid=${0}&num=${20}`);
  1124. pageData.value = response.data;
  1125. for (let index in response.data) {
  1126. pageData.value[index].title = response.data[index].name
  1127. pageData.value[index].cid = response.data[index].category_id
  1128. }
  1129. //pageData[0] boxData1 boxData1data2 新农村
  1130. getWebsiteModelArticles();
  1131. //pageData[1] boxData2 贴身宝贝
  1132. getWebsiteModelArticles2();
  1133. //pageData[2] boxData3 政策法规
  1134. getWebsiteModelArticles3();
  1135. //pageData[3] boxData4 三农之窗
  1136. getWebsiteModelArticles4();
  1137. //pageData[4] boxData5 boxData5data2 区域经济
  1138. getWebsiteModelArticles5();
  1139. getWebsiteModelArticles5data2();
  1140. //pageData[5] boxData6 三农投资
  1141. getWebsiteModelArticles6();
  1142. //pageData[6] boxData7 农贸资讯
  1143. getWebsiteModelArticles7();
  1144. //pageData[7] boxData8 boxData88 三农科教
  1145. getWebsiteModelArticles8();
  1146. getWebsiteModelArticles88();
  1147. //pageData[8] boxData9 boxData9data2 文化生活
  1148. getWebsiteModelArticles9();
  1149. getWebsiteModelArticles9data2();
  1150. //pageData[9] boxData10 三农探索
  1151. getWebsiteModelArticles10();
  1152. //pageData[10] boxData11 boxData11data2 三农专题
  1153. getWebsiteModelArticles11();
  1154. getWebsiteModelArticles11data2();
  1155. //pageData[11] boxData12 写作大全
  1156. getWebsiteModelArticles12();
  1157. //pageData[12] boxData13 暂未定义
  1158. getWebsiteModelArticles13();
  1159. console.log(123)
  1160. console.log(pageData)
  1161. // //21
  1162. // //获取模块中的数据12
  1163. // getWebsiteModelArticles12()
  1164. // getWebsiteModelArticles12data2()
  1165. // //获取模块中的数据13
  1166. // getWebsiteModelArticles13()
  1167. } catch (error) {
  1168. console.error(error);
  1169. }
  1170. }
  1171. onMounted(() => {
  1172. navigateList();
  1173. })
  1174. //3.页面基本信息 end---------------------------------------->
  1175. //4.设置seo信息 start---------------------------------------->
  1176. const seoData = ref({
  1177. title: '默认标题',
  1178. description: '默认描述',
  1179. keywords: '默认关键词',
  1180. image: 'https://example.com/default-image.jpg'
  1181. });
  1182. onMounted(async () => {
  1183. try {
  1184. const response = await axios.get('/web/getWebsiteFootInfo');
  1185. const data = response.data.website_head; // 假设接口返回的数据在 data 字段中
  1186. console.log(seoData.value.title)
  1187. // 更新 seoData
  1188. seoData.value = {
  1189. title: data.title,
  1190. description: data.description,
  1191. keywords: data.keywords,
  1192. image: data.image
  1193. };
  1194. console.log(seoData.value.title)
  1195. } catch (error) {
  1196. console.error('获取 SEO 数据失败:', error);
  1197. // 设置默认值
  1198. seoData.value = {
  1199. title: '默认标题',
  1200. description: '默认描述',
  1201. keywords: '默认关键词',
  1202. image: 'https://example.com/default-image.jpg'
  1203. };
  1204. }
  1205. });
  1206. // 监听 seoData 的变化,动态设置 SEO 字段
  1207. watch(seoData, (newVal) => {
  1208. if (newVal.title) { // 确保 title 有值
  1209. useSeoMeta({
  1210. title: newVal.title, // 使用动态值
  1211. description: newVal.description,
  1212. ogTitle: newVal.title,
  1213. ogDescription: newVal.description,
  1214. ogImage: newVal.image,
  1215. twitterTitle: newVal.title,
  1216. twitterDescription: newVal.description,
  1217. twitterImage: newVal.image,
  1218. keywords: newVal.keywords
  1219. });
  1220. }
  1221. }, { immediate: true });
  1222. //4.设置seo信息 end---------------------------------------->
  1223. </script>
  1224. <style lang="less" scoped>
  1225. .farming {
  1226. width: 100%;
  1227. height: 680px;
  1228. .farmerLeft,
  1229. .farmerRight {
  1230. float: left;
  1231. }
  1232. .farmerLeft {
  1233. width: 720px;
  1234. height: 616px;
  1235. margin-right: 21px;
  1236. .farmer {
  1237. width: 720px;
  1238. height: 330px;
  1239. >h3 {
  1240. font-family: Source Han Sans, Source Han Sans;
  1241. font-weight: bold;
  1242. font-size: 24px;
  1243. color: #000000;
  1244. text-align: left;
  1245. font-style: normal;
  1246. text-transform: none;
  1247. border-bottom: 1px solid #D9D9D9;
  1248. height: 50px;
  1249. line-height: 50px;
  1250. display: flex;
  1251. justify-content: space-between;
  1252. .titleBoxTabs {
  1253. span {
  1254. a {
  1255. color: #333;
  1256. height: 50px;
  1257. line-height: 50px;
  1258. display: inline-block;
  1259. box-sizing: border-box;
  1260. margin-right: 40px;
  1261. }
  1262. }
  1263. .active {
  1264. a {
  1265. color: #139602;
  1266. border-bottom: 3px solid #139602;
  1267. height: 50px;
  1268. line-height: 50px;
  1269. display: inline-block;
  1270. box-sizing: border-box;
  1271. margin-right: 40px;
  1272. }
  1273. }
  1274. }
  1275. span {
  1276. color: #139602;
  1277. height: 50px;
  1278. line-height: 50px;
  1279. display: inline-block;
  1280. box-sizing: border-box;
  1281. }
  1282. >a {
  1283. width: 65px;
  1284. height: 50px;
  1285. line-height: 50px;
  1286. font-weight: 400;
  1287. font-size: 16px;
  1288. color: #333333;
  1289. font-style: normal;
  1290. text-transform: none;
  1291. display: inline-block;
  1292. }
  1293. }
  1294. ul.mode1ul_style1 {
  1295. display: flex;
  1296. align-items: center;
  1297. justify-content: space-between;
  1298. padding-top: 30px;
  1299. li {
  1300. position: relative;
  1301. width: 349px;
  1302. height: 236px;
  1303. border-radius: 10px;
  1304. box-sizing: border-box;
  1305. overflow: hidden;
  1306. img {
  1307. width: 349px;
  1308. height: 236px;
  1309. }
  1310. a {
  1311. div {
  1312. position: absolute;
  1313. width: 320px;
  1314. height: 42px;
  1315. bottom: 35px;
  1316. z-index: 10;
  1317. left:15px;
  1318. color: #fff;
  1319. font-size: 16px;
  1320. span {
  1321. display: inline-block;
  1322. background: #9CD26B;
  1323. font-size: 14px;
  1324. color: #fff;
  1325. padding: 2px 6px;
  1326. border-radius: 4px;
  1327. margin-right: 5px;
  1328. }
  1329. p {
  1330. font-size: 14px;
  1331. margin-top: 5px;
  1332. }
  1333. p:nth-child(1) {
  1334. display: -webkit-box;
  1335. -webkit-box-orient: vertical;
  1336. -webkit-line-clamp: 2;
  1337. overflow: hidden;
  1338. text-overflow: ellipsis;
  1339. word-break: break-all;
  1340. }
  1341. }
  1342. }
  1343. }
  1344. }
  1345. ul.mode1ul_style2 {
  1346. display: flex;
  1347. align-items: center;
  1348. justify-content: space-between;
  1349. flex-wrap: wrap;
  1350. padding-top: 20px;
  1351. li {
  1352. width: 349px;
  1353. height: 85px;
  1354. border-radius: 10px;
  1355. border-bottom: 1px solid #E6E6E6;
  1356. box-sizing: border-box;
  1357. margin-bottom: 20px;
  1358. }
  1359. p {
  1360. font-size: 16px;
  1361. color: #333333;
  1362. margin-bottom: 10px;
  1363. }
  1364. p.title {
  1365. width: 349px;
  1366. height: 42px;
  1367. display: -webkit-box;
  1368. -webkit-box-orient: vertical;
  1369. -webkit-line-clamp: 2;
  1370. overflow: hidden;
  1371. text-overflow: ellipsis;
  1372. word-break: break-all;
  1373. }
  1374. p.title:hover {
  1375. color: #49A769;
  1376. }
  1377. }
  1378. }
  1379. .farmerbottom {
  1380. width: 720px;
  1381. height: 280px;
  1382. img {
  1383. width: 498px;
  1384. height: 280px;
  1385. }
  1386. >.leftList {
  1387. width: 290px;
  1388. height: 280px;
  1389. background-color: #f6f6f6;
  1390. padding: 11px 26px 6px 20px;
  1391. box-sizing: border-box;
  1392. >li {
  1393. width: 296px;
  1394. height: 32px;
  1395. color: #666666;
  1396. font-size: 14px;
  1397. margin-bottom: 14px;
  1398. h4 {
  1399. width: 249px;
  1400. white-space: nowrap;
  1401. overflow: hidden;
  1402. text-overflow: ellipsis;
  1403. font-family: Source Han Sans, Source Han Sans;
  1404. height: 27px;
  1405. line-height: 21px;
  1406. font-size: 18px;
  1407. color: #333333;
  1408. font-weight: 400;
  1409. em {
  1410. display: inline-block;
  1411. width: 8px;
  1412. height: 8px;
  1413. background-color: #333333;
  1414. border-radius: 8px;
  1415. }
  1416. }
  1417. p {
  1418. width: 249px;
  1419. height: 48px;
  1420. // line-height: 24px;
  1421. padding-left: 14px;
  1422. // color: #333333;
  1423. }
  1424. a {
  1425. color: #333333;
  1426. }
  1427. a:hover {
  1428. color: #139602;
  1429. }
  1430. }
  1431. >li:hover,
  1432. >li:hover>a>h4 {
  1433. color: #088f04;
  1434. }
  1435. >li:hover>a>h4>em {
  1436. background-color: #088f04;
  1437. }
  1438. }
  1439. }
  1440. }
  1441. .farmerRight {
  1442. width: 450px;
  1443. height: 600px;
  1444. .rich,
  1445. .inquire {
  1446. width: 100%;
  1447. height: 309px;
  1448. >h3 {
  1449. height: 36px;
  1450. font-family: Source Han Sans, Source Han Sans;
  1451. font-weight: bold;
  1452. font-size: 24px;
  1453. color: #000000;
  1454. line-height: 28px;
  1455. text-align: left;
  1456. font-style: normal;
  1457. text-transform: none;
  1458. border-bottom: 1px solid #D9D9D9;
  1459. height: 50px;
  1460. line-height: 50px;
  1461. display: flex;
  1462. justify-content: space-between;
  1463. span {
  1464. font-size: 22px;
  1465. height: 50px;
  1466. line-height: 50px;
  1467. display: inline-block;
  1468. color: #49A769;
  1469. border-bottom: 3px solid #49A769;
  1470. box-sizing: border-box;
  1471. }
  1472. a {
  1473. width: 65px;
  1474. height: 50px;
  1475. line-height: 50px;
  1476. font-size: 16px;
  1477. color: #333333;
  1478. font-weight: normal;
  1479. }
  1480. }
  1481. .photo {
  1482. height: 104px;
  1483. margin-top: 23px;
  1484. >.photoL:first-child {
  1485. margin-right: 10px;
  1486. }
  1487. }
  1488. .photoL {
  1489. display: inline-block;
  1490. width: 185px;
  1491. height: 104px;
  1492. border-radius: 6px;
  1493. position: relative;
  1494. a {
  1495. width: 185px;
  1496. height: 104px;
  1497. }
  1498. img {
  1499. width: 185px;
  1500. height: 104px;
  1501. border-radius: 6px;
  1502. }
  1503. span {
  1504. position: absolute;
  1505. bottom: 0;
  1506. left: 0;
  1507. display: inline-block;
  1508. padding-left: 7px;
  1509. box-sizing: border-box;
  1510. width: 185px;
  1511. height: 22px;
  1512. white-space: nowrap;
  1513. overflow: hidden;
  1514. text-overflow: ellipsis;
  1515. background-color: rgba(0, 0, 0, 0.5);
  1516. font-weight: 500px;
  1517. font-size: 14px;
  1518. color: #FFFFFF;
  1519. line-height: 22px;
  1520. }
  1521. }
  1522. .photoList {
  1523. display: inline-block;
  1524. width: 185px;
  1525. height: 104px;
  1526. position: relative;
  1527. img {
  1528. width: 185px;
  1529. height: 104px;
  1530. }
  1531. span {
  1532. position: absolute;
  1533. bottom: 0;
  1534. left: 0;
  1535. display: inline-block;
  1536. width: 185px;
  1537. height: 30px;
  1538. font-weight: 500;
  1539. color: #FFFFFF;
  1540. padding-top: 7px;
  1541. padding-left: 6px;
  1542. box-sizing: border-box;
  1543. }
  1544. }
  1545. // 文字部分
  1546. ul {
  1547. height: 220px;
  1548. margin-bottom: 10px;
  1549. padding-top: 10px;
  1550. li {
  1551. height: 55px;
  1552. padding: 20px 0 6px 0;
  1553. border-bottom: 1px solid #E6E6E6;
  1554. a {
  1555. display: flex;
  1556. color: #333333;
  1557. font-size: 16px;
  1558. .index {
  1559. height: 42px;
  1560. margin-right: 20px;
  1561. }
  1562. .title {
  1563. height: 42px;
  1564. display: -webkit-box;
  1565. -webkit-box-orient: vertical;
  1566. -webkit-line-clamp: 2;
  1567. overflow: hidden;
  1568. text-overflow: ellipsis;
  1569. word-break: break-all;
  1570. }
  1571. }
  1572. a:hover{
  1573. color: #139609;
  1574. }
  1575. }
  1576. li:nth-child(1) .index,li:nth-child(2) .index,li:nth-child(3) .index {
  1577. color: #49A769;
  1578. font-weight: bold;
  1579. }
  1580. }
  1581. }
  1582. .richList {
  1583. margin-top: 30px;
  1584. .richListPic {
  1585. a {
  1586. color: #333333;
  1587. font-size: 16px;
  1588. display: flex;
  1589. justify-content: space-between;
  1590. align-items: center;
  1591. margin-bottom: 40px;
  1592. img {
  1593. width: 152px;
  1594. height: 103px;
  1595. margin-right: 10px;
  1596. border-radius: 8px;
  1597. }
  1598. div {
  1599. width: 285px;
  1600. height: 103px;
  1601. padding-top: 10px;
  1602. box-sizing: border-box;
  1603. border-bottom: 1px solid #D9D9D9;
  1604. span {
  1605. display: -webkit-box;
  1606. -webkit-box-orient: vertical;
  1607. -webkit-line-clamp: 3;
  1608. font-weight: bold;
  1609. overflow: hidden;
  1610. text-overflow: ellipsis;
  1611. word-break: break-all;
  1612. }
  1613. }
  1614. }
  1615. }
  1616. .richListText {
  1617. a {
  1618. font-size: 16px;
  1619. color: #333333;
  1620. height: 40px;
  1621. border-bottom: 1px solid #E6E6E6;
  1622. display: block;
  1623. margin-bottom: 40px;
  1624. span {
  1625. white-space: nowrap;
  1626. overflow: hidden;
  1627. text-overflow: ellipsis;
  1628. }
  1629. }
  1630. }
  1631. }
  1632. .rich {
  1633. .photoL {
  1634. display: inline-block;
  1635. width: 185px;
  1636. height: 104px;
  1637. position: relative;
  1638. border-radius: 6px;
  1639. img {
  1640. width: 185px;
  1641. height: 104px;
  1642. border-radius: 6px;
  1643. }
  1644. span {
  1645. position: absolute;
  1646. bottom: 0;
  1647. left: 0;
  1648. display: inline-block;
  1649. padding-left: 7px;
  1650. box-sizing: border-box;
  1651. width: 185px;
  1652. height: 22px;
  1653. white-space: nowrap;
  1654. overflow: hidden;
  1655. text-overflow: ellipsis;
  1656. background-color: rgba(0, 0, 0, 0.5);
  1657. font-weight: 500px;
  1658. font-size: 14px;
  1659. color: #FFFFFF;
  1660. line-height: 22px;
  1661. border-radius: 0px 0px 6px 6px;
  1662. }
  1663. }
  1664. }
  1665. .inquire {
  1666. width: 380px;
  1667. height: 280px;
  1668. margin-top: 20px;
  1669. background: #FFFFFF;
  1670. box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
  1671. border-radius: 6px 6px 6px 6px;
  1672. padding: 4px 6px;
  1673. box-sizing: border-box;
  1674. p {
  1675. width: 328px;
  1676. height: 69px;
  1677. font-family: PingFang SC, PingFang SC;
  1678. font-weight: 500;
  1679. font-size: 18px;
  1680. color: #333333;
  1681. line-height: 21px;
  1682. text-align: left;
  1683. font-style: normal;
  1684. text-transform: none;
  1685. padding: 12px 20px 0 32px;
  1686. }
  1687. .radio {
  1688. /deep/.el-radio {
  1689. --el-radio-input-border-color-hover: #27881a;
  1690. }
  1691. /deep/.el-radio-group {
  1692. align-items: center;
  1693. display: inline-flex;
  1694. flex-wrap: wrap;
  1695. font-size: 0;
  1696. padding-left: 35px;
  1697. }
  1698. /deep/.el-radio.el-radio--large {
  1699. height: 29px;
  1700. }
  1701. /deep/.el-radio.el-radio--large .el-radio__label {
  1702. font-family: PingFang SC, PingFang SC;
  1703. font-weight: 400;
  1704. font-size: 16px;
  1705. color: #333333;
  1706. }
  1707. /deep/.el-radio.el-radio--large .el-radio__inner {
  1708. height: 16px;
  1709. width: 16px;
  1710. }
  1711. /deep/.el-radio__input.is-checked+.el-radio__label {
  1712. color: #27881a;
  1713. }
  1714. /deep/.el-radio__input.is-checked .el-radio__inner {
  1715. background: #33b023;
  1716. border-color: #27881a;
  1717. }
  1718. }
  1719. .btn {
  1720. width: 188px;
  1721. height: 32px;
  1722. margin: 20px auto;
  1723. button {
  1724. width: 70px;
  1725. height: 32px;
  1726. line-height: 32px;
  1727. border-radius: 6px;
  1728. border: none;
  1729. font-family: PingFang SC, PingFang SC;
  1730. font-weight: 400;
  1731. font-size: 16px;
  1732. color: #999999;
  1733. }
  1734. .voting {
  1735. background-color: #33b023;
  1736. color: #fff;
  1737. margin-right: 44px;
  1738. }
  1739. }
  1740. }
  1741. }
  1742. }
  1743. .scienceEducation {
  1744. height: 710px;
  1745. .scienceLeft,
  1746. .scienceRight {
  1747. float: left;
  1748. }
  1749. .adBox1 {
  1750. margin-bottom: 20px;
  1751. }
  1752. .scienceLeft {
  1753. width: 720px;
  1754. height:700px;
  1755. margin-right: 21px;
  1756. }
  1757. .scienceRight {
  1758. width: 450px;
  1759. height: 600px;
  1760. >h3 {
  1761. height: 36px;
  1762. font-family: Source Han Sans, Source Han Sans;
  1763. font-weight: bold;
  1764. font-size: 24px;
  1765. color: #000000;
  1766. line-height: 28px;
  1767. text-align: left;
  1768. font-style: normal;
  1769. text-transform: none;
  1770. border-bottom: 1px solid #139602;
  1771. height: 50px;
  1772. line-height: 50px;
  1773. display: flex;
  1774. justify-content: space-between;
  1775. span {
  1776. color: #139602;
  1777. border-bottom: 3px solid #139602;
  1778. height: 50px;
  1779. line-height: 50px;
  1780. display: inline-block;
  1781. box-sizing: border-box;
  1782. }
  1783. >a {
  1784. width: 65px;
  1785. height: 50px;
  1786. line-height: 50px;
  1787. font-weight: 400;
  1788. font-size: 16px;
  1789. color: #333333;
  1790. font-style: normal;
  1791. text-transform: none;
  1792. display: inline-block;
  1793. }
  1794. }
  1795. .banner {
  1796. width: 380px;
  1797. height: 214px;
  1798. margin-top: 20px;
  1799. }
  1800. .banner_b_img {
  1801. .photo {
  1802. height: 104px;
  1803. margin-top: 23px;
  1804. >.photoL:first-child {
  1805. margin-right: 10px;
  1806. }
  1807. }
  1808. .photoL {
  1809. display: inline-block;
  1810. width: 185px;
  1811. height: 104px;
  1812. position: relative;
  1813. border-radius: 2px;
  1814. img {
  1815. width: 185px;
  1816. height: 104px;
  1817. border-radius: 2px;
  1818. }
  1819. span {
  1820. position: absolute;
  1821. top: 0;
  1822. left: 0;
  1823. display: inline-block;
  1824. padding-left: 7px;
  1825. box-sizing: border-box;
  1826. width: 185px;
  1827. height: 22px;
  1828. white-space: nowrap;
  1829. overflow: hidden;
  1830. text-overflow: ellipsis;
  1831. background-color: rgba(0, 0, 0, 0.5);
  1832. font-weight: 500px;
  1833. font-size: 14px;
  1834. color: #FFFFFF;
  1835. line-height: 22px;
  1836. border-radius: 2px 2px 0px 0px;
  1837. }
  1838. }
  1839. // .photoL {
  1840. // margin-right: 5px;
  1841. // }
  1842. // ul {
  1843. // width: 380px;
  1844. // height: 186px;
  1845. // >li {
  1846. // height: 22px;
  1847. // padding-top: 16px;
  1848. // >strong {
  1849. // display: inline-block;
  1850. // width: 24px;
  1851. // height: 24px;
  1852. // line-height: 24px;
  1853. // background-color: #cecece;
  1854. // padding-left: 6px;
  1855. // box-sizing: border-box;
  1856. // font-family: Source Han Sans, Source Han Sans;
  1857. // font-weight: 500;
  1858. // font-size: 18px;
  1859. // color: #FFFFFF;
  1860. // font-style: normal;
  1861. // text-transform: none;
  1862. // }
  1863. // >em {
  1864. // display: inline-block;
  1865. // width: 6px;
  1866. // height: 6px;
  1867. // border-radius: 10px;
  1868. // border: 2px solid #8CBA86;
  1869. // vertical-align: 5px;
  1870. // }
  1871. // a,
  1872. // span {
  1873. // display: inline-block;
  1874. // width: 350px;
  1875. // height: 22px;
  1876. // white-space: nowrap;
  1877. // overflow: hidden;
  1878. // text-overflow: ellipsis;
  1879. // font-family: PingFang SC, PingFang SC;
  1880. // font-weight: 500;
  1881. // font-size: 18px;
  1882. // color: #333333;
  1883. // line-height: 21px;
  1884. // text-align: left;
  1885. // font-style: normal;
  1886. // text-transform: none;
  1887. // padding-left: 9px;
  1888. // }
  1889. // >a:hover,
  1890. // >span:hover {
  1891. // color: #139609;
  1892. // }
  1893. // }
  1894. // }
  1895. ul {
  1896. padding: 30px 10px 0 10px;
  1897. li {
  1898. margin-bottom: 32px;
  1899. a {
  1900. display: flex;
  1901. align-items: center;
  1902. justify-content: space-between;
  1903. width: 410px;
  1904. height: 50px;
  1905. color: #333333;
  1906. &:hover {
  1907. color: #49A769;
  1908. }
  1909. p {
  1910. display: -webkit-box;
  1911. -webkit-box-orient: vertical;
  1912. -webkit-line-clamp: 2;
  1913. overflow: hidden;
  1914. text-overflow: ellipsis;
  1915. word-break: break-all;
  1916. width: 337px;
  1917. height: 42px;
  1918. box-sizing: border-box;
  1919. padding-left: 10px;
  1920. border-left: 1px solid #D9D9D9;
  1921. }
  1922. }
  1923. }
  1924. }
  1925. }
  1926. }
  1927. }
  1928. .dynamic {
  1929. height: 610px;
  1930. .inner {
  1931. height: 610px;
  1932. }
  1933. .innerLeft {
  1934. .title {
  1935. >h3 {
  1936. height: 36px;
  1937. font-family: Source Han Sans, Source Han Sans;
  1938. font-weight: bold;
  1939. font-size: 24px;
  1940. color: #000000;
  1941. line-height: 28px;
  1942. text-align: left;
  1943. font-style: normal;
  1944. text-transform: none;
  1945. border-bottom: 1px solid #139602;
  1946. >a {
  1947. float: right;
  1948. width: 56px;
  1949. height: 20px;
  1950. line-height: 24px;
  1951. font-weight: 400;
  1952. font-size: 14px;
  1953. color: #999999;
  1954. font-style: normal;
  1955. text-transform: none;
  1956. }
  1957. }
  1958. }
  1959. .protectRights {
  1960. float: left;
  1961. margin-top: 26px;
  1962. .photoList {
  1963. float: left;
  1964. width: 387px;
  1965. margin-right: 40px;
  1966. >.top {
  1967. width: 387px;
  1968. height: 320px;
  1969. position: relative;
  1970. img {
  1971. width: 387px;
  1972. height: 320px;
  1973. border-radius: 6px;
  1974. }
  1975. span {
  1976. position: absolute;
  1977. bottom: 0;
  1978. left: 0;
  1979. display: inline-block;
  1980. width: 387px;
  1981. height: 68px;
  1982. white-space: nowrap;
  1983. overflow: hidden;
  1984. text-overflow: ellipsis;
  1985. padding: 33px 33px 8px 13px;
  1986. box-sizing: border-box;
  1987. font-family: PingFang SC, PingFang SC;
  1988. font-weight: 500;
  1989. font-size: 18px;
  1990. color: #FFFFFF;
  1991. line-height: 21px;
  1992. }
  1993. }
  1994. >.bottom {
  1995. width: 387px;
  1996. height: 202px;
  1997. margin-top: 15px;
  1998. >li {
  1999. width: 185px;
  2000. height: 210px;
  2001. float: left;
  2002. margin-right: 17px;
  2003. background-color: #f5f5f5;
  2004. img {
  2005. width: 185px;
  2006. height: 139px;
  2007. border-radius: 6px;
  2008. }
  2009. p {
  2010. width: 175px;
  2011. height: 63px;
  2012. display: -webkit-box;
  2013. -webkit-box-orient: vertical;
  2014. -webkit-line-clamp: 2;
  2015. overflow: hidden;
  2016. text-overflow: ellipsis;
  2017. word-break: break-all;
  2018. font-family: PingFang SC, PingFang SC;
  2019. font-weight: 500;
  2020. font-size: 18px;
  2021. color: #333333;
  2022. line-height: 30px;
  2023. text-align: left;
  2024. font-style: normal;
  2025. text-transform: none;
  2026. margin-left: 5px;
  2027. }
  2028. }
  2029. >li:nth-child(2) {
  2030. margin-right: 0;
  2031. }
  2032. }
  2033. }
  2034. .textList {
  2035. float: left;
  2036. width: 340px;
  2037. height: 545px;
  2038. >li {
  2039. width: 340px;
  2040. height: 27px;
  2041. margin-bottom: 19px;
  2042. h4 {
  2043. width: 282px;
  2044. height: 25px;
  2045. white-space: nowrap;
  2046. overflow: hidden;
  2047. text-overflow: ellipsis;
  2048. font-family: PingFang SC, PingFang SC;
  2049. font-weight: 400;
  2050. font-size: 18px;
  2051. color: #333333;
  2052. line-height: 21px;
  2053. text-align: left;
  2054. font-style: normal;
  2055. text-transform: none;
  2056. em {
  2057. display: inline-block;
  2058. width: 8px;
  2059. height: 8px;
  2060. margin-right: 6px;
  2061. border-radius: 4px;
  2062. background-color: #333333;
  2063. }
  2064. }
  2065. p {
  2066. padding-left: 14px;
  2067. width: 249px;
  2068. height: 48px;
  2069. display: -webkit-box;
  2070. -webkit-box-orient: vertical;
  2071. -webkit-line-clamp: 2;
  2072. overflow: hidden;
  2073. text-overflow: ellipsis;
  2074. word-break: break-all;
  2075. font-family: PingFang SC, PingFang SC;
  2076. font-weight: 400;
  2077. font-size: 14px;
  2078. color: #666666;
  2079. line-height: 24px;
  2080. text-align: left;
  2081. font-style: normal;
  2082. text-transform: none;
  2083. }
  2084. }
  2085. a {
  2086. color: #333333;
  2087. }
  2088. a:hover {
  2089. color: #139602;
  2090. }
  2091. >li:hover>a>h4,
  2092. >li:hover>a>p {
  2093. color: #139602;
  2094. }
  2095. >li:hover>a>h4>em {
  2096. background-color: #139602;
  2097. }
  2098. }
  2099. }
  2100. }
  2101. .innerRight {
  2102. .title {
  2103. >h3 {
  2104. height: 36px;
  2105. font-family: Source Han Sans, Source Han Sans;
  2106. font-weight: bold;
  2107. font-size: 24px;
  2108. color: #000000;
  2109. line-height: 28px;
  2110. text-align: left;
  2111. font-style: normal;
  2112. text-transform: none;
  2113. border-bottom: 1px solid #139602;
  2114. >a {
  2115. float: right;
  2116. width: 56px;
  2117. height: 20px;
  2118. line-height: 24px;
  2119. font-weight: 400;
  2120. font-size: 14px;
  2121. color: #999999;
  2122. font-style: normal;
  2123. text-transform: none;
  2124. }
  2125. }
  2126. }
  2127. .dynamicList {
  2128. width: 380px;
  2129. margin-top: 26px;
  2130. >li {
  2131. width: 380px;
  2132. height: 120px;
  2133. margin-bottom: 21px;
  2134. img {
  2135. float: left;
  2136. width: 160px;
  2137. height: 120px;
  2138. }
  2139. .text {
  2140. float: left;
  2141. width: 220px;
  2142. height: 120px;
  2143. padding-left: 15px;
  2144. box-sizing: border-box;
  2145. >h5 {
  2146. width: 199px;
  2147. height: 52px;
  2148. margin-bottom: 40px;
  2149. display: -webkit-box;
  2150. -webkit-box-orient: vertical;
  2151. -webkit-line-clamp: 2;
  2152. overflow: hidden;
  2153. text-overflow: ellipsis;
  2154. word-break: break-all;
  2155. padding-top: 6px;
  2156. font-family: PingFang SC, PingFang SC;
  2157. font-weight: 600;
  2158. font-size: 18px;
  2159. color: #333333;
  2160. line-height: 26px;
  2161. text-align: left;
  2162. font-style: normal;
  2163. text-transform: none;
  2164. }
  2165. >p {
  2166. width: 198px;
  2167. height: 70px;
  2168. display: -webkit-box;
  2169. -webkit-box-orient: vertical;
  2170. -webkit-line-clamp: 3;
  2171. overflow: hidden;
  2172. text-overflow: ellipsis;
  2173. word-break: break-all;
  2174. margin-top: 10px;
  2175. font-family: PingFang SC, PingFang SC;
  2176. font-weight: 400;
  2177. font-size: 14px;
  2178. color: #666666;
  2179. line-height: 24px;
  2180. text-align: left;
  2181. font-style: normal;
  2182. text-transform: none;
  2183. }
  2184. }
  2185. }
  2186. li:hover {
  2187. .text {
  2188. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  2189. background-color: #fff;
  2190. h5,
  2191. p {
  2192. color: #139602;
  2193. }
  2194. }
  2195. }
  2196. }
  2197. }
  2198. }
  2199. .policy {
  2200. height: 678px;
  2201. .inner {
  2202. height: 678px;
  2203. .innerLeft {
  2204. width: 790px;
  2205. height: 621px;
  2206. .title {
  2207. >h3 {
  2208. height: 36px;
  2209. font-family: Source Han Sans, Source Han Sans;
  2210. font-weight: bold;
  2211. font-size: 24px;
  2212. color: #000000;
  2213. line-height: 28px;
  2214. text-align: left;
  2215. font-style: normal;
  2216. text-transform: none;
  2217. border-bottom: 1px solid #139602;
  2218. >a {
  2219. float: right;
  2220. width: 56px;
  2221. height: 20px;
  2222. line-height: 24px;
  2223. font-weight: 400;
  2224. font-size: 14px;
  2225. color: #999999;
  2226. font-style: normal;
  2227. text-transform: none;
  2228. }
  2229. }
  2230. }
  2231. .policyList {
  2232. width: 790px;
  2233. margin-top: 20px;
  2234. >li {
  2235. width: 790px;
  2236. height: 121px;
  2237. margin-bottom: 20px;
  2238. img,
  2239. .text {
  2240. float: left;
  2241. }
  2242. img {
  2243. width: 224px;
  2244. height: 121px;
  2245. }
  2246. .text {
  2247. width: 566px;
  2248. height: 121px;
  2249. padding-left: 20px;
  2250. box-sizing: border-box;
  2251. >h5 {
  2252. padding: 13px 0 6px;
  2253. width: 536px;
  2254. height: 25px;
  2255. margin-bottom: 45px;
  2256. white-space: nowrap;
  2257. overflow: hidden;
  2258. text-overflow: ellipsis;
  2259. font-family: PingFang SC, PingFang SC;
  2260. font-weight: 600;
  2261. font-size: 18px;
  2262. color: #333333;
  2263. line-height: 21px;
  2264. text-align: left;
  2265. font-style: normal;
  2266. text-transform: none;
  2267. }
  2268. p {
  2269. width: 536px;
  2270. height: 30px;
  2271. display: -webkit-box;
  2272. -webkit-box-orient: vertical;
  2273. -webkit-line-clamp: 3;
  2274. overflow: hidden;
  2275. text-overflow: ellipsis;
  2276. word-break: break-all;
  2277. font-family: PingFang SC, PingFang SC;
  2278. font-weight: 400;
  2279. font-size: 14px;
  2280. color: #666666;
  2281. line-height: 24px;
  2282. text-align: left;
  2283. font-style: normal;
  2284. text-transform: none;
  2285. >span:first-child {
  2286. margin-right: 20px;
  2287. }
  2288. }
  2289. }
  2290. }
  2291. li:hover {
  2292. .text {
  2293. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  2294. background-color: #fff;
  2295. h5,
  2296. p {
  2297. color: #139602;
  2298. }
  2299. }
  2300. }
  2301. }
  2302. }
  2303. .innerRight {
  2304. .title {
  2305. h3 {
  2306. height: 36px;
  2307. font-family: Source Han Sans, Source Han Sans;
  2308. font-weight: bold;
  2309. font-size: 24px;
  2310. color: #000000;
  2311. line-height: 28px;
  2312. text-align: left;
  2313. font-style: normal;
  2314. text-transform: none;
  2315. border-bottom: 1px solid #139602;
  2316. a {
  2317. float: right;
  2318. width: 56px;
  2319. height: 20px;
  2320. line-height: 24px;
  2321. font-weight: 400;
  2322. font-size: 14px;
  2323. color: #999999;
  2324. font-style: normal;
  2325. text-transform: none;
  2326. }
  2327. }
  2328. }
  2329. .banner {
  2330. width: 380px;
  2331. height: 214px;
  2332. margin-top: 20px;
  2333. }
  2334. .banner_b_img {
  2335. .photo {
  2336. height: 104px;
  2337. margin-top: 23px;
  2338. }
  2339. .photoL {
  2340. display: inline-block;
  2341. width: 185px;
  2342. height: 104px;
  2343. position: relative;
  2344. img {
  2345. width: 185px;
  2346. height: 104px;
  2347. border-radius: 2px;
  2348. }
  2349. span {
  2350. position: absolute;
  2351. top: 0;
  2352. left: 0;
  2353. display: inline-block;
  2354. padding-left: 7px;
  2355. box-sizing: border-box;
  2356. width: 185px;
  2357. height: 22px;
  2358. white-space: nowrap;
  2359. overflow: hidden;
  2360. text-overflow: ellipsis;
  2361. background-color: rgba(0, 0, 0, 0.5);
  2362. font-weight: 500px;
  2363. font-size: 14px;
  2364. color: #FFFFFF;
  2365. line-height: 22px;
  2366. }
  2367. }
  2368. .photoL {
  2369. margin-right: 10px;
  2370. }
  2371. ul {
  2372. width: 380px;
  2373. height: 186px;
  2374. >li {
  2375. height: 22px;
  2376. padding-top: 16px;
  2377. >strong {
  2378. display: inline-block;
  2379. width: 24px;
  2380. height: 24px;
  2381. line-height: 24px;
  2382. background-color: #cecece;
  2383. padding-left: 6px;
  2384. box-sizing: border-box;
  2385. font-family: Source Han Sans, Source Han Sans;
  2386. font-weight: 500;
  2387. font-size: 18px;
  2388. color: #FFFFFF;
  2389. font-style: normal;
  2390. text-transform: none;
  2391. }
  2392. >em {
  2393. display: inline-block;
  2394. width: 6px;
  2395. height: 6px;
  2396. border-radius: 10px;
  2397. border: 2px solid #8CBA86;
  2398. vertical-align: middle;
  2399. }
  2400. a,
  2401. >span {
  2402. display: inline-block;
  2403. width: 350px;
  2404. height: 22px;
  2405. white-space: nowrap;
  2406. overflow: hidden;
  2407. text-overflow: ellipsis;
  2408. font-family: PingFang SC, PingFang SC;
  2409. font-weight: 500;
  2410. font-size: 18px;
  2411. color: #333333;
  2412. line-height: 21px;
  2413. text-align: left;
  2414. font-style: normal;
  2415. text-transform: none;
  2416. padding-left: 9px;
  2417. vertical-align: middle;
  2418. }
  2419. a:hover,
  2420. >span:hover {
  2421. color: #139609;
  2422. }
  2423. }
  2424. }
  2425. }
  2426. }
  2427. }
  2428. }
  2429. // 改版新增样式 start---------------------------------------->
  2430. .titleBox {
  2431. width: 1200px;
  2432. margin: 0 auto;
  2433. padding:60px 0;
  2434. img {
  2435. margin: 0 auto;
  2436. display: block;
  2437. }
  2438. }
  2439. //布局复制
  2440. .layoutCopy {
  2441. display: flex;
  2442. justify-content: space-between;
  2443. position: relative;
  2444. width: 1200px;
  2445. margin: 0 auto;
  2446. .layoutCopyLeft {
  2447. width: 720px;
  2448. .layoutCopyLeftTop {
  2449. width: 720px;
  2450. display: flex;
  2451. justify-content: space-between;
  2452. .layoutCopyLeft1 {
  2453. width: 350px;
  2454. }
  2455. .layoutCopyLeft2 {
  2456. width: 350px;
  2457. }
  2458. .layoutCopyAll {
  2459. width: 720px;
  2460. }
  2461. }
  2462. .layoutCopyAll {
  2463. width: 720px;
  2464. }
  2465. }
  2466. .layoutCopyRight {
  2467. width: 450px;
  2468. }
  2469. .layoutTitleBox {
  2470. border-bottom: 1px solid #D9D9D9;
  2471. margin-bottom: 40px;
  2472. display: flex;
  2473. justify-content: space-between;
  2474. .layoutTitleBoxTabs {
  2475. display: flex;
  2476. justify-content: space-between;
  2477. div.layoutTitle {
  2478. margin-right: 40px;
  2479. border-bottom: 0;
  2480. color: #333;
  2481. cursor: pointer;
  2482. }
  2483. div.active {
  2484. border-bottom: 3px solid #49A769;
  2485. color: #49A769;
  2486. cursor: pointer;
  2487. }
  2488. }
  2489. .layoutTitle {
  2490. font-size: 22px;
  2491. color:#49A769;
  2492. border-bottom: 3px solid #49A769;
  2493. height: 50px;
  2494. line-height: 50px;
  2495. }
  2496. .layoutMore {
  2497. color:#333333;
  2498. font-size: 16px;
  2499. height: 50px;
  2500. line-height: 50px;
  2501. a {
  2502. color:#333333;
  2503. font-size: 16px;
  2504. }
  2505. }
  2506. }
  2507. }
  2508. //布局内容样式
  2509. .layoutCopyData_style1 {
  2510. margin-bottom: 30px;
  2511. a:nth-child(1) {
  2512. color: #333333;
  2513. font-size: 16px;
  2514. display: flex;
  2515. justify-content: space-between;
  2516. align-items: center;
  2517. img {
  2518. width: 152px;
  2519. height: 103px;
  2520. margin-right: 10px;
  2521. border-radius: 8px;
  2522. }
  2523. div {
  2524. height:103px;
  2525. padding-top: 10px;
  2526. box-sizing: border-box;
  2527. border-bottom: 1px solid #D9D9D9;
  2528. span {
  2529. display: -webkit-box;
  2530. -webkit-box-orient: vertical;
  2531. -webkit-line-clamp: 3;
  2532. font-weight: bold;
  2533. overflow: hidden;
  2534. text-overflow: ellipsis;
  2535. word-break: break-all;
  2536. }
  2537. }
  2538. }
  2539. a:nth-child(1):hover {
  2540. color:#49A769
  2541. }
  2542. a:nth-child(2) {
  2543. margin-top: 30px;
  2544. display: -webkit-box;
  2545. -webkit-box-orient: vertical;
  2546. -webkit-line-clamp: 2;
  2547. overflow: hidden;
  2548. text-overflow: ellipsis;
  2549. word-break: break-all;
  2550. font-size: 16px;
  2551. color: #333333;
  2552. border-bottom: 1px solid #E6E6E6;
  2553. .title {
  2554. display: -webkit-box;
  2555. -webkit-box-orient: vertical;
  2556. -webkit-line-clamp: 2;
  2557. overflow: hidden;
  2558. text-overflow: ellipsis;
  2559. word-break: break-all;
  2560. height: 45px;
  2561. }
  2562. p {
  2563. margin-top: 10px;
  2564. margin-bottom: 15px;
  2565. }
  2566. }
  2567. a:hover .title{
  2568. color:#49A769
  2569. }
  2570. }
  2571. .layoutCopyData_style2 {
  2572. a {
  2573. margin-top: 43px;
  2574. font-size: 16px;
  2575. color: #333333;
  2576. display: block;
  2577. border-bottom: 1px solid #E6E6E6;
  2578. .title {
  2579. display: -webkit-box;
  2580. -webkit-box-orient: vertical;
  2581. -webkit-line-clamp: 2;
  2582. overflow: hidden;
  2583. text-overflow: ellipsis;
  2584. word-break: break-all;
  2585. height: 45px;
  2586. }
  2587. p {
  2588. margin-top: 10px;
  2589. margin-bottom: 15px;
  2590. }
  2591. }
  2592. a:nth-child(1) .title{
  2593. font-weight: bold;
  2594. }
  2595. a:hover .title{
  2596. color:#49A769
  2597. }
  2598. }
  2599. .layoutCopyData_style3 {
  2600. .style3link1 {
  2601. display: flex;
  2602. align-items: center;
  2603. justify-content: space-between;
  2604. .time {
  2605. width: 100px;
  2606. height: 100px;
  2607. background: #F4FFF7;
  2608. p:nth-child(1) {
  2609. font-size: 38px;
  2610. color: #49A769;
  2611. text-align: center;
  2612. border-bottom: 1px solid #49A769;
  2613. width: 75px;
  2614. margin: 0 auto;
  2615. margin-bottom: 5px;
  2616. padding-bottom: 5px;
  2617. padding-top: 10px;
  2618. }
  2619. p:nth-child(2) {
  2620. font-size: 15px;
  2621. color: #49A769;
  2622. text-align: center;
  2623. }
  2624. }
  2625. .title {
  2626. width: 590px;
  2627. font-size: 22px;
  2628. color: #333333;
  2629. display: -webkit-box;
  2630. -webkit-box-orient: vertical;
  2631. -webkit-line-clamp: 2;
  2632. overflow: hidden;
  2633. text-overflow: ellipsis;
  2634. word-break: break-all;
  2635. }
  2636. .introduce {
  2637. width: 590px;
  2638. font-size: 16px;
  2639. color: #333333;
  2640. margin-top: 10px;
  2641. display: -webkit-box;
  2642. -webkit-box-orient: vertical;
  2643. -webkit-line-clamp: 2;
  2644. height: 40px;
  2645. overflow: hidden;
  2646. text-overflow: ellipsis;
  2647. word-break: break-all;
  2648. }
  2649. margin-bottom: 20px;
  2650. }
  2651. .style3link2 {
  2652. display: flex;
  2653. justify-content: space-between;
  2654. height: 30px;
  2655. line-height: 30px;
  2656. color:#333333;
  2657. div {
  2658. display: flex;
  2659. justify-content: space-between;
  2660. align-items: center;
  2661. .title {
  2662. width: 600px;
  2663. // 修改这里,添加单行文本溢出省略样式
  2664. white-space: nowrap;
  2665. overflow: hidden;
  2666. text-overflow: ellipsis;
  2667. color:#333333;
  2668. font-size: 16px;
  2669. }
  2670. }
  2671. b {
  2672. width: 6px;
  2673. height: 6px;
  2674. background: #49A769;
  2675. margin-right: 8px;
  2676. }
  2677. margin-bottom: 20px;
  2678. }
  2679. }
  2680. .layoutCopyData_style4 {
  2681. .layoutCopyData_pic {
  2682. display: flex;
  2683. flex-wrap: wrap;
  2684. justify-content: space-between;
  2685. position: relative;
  2686. a {
  2687. width: 220px;
  2688. height: 140px;
  2689. display: block;
  2690. position: relative;
  2691. img {
  2692. width: 220px;
  2693. height: 140px;
  2694. border-radius: 8px;
  2695. }
  2696. p {
  2697. position: absolute;
  2698. bottom: 0;
  2699. width: 200px;
  2700. height: 18px;
  2701. font-size: 12px;
  2702. white-space: nowrap;
  2703. overflow: hidden;
  2704. text-overflow: ellipsis;
  2705. color: #fff;
  2706. left: 10px;
  2707. }
  2708. }
  2709. }
  2710. .layoutCopyData_text {
  2711. a {
  2712. border-bottom:1px soild #E6E6E6;
  2713. color: #333333;
  2714. font-size: 16px;
  2715. display: flex;
  2716. height: 41px;
  2717. display: flex;
  2718. align-items: center;
  2719. justify-content: space-between;
  2720. border-bottom: 1px solid #E6E6E6;
  2721. padding-bottom: 10px;
  2722. margin-top: 10px;
  2723. .title {
  2724. white-space: nowrap;
  2725. overflow: hidden;
  2726. text-overflow: ellipsis;
  2727. width: 431px;
  2728. }
  2729. .more {
  2730. width: 15px;
  2731. height: 15px;
  2732. background: #49A769;
  2733. color: #fff;
  2734. font-size: 12px;
  2735. text-align: center;
  2736. line-height: 15px;
  2737. border-radius: 3px;
  2738. }
  2739. }
  2740. }
  2741. }
  2742. // 改版新增样式 end---------------------------------------->
  2743. .index_2_head_box{border-bottom:solid 1px #D9D9D9;margin-bottom:30px;}
  2744. .index_1_head_box_2{float:left;width:auto;border:none;}
  2745. .index_2_head_a_box{ margin-top:11px;float:right;}
  2746. .index_2_head_a_box a{float:left;height:12px;line-height:12px;color:#333;font-size:16px;padding:0 20px;border-left:solid 1px #ccc;margin:10px 0px;}
  2747. .index_2_head_a_box a:nth-of-type(1){border:none;}
  2748. .index_2_big_img_ul{ }
  2749. .index_2_big_img_li{height:236px;position:relative;margin:0px auto 20px;}
  2750. .index_2_big_img_li_dot2{position:absolute;width:100%;padding:0 8px;box-sizing:border-box;font-size:16px;color:#fff;height:38px;line-height:19px;left:0px;bottom:28px; z-index:111;}
  2751. .index_2_big_img_li_dot2_tag{float:left;background:#49A769;color:#fff;font-size:14px;height:18px;line-height:18px;margin:1px 4px 0px 0px;padding:0px 3px;z-index:111;}
  2752. .index_2_big_img_li::after{content: '';display: block;width:100%;height:100%;z-index:44;left:0px;top:0px;position:absolute;background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.4));}
  2753. .index_2_big_img_li a::after{content: '';display: block;width:100%;height:100%;z-index:144;left:0px;top:0px;position:absolute;background:rgba(0,0,0,0);opacity:0;}
  2754. .index_1_box_right_img_ul_2{margin:20px auto 20px;}
  2755. .index_1_box_right_img_ul_2 .index_1_box_right_img_li{height:115px;margin-bottom:0px;}
  2756. .index_2_li{border-bottom:solid 1px #E6E6E6;padding:29px 0px;}
  2757. .index_2_li_time_box{float:left;background:#F4FFF7;width:100px;margin-right:30px;padding:10px 0px;}
  2758. .index_2_li_time_head{margin:0px auto 0;border-bottom:solid 1px #49A769;width:75px;font-size:38px;color:#49A769;height:44px;line-height:44px;text-align:center;}
  2759. .index_2_li_time_foot{text-align:center;font-size:15px;color:#49A769;width:100%;margin:0px auto 0px;}
  2760. .index_2_li_dot2{height:42px;line-height:21px;color:#333;font-size:16px;margin-top:11px;}
  2761. </style>