(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/views/order/evaluate/evaluate"],{"4bc7":function(t,e,s){"use strict";(function(t){s("2804");o(s("66fd"));var e=o(s("6d4a"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,s("543d")["createPage"])},5143:function(t,e,s){"use strict";var o;s.d(e,"b",(function(){return i})),s.d(e,"c",(function(){return a})),s.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement;t._self._c},a=[]},6355:function(t,e,s){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=getApp(),o={data:function(){return{value:5,showVideo:!1,isH5:!1,videos:"",comment:"",platform:"",imgUrl:[],goodData:{},colors:"",stars:[{id:1,types:!0,img:"/static/images/home/stars.png"},{id:2,types:!0,img:"/static/images/home/stars.png"},{id:3,types:!0,img:"/static/images/home/stars.png"},{id:4,types:!0,img:"/static/images/home/stars.png"},{id:5,types:!0,img:"/static/images/home/stars.png"}],starNoImg:"/static/images/home/star-no.png",starImg:"/static/images/home/stars.png",starValue:5}},created:function(){this.platform=t.getSystemInfoSync().platform,this.newVideo=t.createVideoContext("newVideo")},onLoad:function(t){var e=JSON.parse(t.goodData);this.setData({colors:s.globalData.newColor,goodData:e})},methods:{delImg:function(t){this.imgUrl.splice(t,1)},onChoose:function(){var e=this;t.showActionSheet({title:"选择上传类型",itemList:["图片","视频"],success:function(t){console.log(t),0==t.tapIndex?e.chooseImages():e.chooseVideo()}})},chooseImages:function(){var e=this;t.chooseImage({count:1,sizeType:["original","compressed"],success:function(s){if(console.log(s),e.imgUrl.length>=3)t.showToast({title:"最多上传3个",icon:"none"});else{var o={url:"/static/images/goods/four.jpg",type:1};e.imgUrl.push(o)}}})},chooseVideo:function(){var e=this;t.chooseVideo({count:1,sourceType:["camera","album"],success:function(s){if(console.log(s),e.imgUrl.length>=3)t.showToast({title:"最多上传3个",icon:"none"});else{var o={url:"https://fzdz.soft.haoyangsoft.com/uploads/system/videos/20200813/6c819d24ee6868aee33e150c4333329b.mp4",type:2,poster:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1603080909940&di=ac10c5f2c952dd1b40441bb696c55a88&imgtype=0&src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn%2Fw640h640%2F20180127%2F369b-fyqzcxh1087346.jpg"};e.imgUrl.push(o)}}})},setStar:function(t,e){var s=this;if(0==t.types)for(var o=0;o<=e;o++)console.log(s.stars[o].types),s.stars[o].types=!0,s.stars[o].img=s.starImg;else for(o=e+1;o<s.stars.length;o++)console.log(s.stars[o].types),s.stars[o].types=!1,s.stars[o].img=s.starNoImg;this.$forceUpdate();var i=this.stars.filter((function(t){return 1==t.types}));this.starValue=i.length},previewImg:function(e){var s=[];s[0]=e,t.previewImage({urls:s})},onshowVideo:function(t){this.videos=t,this.showVideo=!0},hideShow:function(){this.showVideo=!1},submit:function(){this.imgUrl.filter((function(t){return 1==t.type})),this.imgUrl.filter((function(t){return 2==t.type}));t.showToast({title:"提交成功"}),setTimeout((function(){t.navigateBack({delta:2})}),1500)},ondefault:function(){}},onShow:function(){}};e.default=o}).call(this,s("543d")["default"])},"6d4a":function(t,e,s){"use strict";s.r(e);var o=s("5143"),i=s("ae66");for(var a in i)"default"!==a&&function(t){s.d(e,t,(function(){return i[t]}))}(a);s("f4af"),s("98ea");var n,r=s("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"324248fb",null,!1,o["a"],n);e["default"]=c.exports},"98ea":function(t,e,s){"use strict";var o=s("b6f6"),i=s.n(o);i.a},ae66:function(t,e,s){"use strict";s.r(e);var o=s("6355"),i=s.n(o);for(var a in o)"default"!==a&&function(t){s.d(e,t,(function(){return o[t]}))}(a);e["default"]=i.a},b6f6:function(t,e,s){},b7a7:function(t,e,s){},f4af:function(t,e,s){"use strict";var o=s("b7a7"),i=s.n(o);i.a}},[["4bc7","common/runtime","common/vendor"]]]);