baixingwenzheng-pc/dist/assets/index.467ccc52.js

2 lines
7.5 KiB
JavaScript
Raw Normal View History

2024-08-05 18:00:52 +08:00
import{_ as e,F as t}from"./Footer.f740febe.js";import{g as i,a as l,b as s}from"./index.e55b68a5.js";import{d as a,p as o,k as n,l as r,m as d,q as p,s as c,r as u,o as g,t as v,b as m,g as x,w as y,F as f,v as h,x as w,y as b,A as k,B as C,C as z}from"./vendor.cf21d8e3.js";o("data-v-fe0b5b1a");const F={style:{padding:"20px 9rem"}},_=x("div",null,[x("img",{src:"/assets/b2.caa86f8b.png",style:{width:"100%"}})],-1),B=x("div",{style:{"text-align":"center"}},[x("div",{style:{color:"#0051B1","font-size":"2.5rem"}}," 最新问政 "),x("img",{src:"/assets/bz2.22f038d3.png",style:{width:"200px",display:"block",margin:"0 auto"}}),x("div",{style:{color:"#0051B1","font-size":"0.5rem","margin-top":"5px"}}," ZUI XIN WEN ZHENG ")],-1),j={style:{"margin-top":"30px"}},I={style:{width:"40%"}},N=[x("img",{src:"/assets/zu3.78239a46.png",style:{width:"250px"}},null,-1)],A=[x("img",{src:"/assets/zu4.334eddb6.png",style:{width:"250px"}},null,-1)],E=[x("img",{src:"/assets/zu1.773e43df.png",style:{width:"250px"}},null,-1)],S=[x("img",{src:"/assets/zu2.c6bfd225.png",style:{width:"250px"}},null,-1)],T={style:{width:"60%"}},q=x("div",null,[x("span",{style:{"font-size":"1.25rem",color:"#818181"}},"涉及部门")],-1),H={style:{"margin-top":"20px"}},U={style:{"min-height":"250px"}},J=["onClick"],L={class:"te",style:{"font-size":"18px",width:"80%"}},M={style:{"font-size":"18px",width:"15%","text-align":"right"}},W={class:"register-form ",style:{"text-align":"center","margin-top":"1.25rem"}},X=x("div",{style:{"text-align":"center","margin-top":"20px"}},[x("div",{style:{color:"#0051B1","font-size":"2.5rem"}}," 新闻推荐 "),x("img",{src:"/assets/bz2.22f038d3.png",style:{width:"200px",display:"block",margin:"0 auto"}}),x("div",{style:{color:"#0051B1","font-size":"0.5rem","margin-top":"5px"}}," XIN WEN TUI JIAN ")],-1),Z={style:{"margin-top":"20px"}},G={style:{width:"42.5%",position:"relative"}},O={style:{padding:"10px"}},P=[x("img",{style:{"border-radius":"10px"},src:"/assets/top2.9e780811.png"},null,-1)],D={style:{}},K=["onClick"],Q=[x("svg",{style:{width:"40px",height:"40px",color:"#FFFFFF"},xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 28 28"},[x("g",{fill:"none"},[x("path",{d:"M18.03 22.78a.75.75 0 0 1-1.06 0l-8.75-8.75a.75.75 0 0 1 0-1.06l8.75-8.75a.75.75 0 1 1 1.06 1.06L9.81 13.5l8.22 8.22a.75.75 0 0 1 0 1.06z",fill:"currentColor"})])],-1)],R=["onClick"],V=[x("svg",{style:{width:"40px",height:"40px",color:"#FFFFFF"},xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 28 28"},[x("g",{fill:"none"},[x("path",{d:"M9.97 4.22a.75.75 0 0 1 1.06 0l8.75 8.75a.75.75 0 0 1 0 1.06l-8.75 8.75a.75.75 0 1 1-1.06-1.06l8.22-8.22l-8.22-8.22a.75.75 0 0 1 0-1.06z",fill:"currentColor"})])],-1)],Y={class:"custom-dots"},$=["onClick"],ee={style:{width:"50%"}},te=["onClick"],ie={key:0,style:{margin:"0 auto",left:"0",right:"0",width:"50px",height:"3px","background-color":"#0051B1",position:"absolute",bottom:"-7px","border-radius":"10px"}},le=x("div",{style:{width:"100%","background-color":"#E7E7E7",height:"2px",opacity:"0.35","margin-top":"5px"}},null,-1),se={style:{height:"300px"}},ae=["onClick"],oe={class:"txt-1",style:{"font-size":"17px",width:"70%"}},ne={class:"news_title",style:{"vertical-align":"middle","margin-left":"5px"}},re={style:{color:"#818794"}};n();var de=a({setup(a){const o=r(),n=d(1),de=d(1),pe=d([]),ce=d(0),ue=d([]),ge=d(0),ve=d([]),me=p();c((()=>{xe(),ye()}));const xe=()=>{i({type:ce.value,page:n.value,size:6}).then((e=>{200==e.code?(pe.value=e.data.data,de.value=e.data.last_page):o.error(e.msg)}))},ye=()=>{l({flag:"index"}).then((e=>{200==e.code?(ue.value=e.data,ge.value=e.data[0].id,fe(e.data[0].id)):o.error(e.msg)}))},fe=e=>{s({gory_id:e,page:1,pageSize:7}).then((e=>{200==e.code?ve.value=e.data:o.error(e.msg)}))},he=e=>{console.log(e),n.value=e,xe()},we=e=>{ce.value=e,n.value=1,xe()},be={itemTextColorHover:"#0051B1",itemTextColorPressed:"#0051B1",itemTextColorActive:"#ffffff",itemBorderActive:"1px solid #0051B1",itemColorActive:"#0051B1",itemColor:"#F5F5F5",ite