"use strict";const e=require("../../../common/vendor.js"),t=require("../../../request/api.js"),n=require("../../../common/assets.js"),o={data:()=>({navH:e.inject("navHeight"),content:""}),onLoad(){},methods:{clickSubmit(){if(!this.content)return void e.index.showToast({title:"请输入您要反馈的问题",icon:"none"});let n={content:this.content,isJson:1};t.feedback(n).then((t=>{200==t.code?(e.index.showToast({title:t.message,icon:"none"}),setTimeout((function(){e.index.navigateBack()}),1e3)):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){e.resolveComponent("navBar")()}Math;const i=e._export_sfc(o,[["render",function(t,o,i,s,c,a){return{a:e.p({leftText:"意见反馈"}),b:n._imports_0,c:c.content,d:e.o((e=>c.content=e.detail.value)),e:e.s("top:"+c.navH+"px;"),f:e.o((e=>a.clickSubmit()))}}]]);wx.createPage(i);
