bztang-admin/addons/yun_shop/static/app/js/chunk-47c9afa2.45e608b2.js

1 line
26 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47c9afa2"],{"8eb9":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'#project_details .project_title[data-v-2a80a5ca]{background:#fff;padding:.875rem .9375rem;font-weight:700;line-height:1.5rem;font-size:.9375rem;text-align:left;color:#333;margin-bottom:.625rem}#project_details .project_title p[data-v-2a80a5ca]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-all}#project_details .storeList[data-v-2a80a5ca]{margin-bottom:.625rem;margin-top:.5625rem;padding-left:.625rem;overflow-x:scroll}#project_details .storeList[data-v-2a80a5ca],#project_details .storeList .storeMore[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .storeList .storeMore[data-v-2a80a5ca]{font-size:.625rem;color:#8c8c8c;font-weight:400;line-height:.8rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-right:1rem}#project_details .storeList .sotrelis[data-v-2a80a5ca]{background:#fff;width:15.625rem;height:4.8438rem;padding:.9375rem .625rem;border-radius:.4688rem;margin-right:.625rem;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}#project_details .storeList .sotrelis .sotreBottom[data-v-2a80a5ca]{font-weight:400;text-align:left;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;font-size:.625rem}#project_details .storeList .sotrelis .sotreBottom .iconfont[data-v-2a80a5ca]{font-size:.4375rem;color:#aaa;margin-top:.3563rem}#project_details .storeList .sotrelis .sotreBottom .locDetail[data-v-2a80a5ca]{color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:.525rem}#project_details .storeList .sotrelis .storeTop[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .storeList .sotrelis .storeTop .storeDetail[data-v-2a80a5ca]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-left:.375rem}#project_details .storeList .sotrelis .storeTop .storeDetail .top[data-v-2a80a5ca]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#project_details .storeList .sotrelis .storeTop .storeDetail .top .title[data-v-2a80a5ca]{font-size:.75rem;color:#202020;text-align:left}#project_details .storeList .sotrelis .storeTop .storeDetail .top .iconStore[data-v-2a80a5ca]{width:.8125rem;height:.75rem}#project_details .storeList .sotrelis .storeTop .storeDetail .top .iconStore img[data-v-2a80a5ca]{width:100%;height:100%}#project_details .storeList .sotrelis .storeTop .storeDetail .bottom[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#project_details .storeList .sotrelis .storeTop .storeDetail .bottom .loc[data-v-2a80a5ca],#project_details .storeList .sotrelis .storeTop .storeDetail .bottom .time[data-v-2a80a5ca]{font-size:.625rem;color:#999}#project_details .storeList .sotrelis .storeTop .image[data-v-2a80a5ca]{background:#999;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:2rem;height:2rem}#project_details .storeList .sotrelis .storeTop .image img[data-v-2a80a5ca]{width:100%;height:100%}#project_details .goodslis[data-v-2a80a5ca]{padding:.8438rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .goodslis .img[data-v-2a80a5ca]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:3.75rem;height:3.75rem;margin-right:.5625rem}#project_details .goodslis .img img[data-v-2a80a5ca]{width:100%;height:100%}#project_details .goodslis .right[data-v-2a80a5ca]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}#project_details .goodslis .right .title[data-v-2a80a5ca]{text-align:left;font-size:.875rem;color:#202020;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}#project_details .goodslis .right .rightBottom[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-top:.625rem}#project_details .goodslis .right .rightBottom .price[data-v-2a80a5ca]{font-size:.9375rem;font-weight:400;color:#f14e4e}#project_details .goodslis .right .rightBottom .saleNum[data-v-2a80a5ca]{font-size:.6875rem;color:#8b8b8b;font-weight:400}#project_details .storeBox[data-v-2a80a5ca]{padding:.75rem .9375rem;background:#fff;margin-bottom:.625rem}#project_details .storeBox .sotreDetail[data-v-2a80a5ca]{font-size:.75rem;color:#575757;text-align:left;width:100%}#project_details .storeBox .title[data-v-2a80a5ca]{font-size:.9375rem;color:#202020;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#project_details .storeBox .title .line[data-v-2a80a5ca]{width:.125rem;height:.8125rem;background:#ce811d;border-radius:.0625rem;margin-right:.4375rem}#project_details .rotation[data-v-2a80a5ca]{width:100%}#project_details .rotation .top[data-v-2a80a5ca]{position:fixed;width:100%;z-index:1000;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:.6rem}#project_details .rotation .top[data-v-2a80a5ca],#project_details .rotation .top .little_icon[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#project_details .rotation .top .little_icon[data-v-2a80a5ca]{width:1.5rem;height:1.5rem;border-radius:50%;background-color:#000;opacity:.3;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:1.2rem;color:#fff}#project_details .rotation .top .left[data-v-2a80a5ca]{margin-left:.78rem}#project_details .rotation .top .right[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin-right:.5rem}#project_details .rotation .display[data-v-2a80a5ca]{display:none}#project_details .rotation img[data-v-2a80a5ca]{width:100%}#project_details .project_list[data-v-2a80a5ca]{background:#fff;min-height:100vh}#project_details .project_list .goods_content[data-v-2a80a5ca]{padding:.5rem 1rem}#project_details .project_list .goodsList ul li[data-v-2a80a5ca]{padding:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .project_list .goodsList ul li .goods_left[data-v-2a80a5ca]{width:5.06rem;height:5.06rem;border-radius:.38rem}#project_details .project_list .goodsList ul li .goods_left img[data-v-2a80a5ca]{width:5.06rem;height:5.06rem}#project_details .project_list .goodsList ul li .goods_right[data-v-2a80a5ca]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;background:#fff;padding:.5rem}#project_details .project_list .goodsList ul li .goods_right .goods_name[data-v-2a80a5ca]{line-height:1.2rem;font-size:1rem;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;padding-left:.63rem;text-align:left;margin-bottom:.4rem}#project_details .project_list .goodsList ul li .goods_right .goods_message[data-v-2a80a5ca]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;margin-left:.63rem}#project_details .project_list .goodsList ul li .goods_right .goods_message .left[data-v-2a80a5ca]{font-size:1rem;line-height:1.5rem;color:#ffac27}#project_details .project_list .goodsList ul li .goods_right .goods_message .right[data-v-2a80a5ca]{font-size:.8rem;line-height:1.5rem;color:#ccc}#project_details .project_list .store_list li[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.59rem 1.16rem .63rem .63rem;border-bottom:1px solid #f2f2f7}#project_details .project_list .store_list li .store_list_left[data-v-2a80a5ca]{width:5.53rem;height:5.03rem}#project_details .project_list .store_list li .store_list_left img[data-v-2a80a5ca]{width:5.53rem;height:100%}#project_details .project_list .store_list li .store_list_right[data-v-2a80a5ca]{margin-left:.63rem}#project_details .project_list .store_list li .store_list_right .top[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:.56rem;margin-bottom:.4rem;font-size:14px}#project_details .project_list .store_list li .store_list_right .top .name[data-v-2a80a5ca]{font-size:16px;line-height:1.5rem;height:1.5rem;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:12rem;text-align:left}#project_details .project_list .store_list li .store_list_right .top .distance[data-v-2a80a5ca]{line-height:1.5rem;height:1.5rem;color:#ccc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:4rem}#project_details .project_list .store_list li .store_list_right .time[data-v-2a80a5ca]{text-align:left;line-height:1.5rem;color:#666;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#project_details .project_list .store_list li .store_list_right .address[data-v-2a80a5ca]{text-align:left;line-height:1.2rem;color:#f4a82e;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical}#project_details .project_list .store_list li .store_list_right .consult[data-v-2a80a5ca]{color:#fff;width:2.81rem;height:1.38rem;background-color:#f4a82e;border-radius:.69rem;text-align:center;line-height:1.38rem;-webkit-box-flex:0;-webkit-flex:0 0 3rem;-ms-flex:0 0 3rem;flex:0 0 3rem;margin-right:.5rem}.evaluateBox[data-v-2a80a5ca]{padding:.75rem .9375rem;background:#fff;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.evaluateBox[data-v-2a80a5ca],.evaluateBox .evaRight[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.evaluateBox .evaRight[data-v-2a80a5ca]{font-size:.6875rem;font-weight:400;color:#f14e4e}.evaluateBox .title[data-v-2a80a5ca]{font-size:.9375rem;color:#202020;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.evaluateBox .title .line[data-v-2a80a5ca]{width:.125rem;height:.8125rem;background:#ce811d;border-radius:.0625rem;margin-right:.4375rem}.evaluate[data-v-2a80a5ca]{padding:0 .9375rem;background:#fff}.evaluate ul li[data-v-2a80a5ca]:first-child{padding-top:0}.evaluate ul li[data-v-2a80a5ca]{padding-top:.9375rem}.evaluate ul li .evaluate_top[data-v-2a80a5ca]{padding-top:.41rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.evaluate ul li .evaluate_top .evaluate_left[data-v-2a80a5ca]{width:2rem;height:2rem}.evaluate ul li .evaluate_top .evaluate_left img[data-v-2a80a5ca]{width:2rem;height:2rem;border-radius:50%}.evaluate ul li .evaluate_top .evaluate_right[data-v-2a80a5ca]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:.5rem}.evaluate ul li .evaluate_top .evaluate_right .top[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:.09rem}.evaluate ul li .evaluate_top .evaluate_right .top .left[data-v-2a80a5ca]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.evaluate ul li .evaluate_top .evaluate_right .top .left .name[data-v-2a80a5ca]{max-width:5rem;font-size:.6875rem;line-height:1rem;height:1rem;text-align:left;color:#7b7b7b;background-color:transparent;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.evaluate ul li .evaluate_top .evaluate_right .top .left .stella[data-v-2a80a5ca]{width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.evaluate ul li .evaluate_top .evaluate_right .top .right[data-v-2a80a5ca]{line-height:1rem;height:1rem;font-size:.625rem;color:#999}.evaluate ul li .evaluate_top .evaluate_right .bottom[data-v-2a80a5ca]{margin-top:.7188rem}.evaluate ul li .evaluate_top .evaluate_right .bottom .assess[data-v-2a80a5ca]{font-size:.75rem;font-weight:400;text-align:left;line-height:.94rem;max-height:3.76rem;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;color:#4c4c4c;padding-bottom:.69rem}.evaluate ul li .evaluate_top .evaluate_right .bottom .picture[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:1.25rem}.evaluate ul li .evaluate_top .evaluate_right .bottom .picture .picture_li[data-v-2a80a5ca],.evaluate ul li .evaluate_top .evaluate_right .bottom .picture .picture_li img[data-v-2a80a5ca]{width:4.31rem;height:4.31rem}.evaluate ul li .evaluate_bottom .many_reply[data-v-2a80a5ca]{padding:0 1rem}.evaluate ul li .evaluate_bottom .many_reply .comment-time[data-v-2a80a5ca]{font-size:14px;color:#999;padding:.5rem .875rem}.evaluate ul li .evaluate_bottom .many_reply .imgflex[data-v-2a80a5ca]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0 .875rem}.evaluate ul li .evaluate_bottom .many_reply .imgflex .photobox[data-v-2a80a5ca]{position:relative;width:4.938rem;height:4.938rem;background-color:#fcfcfc;border-radius:.156rem;border:.031rem solid #ccc;overflow:hidden;margin-right:.25rem;margin-bottom:.25rem}.title-text[data-v-2a80a5ca]{display:block;position:relative;color:#999;text-align:center;font-weight:400;padding:.875rem 5rem;background:#fff}.title-text[data-v-2a80a5ca]:after,.title-text[data-v-2a80a5ca]:before{content:"";position:absolute;top:50%;background:#ccced0;width:20%;height:1px}.title-text[data-v-2a80a5ca]:before{left:15%}.title-text[data-v-2a80a5ca]:after{right:15%}',""]),t.exports=e},ac0d:function(t,e,a){"use strict";a.d(e,"a",(function(){return s}));var i=document.documentElement,o=document.body,s={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return i&&i.scrollTop?t=i.scrollTop:o&&(t=o.scrollTop),t},getClientHeight:function(){var t=0;return t=o.clientHeight&&i.clientHeight?Math.min(o.clientHeight,i.clientHeight):Math.max(o.clientHeight,i.clientHeight),t},getScrollHeight:function(){return Math.max(o.scrollHeight,i.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},ac753:function(t,e,a){"use strict";a("c0eb")},c0eb:function(t,e,a){var i=a("8eb9");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("b515d78a",i,!0,{sourceMap:!1,shadowMode:!1})},f731:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"project_details"}},[a("div",{ref:"rotation",staticClass:"rotation",style:{height:3==t.fun.getPhoneEnv()?"375px":"100vw"}},[a("div",{staticClass:"top",class:{display:t.display},style:{width:3==t.fun.getPhoneEnv()?"375px":""}},[a("div",{staticClass:"left"},[a("div",{staticClass:"little_icon",on:{click:t.goBack}},[a("i",{staticClass:"iconfont icon-member-left",staticStyle:{"line-height":"1.5rem"}})])]),a("div",{staticClass:"right"},[a("div",{staticClass:"little_icon",on:{click:function(e){return t.gotoPage("home")}}},[a("i",{staticClass:"iconfont icon-ai-home"})]),a("div",{staticClass:"little_icon",staticStyle:{"margin-left":"0.47rem"},on:{click:function(e){return t.gotoPage("member")}}},[a("i",{staticClass:"iconfont icon-wode-wode"})])])]),a("c-myswipe",{style:{height:3==t.fun.getPhoneEnv()?"375px":"100vw"},attrs:{"pagination-visible":!0,slides:t.project.banner_imgs,repeating:!0,auto:0}},t._l(t.project.banner_imgs,(function(e,i){return a("div",{key:i},[e?[a("img",{attrs:{src:e,width:"100%"}})]:t._e()],2)})),0)],1),t.project.title?a("div",{staticClass:"project_title"},[a("p",[t._v(t._s(t.project.title))])]):t._e(),t._m(0),a("div",{staticClass:"storeList"},[t._l(t.store,(function(e){return a("div",{key:e.id,staticClass:"sotrelis",on:{click:function(a){return t.toRouter(e.id)}}},[a("div",{staticClass:"storeTop"},[a("div",{staticClass:"image"},[a("img",{attrs:{src:e.thumb,alt:""}})]),a("div",{staticClass:"storeDetail"},[a("div",{staticClass:"top"},[a("div",{staticClass:"title"},[t._v(t._s(e.store_name))]),t._m(1,!0)]),a("div",{staticClass:"bottom"},[a("div",{staticClass:"time"},[t._v("营业时间:"+t._s(e.business_hours_start)+"-"+t._s(e.business_hours_end))]),a("div",{staticClass:"loc"},[t._v(t._s(e.distance)+t._s(e.unit))])])])]),a("div",{staticClass:"sotreBottom"},[a("i",{staticClass:"iconfont icon-icon_location"}),a("div",{staticClass:"locDetail"},[t._v(t._s(e.address))])])])})),t.storeLast.current_page<t.storeLast.last_page?a("div",{staticClass:"storeMore",on:{click:function(e){return e.stopPropagation(),t.MoreStore.apply(null,arguments)}}},[t._v("查看更多"),a("van-icon",{attrs:{name:"arrow-down"}})],1):t._e()],2),a("div",{staticClass:"storeBox"},[t._m(2),t._l(t.goods,(function(e){return a("div",{key:e.id,staticClass:"goodslis",on:{click:function(a){return t.goGoodsBtn(e.id)}}},[a("div",{staticClass:"img"},[a("img",{attrs:{src:e.thumb,alt:""}})]),a("div",{staticClass:"right"},[a("div",{staticClass:"title"},[t._v(t._s(e.title))]),a("div",{staticClass:"rightBottom"},[a("div",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.price))]),a("div",{staticClass:"saleNum"},[t._v("已售"+t._s(e.show_sales))])])])])}))],2),a("div",{staticClass:"evaluateBox"},[t._m(3),a("div",{staticClass:"evaRight"},[t._v("查看全部 ("+t._s(t.commentListtotal)+")"),a("van-icon",{attrs:{name:"arrow"}})],1)]),a("div",{staticClass:"evaluate"},[a("ul",t._l(t.commentList,(function(e,i){return a("li",{key:i},[a("div",{staticClass:"evaluate_top"},[e.head_img_url?a("div",{staticClass:"evaluate_left"},[a("img",{attrs:{src:e.head_img_url,alt:""}})]):t._e(),a("div",{staticClass:"evaluate_right"},[a("div",{staticClass:"top"},[a("div",{staticClass:"left"},[a("div",{staticClass:"name"},[t._v(t._s(e.nick_name))]),a("div",{staticClass:"stella"},[a("van-rate",{staticStyle:{"text-align":"left"},attrs:{color:"#FF9600",readonly:"",size:14},model:{value:e.project_level,callback:function(a){t.$set(e,"project_level",a)},expression:"item.project_level"}}),a("div",{staticClass:"right"},[t._v(t._s(e.created_at))])],1)])]),a("div",{staticClass:"bottom"},[a("div",{staticClass:"assess"},[t._v(t._s(e.content))]),a("div",{staticClass:"picture"},t._l(e.images,(function(t,e){return a("div",{key:e,staticClass:"picture_li"},[a("img",{attrs:{src:t,alt:""}})])})),0)])])]),a("div",{staticClass:"evaluate_bottom"},[e.has_many_reply&&e.has_many_reply.length>0?a("div",{staticClass:"many_reply"},t._l(e.has_many_reply,(function(e){return a("div",{key:e.id},[a("p",{staticStyle:{padding:"0.5rem 1rem","text-align":"left"}},[t._v("追加评论: "+t._s(e.content))]),a("div",{staticClass:"imgflex"},t._l(e.images,(function(t,e){return a("div",{key:e},[a("div",{staticClass:"photobox"},[a("img",{staticStyle:{width:"100%",height:"100%","object-fit":"contain"},attrs:{src:t}})])])})),0),a("div",{staticClass:"comment-time",staticStyle:{"text-align":"left"}},[t._v(t._s(e.created_at))])])})),0):t._e()])])})),0)]),a("div",{staticStyle:{"margin-top":"1rem"}},[a("p",{staticClass:"title-text"},[t._v("商品详情")]),a("div",{staticStyle:{padding:"0.9375rem",background:"#fff"},domProps:{innerHTML:t._s(t.project.content)}})])])},o=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"storeBox"},[a("div",{staticClass:"title"},[a("div",{staticClass:"line"}),t._v(" 服务门店 ")]),a("div",{staticClass:"sotreDetail"},[t._v("购买项目套餐后,即可服务门店核销项目!")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"iconStore"},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/project_details_shop@2x.png",alt:""}})])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title"},[a("div",{staticClass:"line"}),t._v(" 商品 ")])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title"},[a("div",{staticClass:"line"}),t._v(" 评价 ")])}],s=(a("e7e5"),a("d399")),l=(a("14d9"),a("99af"),a("d3b7"),a("25f0"),a("e9c4"),a("6968")),r=a("c992"),n=a("ac0d"),c={mixins:[n["a"]],data:function(){return{active:0,project:"",goods:"",store:"",display:!1,isLoadMore:!0,page:1,total_page:0,titleInfo:"",commentList:[],commentListtotal:0,storeLast:[]}},activated:function(){this.project_id=this.$route.params.project_id,this.ready(),this.getComment();var t=this;setTimeout((function(){window.scrollTo(0,0),t.display=!1}),20)},computed:{appointmentLang:function(){return this.$store.state.shopLanguage.appointment?this.$store.state.shopLanguage.appointment:{worker:"技师",project:"项目",service:"服务"}}},deactivated:function(){window.document.removeEventListener("touchstart",this.move,!1),window.document.removeEventListener("touchmove",this.move,!1)},methods:{initData:function(){this.active=0},gotoPage:function(t){this.$router.push(this.fun.getUrl(t,{}))},toRouter:function(t){this.$router.push(this.fun.getUrl("HomeSeller",{store_id:t,fromHome:1}))},goBack:function(){window.history.length<=1?this.$router.push(this.fun.getUrl("home",{})):this.$router.go(-1)},goGoodsBtn:function(t){this.$router.push(this.fun.getUrl("goods",{id:t}))},tabDataBtn:function(t){2==t&&0==this.commentList&&this.getComment()},slider:function(){var t=this;window.onscroll=function(){var e=document.documentElement.scrollTop||document.body.scrollTop;e<=t.$refs.rotation.offsetHeight?t.display=!1:t.display=!0,document.documentElement.scrollHeight==document.documentElement.clientHeight+e&&(document.addEventListener("touchstart",this.move,!1),document.addEventListener("touchmove",this.move,!1))}},move:function(t){t.cancelable&&(t.defaultPrevented||t.preventDefault())},MoreStore:function(){var t={project_id:this.project_id,lng:this.point.lng,lat:this.point.lat};this.$router.push(this.fun.getUrl("VerificationStoreList",{},t))},getComment:function(){var t=this;$http.get("plugin.appointment.frontend.comment.get-comment-by-project-id",{project_id:this.project_id,page:this.page},"获取中").then((function(e){1===e.result?(t.isLoadMore=!0,t.total_page=e.data.last_page,t.total_page||(t.total_page=0),t.commentListtotal=e.data.total,t.commentList=e.data.data):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getMoreData:function(){if(2==this.active){var t=this;t.isLoadMore=!1,this.page>=this.total_page||(this.page=this.page+1,$http.get("plugin.appointment.frontend.comment.get-comment-by-project-id",{project_id:this.project_id,page:t.page},"加载中").then((function(e){if(t.isLoadMore=!0,1!==e.result)return t.page=t.page-1,void(t.isLoadMore=!1);var a=e.data.data;t.commentList=t.commentList.concat(a)}),(function(t){})))}},ready:function(){var t=this;this.initData(),this.fun.getLocation().then((function(e){t.point=e.point,t.address=e.title,t.city=e.city,t.getData()})).catch((function(t){}))},getNewList:function(){var t=this;$http.get("plugin.appointment.frontend.project.getDetailStore",{lng:this.point.lng,lat:this.point.lat,project_id:this.project_id},"获取中").then((function(e){1===e.result?(t.store=e.data.data,t.storeLast=e.data):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getData:function(){var t=this;$http.get("plugin.appointment.frontend.project.get-detail-by-id",{lng:this.point.lng,lat:this.point.lat,project_id:this.project_id},"获取中").then((function(e){t.fun.setWXTitle(t.appointmentLang.project+"列表"),t.slider(),1===e.result?(t.project=e.data.project,t.goods=e.data.goods,t.getNewList()):t.$dialog.alert({message:e.msg})})).catch((function(t){}))},getLocation:function(){var t=this,e=new AMap.Map("iCenter");function a(e){var a=e.position.toString().split(",");t.point={lat:a[1],lng:a[0]},t.address=e.formattedAddress,t.title=e.formattedAddress,t.city=t.fun.isTextEmpty(e.addressComponent.city)?e.addressComponent.province:e.addressComponent.city;var i={address:e.formattedAddress,city:t.city,title:e.formattedAddress,point:t.point};t.$store.commit("updateLocation",i),t.$store.commit("setLocation",i),window.localStorage.setItem("myLocation",JSON.stringify(i)),t.getData()}function i(t){Object(s["a"])("定位失败")}e.plugin("AMap.Geolocation",(function(){var t=new AMap.Geolocation({enableHighAccuracy:!0,timeout:1e4,maximumAge:0,convert:!0,showButton:!0,buttonPosition:"LB",buttonOffset:new AMap.Pixel(10,20),showMarker:!0,showCircle:!0,panToLocation:!0,zoomToAccuracy:!0});e.addControl(t),t.getCurrentPosition(),AMap.event.addListener(t,"complete",a),AMap.event.addListener(t,"error",i)}))}},components:{cTitle:l["a"],cMyswipe:r["a"]}},d=c,p=d,m=(a("ac753"),a("2877")),f=Object(m["a"])(p,i,o,!1,null,"2a80a5ca",null);e["default"]=f.exports}}]);