(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-798ca7d3"],{"69fb":function(t,s,e){"use strict";e("6f15")},"6f15":function(t,s,e){},a0ea:function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t._self._c;t._self._setupProxy;return s("div",[t.info.images&&t.info.images.length>0?s("div",[s("van-swipe",{staticClass:"detail_bg",attrs:{autoplay:3e3,"indicator-color":"white"},on:{change:t.onChange},scopedSlots:t._u([{key:"indicator",fn:function(){return[s("div",{staticClass:"custom-indicator"},[t._v(" "+t._s(t.current+1)+"/"+t._s(t.info.images_url.length)+" ")])]},proxy:!0}],null,!1,2946852967)},t._l(t.info.images_url,(function(t,e){return s("van-swipe-item",{key:e},[s("van-image",{attrs:{width:"100%",height:"240",src:t,"show-loading":""}})],1)})),1),s("div",{staticClass:"style"})],1):t._e(),s("div",{staticClass:"content"},[s("div",{staticClass:"content_top",style:{paddingTop:t.info.images.length>0?"0px":"16px"}},[s("div",{staticClass:"title"},[t._v(t._s(t.info.name))])]),s("div",{staticClass:"des-content",domProps:{innerHTML:t._s(t.info.des)}}),s("div",{staticClass:"evaluations_tab"},[s("div",{staticClass:"evaluations_tab_title"},[t._v("历史评价")]),t.commentList.length>0?s("div",{staticClass:"evaluations_more",on:{click:t.toComment}},[s("span",[t._v("更多")]),s("van-icon",{staticClass:"evaluations_icon",attrs:{name:"arrow",color:"#C0C4CC"}})],1):t._e()]),t.commentList.length>0?s("div",{staticClass:"evaluations_content"},[s("span",{staticClass:"avatar",style:{backgroundImage:"url("+t.commentList[0].member_avatar_url+")"}}),s("div",{staticClass:"evaluations_top"},[s("span",{staticClass:"user_name"},[t._v(t._s(t.commentList[0].member_name))]),s("van-rate",{attrs:{size:15,readonly:"",icon:t.star,"void-icon":t.staro,gutter:6},model:{value:t.commentList[0].level,callback:function(s){t.$set(t.commentList[0],"level",s)},expression:"commentList[0].level"}})],1),s("div",{staticClass:"evaluations_time"},[t._v(t._s(t.commentList[0].c_time))]),s("div",{staticClass:"evaluations_des"},[t._v(t._s(t.commentList[0].des))]),t.commentList[0].images_url.length>0?s("div",{staticClass:"evaluations_images"},t._l(t.commentList[0].images_url,(function(t,e){return s("van-image",{key:e,staticClass:"evaluations_image",attrs:{width:"110",height:"110",src:t}})})),1):t._e()]):s("div",{staticClass:"evaluations_content no_content"},[t._v(" 暂无评价 "),s("div",{staticClass:"to_comment",on:{click:t.toComment}},[t._v("去评价")])])])])},a=[],n=(e("ef6f"),e("82a8")),o=(e("591c"),e("7713")),c=(e("93ac"),e("bb33")),l=(e("14d9"),e("9ab4")),m=e("60a3"),r=e("d4c0");let d=class extends m["d"]{constructor(){super(...arguments),this.current=0,this.info={images:[]},this.activityList=[],this.commentList=[]}get goods_id(){return+this.$route.query.goods_id}get type_id(){return+this.$route.query.type_id}created(){this.getInfo(),this.getComment()}getInfo(){this.$request("/wttCms/goods/get",{goods_id:this.goods_id}).then(t=>{this.info=t.data})}onChange(t){this.current=t}getComment(){const t={small_type_id:21,topic_id:this.goods_id,size:1};this.$request("/wttCms/wxComment/list",t).then(t=>{this.commentList=t.data.list})}toComment(){this.$gmRouter.push("/comment?topic_id="+this.$route.query.goods_id+"&small_type_id=21")}};d=Object(l["a"])([Object(m["a"])({[c["a"].name]:c["a"],[o["a"].name]:o["a"],[n["a"].name]:n["a"],filters:{parseTime:r["c"]}})],d);var _=d,u=_,v=(e("69fb"),e("2877")),g=Object(v["a"])(u,i,a,!1,null,"384909ea",null);s["default"]=g.exports}}]);
//# sourceMappingURL=chunk-798ca7d3.b15348ca.js.map