王总上门按摩后台代码
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.
 
 
 
 
 
shangmenanmo/public/h6/static/js/user-pages-feedback-box.a5f...

1 lines
8.1 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-feedback-box"],{"16ca":function(t,i,e){"use strict";e.r(i);var n=e("75dc"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},"1ebd":function(t,i,e){"use strict";var n=e("9fcf"),a=e.n(n);a.a},4770:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"box"},[e("v-uni-view",{staticClass:"pl-lg pr-lg pb-lg fill-base"},[e("v-uni-view",{staticClass:"box-item"},[e("v-uni-view",{staticClass:"box-item-title f-paragraph pb-md text-bold flex"},[e("v-uni-text",{staticClass:"c-warning f-sm-title"},[t._v("*")]),e("v-uni-text",[t._v("反馈类型")])],1),e("v-uni-view",{staticClass:"radius-16 flex-warp"},[t._l(t.navList,(function(i,n){return[e("v-uni-view",{key:n+"_0",staticClass:"nav-item text-center f-desc c-paragraph mb-md fill-body",class:n%3>0&&"ml-md",style:{backgroundColor:n==t.navIndex?t.primaryColor:"",color:n==t.navIndex?"#fff":""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getNavIndex(n)}}},[t._v(t._s(i.title))])]}))],2)],1),e("v-uni-view",{staticClass:"box-item"},[e("v-uni-view",{staticClass:"box-item-title"},[e("v-uni-view",{staticClass:"text-bold f-paragraph"},[t._v("订单编号")]),e("v-uni-view",{staticClass:"c-caption f-caption pt-md pb-lg"},[t._v("若涉及订单, 填入订单号有助解决问题(订单详情页可复制)")])],1),e("v-uni-view",{staticClass:"pr-lg pl-lg fill-body radius-16 f-paragraph flex-between box-item-cont"},[e("v-uni-input",{attrs:{type:"number",placeholder:"请输入订单号"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.getInput.apply(void 0,arguments)}},model:{value:t.param.order_code,callback:function(i){t.$set(t.param,"order_code",i)},expression:"param.order_code"}})],1)],1),e("v-uni-view",{staticClass:"box-item pt-md"},[e("v-uni-view",{staticClass:"box-item-title f-paragraph pb-sm text-bold flex"},[e("v-uni-text",{staticClass:"c-warning f-sm-title"},[t._v("*")]),e("v-uni-text",[t._v("反馈内容")])],1),e("v-uni-view",{staticClass:"pd-lg radius-16 fill-body",staticStyle:{overflow:"hidden"}},[e("v-uni-textarea",{staticClass:"c-paragraph",staticStyle:{width:"100%"},attrs:{cols:"30",rows:"10",placeholder:"您宝贵的建议,是我们不断进步的动力!请详细描述遇到的问题",value:t.param.content,maxlength:"1000"},on:{input:function(i){arguments[0]=i=t.$handleEvent(i),t.bindInput.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"pt-md text-right c-5A677E f-paragraph"},[t._v(t._s(t.param.content.length>1e3?1e3:t.param.content.length)+" / 1000")])],1)],1),e("v-uni-view",{staticClass:"box-item mt-md"},[e("upload",{attrs:{imagelist:t.param.images,imgtype:"images",text:"上传图片",imgsize:3},on:{upload:function(i){arguments[0]=i=t.$handleEvent(i),t.imgUpload.apply(void 0,arguments)},del:function(i){arguments[0]=i=t.$handleEvent(i),t.imgUpload.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"box-item mt-md"},[e("upload",{attrs:{imagelist:t.param.video_url,filetype:"video",imgtype:"video_url",text:"上传视频",imgsize:1,videoSize:30},on:{upload:function(i){arguments[0]=i=t.$handleEvent(i),t.imgUpload.apply(void 0,arguments)},del:function(i){arguments[0]=i=t.$handleEvent(i),t.imgUpload.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"f-desc c-caption pb-sm"},[t._v("*最多只能上传3张图片、1个视频(视频只支持30兆以内)")])],1),e("v-uni-view",{staticClass:"f-caption c-warning pd-lg"},[t._v("注: 您反馈的意见问题,平台不会透露给他人,保护您的隐私")]),e("v-uni-view",{staticClass:"space-max-footer"}),e("fix-bottom-button",{attrs:{text:[{text:"反馈记录",type:"cancel"},{text:"提交反馈",type:"confirm",isAuth:!0}],bgColor:"#fff",classType:2},on:{cancel:function(i){arguments[0]=i=t.$handleEvent(i),t.$util.goUrl({url:"/user/pages/feedback/list"})},confirm:function(i){arguments[0]=i=t.$handleEvent(i),t.confirm.apply(void 0,arguments)}}})],1)},a=[]},"6b5f":function(t,i,e){"use strict";e.r(i);var n=e("4770"),a=e("16ca");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("1ebd");var s=e("828b"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"bf85bc86",null,!1,n["a"],void 0);i["default"]=c.exports},"75dc":function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("fd3c"),e("0c26"),e("5c47"),e("a1c1");var a=n(e("2634")),o=n(e("2fdc")),s=e("8f59"),c={data:function(){return{param:{content:"",type_name:"",order_code:"",images:[],video_url:[]},navList:[{title:"订单问题"},{title:"功能问题"},{title:"账号问题"},{title:"操作问题"},{title:"BUG反馈"},{title:"其他"}],navIndex:-1}},computed:(0,s.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo}}),onLoad:function(){this.$util.setNavigationBarColor({bg:this.primaryColor}),this.initIndex()},methods:{initIndex:function(){var t=arguments,i=this;return(0,o.default)((0,a.default)().mark((function e(){var n;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],n||!i.$jweixin.isWechat()){e.next=5;break}return e.next=4,i.$jweixin.initJssdk();case 4:i.$jweixin.wxReady((function(){i.$jweixin.hideOptionMenu()}));case 5:case"end":return e.stop()}}),e)})))()},bindInput:function(t){this.$nextTick((function(){this.param.content=t.detail.value}))},imgUpload:function(t){var i=t.imagelist,e=t.imgtype;this.param[e]=i},confirm:function(){var t=this,i=this.param,e=i.content,n=i.images,a=i.video_url,o=this.$util.deepCopy(this.param);return o.type_name=this.navIndex>=0&&this.navList[this.navIndex].title,n.length&&(o.images=n.map((function(t){return t.path}))),a.length&&(o.video_url=a[0].path),o.type_name?e.trim()?(this.$util.showLoading(),void this.$api.mine.addFeedback(o).then((function(i){t.$util.hideAll(),t.$util.goUrl({url:"/user/pages/feedback/success",openType:"redirectTo"})}))):this.$util.showToast({title:"请输入反馈内容"}):this.$util.showToast({title:"请选择反馈类型"})},getNavIndex:function(t){this.navIndex=t},getInput:function(t){this.$nextTick((function(){this.param.order_code=t.detail.value.replace(/\D/g,"")}))}}};i.default=c},"9fcf":function(t,i,e){var n=e("f46c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("615ddf4a",n,!0,{sourceMap:!1,shadowMode:!1})},f46c:function(t,i,e){var n=e("c86c");i=n(!1),i.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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.box-item .box-item-title[data-v-bf85bc86]{padding-top:%?40?%}.box-item .box-item-cont[data-v-bf85bc86]{height:%?110?%}.box-item .box-item-cont uni-input[data-v-bf85bc86]{width:100%;height:100%}.box-item .c-5A677E[data-v-bf85bc86]{color:#5a677e}.box-item .nav-item[data-v-bf85bc86]{width:calc((100% - %?40?%) / 3);height:%?68?%;line-height:%?68?%;border-radius:%?68?%}',""]),t.exports=i}}]);