Files
yusheng-h5/unpackage/dist/build/web/assets/pages-feedback-problemDetail.CJPiqXMj.js
2025-10-23 16:04:28 +08:00

2 lines
1.7 KiB
JavaScript

import{h as a,g as e,E as t,r as s,e as l,f as o,w as n,j as i,o as r,k as c,l as d,u as f,m as p}from"./index-Cx-ljvzK.js";import{_ as u}from"./uni-icons.rIRNGGE5.js";import{r as h}from"./uni-app.es.C2wev25l.js";import{h as m}from"./headerHeight.BKcShUBq.js";import{n as _}from"./nav.-FlBmVf_.js";import{_ as g}from"./_plugin-vue_export-helper.BCo6x5W8.js";const v=g({components:{headerHeight:m,navBar:_},data:()=>({errorPage:!1,detailData:null,statusBarHeight:0}),onLoad(a){const{id:e}=a;e&&this.getDetail(e)},methods:{getDetail(t){a.get("/api/Help/help_detail",{token:e("token")||"",id:t}).then((a=>{const{data:e,code:t}=a;console.log(t,e),this.detailData=t?e:null,this.errorPage=!1})).catch((a=>{this.errorPage=!0}))},back(){t()}}},[["render",function(a,e,t,m,_,g){const v=s("headerHeight"),k=s("navBar"),b=i,j=h(l("uni-icons"),u);return r(),o(b,{class:"view-page"},{default:n((()=>[c(v),c(k,{navTitle:"问题详情",bgColor:"#fff",emitBack:!0,onBackEvent:g.back},null,8,["onBackEvent"]),_.detailData?(r(),o(b,{key:0,class:"container"},{default:n((()=>[c(b,{class:"title"},{default:n((()=>[d(f(_.detailData.title),1)])),_:1}),c(b,{class:"title mt-24",innerHTML:_.detailData.content},null,8,["innerHTML"])])),_:1})):p("",!0),c(b,{class:"flex-line footer mt-24 w-fill"},{default:n((()=>[c(b,{class:"help-box"},{default:n((()=>[c(b,{class:"help-icon"},{default:n((()=>[c(j,{type:"hand-up",size:"30"})])),_:1}),c(b,{class:"color-0 mt-24 font-24"},{default:n((()=>[d(" 有帮助 ")])),_:1})])),_:1}),c(b,{class:"help-box"},{default:n((()=>[c(b,{class:"help-icon"},{default:n((()=>[c(j,{type:"hand-down",size:"30"})])),_:1}),c(b,{class:"color-0 mt-24 font-24"},{default:n((()=>[d(" 没帮助 ")])),_:1})])),_:1})])),_:1})])),_:1})}],["__scopeId","data-v-4e1bb458"]]);export{v as default};