1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-feedback-feedback"],{3366:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticClass:"content bg-white"},[a("v-uni-view",{staticClass:"flex flex-wrap",staticStyle:{padding:"16rpx"}},t._l(t.tagList,(function(e,n){return a("v-uni-view",{key:n,staticClass:"tag-item",class:{"tat-active":e.selected},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTag(n)}}},[t._v(t._s(e.title))])})),1),a("v-uni-view",{staticClass:"uni-textarea"},[a("v-uni-textarea",{attrs:{"auto-height":!0,placeholder:t.placeholder},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.textareaFun.apply(void 0,arguments)}}})],1)],1),a("v-uni-view",{staticClass:"footer",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitDafenFun.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"white text-center footer-text"},[t._v("提交")])],1)],1)},i=[]},34273:function(t,e,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d3b7"),a("159b");var i=n(a("c7eb")),r=n(a("1da1")),o=n(a("5530")),u=a("26cb"),s=a("5bcc"),d=(getApp(),{data:function(){return{reviewer:0,targetId:null,target:null,content:"",tagList:[],activeTag:0,placehoder:""}},onLoad:function(t){this.getTagFun()},onShow:function(){this.getUser()},methods:(0,o.default)((0,o.default)({},(0,u.mapActions)(["getUser"])),{},{textareaFun:function(t,e){this.content=t.detail.value},changeTag:function(t){this.tagList[t].selected=!this.tagList[t].selected;var e="#";this.tagList.forEach((function(t,a){t.selected&&(e+=t.title+"#")})),this.placeholder=e,this.$forceUpdate()},submitDafenFun:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){var a,n,r;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.content){e.next=3;break}return t.$toast({title:"请输入内容"}),e.abrupt("return");case 3:return e.next=5,(0,s.postSuggest)({title:t.placehoder,content:t.content});case 5:a=e.sent,n=a.status,a.data,r=a.msg,1==n&&t.$toast({title:r},{tab:3,url:1});case 10:case"end":return e.stop()}}),e)})))()},getTagFun:function(){var t=this;return(0,r.default)((0,i.default)().mark((function e(){var a,n,r;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,s.getTagList)({});case 2:a=e.sent,n=a.status,r=a.data,1==n&&(t.tagList=r);case 6:case"end":return e.stop()}}),e)})))()}}),computed:(0,o.default)({},(0,u.mapGetters)(["uid","userInfo"]))});e.default=d},"8dd6":function(t,e,a){var n=a("a26c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("2e30bd5c",n,!0,{sourceMap:!1,shadowMode:!1})},a269:function(t,e,a){"use strict";a.r(e);var n=a("34273"),i=a.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},a26c:function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */.content[data-v-1647e5fe]{margin:%?24?%;padding:%?24?%;box-shadow:%?0?% %?8?% %?16?% %?2?% rgba(0,0,0,.03);border-radius:%?18?% %?18?% %?18?% %?18?%}.tag-item[data-v-1647e5fe]{margin:%?8?%;padding:%?10?% %?28?%;border-radius:%?28?% %?28?% %?28?% %?28?%;border:%?2?% solid #b8b8b8}.tat-active[data-v-1647e5fe]{border:%?2?% solid #f37171;font-weight:400;color:#f37171}.uni-textarea[data-v-1647e5fe]{padding:%?20?%;height:%?300?%;background:#f7f7f7;border-radius:%?5?%;margin-bottom:%?20?%}.uni-textarea uni-textarea[data-v-1647e5fe]{width:100%;height:%?260?%!important;min-height:%?260?%;max-height:%?260?%;overflow-y:hidden;font-size:%?28?%}.footer[data-v-1647e5fe]{margin-top:%?40?%;box-sizing:initial;padding:0 %?30?%}.footer .footer-text[data-v-1647e5fe]{height:%?88?%;line-height:%?88?%;background-color:#dd4250;box-shadow:%?0?% %?6?% %?12?% %?2?% rgba(221,66,80,.23);border-radius:%?18?% %?18?% %?18?% %?18?%;font-size:%?32?%;font-family:PingFang SC-Medium,PingFang SC;font-weight:500}.user-content[data-v-1647e5fe]{padding:%?30?%;background-size:100% auto;background-repeat:no-repeat}.user-content .user-img[data-v-1647e5fe]{width:%?88?%;height:%?88?%;overflow:hidden;border-radius:50%}.user-content .user-img uni-image[data-v-1647e5fe]{width:100%}',""]),t.exports=e},bba0:function(t,e,a){"use strict";var n=a("8dd6"),i=a.n(n);i.a},f2b8:function(t,e,a){"use strict";a.r(e);var n=a("3366"),i=a("a269");for(var r in i)["default"].indexOf(r)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("bba0");var o=a("f0c5"),u=Object(o["a"])(i["default"],n["b"],n["c"],!1,null,"1647e5fe",null,!1,n["a"],void 0);e["default"]=u.exports}}]);
|