1
1
dist/assets/Footer.57b7e69f.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.left-line[data-v-3c0910c6]{height:1.2rem;background-color:#000;width:.05rem;opacity:.15}.n-button[data-v-3c0910c6]{border-radius:0;height:2.25rem}.b1-back[data-v-3c0910c6]{display:flex;justify-content:space-between;align-items:center;align-self:center;position:relative;width:100%;height:6.25rem;background:url(/assets/b1.7500fec7.png) no-repeat}
|
1
dist/assets/Footer.f740febe.js
vendored
Normal file
1
dist/assets/admin.38bfdad1.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.info_text[data-v-2f788beb]{font-size:16px;margin-top:20px}.n_dep[data-v-2f788beb]{cursor:pointer;color:#818181}.n_dep[data-v-2f788beb]:hover{color:#0051b1}
|
11
dist/assets/admin.9b24ccf1.js
vendored
Normal file
1
dist/assets/admin_info.c44a08ae.js
vendored
Normal file
1
dist/assets/admin_list.11b25553.js
vendored
Normal file
1
dist/assets/admin_list.4ae5a43d.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.info_text[data-v-3d9957c2]{font-size:16px;margin-top:20px}
|
BIN
dist/assets/b1.7500fec7.png
vendored
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
dist/assets/b2.caa86f8b.png
vendored
Normal file
After Width: | Height: | Size: 332 KiB |
BIN
dist/assets/bz2.22f038d3.png
vendored
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
dist/assets/comment.ef3817e1.jpg
vendored
Normal file
After Width: | Height: | Size: 19 KiB |
1
dist/assets/index.01cbd87e.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as a}from"./Footer.f740febe.js";import{D as t}from"./index.e55b68a5.js";import{d as s,m as o,D as l,l as n,q as i,s as r,r as d,o as p,t as c,b as u,g,w as x,F as v,x as m,B as f,A as F,u as h,c as y}from"./vendor.cf21d8e3.js";const _={style:{padding:"15px 9rem","background-color":"#F5F5F5",overflow:"hidden"}},k={style:{height:"570px","padding-top":"20px","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)",overflow:"hidden","text-align":"center"}},b=["onClick"],w={style:{height:"100%","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)"}},C={style:{padding:"20px",position:"relative"}},j={style:{padding:"2.5px 0px","margin-top":"20px"}},D={style:{cursor:"pointer"},class:"right_title"},q=["src"];var z=s({setup(s){const z=o(0),A=l([{name:"政府部门",key:"government"},{name:"区县政府",key:"county"},{name:"公共服务行业",key:"service"}]),B=o(),E=n(),G=i();r((()=>{H()}));const H=()=>{var e=A[z.value];t({type:e.key}).then((e=>{200==e.code?(console.log(e),B.value=e.data):E.error(e.msg)}))};return(t,s)=>{const o=d("n-space"),l=d("n-gi"),n=d("n-grid");return p(),c(v,null,[u(e),g("div",_,[u(n,{cols:24,"x-gap":20,"item-responsive":""},{default:x((()=>[u(l,{span:"5"},{default:x((()=>[g("div",k,[u(o,{vertical:"",size:[0,25]},{default:x((()=>[(p(!0),c(v,null,m(h(A),((e,a)=>(p(),c("div",{onClick:e=>{return t=a,z.value=t,void H();var t},class:f("left_text "+(z.value===a?"left_text_init":""))},F(e.name),11,b)))),256))])),_:1})])])),_:1}),u(l,{span:"19"},{default:x((()=>[g("div",w,[g("div",C,[g("div",null,[g("div",j,[u(n,{"x-gap":"12",cols:4,"y-gap":32},{default:x((()=>[(p(!0),c(v,null,m(B.value,((e,a)=>(p(),y(l,{onClick:a=>(e=>{console.log(e),G.push("/department_info?id="+e.id)})(e)},{default:x((()=>[g("div",D,[g("img",{src:e.department_image,style:{width:"50px",height:"50px"}},null,8,q),g("div",null,F(e.department_name),1)])])),_:2},1032,["onClick"])))),256))])),_:1})])])])])])),_:1})])),_:1})]),u(a)],64)}}});export{z as default};
|
1
dist/assets/index.44511038.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.txt-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
|
1
dist/assets/index.467ccc52.js
vendored
Normal file
1
dist/assets/index.96dbe816.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as a}from"./Footer.f740febe.js";import{s as t}from"./index.e55b68a5.js";import{p as s,k as l,q as i,m as o,s as n,r,o as d,t as c,b as p,g as u,A as v,F as m,x as g,w as x}from"./vendor.cf21d8e3.js";s("data-v-1da9be5a");const f={style:{width:"50%",margin:"0 auto",padding:"30px 0px"}},b=["onClick"],y={class:"txt-1",style:{"font-size":"17px",width:"30%"}},h=u("div",{style:{"background-color":"#0051B1",width:"5px",height:"5px","border-radius":"50%",display:"inline-block","vertical-align":"middle"}},null,-1),_={class:"news_title",style:{"vertical-align":"middle","margin-left":"10px"}},w={style:{color:"#818794"}};l();const k={setup(s){const l=i(),k=o(),j=o();n((()=>{console.log("123"),k.value=l.currentRoute.value.query.name,F()}));const F=()=>{t({politics_title:k.value}).then((e=>{console.log(e),200==e.code?j.value=e.data:message.error(e.msg)}))};return(t,s)=>{const i=r("n-flex");return d(),c(m,null,[p(e),u("div",f,[u("div",null,"关于:"+v(k.value)+" 的搜索结果",1),(d(!0),c(m,null,g(j.value,((e,a)=>(d(),c("div",{style:{cursor:"pointer",padding:"2.5px 0px","margin-top":"20px"},onClick:a=>{return t="/info?id="+e.id,void l.push(t);var t}},[p(i,{justify:"space-between",align:"center"},{default:x((()=>[u("div",y,[h,u("text",_,v(e.politics_title),1)]),u("div",w,v(e.createtime),1)])),_:2},1024)],8,b)))),256))]),p(a)],64)}},__scopeId:"data-v-1da9be5a"};export{k as default};
|
1
dist/assets/index.9d719156.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as t}from"./Footer.f740febe.js";import{D as l,q as a}from"./index.e55b68a5.js";import{l as i,D as o,q as n,m as s,s as r,r as d,o as p,t as u,b as c,g as m,u as f,w as _,F as v,y as h}from"./vendor.cf21d8e3.js";const g={style:{width:"30%",margin:"0 auto",padding:"30px"}},b=h(" 点击上传 "),y={style:{"text-align":"center",width:"100%"}},x={style:{padding:"20px"}},k=m("span",{style:{cursor:"pointer",color:"rgb(0, 81, 177)"}},"《看洛问政须知》",-1),w=h(" 提交问题 "),U={setup(h){const U=i(),j=o({politics_title:"",politics_content:"",politics_address:"",fileList:[],politics_images:"",notice:!1}),z=n(),F=o({token:""}),L=s([{department_name:"投诉",id:1},{department_name:"举报",id:2},{department_name:"表扬",id:3},{department_name:"咨询",id:4}]),q=s();r((()=>{S();var e=sessionStorage.getItem("user");const t=JSON.parse(e);F.token=t.token}));const D=()=>{if(console.log(j),!j.notice)return void U.error("请同意《看洛问政须知》");if(void 0===j.department_id||0==j.department_id)return void U.error("请选择问政部门");if(void 0===j.politics_type||0==j.politics_type)return void U.error("请选择问题类型");if(""==j.politics_title)return void U.error("请填写标题");if(""==j.politics_content)return void U.error("请填写内容");if(""==j.politics_address)return void U.error("请填写事发地点");let e=[];j.fileList.forEach((function(t,l){e.push(t.fullPath)})),j.politics_images=e.join(","),a(j).then((e=>{console.log(e),200==e.code?(U.success(e.msg),z.push("/user")):U.error(e.msg)}))},S=()=>{l().then((e=>{200==e.code?q.value=e.data:U.error(e.msg)}))};return(l,a)=>{const i=d("n-select"),o=d("n-form-item"),n=d("n-input"),s=d("n-upload"),r=d("n-checkbox"),h=d("n-button"),U=d("n-form");return p(),u(v,null,[c(e),m("div",g,[c(U,{ref:(e,t)=>{t.formRef=e},"label-width":80,model:f(j),size:"large"},{default:_((()=>[c(o,{label:"问政部门"},{default:_((()=>[c(i,{value:f(j).department_id,"onUpdate:value":a[0]||(a[0]=e=>f(j).department_id=e),placeholder:"请选择问政部门",options:q.value,"label-field":"department_name","value-field":"id"},null,8,["value","options"])])),_:1}),c(o,{label:"问题类型"},{default:_((()=>[c(i,{value:f(j).politics_type,"onUpdate:value":a[1]||(a[1]=e=>f(j).politics_type=e),placeholder:"请选择问题类型",options:L.value,"label-field":"department_name","value-field":"department_name"},null,8,["value","options"])])),_:1}),c(o,{label:"标题(必填)"},{default:_((()=>[c(n,{value:f(j).politics_title,"onUpdate:value":a[2]||(a[2]=e=>f(j).politics_title=e),placeholder:"请填写标题"},null,8,["value"])])),_:1}),c(o,{label:"内容(必填)"},{default:_((()=>[c(n,{value:f(j).politics_content,"onUpdate:value":a[3]||(a[3]=e=>f(j).politics_content=e),type:"textarea",placeholder:"请填写内容"},null,8,["value"])])),_:1}),c(o,{label:"事发地点(必填)",path:"phone"},{default:_((()=>[c(n,{value:f(j).politics_address,"onUpdate:value":a[4]||(a[4]=e=>f(j).politics_address=e),placeholder:"请填写事发地点"},null,8,["value"])])),_:1}),c(o,{label:"上传图片(选填)",path:"phone"},{default:_((()=>[c(s,{action:"http://wz.lytv.com.cn/api/common/upload","default-file-list":f(j).fileList,data:f(F),max:3,"list-type":"image-card"},{default:_((()=>[b])),_:1},8,["default-file-list","data"])])),_:1}),c(o,null,{default:_((()=>[m("div",y,[m("div",x,[c(r,{size:"large",label:"同意",checked:f(j).notice,"onUpdate:checked":a[5]||(a[5]=e=>f(j).notice=e)},null,8,["checked"]),k]),c(h,{"attr-type":"button",style:{width:"300px"},onClick:D},{default:_((()=>[w])),_:1})])])),_:1})])),_:1},8,["model"])]),c(t)],64)}}};export{U as default};
|
1
dist/assets/index.ada452e5.js
vendored
Normal file
1
dist/assets/index.be0c6567.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as t}from"./Footer.f740febe.js";import{g as s}from"./index.e55b68a5.js";import{d as a,m as o,l as i,q as l,s as r,r as n,o as d,t as p,b as c,g as f,w as g,F as x,p as u,k as v,x as m,A as F}from"./vendor.cf21d8e3.js";u("data-v-9e56cf4c");const b={style:{padding:"15px 9rem","background-color":"#F5F5F5",overflow:"hidden"}},h={style:{height:"100%","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)",padding:"15px"}},y=f("div",{style:{"font-size":"23px",color:"rgb(0, 81, 177)","font-weight":"600"}},"问政热榜",-1),w={style:{cursor:"pointer",padding:"5px 0px","margin-top":"20px"}},_=["onClick"],k={style:{color:"rgb(0, 81, 177)","font-weight":"600"}},j={class:"news_title",style:{"vertical-align":"middle","margin-left":"10px"}},z={style:{color:"#818794"}};v();var C=a({setup(a){const u=o([]),v=i(),C=l();r((()=>{q()}));const q=()=>{s({type:"hot"}).then((e=>{200==e.code?(console.log(e),u.value=e.data):v.error(e.msg)}))};return(s,a)=>{const o=n("n-flex"),i=n("n-gi"),l=n("n-grid");return d(),p(x,null,[c(e),f("div",b,[c(l,{cols:5,"x-gap":12,"item-responsive":""},{default:g((()=>[c(i,{span:"3",offset:1},{default:g((()=>[f("div",h,[y,(d(!0),p(x,null,m(u.value,((e,t)=>(d(),p("div",w,[c(o,{justify:"space-between",align:"center"},{default:g((()=>[f("div",{class:"txt-1",style:{"font-size":"17px",width:"50%"},onClick:t=>(e=>{C.push("/info?id="+e.id)})(e)},[f("text",k," TOP."+F(t+1),1),f("text",j,F(e.politics_title),1)],8,_),f("div",z,F(e.createtime),1)])),_:2},1024)])))),256))])])),_:1})])),_:1})]),c(t)],64)}}});C.__scopeId="data-v-9e56cf4c";export{C as default};
|
1
dist/assets/index.c56502dc.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.left_text{font-size:20px;cursor:pointer}.left_text:hover{color:#0051b1;font-weight:600}.txt-1:hover{color:#0051b1}.left_text_init{color:#0051b1;font-weight:600}.right_title{text-align:center;font-size:14px}.right_title:hover{color:#0051b1}
|
1
dist/assets/index.caceb8b9.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.int[data-v-fe0b5b1a]{font-size:20px;cursor:pointer}.act[data-v-fe0b5b1a]{color:#0051b1;font-weight:600}.carousel-img[data-v-fe0b5b1a]{width:100%;height:400px;object-fit:fill}.n-table[data-v-fe0b5b1a]{border-radius:0;width:100%}.n-table thead tr th[data-v-fe0b5b1a]{font-size:1.2rem}.dian1[data-v-fe0b5b1a]{font-size:16px;color:#0051b1;width:8.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}.news_title[data-v-fe0b5b1a]:hover{color:#0051b1}.custom-arrow[data-v-fe0b5b1a]{display:flex;position:absolute;bottom:25px;right:10px}.custom-arrow button[data-v-fe0b5b1a]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:12px;color:#fff;background-color:#ffffff1a;border-width:0;border-radius:8px;transition:background-color .3s cubic-bezier(.4,0,.2,1);cursor:pointer}.custom-arrow button[data-v-fe0b5b1a]:hover{background-color:#fff3}.custom-arrow button[data-v-fe0b5b1a]:active{transform:scale(.95);transform-origin:center}.custom-dots[data-v-fe0b5b1a]{padding:0;position:absolute;bottom:25px;left:0;right:0;margin:0 auto;text-align:center}.custom-dots li[data-v-fe0b5b1a]{display:inline-block;width:20px;height:6px;margin:0 3px;border-radius:4px;background:rgba(36,36,36,.4);transition:width .3s,background-color .3s cubic-bezier(.4,0,.2,1);cursor:pointer}.custom-dots li.is-active[data-v-fe0b5b1a]{width:20px;background:#fff}
|
1
dist/assets/index.d9a9f1f9.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.txt-1[data-v-1da9be5a]:hover{color:#0051b1}
|
1
dist/assets/index.e55b68a5.js
vendored
Normal file
1
dist/assets/index.f7c6f4fe.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as a}from"./Footer.f740febe.js";import{m as s,n as l}from"./index.e55b68a5.js";import{d as t,m as i,q as o,l as d,s as n,r,o as p,t as c,b as u,g,w as v,F as x,x as f,B as F,A as h,c as m}from"./vendor.cf21d8e3.js";const _={style:{padding:"15px 9rem","background-color":"#F5F5F5",overflow:"hidden"}},b={style:{height:"570px","padding-top":"20px","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)",overflow:"hidden","text-align":"center"}},y=["onClick"],k={style:{height:"100%","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)"}},w={style:{padding:"20px",position:"relative"}},C={style:{padding:"2.5px 0px"}},j=["onClick"],z=["src"];var q=t({setup(t){const q=i(0),A=i(),B=i(),S=o(),D=d();n((()=>{G()}));const E=e=>{q.value=e,l({broadcast_id:e,page:1,pageSize:50}).then((e=>{200==e.code?(console.log(e),B.value=e.data):D.error(e.msg)}))},G=()=>{s({pid:0,type:"video"}).then((e=>{200==e.code?(console.log(e),A.value=e.data,q.value=e.data[0].id,E(e.data[0].id)):D.error(e.msg)}))};return(s,l)=>{const t=r("n-space"),i=r("n-gi"),o=r("n-grid");return p(),c(x,null,[u(e),g("div",_,[u(o,{cols:24,"x-gap":20,"item-responsive":""},{default:v((()=>[u(i,{span:"5"},{default:v((()=>[g("div",b,[u(t,{vertical:"",size:[0,25]},{default:v((()=>[(p(!0),c(x,null,f(A.value,((e,a)=>(p(),c("div",{onClick:a=>E(e.id),class:F("left_text "+(q.value===e.id?"left_text_init":""))},h(e.name),11,y)))),256))])),_:1})])])),_:1}),u(i,{span:"19"},{default:v((()=>[g("div",k,[g("div",w,[g("div",null,[g("div",C,[u(o,{"x-gap":"12",cols:4,"y-gap":32},{default:v((()=>[(p(!0),c(x,null,f(B.value,((e,a)=>(p(),m(i,null,{default:v((()=>[g("div",{style:{cursor:"pointer"},class:"right_title",onClick:a=>(e=>{S.push("/live_info?id="+e.id)})(e)},[g("img",{src:e.news_images[0],style:{width:"100%",height:"180px"}},null,8,z),g("div",null,h(e.title),1)],8,j)])),_:2},1024)))),256))])),_:1})])])])])])),_:1})])),_:1})]),u(a)],64)}}});export{q as default};
|
1
dist/assets/index.fd845c5d.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.txt-1[data-v-9e56cf4c]:hover{color:#0051b1}
|
1
dist/assets/info.297b6ad7.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.info_text[data-v-6fad6d93]{font-size:16px;margin-top:20px}
|
1
dist/assets/info.b625e9cc.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as t}from"./Footer.f740febe.js";import{l as a}from"./index.e55b68a5.js";import{d as n,D as s,m as l,l as d,q as r,s as i,r as o,o as u,t as p,b as v,g as x,w as m,F as c,p as f,k as _,A as g}from"./vendor.cf21d8e3.js";f("data-v-6fad6d93");const F={style:{padding:"15px 9rem","background-color":"#F5F5F5",overflow:"hidden"}},y={style:{height:"100%","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)"}},b={style:{padding:"20px",position:"relative"}},h={style:{padding:"2.5px 0px"}},k={style:{"font-size":"20px"}},w={class:"info_text"},j=x("text",null,"部门电话:",-1),q={class:"info_text"},H=x("text",null,"部门邮箱:",-1),L={class:"info_text"},M=x("text",null,"部门网址:",-1),T=["href"],z={class:"info_text"},A=x("text",null,"办公地址:",-1),D={style:{padding:"20px"}},I=["innerHTML"];_();var R=n({setup(n){s([{name:"政府部门",key:"government"},{name:"区县政府",key:"county"},{name:"公共服务行业",key:"service"}]);const f=l(),_=l({}),R=d(),B=r();i((()=>{f.value=B.currentRoute.value.query.id,C()}));const C=()=>{a({id:f.value}).then((e=>{200==e.code?(console.log(e),_.value=e.data):R.error(e.msg)}))};return(a,n)=>{const s=o("n-gi"),l=o("n-grid");return u(),p(c,null,[v(e),x("div",F,[v(l,{cols:5,"x-gap":12,"item-responsive":""},{default:m((()=>[v(s,{span:"3",offset:1},{default:m((()=>[x("div",y,[x("div",b,[x("div",null,[x("div",h,[x("div",k,g(_.value.department_name),1),x("div",null,[x("div",w,[j,x("text",null,g(_.value.department_phone),1)]),x("div",q,[H,x("text",null,g(_.value.department_email),1)]),x("div",L,[M,x("a",{href:_.value.department_website,target:"_blank"},g(_.value.department_website),9,T)]),x("div",z,[A,x("text",null,g(_.value.department_address),1)])])])]),x("div",null,[x("div",D,[x("div",{innerHTML:_.value.department_description},null,8,I)])])])])])),_:1})])),_:1})]),v(t)],64)}}});R.__scopeId="data-v-6fad6d93";export{R as default};
|
1
dist/assets/info.e918281c.js
vendored
Normal file
7
dist/assets/live_info.5b582beb.js
vendored
Normal file
BIN
dist/assets/login.0b202f57.png
vendored
Normal file
After Width: | Height: | Size: 1.1 MiB |
1
dist/assets/login.2e6892aa.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{u as e,c as t}from"./index.e55b68a5.js";import{d as r,q as o,l as a,m as l,r as s,o as A,t as i,g as n,b as g,w as p,p as v,k as u,A as d,y as c}from"./vendor.cf21d8e3.js";v("data-v-4adbe8b9");const h={class:"login_bg"},m={style:{position:"absolute",width:"100%",top:"35%"}},F={style:{color:"#FFFFFF","font-size":"42px"}},b={style:{width:"450px"}},x=n("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAACZElEQVRYR92XP4hTQRDGv8kLCBbpzjSKWhnBSgtLySliE71uhySdoIWoheeJghIsFL2zULFQsEvCbKemEVGDpYVXHRgrFW3idSkEIcnIk0Ri/u4+PXnc1t9883szuztvCTFbFDMebB6gSqWyMwiCMwCOAdjdq/RHAM87nc6DQqHwOUr1I1XIWrukqtcBbJmQ9AeAq8y87AvlDWStXVbVRZdERLRijLnoou1rvIBE5ASAJz4JACww81PXGF+gBoA9ruY93QdmzrjGOAOJyH4A71yNh3QHmHnVJdYH6BSAhy6mYzSnmfmRS6wzkLX2sqrecDEd1hDRFWPMTZdYZyARiVeFYreHwnKLSJRT1mDmvS7tCjXOLesBxeseCqFidVP3y+4yy4jomjHmtmurIo2OQfNYTXvfr/bRe21qH+Oo2s0FVKvVtrZarbkgCLaFFel0Ot9SqdR6Lpf7/t8qZK09oqrHAWQB7JuQeA1AnYieGWNe+sA5t8xaW1TVS1MgJuVdI6JbxpiyC9hMoHK5vD2ZTD4GcNTFcIrmRbvdPlksFr9O85kKJCJhS14DmPtLmH74OoB5Zg5bOnZNBBKRcCC++Ycwg1CHmPn9OKKxQPV6PdlsNt8CCH9bN2KtptPpg9lstj1sPhZIRMKni/cc8iRfGvduGwEqlUqJTCbzCcAOzwS+8i+NRmNXqVTqDgaOAFWr1flEIvHK1z2KvtvtHs7n8+Gh+b1GgKy1F1R1JUoC3xgiWjTG3JkKJCL3AJz1NY+ov8/M52ZVaEFVz6vqzEszIsSvMCJSIrprjPnjab6hSaMAxw7oJ60u0iWecU2BAAAAAElFTkSuQmCC",style:{width:"20px",height:"20px"}},null,-1),R=n("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAACJElEQVRYR+2XvWsUQRjGn5kjfl1jYRTtBDtBBP8AIQrRhBNs9p1pDtILgqXgR0BQBBvBXhH2dqY54UTSaGyDgn+AomgpfiCc0dtiXhmZgxBzmdlNhBQ71TIf7/ObZ56BHYEd1sQO40FtoDzPD0kpFwDMATgBYArAJwAfAfTb7fbjTqezWnXDtYCKorgE4A6A9iRBZv4KgLTWz6tAVQYyxtxg5pvrRL4A+AzgKIC9a8ZKIcQ5IlpOhaoEZK097Zx7OS7OzI9ardZilmUffN9gMNg3HA7nhBB3A5zvfielPJ5lWZkCVQnIGPOUmed9YSHEfSK6vJFIr9c7IqV8zcyHw9wLRDTYViBr7S7n3C8AEsBqWZYHu93uz0kiRVFcAXAvAD0gIp+7aEt2yFp7zDn3NlR8opS6uFl1a+1J59ybALREROejNN75lEl+Tp7nM1LKvzeGmW9rra9GgKadcz7ovi0rpWZStJKBjDGzzLwUgG5pra9tJtDv9/ePRqPvwaEXRHSmAVrrwLY7ZIw5y8z+ZuwJQgcAnArf7wGMA77hSQghpph5nJtvAF6F42Pn3IpSalEIwesXT8xQURQ+kNMp515njhBinoieVQH6h76O8KQ1zLygtX7YADUO1c1Vk6GYc41DjUMxB2LjTYYah2IOxMbrZOg3gN2xwnXHmVlprU2V34/rAPzL4n9ArUgpZ7Ms+5EMVHfnW12X/AzaqlDq+gYo5tQfGo9KNLUu41oAAAAASUVORK5CYII=",style:{width:"20px",height:"20px"}},null,-1);u();var C=r({setup(r){const v=o(),u={border:"0px",borderRadius:"0px",borderHover:"0px",borderFocus:"0px"},C=a(),z=l(0),y=l("获取验证码"),B=l(!1);let S=60;const D=l(),I=l(),f=()=>{e({mobile:D.value,captcha:I.value}).then((e=>{200==e.code?(C.success(e.msg),sessionStorage.setItem("user",JSON.stringify(e.data.userinfo)),v.push("/")):C.error(e.msg)}))},Y=()=>{console.log(D.value),11==D.value.length?B.value?C.error("请在"+y.value+"秒后重试"):w():C.error("手机号输入错误!")},w=()=>{B.value=!0,S=60,y.value=S+"秒后重试";const e=setInterval((()=>{S--,S<=0?(clearInterval(e),B.value=!1,y.value="获取验证码"):y.value=S+"秒后重试"}),1e3);J()},J=()=>{t({mobile:D.value,event:"mobilelogin"}).then((e=>{console.log(e),200!=e.code?C.error(e.msg):C.success(e.msg)}))};return(e,t)=>{const r=s("n-input"),o=s("n-button"),a=s("n-input-group"),l=s("n-flex");return A(),i("div",h,[n("div",{onClick:t[0]||(t[0]=e=>{return t="/",void v.push(t);var t}),style:{cursor:"pointer",color:"#FFFFFF","font-size":"70px","text-align":"center","padding-top":"40px"}},"洛阳百姓问政"),n("div",m,[g(l,{justify:"center",size:[40,0],align:"center"},{default:p((()=>[n("div",F,"点击"+d("0"==z.value?"登录":"注册")+",洛阳百姓问政",1),n("div",b,[g(r,{value:D.value,"onUpdate:value":t[1]||(t[1]=e=>D.value=e),"theme-overrides":u,size:"large",placeholder:"请输入手机号",style:{"border-bottom":"1px solid #D8D8D8"}},{prefix:p((()=>[x])),_:1},8,["value"]),g(a,{style:{"margin-top":"30px"}},{default:p((()=>[g(r,{value:I.value,"onUpdate:value":t[2]||(t[2]=e=>I.value=e),"theme-overrides":u,size:"large",placeholder:"请输入验证码",style:{"border-bottom":"1px solid #D8D8D8"}},{prefix:p((()=>[R])),_:1},8,["value"]),g(o,{onClick:Y,type:"primary",ghost:"",style:{height:"41px"}},{default:p((()=>[c(d(y.value),1)])),_:1})])),_:1}),n("div",{onClick:f,style:{"margin-top":"30px",cursor:"pointer","background-color":"#0051B1",width:"100%",height:"50px","line-height":"50px",color:"#FFFFFF","text-align":"center"}}," 登录 "),n("div",{onClick:t[3]||(t[3]=e=>{z.value=0==z.value?1:0}),style:{cursor:"pointer","text-align":"right",color:"#A8A8A8","margin-top":"20px"}}," 用户"+d("0"==z.value?"注册":"登录"),1)])])),_:1})])])}}});C.__scopeId="data-v-4adbe8b9";export{C as default};
|
1
dist/assets/login.7ee459f8.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.login_bg[data-v-4adbe8b9]{width:100%;height:100vh;background:url(/assets/login.0b202f57.png);background-size:100% 100%}
|
BIN
dist/assets/logo.09ae06dd.png
vendored
Normal file
After Width: | Height: | Size: 12 KiB |
1
dist/assets/mui-player.min.9d450a34.css
vendored
Normal file
1
dist/assets/news_info.14abfb36.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.info_text[data-v-7774d24d]{font-size:16px;margin-top:20px}.my_html img[data-v-7774d24d]{width:100%!important}
|
1
dist/assets/news_info.cfc0a0e8.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,F as t}from"./Footer.f740febe.js";import{A as a}from"./index.e55b68a5.js";import{d as s,m as n,l as o,q as l,s as i,r,o as d,t as u,b as p,g as c,w as v,F as g,p as f,k as m,A as x}from"./vendor.cf21d8e3.js";f("data-v-7774d24d");const w={style:{padding:"15px 9rem","background-color":"#F5F5F5",overflow:"hidden"}},b={style:{height:"100%","background-color":"#FFFFFF","box-shadow":"0px 2px 4px 0px rgba(0,0,0,0.1)"}},y={style:{padding:"30px",position:"relative"}},F={style:{"text-align":"center","font-size":"25px","font-weight":"600","margin-top":"20px"}},_={style:{padding:"30px",color:"#999999"}},h={style:{padding:"20px"}},j=["innerHTML"];m();var k=s({setup(s){const f=n(),m=n({}),k=o(),q=l();i((()=>{f.value=q.currentRoute.value.query.id,A()}));const A=()=>{a({id:f.value}).then((e=>{if(200==e.code){console.log(e);var t=e.data;t.news_content=H(t.news_content),m.value=t}else k.error(e.msg)}))},H=e=>e=(e=e.replace(/(<img\b[^>]*\bstyle\s*=\s*['"])([^'"]*)(['"][^>]*>)/g,(function(e,t,a,s){return t+";width: 100%;margin:0 auto;"+s}))).replace(/(<img\b(?![^>]*\bstyle\s*=)[^>]*>)/g,(function(e,t){return t.replace(/\/?>$/,' style="width: 100%;margin:0 auto;" />')}));return(a,s)=>{const n=r("n-flex"),o=r("n-gi"),l=r("n-grid");return d(),u(g,null,[p(e),c("div",w,[p(l,{cols:5,"x-gap":12,"item-responsive":""},{default:v((()=>[p(o,{span:"3",offset:1},{default:v((()=>[c("div",b,[c("div",y,[c("div",F,x(m.value.news_title),1),c("div",_,[p(n,{justify:"space-between"},{default:v((()=>[c("div",null,"作者:"+x(m.value.news_auto),1),c("div",null,"发布时间:"+x(m.value.showtime),1)])),_:1})]),c("div",null,[c("div",h,[c("div",{class:"my_html",innerHTML:m.value.news_content},null,8,j)])])])])])),_:1})])),_:1})]),p(t)],64)}}});k.__scopeId="data-v-7774d24d";export{k as default};
|
BIN
dist/assets/qrcode1.408767d2.png
vendored
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
dist/assets/top2.9e780811.png
vendored
Normal file
After Width: | Height: | Size: 94 KiB |
1
dist/assets/user.08849f3e.js
vendored
Normal file
1
dist/assets/user.4f414c02.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.left_text{font-size:20px;cursor:pointer}.left_text:hover{color:#0051b1;font-weight:600}.txt-1:hover{color:#0051b1}.left_text_init{color:#0051b1;font-weight:600}.right_title{font-size:20px;font-weight:600}
|
7
dist/assets/vendor.cf21d8e3.js
vendored
Normal file
BIN
dist/assets/zu1.773e43df.png
vendored
Normal file
After Width: | Height: | Size: 143 KiB |
BIN
dist/assets/zu2.c6bfd225.png
vendored
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
dist/assets/zu3.78239a46.png
vendored
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
dist/assets/zu4.334eddb6.png
vendored
Normal file
After Width: | Height: | Size: 146 KiB |
BIN
dist/favicon.ico
vendored
Normal file
After Width: | Height: | Size: 4.1 KiB |
19
dist/index.html
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>洛阳百姓问政</title>
|
||||
<script type="module" crossorigin src="/assets/index.ada452e5.js"></script>
|
||||
<link rel="modulepreload" href="/assets/vendor.cf21d8e3.js">
|
||||
<link rel="stylesheet" href="/assets/index.44511038.css">
|
||||
</head>
|
||||
<body style="margin: 0;">
|
||||
|
||||
<div id="app"></div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
24
node_modules/.vite/_metadata.json
generated
vendored
@ -1,12 +1,7 @@
|
||||
{
|
||||
"hash": "073c07dd",
|
||||
"browserHash": "797c9b17",
|
||||
"hash": "fd9c8319",
|
||||
"browserHash": "22ab22d8",
|
||||
"optimized": {
|
||||
"js-md5": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/js-md5.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/js-md5/src/md5.js",
|
||||
"needsInterop": true
|
||||
},
|
||||
"vue": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/vue.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/vue/dist/vue.runtime.esm-bundler.js",
|
||||
@ -27,6 +22,11 @@
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/vue-router/dist/vue-router.mjs",
|
||||
"needsInterop": false
|
||||
},
|
||||
"js-md5": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/js-md5.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/js-md5/src/md5.js",
|
||||
"needsInterop": true
|
||||
},
|
||||
"mui-player": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/mui-player.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/mui-player/dist/mui-player.min.js",
|
||||
@ -37,15 +37,15 @@
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/hls.js/dist/hls.mjs",
|
||||
"needsInterop": false
|
||||
},
|
||||
"flv.js": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/flv_js.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/flv.js/dist/flv.js",
|
||||
"needsInterop": true
|
||||
},
|
||||
"axios": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/axios.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/axios/index.js",
|
||||
"needsInterop": false
|
||||
},
|
||||
"flv.js": {
|
||||
"file": "E:/小程序/百姓问政PC/pc/node_modules/.vite/flv_js.js",
|
||||
"src": "E:/小程序/百姓问政PC/pc/node_modules/flv.js/dist/flv.js",
|
||||
"needsInterop": true
|
||||
}
|
||||
}
|
||||
}
|
15082
node_modules/.vite/naive-ui.js
generated
vendored
6
node_modules/.vite/naive-ui.js.map
generated
vendored
@ -1,12 +1,14 @@
|
||||
import axios from 'axios';
|
||||
// request.js
|
||||
// 创建新的axios实例
|
||||
const baseURL=window.location.protocol+'//wz.lytv.com.cn';
|
||||
console.log(window.location.protocol);
|
||||
const service = axios.create({
|
||||
// 环境变量,需要在.env文件中配置
|
||||
baseURL: 'http://www.lytv.com.cn',
|
||||
baseURL: baseURL,
|
||||
//baseURL:'/api',
|
||||
// 超时时间暂定5s
|
||||
timeout: 5000,
|
||||
timeout: 10000,
|
||||
|
||||
});
|
||||
const Request = (url, options = {}) => {
|
||||
|
@ -88,7 +88,7 @@
|
||||
</n-button>
|
||||
</n-flex>
|
||||
</div>
|
||||
<div style="width: 100%;background-color: #7261D9;height: 0.05rem;opacity: 0.35;"></div>
|
||||
<div style="width: 100%;background-color: #E7E7E7;height: 0.1rem;"></div>
|
||||
<div
|
||||
style="background: #D9D9D9;width: 120px;height: 180px;text-align: center;padding: 5px 0px 10px 0px;position: fixed;top: 40%;left: 10px">
|
||||
<div style="text-align: right;padding-right: 5px">
|
||||
|
@ -45,7 +45,7 @@
|
||||
</div>
|
||||
</n-flex>
|
||||
<div style="margin-top: 20px;">
|
||||
<div style="min-height: 210px">
|
||||
<div style="min-height: 250px">
|
||||
<div v-for="item in contentList" style="cursor: pointer" @click="tn('/info?id='+item.id)">
|
||||
<n-flex justify="space-between" :size="[0,0]">
|
||||
<div class="te" style="font-size: 18px;width: 80%;">
|
||||
@ -129,8 +129,6 @@
|
||||
@click="tn('/news_info?id='+item.id)">
|
||||
<n-flex justify="space-between">
|
||||
<div class="txt-1" style="font-size: 17px;width: 70%">
|
||||
<div
|
||||
style="background-color: #0051B1;width: 5px;height: 5px;border-radius: 50%;display: inline-block;vertical-align: middle"></div>
|
||||
<text class="news_title" style="vertical-align: middle;margin-left: 5px">{{ item.news_title }}</text>
|
||||
</div>
|
||||
<div style="color: #818794">{{ item.showtime }}</div>
|
||||
@ -168,10 +166,11 @@ onMounted(() => {
|
||||
getApiNewsbx();
|
||||
})
|
||||
const getApiPolitics = () => {
|
||||
getPolitics({'type': contnetKey.value, 'page': page.value, 'pageSize': 6}).then(res => {
|
||||
getPolitics({'type': contnetKey.value, 'page': page.value, 'size': 6}).then(res => {
|
||||
if (res.code == 200) {
|
||||
contentList.value = res.data
|
||||
pageCount.value = Math.ceil(res.count / 6);
|
||||
contentList.value = res.data.data;
|
||||
//pageCount.value = Math.ceil(res.count / 6);
|
||||
pageCount.value= res.data.last_page;
|
||||
} else {
|
||||
message.error(res.msg)
|
||||
}
|
||||
|
@ -43,13 +43,34 @@ import {md5} from 'js-md5';
|
||||
const message = useMessage()
|
||||
const router = useRouter()
|
||||
const model = reactive({
|
||||
username: 'lyzfgjj',
|
||||
username: '',
|
||||
password: '',
|
||||
});
|
||||
const depList = ref([]);
|
||||
onMounted(() => {
|
||||
var admin = sessionStorage.getItem('admin');
|
||||
if(decodeJwtPayload(admin)!=''){
|
||||
router.push('/admin_list')
|
||||
}
|
||||
getDep();
|
||||
})
|
||||
const decodeJwtPayload=(jwt)=> {
|
||||
const parts = jwt.split('.');
|
||||
if (parts.length !== 3) {
|
||||
return '';
|
||||
}
|
||||
|
||||
const payloadBase64Url = parts[1];
|
||||
const padding = '='.repeat((4 - payloadBase64Url.length % 4) % 4);
|
||||
const payloadBase64 = (payloadBase64Url + padding).replace(/-/g, '+').replace(/_/g, '/');
|
||||
|
||||
try {
|
||||
const decodedPayload = atob(payloadBase64);
|
||||
return JSON.parse(decodedPayload);
|
||||
} catch (error) {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
const getDep = () => {
|
||||
getDepartment({}).then(res => {
|
||||
if (res.code == 200) {
|
||||
|
@ -70,17 +70,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="padding-bottom: 100px;padding-top: 40px">
|
||||
<div style="font-size: 22px;">评论(6)</div>
|
||||
<div style="font-size: 22px;">评论({{addCount}})</div>
|
||||
<div style="width: 100%;background-color: #E7E7E7;height: 2px;opacity: 0.35;margin:15px 0px"></div>
|
||||
<div style="color: #818181">
|
||||
<div style="color: #000000;font-size: 16px">用户:王小桃</div>
|
||||
<div style="margin: 5px 0px;">2024.06.16-09:25:32</div>
|
||||
<div>城北启源府小区在不通水、电、暖、燃气的情况下诱骗交房,大部分业主在至今不能满足正常居住的条件下已缴纳3年物业费。截至目前,该小区已通电,请问政府城北水、燃气、暖气这些基础的生活设施何时能开工建设,并投入使用。</div>
|
||||
<div style="color: #818181" v-for="(item,index) in commentsList">
|
||||
<div style="color: #000000;font-size: 16px">用户:{{item.user.nickname}}</div>
|
||||
<div style="margin: 5px 0px;">{{item.createtime}}</div>
|
||||
<div>{{item.content}}</div>
|
||||
<div style="width: 100%;height: 2px;margin:15px 0px;border-bottom: 1px dashed #E7E7E7"></div>
|
||||
</div>
|
||||
<div class="register-form " style="text-align: center;margin-top:50px;">
|
||||
<n-flex justify="center" align="center" :size="[20,0]">
|
||||
<div style="color: #666666">共123条数据</div>
|
||||
<div style="color: #666666">共{{addCount}}条数据</div>
|
||||
<div>
|
||||
<n-pagination @update:page="pageCheck" :theme-overrides="PaginationThemeOverrides" v-model:page="page"
|
||||
:page-count="pageCount"
|
||||
@ -113,6 +113,10 @@ const submit = ref(true);
|
||||
onMounted(()=>{
|
||||
liveId.value=router.currentRoute.value.query.id;
|
||||
var admin = sessionStorage.getItem('admin');
|
||||
var k=decodeJwtPayload(admin);
|
||||
if(k==''){
|
||||
router.push('/admin');
|
||||
}
|
||||
adminInfo.value=decodeJwtPayload(admin);
|
||||
openInfo();
|
||||
getComments();
|
||||
@ -130,15 +134,27 @@ const submitDo = () => {
|
||||
}
|
||||
});
|
||||
}
|
||||
const page = ref(1);
|
||||
const pageCount = ref(1);
|
||||
const addCount=ref(0);
|
||||
const commentsList = ref([]);
|
||||
const getComments= () => {
|
||||
issueComments({id:liveId.value}).then(res => {
|
||||
issueComments({id:liveId.value,page:page.value,size:5}).then(res => {
|
||||
if(res.code==200){
|
||||
console.log(res);
|
||||
commentsList.value=res.data.data;
|
||||
pageCount.value=res.data.last_page;
|
||||
addCount.value=res.data.total;
|
||||
}else{
|
||||
message.error(res.msg);
|
||||
}
|
||||
});
|
||||
}
|
||||
const pageCheck = (p) => {
|
||||
console.log(p);
|
||||
page.value = p;
|
||||
getComments();
|
||||
}
|
||||
const openInfo = () => {
|
||||
getIssueInfo({id:liveId.value}).then(res => {
|
||||
if(res.code==200){
|
||||
@ -156,7 +172,7 @@ const out = () => {
|
||||
const decodeJwtPayload=(jwt)=> {
|
||||
const parts = jwt.split('.');
|
||||
if (parts.length !== 3) {
|
||||
throw new Error('Invalid JWT format');
|
||||
return '';
|
||||
}
|
||||
|
||||
const payloadBase64Url = parts[1];
|
||||
@ -167,7 +183,7 @@ const decodeJwtPayload=(jwt)=> {
|
||||
const decodedPayload = atob(payloadBase64);
|
||||
return JSON.parse(decodedPayload);
|
||||
} catch (error) {
|
||||
throw new Error('Failed to parse JWT payload');
|
||||
return '';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@ -121,6 +121,10 @@ const depTypeList = ref([
|
||||
const adminInfo = ref(null);
|
||||
onMounted(() => {
|
||||
var admin = sessionStorage.getItem('admin');
|
||||
var k=decodeJwtPayload(admin);
|
||||
if(k==''){
|
||||
router.push('/admin');
|
||||
}
|
||||
adminInfo.value=decodeJwtPayload(admin);
|
||||
getList();
|
||||
})
|
||||
@ -161,7 +165,7 @@ const tn = (url) => {
|
||||
const decodeJwtPayload=(jwt)=> {
|
||||
const parts = jwt.split('.');
|
||||
if (parts.length !== 3) {
|
||||
throw new Error('Invalid JWT format');
|
||||
return '';
|
||||
}
|
||||
|
||||
const payloadBase64Url = parts[1];
|
||||
@ -172,7 +176,7 @@ const decodeJwtPayload=(jwt)=> {
|
||||
const decodedPayload = atob(payloadBase64);
|
||||
return JSON.parse(decodedPayload);
|
||||
} catch (error) {
|
||||
throw new Error('Failed to parse JWT payload');
|
||||
return '';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|