连云港陪玩陪聊
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.
 
 
 
 
 
 
chunwan/unpackage/dist/build/web/static/js/pages-users-feedback-index....

1 lines
11 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-feedback-index"],{"201b":function(t,e,n){"use strict";n.r(e);var i=n("7a16"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"243d":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAsNJREFUSEvtl01vElEUhk8TyAx1OmqiJu2CllVXVE3Qv+DCuCGk6XYIH43RULCE0kzCqgltM5UOZOKigU4TCum2K/0JutC4Eo0LjNUQjQmOE/kYGHMIUxtTOpcC6UZWA/fc95n33HMP947B348dAOYA4AYAWE78PozHBgB8B4C3APAJBce6qncA4PYwCAQarwHgFYKnAeAewYRhhjxH8AMAmBymKoHWVwR7R7CmZmwNwQGzqFGM/wePIqunahKl+vDw8L7L5ZoLhULywcHBl7Pezu12T2az2UeVSuVodnZW6hVLBK5Wq2ssy16r1WoKx3FbxWLxVPj8/PxULpcLj4+Ps41G4zdFUUsDgRcXFx2iKC5ZrVa6F9zj8Uzu7e09sdlsE5qmNXmeT6+vr5cGAuNkn883LUlSpAv/xXGcYDhHp7u7uxGEtlqt5vLy8nYqlfpw1pIQpdoQOA2uaZpuOEXo6upqemNjo6dTQ6svME4KBoMz6XQ6jM5VVa3quq4zDHMFobFYTBQE4T3J1ugbjKJ+v39GFMXHNE0z+L1Wq6k8zz8jhRp/i323TCwkWZaxei+jiKqqP/1+f6pQKByRuD0XeGFhYSqbzXYKCbeMruttiqIu1et1LLgtUnhfqcbqlWU5QtP0RLvdbkaj0W1FUZqSJIUtFguNcK/X+3R/f/+zmXNiMDrN5XLH0JWVFXFzc7NTSIFAwJHJZLDgqHq9ruJWM3NOBMY2mM/nEcpi9fI8n0kmk+9Ouuo2mQ4ci83n8wn5fL7nmhOBFUVJMgxzFaHxePzY6b/pPNnhFEX5wbJsfKDOVSqVHtrtdkcikdgxaw641QRBCJbL5Y9Op3NnILBZoZxnnCjV5xE2m4NgDgCsZoFDHu8c9i7seHsRB/oXxhXmLgDcGnI6e8m9AYCXBhiD8NJ2EwCuj+CArwHAt+6lrYywP49/M8MLP/onAAAAAElFTkSuQmCC"},"70d7":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={uPopup:n("9f5d").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"add"},[i("v-uni-view",{staticClass:"add-content"},[i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"title"},[t._v("举报原因")]),i("v-uni-view",{staticClass:"box"},[i("v-uni-textarea",{attrs:{maxlength:"200",placeholder:"如有必要,请详细描述(200字以内)~"},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}})],1)],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"title"},[t._v("上传图片")]),i("v-uni-view",{staticClass:"list"},[t._l(t.imgurl,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item"},[i("v-uni-image",{staticClass:"pic",attrs:{src:e}}),i("v-uni-image",{staticClass:"del",attrs:{src:n("243d")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDel(a)}}})],1)})),i("v-uni-view",{staticClass:"upload",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadImg()}}},[i("v-uni-image",{staticClass:"pic",attrs:{src:n("fd1f")}}),i("v-uni-view",{staticClass:"txt"},[t._v("上传图片")])],1)],2)],1)],1),i("v-uni-view",{staticClass:"add-fd"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toReg()}}},[t._v("提交")])],1),i("u-popup",{attrs:{mode:"center","border-radius":"20","mask-close-able":!0},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"feed"},[i("v-uni-image",{attrs:{src:n("c6f5")}}),i("v-uni-view",{staticClass:"title"},[t._v("提交成功")]),i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.show=!1}}},[t._v("我知道了")])],1)],1)],1)},o=[]},"7a16":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("2634")),o=i(n("2fdc"));n("aa9c"),n("dd2b");var d={data:function(){return{show:!1,imgurl:[],content:"",reportUserId:"",type:"",tabIndex:1,id:"",uid:""}},onLoad:function(t){this.type=t.type,this.id=t.id,this.uid=t.uid},methods:{uploadImg:function(){var t=this;uni.chooseImage({count:9-t.imgurl.length,sizeType:["original"],sourceType:["album","camera"],success:function(e){console.log(e);for(var n=0;n<e.tempFilePaths.length;n++)uni.uploadFile({name:"file",url:t.$baseUrl+"/prod-api/common/upload",filePath:e.tempFilePaths[n],success:function(e){var n=JSON.parse(e.data),i=n.code,a=(n.fileName,n.url);n.msg;200==i?(uni.showToast({title:"上传成功"}),t.imgurl.push(a)):uni.showToast({icon:"error",title:"上传失败"})},fail:function(t){console.log(t)}})},fail:function(t){console.log("fail",t)}})},toReg:function(){var t=this;return(0,o.default)((0,a.default)().mark((function e(){var n,i,o,d;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t,n.content){e.next=4;break}return uni.showToast({icon:"none",position:"bottom",title:"举报说明不能为空!"}),e.abrupt("return");case 4:if(0!=n.imgurl.length){e.next=7;break}return uni.showToast({icon:"none",position:"bottom",title:"请上传图片"}),e.abrupt("return");case 7:return e.next=9,n.$api.report({userId:uni.getStorageSync("userInfo").id,content:n.content,imgurl:n.imgurl.join(","),reportUserId:1==n.type?n.uid:"",type:n.type,eventid:n.id,reason:""});case 9:i=e.sent,o=i.code,i.data,d=i.msg,200==o?(n.imgurl=[],n.content="",n.show=!0):uni.showToast({icon:"none",position:"bottom",title:d});case 14:case"end":return e.stop()}}),e)})))()},tabItem:function(t){this.tabIndex=t},toDel:function(t){this.imgurl.splice(t,1)}}};e.default=d},a964:function(t,e,n){"use strict";var i=n("ebfd"),a=n.n(i);a.a},c6f5:function(t,e,n){t.exports=n.p+"static/feed-01.png"},cd25:function(t,e,n){"use strict";n.r(e);var i=n("70d7"),a=n("201b");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("a964");var d=n("828b"),c=Object(d["a"])(a["default"],i["b"],i["c"],!1,null,"9deecb56",null,!1,i["a"],void 0);e["default"]=c.exports},dda6:function(t,e,n){var i=n("c86c");e=i(!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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.add[data-v-9deecb56]{overflow:hidden;padding-bottom:%?110?%}.add .feed[data-v-9deecb56]{width:%?670?%;height:%?688?%;background:#fff;border-radius:%?20?%;text-align:center;padding-top:%?70?%;box-sizing:border-box}.add .feed uni-image[data-v-9deecb56]{width:%?408?%;height:%?315?%}.add .feed .title[data-v-9deecb56]{font-weight:500;font-size:%?36?%;color:#222;margin-top:%?50?%}.add .feed .btn[data-v-9deecb56]{width:%?400?%;line-height:%?90?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?90?%;font-weight:500;font-size:%?30?%;color:#fff;margin:0 auto;margin-top:%?50?%}.add-content[data-v-9deecb56]{padding:0 %?25?%;overflow:hidden}.add-content .content[data-v-9deecb56]{background:#fff;border-radius:%?20?%;padding:%?30?%;box-sizing:border-box;margin-top:%?20?%;overflow:hidden}.add-content .content .box[data-v-9deecb56]{width:100%;height:%?220?%;background:#f6f6f6;border-radius:%?10?%;padding:%?30?%;box-sizing:border-box;margin-top:%?30?%}.add-content .content .box uni-textarea[data-v-9deecb56]{width:100%;height:100%;font-weight:400;font-size:%?30?%;color:#212121}.add-content .content .li[data-v-9deecb56]{display:flex;align-items:center;justify-content:space-between;padding:%?20?% 0;font-weight:500;font-size:%?30?%;color:#333}.add-content .content .li uni-image[data-v-9deecb56]{width:%?35?%;height:%?35?%}.add-content .content .li .img1[data-v-9deecb56]{display:block}.add-content .content .li .img2[data-v-9deecb56]{display:none}.add-content .content .li-on .img1[data-v-9deecb56]{display:none}.add-content .content .li-on .img2[data-v-9deecb56]{display:block}.add-content .title[data-v-9deecb56]{font-size:%?34?%;color:#333}.add-content .list[data-v-9deecb56]{width:110%}.add-content .list .upload[data-v-9deecb56]{width:%?150?%;height:%?150?%;background:#fff;border-radius:%?10?%;border:1px solid #ddd;float:left;font-weight:400;text-align:center;font-size:%?24?%;color:#999;margin-top:%?30?%}.add-content .list .upload uni-image[data-v-9deecb56]{width:%?50?%;height:%?50?%;display:block;margin:0 auto;margin-top:%?25?%;margin-bottom:%?10?%}.add-content .list .item[data-v-9deecb56]{width:%?150?%;height:%?150?%;border-radius:%?10?%;float:left;margin-top:%?30?%;overflow:hidden;position:relative;margin-right:%?12?%}.add-content .list .item .pic[data-v-9deecb56]{width:100%;height:100%}.add-content .list .item .del[data-v-9deecb56]{width:%?35?%;height:%?35?%;position:absolute;right:0;top:0;z-index:2}.add-fd[data-v-9deecb56]{background-color:#f3f4f5;width:100%;padding:%?30?% %?25?%;box-sizing:border-box;position:fixed;left:0;bottom:0;z-index:22}.add-fd .btn[data-v-9deecb56]{width:100%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?98?%;text-align:center;font-weight:400;font-size:%?30?%;color:#fff;letter-spacing:%?5?%}',""]),t.exports=e},ebfd:function(t,e,n){var i=n("dda6");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("2ef3a9f1",i,!0,{sourceMap:!1,shadowMode:!1})},fd1f:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABNlJREFUWEftmF1oHFUUx/9nZrPWB2ONxbj4QbVWMVgQBKEPfQv4UD9qMVFEqyG6ZyarUaKgqUGn1i98CQbdvXf8CLUqilWoQp99ED/Al1qlYhW1akN8UAxGs+3sXPeOs2E6TXZ2k9kNkd6n3bkf5zf/e+655wxhlTVaZbw4DdzqHVuWwkopcl13F4A7AKxLgP0NwB5m3r2cl1oWsBBigojubxJgnJlHonOKxeKlpmneDKAjfF72PG9foVD4Ob72koGllJsAfBlZ8DgAtQi8tpOt9fm+v8m27a/0f8dxjFwu9xOAC2NzDzNzT2rAruu+q5S6JVxwbyaTKdRT2vO8NwDcGI75gJlvigAfBXBBbP53zLwxFeBQ3YNAEGU83/c32rb9Yz1gIUQPEWlVg12tVCqbh4aGPtO/i8XiFYZh3F5zCSL6B8BbzPx9IrCUcp1hGJdVKpUF3cX3fWWa5hiArXoxIno1n8/f04gfSylfB3BnOO8jz/NGDcNY1C2VUkdt2/41uvZJg6WUTwN4CMAZjQAAOOH7/uVJ6tbWKpVK66tKfhs5X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