bztang-admin/addons/yun_shop/static/app/js/chunk-e38b08a0.e3573c53.js

1 line
26 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e38b08a0"],{"8b18":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#project_details .project_title[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{margin-bottom:.625rem;margin-top:.5625rem;padding-left:.625rem;overflow-x:scroll}#project_details .storeList[data-v-a676ec32],#project_details .storeList .storeMore[data-v-a676ec32]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .storeList .storeMore[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32]{font-size:.4375rem;color:#aaa;margin-top:.3563rem}#project_details .storeList .sotrelis .sotreBottom .locDetail[data-v-a676ec32]{color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:.525rem}#project_details .storeList .sotrelis .storeTop[data-v-a676ec32]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .storeList .sotrelis .storeTop .storeDetail[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{font-size:.75rem;color:#202020;text-align:left}#project_details .storeList .sotrelis .storeTop .storeDetail .top .iconStore[data-v-a676ec32]{width:.8125rem;height:.75rem}#project_details .storeList .sotrelis .storeTop .storeDetail .top .iconStore img[data-v-a676ec32]{width:100%;height:100%}#project_details .storeList .sotrelis .storeTop .storeDetail .bottom[data-v-a676ec32]{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-a676ec32],#project_details .storeList .sotrelis .storeTop .storeDetail .bottom .time[data-v-a676ec32]{font-size:.625rem;color:#999}#project_details .storeList .sotrelis .storeTop .image[data-v-a676ec32]{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-a676ec32]{width:100%;height:100%}#project_details .goodslis[data-v-a676ec32]{padding:.8438rem 0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .goodslis .img[data-v-a676ec32]{-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-a676ec32]{width:100%;height:100%}#project_details .goodslis .right[data-v-a676ec32]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;overflow:hidden}#project_details .goodslis .right .title[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{font-size:.9375rem;font-weight:400;color:#f14e4e}#project_details .goodslis .right .rightBottom .saleNum[data-v-a676ec32]{font-size:.6875rem;color:#8b8b8b;font-weight:400}#project_details .storeBox[data-v-a676ec32]{padding:.75rem .9375rem;background:#fff;margin-bottom:.625rem}#project_details .storeBox .sotreDetail[data-v-a676ec32]{font-size:.75rem;color:#575757;text-align:left;width:100%}#project_details .storeBox .title[data-v-a676ec32]{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-a676ec32]{width:.125rem;height:.8125rem;background:#ce811d;border-radius:.0625rem;margin-right:.4375rem}#project_details .rotation[data-v-a676ec32]{width:100%}#project_details .rotation .top[data-v-a676ec32]{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-a676ec32],#project_details .rotation .top .little_icon[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{margin-left:.78rem}#project_details .rotation .top .right[data-v-a676ec32]{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-a676ec32]{display:none}#project_details .rotation img[data-v-a676ec32]{width:100%}#project_details .project_list[data-v-a676ec32]{background:#fff;min-height:100vh}#project_details .project_list .goods_content[data-v-a676ec32]{padding:.5rem 1rem}#project_details .project_list .goodsList ul li[data-v-a676ec32]{padding:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#project_details .project_list .goodsList ul li .goods_left[data-v-a676ec32]{width:5.06rem;height:5.06rem;border-radius:.38rem}#project_details .project_list .goodsList ul li .goods_left img[data-v-a676ec32]{width:5.06rem;height:5.06rem}#project_details .project_list .goodsList ul li .goods_right[data-v-a676ec32]{-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-a676ec32]{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-a676ec32]{-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-a676ec32]{font-size:1rem;line-height:1.5rem;color:#ffac27}#project_details .project_list .goodsList ul li .goods_right .goods_message .right[data-v-a676ec32]{font-size:.8rem;line-height:1.5rem;color:#ccc}#project_details .project_list .store_list li[data-v-a676ec32]{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-a676ec32]{width:5.53rem;height:5.03rem}#project_details .project_list .store_list li .store_list_left img[data-v-a676ec32]{width:5.53rem;height:100%}#project_details .project_list .store_list li .store_list_right[data-v-a676ec32]{margin-left:.63rem}#project_details .project_list .store_list li .store_list_right .top[data-v-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32]{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-a676ec32],.evaluateBox .evaRight[data-v-a676ec32]{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-a676ec32]{font-size:.6875rem;font-weight:400;color:#f14e4e}.evaluateBox .title[data-v-a676ec32]{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-a676ec32]{width:.125rem;height:.8125rem;background:#ce811d;border-radius:.0625rem;margin-right:.4375rem}.evaluate[data-v-a676ec32]{padding:0 .9375rem;background:#fff}.evaluate ul li[data-v-a676ec32]:first-child{padding-top:0}.evaluate ul li[data-v-a676ec32]{padding-top:.9375rem}.evaluate ul li .evaluate_top[data-v-a676ec32]{padding-top:.41rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.evaluate ul li .evaluate_top .evaluate_left[data-v-a676ec32]{width:2rem;height:2rem}.evaluate ul li .evaluate_top .evaluate_left img[data-v-a676ec32]{width:2rem;height:2rem;border-radius:50%}.evaluate ul li .evaluate_top .evaluate_right[data-v-a676ec32]{-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-a676ec32]{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-a676ec32]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.evaluate ul li .evaluate_top .evaluate_right .top .left .name[data-v-a676ec32]{font-size:.6875rem;line-height:1rem;height:1rem;text-align:left;color:#7b7b7b;margin-bottom:.5rem}.evaluate ul li .evaluate_top .evaluate_right .top .left .stella[data-v-a676ec32]{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-a676ec32]{line-height:1rem;height:1rem;font-size:.625rem;color:#999}.evaluate ul li .evaluate_top .evaluate_right .bottom[data-v-a676ec32]{margin-top:.7188rem}.evaluate ul li .evaluate_top .evaluate_right .bottom .assess[data-v-a676ec32]{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-a676ec32]{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-a676ec32],.evaluate ul li .evaluate_top .evaluate_right .bottom .picture .picture_li img[data-v-a676ec32]{width:4.31rem;height:4.31rem}.evaluate ul li .evaluate_bottom .many_reply[data-v-a676ec32]{padding:0 1rem}.evaluate ul li .evaluate_bottom .many_reply .comment-time[data-v-a676ec32]{font-size:14px;color:#999;padding:.5rem .875rem}.evaluate ul li .evaluate_bottom .many_reply .imgflex[data-v-a676ec32]{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-a676ec32]{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}",""]),t.exports=e},ac0d:function(t,e,i){"use strict";i.d(e,"a",(function(){return s}));var a=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 a&&a.scrollTop?t=a.scrollTop:o&&(t=o.scrollTop),t},getClientHeight:function(){var t=0;return t=o.clientHeight&&a.clientHeight?Math.min(o.clientHeight,a.clientHeight):Math.max(o.clientHeight,a.clientHeight),t},getScrollHeight:function(){return Math.max(o.scrollHeight,a.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(){}}}},b248:function(t,e,i){"use strict";i("ef47")},ef47:function(t,e,i){var a=i("8b18");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("499e").default;o("728e63d3",a,!0,{sourceMap:!1,shadowMode:!1})},f731:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"project_details"}},[i("div",{ref:"rotation",staticClass:"rotation",style:{height:3==t.fun.getPhoneEnv()?"375px":"100vw"}},[i("div",{staticClass:"top",class:{display:t.display},style:{width:3==t.fun.getPhoneEnv()?"375px":""}},[i("div",{staticClass:"left"},[i("div",{staticClass:"little_icon",on:{click:t.goBack}},[i("i",{staticClass:"iconfont icon-member-left",staticStyle:{"line-height":"1.5rem"}})])]),i("div",{staticClass:"right"},[i("div",{staticClass:"little_icon",on:{click:function(e){return t.gotoPage("home")}}},[i("i",{staticClass:"iconfont icon-ai-home"})]),i("div",{staticClass:"little_icon",staticStyle:{"margin-left":"0.47rem"},on:{click:function(e){return t.gotoPage("member")}}},[i("i",{staticClass:"iconfont icon-wode-wode"})])])]),i("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,a){return i("div",{key:a},[e?[i("img",{attrs:{src:e,width:"100%"}})]:t._e()],2)})),0)],1),t.project.title?i("div",{staticClass:"project_title"},[i("p",[t._v(t._s(t.project.title))])]):t._e(),t._m(0),i("div",{staticClass:"storeList"},[t._l(t.store,(function(e){return i("div",{key:e.id,staticClass:"sotrelis",on:{click:function(i){return t.toRouter(e.id)}}},[i("div",{staticClass:"storeTop"},[i("div",{staticClass:"image"},[i("img",{attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"storeDetail"},[i("div",{staticClass:"top"},[i("div",{staticClass:"title"},[t._v(t._s(e.store_name))]),t._m(1,!0)]),i("div",{staticClass:"bottom"},[i("div",{staticClass:"time"},[t._v("营业时间:"+t._s(e.business_hours_start)+"-"+t._s(e.business_hours_end))]),i("div",{staticClass:"loc"},[t._v(t._s(e.distance)+t._s(e.unit))])])])]),i("div",{staticClass:"sotreBottom"},[i("i",{staticClass:"iconfont icon-icon_location"}),i("div",{staticClass:"locDetail"},[t._v(t._s(e.address))])])])})),t.storeLast.current_page<t.storeLast.last_page?i("div",{staticClass:"storeMore",on:{click:function(e){return e.stopPropagation(),t.MoreStore.apply(null,arguments)}}},[t._v("查看更多"),i("van-icon",{attrs:{name:"arrow-down"}})],1):t._e()],2),i("div",{staticClass:"storeBox"},[t._m(2),t._l(t.goods,(function(e){return i("div",{key:e.id,staticClass:"goodslis",on:{click:function(i){return t.goGoodsBtn(e.id)}}},[i("div",{staticClass:"img"},[i("img",{attrs:{src:e.thumb,alt:""}})]),i("div",{staticClass:"right"},[i("div",{staticClass:"title"},[t._v(t._s(e.title))]),i("div",{staticClass:"rightBottom"},[i("div",{staticClass:"price"},[t._v(t._s(t.$i18n.t("money"))+t._s(e.price))]),i("div",{staticClass:"saleNum"},[t._v("已售"+t._s(e.show_sales))])])])])}))],2),i("div",{staticClass:"evaluateBox"},[t._m(3),i("div",{staticClass:"evaRight"},[t._v("查看全部 ("+t._s(t.commentListtotal)+")"),i("van-icon",{attrs:{name:"arrow"}})],1)]),i("div",{staticClass:"evaluate"},[i("ul",t._l(t.commentList,(function(e,a){return i("li",{key:a},[i("div",{staticClass:"evaluate_top"},[e.head_img_url?i("div",{staticClass:"evaluate_left"},[i("img",{attrs:{src:e.head_img_url,alt:""}})]):t._e(),i("div",{staticClass:"evaluate_right"},[i("div",{staticClass:"top"},[i("div",{staticClass:"left"},[i("div",{staticClass:"name"},[t._v(t._s(e.nick_name))]),i("div",{staticClass:"stella"},[i("van-rate",{staticStyle:{"text-align":"left"},attrs:{color:"#FF9600",readonly:"",size:14},model:{value:e.project_level,callback:function(i){t.$set(e,"project_level",i)},expression:"item.project_level"}}),i("div",{staticClass:"right"},[t._v(t._s(e.created_at))])],1)])]),i("div",{staticClass:"bottom"},[i("div",{staticClass:"assess"},[t._v(t._s(e.content))]),i("div",{staticClass:"picture"},t._l(e.images,(function(t,e){return i("div",{key:e,staticClass:"picture_li"},[i("img",{attrs:{src:t,alt:""}})])})),0)])])]),i("div",{staticClass:"evaluate_bottom"},[e.has_many_reply&&e.has_many_reply.length>0?i("div",{staticClass:"many_reply"},t._l(e.has_many_reply,(function(e){return i("div",{key:e.id},[i("p",{staticStyle:{padding:"0.5rem 1rem","text-align":"left"}},[t._v("追加评论: "+t._s(e.content))]),i("div",{staticClass:"imgflex"},t._l(e.images,(function(t,e){return i("div",{key:e},[i("div",{staticClass:"photobox"},[i("img",{staticStyle:{width:"100%",height:"100%","object-fit":"contain"},attrs:{src:t}})])])})),0),i("div",{staticClass:"comment-time",staticStyle:{"text-align":"left"}},[t._v(t._s(e.created_at))])])})),0):t._e()])])})),0)])])},o=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"storeBox"},[i("div",{staticClass:"title"},[i("div",{staticClass:"line"}),t._v(" 服务门店 ")]),i("div",{staticClass:"sotreDetail"},[t._v("购买项目套餐后,即可服务门店核销项目!")])])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"iconStore"},[i("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,i=t._self._c||e;return i("div",{staticClass:"title"},[i("div",{staticClass:"line"}),t._v(" 商品 ")])},function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"title"},[i("div",{staticClass:"line"}),t._v(" 评价 ")])}],s=(i("e7e5"),i("d399")),l=(i("99af"),i("ac1f"),i("1276"),i("d3b7"),i("25f0"),i("e9c4"),i("6968")),r=i("c992"),n=i("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}},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 i=e.data.data;t.commentList=t.commentList.concat(i)}),(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 i(e){var i=e.position.toString().split(",");t.point={lat:i[1],lng:i[0]},t.address=e.formattedAddress,t.title=e.formattedAddress,t.city=t.fun.isTextEmpty(e.addressComponent.city)?e.addressComponent.province:e.addressComponent.city;var a={address:e.formattedAddress,city:t.city,title:e.formattedAddress,point:t.point};t.$store.commit("updateLocation",a),t.$store.commit("setLocation",a),window.localStorage.setItem("myLocation",JSON.stringify(a)),t.getData()}function a(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",i),AMap.event.addListener(t,"error",a)}))}},components:{cTitle:l["a"],cMyswipe:r["a"]}},d=c,p=d,m=(i("b248"),i("2877")),f=Object(m["a"])(p,a,o,!1,null,"a676ec32",null);e["default"]=f.exports}}]);