杨总惠通宝
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
htb_backend/public/static/js/pages-users-feedback-index....

1 line
13 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-feedback-index"],{"1eb8":function(t,e,i){var a=i("f4a5");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("86b79112",a,!0,{sourceMap:!1,shadowMode:!1})},"3c86":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.checkPhone=function(t){return!!/^1(3|4|5|6|7|8|9)\d{9}$/.test(t)},e.isEmailAvailable=function(t){return!!/^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/.test(t)},e.isMoney=function(t){return!!/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/.test(t)},i("ac1f"),i("00b4")},b2d2:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b"),i("14d9"),i("a434");var n=a(i("5530")),o=i("c6c3"),s=i("3c86"),c=i("26cb"),r=i("8342"),d=i("4f1b"),l={data:function(){return{domain:r.HTTP_REQUEST_URL,tabList:[],tabKey:0,qsArray:[],qsIndex:0,con:"",uploadImg:[],name:"",phone:"",isShowbox:!1,isUpload:!0}},computed:(0,n.default)({},(0,d.configMap)(["is_open_service"],(0,c.mapGetters)(["viewColor","keyColor"]))),watch:{uploadImg:function(t,e){this.isUpload=t.length<6}},onLoad:function(){var t=this;(0,o.feedbackType)().then((function(e){var i=e.data;t.tabList=i,t.getFeedBack(i)}))},methods:{toChat:function(){uni.navigateTo({url:"/pages/chat/customer_list/chat?mer_id=0"})},getFeedBack:function(t){var e=this;t.forEach((function(i,a){if(i.children)return e.tabKey=a,void(e.qsArray=t[e.tabKey].children)}))},bindPickerChange:function(t){this.qsIndex=t.target.value},bindTab:function(t,e){this.tabKey=e,this.qsIndex=0,this.qsArray=this.tabList[this.tabKey].children?this.tabList[this.tabKey].children:[]},uploadpic:function(){var t=this;t.$util.uploadImageOne("upload/image",(function(e){t.uploadImg.push(e.data.path),t.$set(t,"uploadImg",t.uploadImg)}))},close:function(){this.con="",this.uploadImg=[],this.name="",this.phone="",this.isShowbox=!1},deleteImg:function(t){this.uploadImg.splice(t,1)},bindSub:function(){var t=this;this.con?0!=this.uploadImg.length?this.name?this.phone?(0,s.isEmailAvailable)(this.phone)||(0,s.checkPhone)(this.phone)?(0,o.feedback)({type:this.qsArray[this.qsIndex].feedback_category_id,content:this.con,images:this.uploadImg,realname:this.name,contact:this.phone}).then((function(e){t.isShowbox=!0})).catch((function(e){t.$util.Tips({title:e})})):uni.showToast({title:"请输入有效的电话或者邮箱",icon:"none"}):uni.showToast({title:"请输入电话或者邮箱",icon:"none"}):uni.showToast({title:"请输入姓名",icon:"none"}):uni.showToast({title:"请上传图片",icon:"none"}):uni.showToast({title:"请输入反馈内容",icon:"none"})}}};e.default=l},bd4e:function(t,e,i){"use strict";var a=i("1eb8"),n=i.n(a);n.a},d4f6:function(t,e,i){"use strict";i.r(e);var a=i("e3bb"),n=i("fb5e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("bd4e");var s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"70e405f2",null,!1,a["a"],void 0);e["default"]=c.exports},e3bb:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[1==t.is_open_service?i("v-uni-view",{staticClass:"tips"},[i("v-uni-view",{staticClass:"tipBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toChat.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/kefu.png",mode:""}}),i("v-uni-view",{staticClass:"font"},[t._v("如需尽快解决问题,可直接联系在线客服")])],1),i("v-uni-view",[i("i",{staticClass:"iconfont icon-xiangyou",staticStyle:{fontSize:"24rpx"}})])],1)],1):t._e(),i("v-uni-view",{staticClass:"feedback-container"},[i("v-uni-view",{staticClass:"item-box"},[i("v-uni-view",{staticClass:"title-box"},[i("v-uni-te