| 1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([[36],{617:function(e,t,o){var content=o(698);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(21).default)("b557a4e0",content,!0,{sourceMap:!1})},697:function(e,t,o){"use strict";o(617)},698:function(e,t,o){var r=o(20)((function(i){return i[1]}));r.push([e.i,".goods-details{padding:16px 0 44px}.goods-details .goods-info{align-items:flex-start}.goods-details .goods-info .goods-swiper{border-radius:4px;width:430px}.goods-details .goods-info .goods-swiper .swiper{margin:10px 0;padding:0 25px;--swiper-navigation-size:15px;--swiper-navigation-color:#888}.goods-details .goods-info .goods-swiper .swiper .swiper-button-next,.goods-details .goods-info .goods-swiper .swiper .swiper-button-prev{background-size:12px 22px;height:100%;margin-top:0;top:0;width:25px}.goods-details .goods-info .goods-swiper .swiper .swiper-button-prev{left:0}.goods-details .goods-info .goods-swiper .swiper .swiper-button-next{right:0}.goods-details .goods-info .goods-swiper .swiper .swiper-item{border:2px solid transparent;cursor:pointer;height:66px;width:66px}.goods-details .goods-info .goods-swiper .swiper .swiper-item~.swiper-item{margin-left:10px}.goods-details .goods-info .goods-swiper .swiper .swiper-item.active{border-color:#007b44}.goods-details .goods-info .goods-swiper .current-img{height:430px;padding:15px;width:100%}.goods-details .goods-info .info-wrap{border-radius:4px;flex:1;min-height:486px;padding:20px}.goods-details .goods-info .info-wrap .name{font-size:20px}.goods-details .goods-info .info-wrap .seckill{background-color:#007b44;padding:6px 10px}.goods-details .goods-info .info-wrap .seckill .count-down .item{background:rgba(0,0,0,.3);border-radius:4px;height:30px;line-height:30px;text-align:center;width:30px}.goods-details .goods-info .info-wrap .price-wrap{background:#f6f6f6;background-size:100%;padding:16px 16px 0}.goods-details .goods-info .info-wrap .price-wrap .coupon-list .coupon-item{border:1px solid;color:#007b44;padding:2px 6px}.goods-details .goods-info .info-wrap .price-wrap .member-price{background-color:#fde5b0;border-radius:4px;color:#63360e;line-height:20px;overflow:hidden;padding-right:6px}.goods-details .goods-info .info-wrap .price-wrap .member-price .member-tag{background-color:#141215;color:#ffe7b2;margin-right:6px;padding:0 6px}.goods-details .goods-info .info-wrap .sales-click{border-bottom:1px dashed hsla(0,0%,90%,.898);line-height:28px;padding:6px}.goods-details .goods-info .info-wrap .sales-click>div:first-of-type{border-right:1px solid hsla(0,0%,90%,.898)}.goods-details .goods-info .info-wrap .spec-wrap .spec{align-items:flex-start}.goods-details .goods-info .info-wrap .spec-wrap .spec .spec-name{flex:none;margin-right:20px;margin-top:6px}.goods-details .goods-info .info-wrap .spec-wrap .spec .spec-item{border:1px solid hsla(0,0%,90%,.898);border-radius:2px;cursor:pointer;line-height:32px;margin-bottom:10px;margin-right:10px;padding:0 20px}.goods-details .goods-info .info-wrap .spec-wrap .spec .spec-item.active{background-color:#ffeeef;border-color:currentColor;color:#007b44}.goods-details .goods-info .info-wrap .goods-num{margin-bottom:30px}.goods-details .goods-info .info-wrap .goods-num .num{margin-right:20px}.goods-details .goods-info .info-wrap .goods-btns .btn{border:1px solid #007b44;border-radius:2px;cursor:pointer;line-height:42px;margin-right:14px;text-align:center;width:120px}.goods-details .goods-info .info-wrap .goods-btns .btn.addcart{background-color:#ffeeef;border-color:currentColor;color:#007b44}.goods-details .goods-info .info-wrap .goods-btns .btn.collection{background-color:transparent;border-color:hsla(0,0%,90%,.898);color:#666;width:146px}.goods-details .goods-info .info-wrap .goods-btns .btn.collection .start-icon{height:18px;width:18.5px}.goods-details .details-wrap{align-items:stretch}.goods-details .details-wrap .details{overflow:hidden;padding:15px 10px}.goods-details .details-wrap .details .rich-text{overflow:hidden;padding:0 10px;width:100%}.goods-details .details-wrap .details .rich-text img{display:block;width:100%}.goods-details .details-wrap .details .rich-text p{margin:0}.goods-details .details-wrap .details .evaluation .evaluation-hd{background-color:#f2f2f2;height:80px;margin:0 10px}.goods-details .details-wrap .details .evaluation .evaluation-hd .rate{border-right:1px solid #e5e5e5;height:60px;margin-right:40px;padding-left:10px;width:220px}.goods-details .details-wrap .details .evaluation .evaluation-tab{margin:16px 20px}.goods-details .details-wrap .details .evaluation .evaluation-tab .item{background-color:#f2f2f2;border-radius:2px;color:#666;cursor:pointer;height:32px;margin-right:10px;padding:6px 20px}.goods-details .details-wrap .details .evaluation .evaluation-tab .item.active{background-color:#007b44;color:#fff}.goods-details .goods-like{border-right:1px solid hsla(0,0%,90%,.898);width:204px}.goods-details .goods-like .goods-list .item{display:block;padding:12px}.goods-details .goods-like .goods-list .item .goods-img{height:180px;margin-bottom:10px;width:180px}.goods-details .mobile-code{background-color:#fff;border-left:1px solid hsla(0,0%,90%,.898);width:200px}.goods-details .title{border-bottom:1px solid hsla(0,0%,90%,.898);height:55px}.goods-details .title>img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}",""]),r.locals={},e.exports=r},742:function(e,t,o){"use strict";o.r(t);o(68),o(32),o(309),o(13);var r=o(515),n=o(10),d=o(7),c=(o(48),o(106),o(555),o(209),o(67),o(24),o(22),o(26),o(33),o(34),o(25),o(66),o(553)),l=o(504),m=o(14),v=o(101),f=o(145);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var x={mixins:[o(499).a],components:{NumberBox:c.default,CountDown:l.default},asyncData:function(e){return Object(d.a)(regeneratorRuntime.mark((function t(){var o,r,n,d,data,code,c,l,m,f,h,_;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.params,o=e.$get,r=e.app,n=e.query,t.next=3,o("pc/goodsDetail",{params:{goods_id:n.id,visit:1}});case 3:return d=t.sent,data=d.data,code=d.code,c=d.msg,0==code&&(Object(v.Message)({message:c,type:"error"}),setTimeout((function(){return r.router.back()}),1500)),l={},m=0,t.next=12,o("/pc/goodsCommentCategory",{params:{goods_id:n.id}});case 12:return 1==(f=t.sent).code&&(l=f.data,m=f.data.comment[0].id,console.log("dataC",f)),h=[],t.next=17,o("/goods/goodsMarketing",{params:{id:data.id}});case 17:return _=t.sent,1==f.code&&(h=_.data.coupon,console.log("couponLists",h)),t.abrupt("return",{goodsDetails:data,goodsImage:data.goods_image,commentActive:m,comment:l,id:n.id,couponLists:h});case 20:case"end":return t.stop()}}),t)})))()},watchQuery:["id"],data:function(){return{config:f.config,goodsDetails:{},goodsImage:[],activity:{},swiperOptions:{pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},preventClicks:!0,slidesPerView:"auto"},active:"0",commentActive:0,swiperIndex:0,comment:{},checkedGoods:{},goodsNum:1,goodsSpec:[],id:"",timeData:{},couponLists:[]}},created:function(){this.id=this.$route.query.id},methods:_(_({},Object(m.b)(["getPublicData"])),{},{toOther:function(e){this.$router.push("/goods_details?id="+e)},onChoseSpecItem:function(e,t){var o=this.goodsSpec;o.forEach((function(o){o.spec_list&&o.id==e&&o.spec_list.forEach((function(e){e.checked=0,e.id==t&&(e.checked=1)}))})),this.goodsSpec=Object(r.a)(o)},onAddCart:function(){var e=this;return Object(d.a)(regeneratorRuntime.mark((function t(){var o,r,n,code,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.token){t.next=3;break}return e.$message({message:"请先登录",type:"error"}),t.abrupt("return",e.$router.push("account/login"));case 3:if(!e.checkGoodsLimit("cart")){t.next=5;break}return t.abrupt("return",e.$message({message:"当前商品限购".concat(e.goodsDetails.limit_value,"件,已超出!"),type:"error"}));case 5:return o=e.goodsNum,r=e.checkedGoods.id,t.next=8,e.$post("/cart/add",{item_id:r,goods_num:o});case 8:n=t.sent,code=n.code,n.data,d=n.msg,1==code&&(e.getPublicData(),e.$message({message:d,type:"success"})),e.getGoodsDetail();case 14:case"end":return t.stop()}}),t)})))()},onBuyNow:function(){if(!this.token)return this.$message({message:"请先登录",type:"error"}),this.$router.push("account/login");if(this.checkedGoods.stock<=0)return this.$message({message:"商品库存不足",type:"error"});if(this.checkGoodsLimit("buy"))return this.$message({message:"当前商品限购".concat(this.goodsDetails.limit_value,"件,已超出!"),type:"error"});var e=this.goodsNum,t=[{item_id:this.checkedGoods.id,goods_num:e,num:e}];this.$router.push({path:"/confirm_order",query:{data:encodeURIComponent(JSON.stringify({goods:t})),source:"buy_now",order_type:1==this.goodsDetails.type?0:4}})},getGoodsDetail:function(){var e=this;return Object(d.a)(regeneratorRuntime.mark((function t(){var o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$get("pc/goodsDetail",{params:{goods_id:e.id,visit:1}});case 2:o=t.sent,data=o.data,1==o.code&&(e.goodsDetails=data);case 6:case"end":return t.stop()}}),t)})))()},onCollectionGoods:function(){var e=this;return Object(d.a)(regeneratorRuntime.mark((function t(){var o,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.token){t.next=3;break}return e.$message({message:"请先登录",type:"error"}),t.abrupt("return",e.$router.push("account/login"));case 3:return o=e.goodsDetails.is_collect,t.next=6,e.$post("collect/handleCollectgoods",{is_collect:0==o?1:0,goods_id:e.id});case 6:r=t.sent,r.data,1==r.code&&(0==o?(e.$message({message:"收藏成功",type:"success"}),e.goodsDetails.is_collect=1):(e.$message({message:"取消收藏成功",type:"success"}),e.goodsDetails.is_collect=0));case 10:case"end":return t.stop()}}),t)})))()},getComment:function(){var e=this;return Object(d.a)(regeneratorRuntime.mark((function t(){var o,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$get("/pc/goodsCommentCategory",{params:{goods_id:e.id}});case 2:o=t.sent,data=o.data,1==o.code&&(e.comment=data,e.commentActive=data.comment[0].id);case 6:case"end":return t.stop()}}),t)})))()},onChangeDate:function(e){var t={};for(var o in e)"milliseconds"!==o&&(t[o]=("0"+e[o]).slice(-2));this.timeData=t},checkGoodsLimit:function(e){if(1===this.goodsDetails.limit_type)return!1;switch(e){case"cart":if(this.goodsDetails.cart_goods_num+this.goodsNum>this.goodsDetails.limit_value)return!0;break;case"buy":if(2===this.goodsDetails.limit_type&&this.goodsDetails.buy_num+this.goodsNum>this.goodsDetails.limit_value)return!0}}}),watch:{goodsSpec:{immediate:!0,handler:function(e){var t=this.goodsDetails.spec_value_list,o=[];if(e.forEach((function(e){e.spec_list&&e.spec_list.forEach((function(e){e.checked&&o.push(e.id)}))})),o.length){var r=o.join(","),n=t.findIndex((function(e){return e.spec_value_ids==r}));-1==n&&(n=0),this.checkedGoods=t[n],console.log(this.checkedGoods)}}},goodsDetails:{immediate:!0,handler:function(e){e.spec_value&&(e.spec_value.forEach((function(e){e.spec_list.forEach((function(e,t){e.checked=0==t?1:0}))})),this.goodsSpec=Object(r.a)(e.spec_value))}}},computed:_(_({countTime:function(){var e=this.activity.info;return e?e.end_time-Date.now()/1e3:0}},Object(m.e)(["token","publicData"])),{},{mobileLink:function(){var e;return"".concat(null===(e=this.publicData)||void 0===e||null===(e=e.shop)||void 0===e?void 0:e.mobile_uri,"/pages/goods_detail/goods_detail?id=").concat(this.id)}})},w=(o(697),o(9)),component=Object(w.a)(x,(function(){var e=this,t=e._self._c;return e.goodsDetails.id?t("div",{staticClass:"goods-details"},[t("div",{},[t("div",{staticClass:"goods-info bg-white flex"},[t("div",{staticClass:"goods-swiper m-r-16 bg-white flex-col"},[t("el-image",{staticClass:"current-img",attrs:{"preview-src-list":e.goodsImage.map((function(e){return e})),src:e.goodsImage[e.swiperIndex]}}),e._v(" "),t("client-only",[t("swiper",{ref:"mySwiper",staticClass:"swiper",attrs:{options:e.swiperOptions}},[e._l(e.goodsImage,(function(o,r){return t("swiper-slide",{key:r,class:{"swiper-item":!0,active:r===e.swiperIndex}},[t("div",{staticStyle:{width:"100%",height:"100%"},on:{mouseover:function(t){e.swiperIndex=r}}},[t("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:o}})],1)])})),e._v(" "),t("div",{staticClass:"swiper-button-prev",attrs:{slot:"button-prev"},slot:"button-prev"}),e._v(" "),t("div",{staticClass:"swiper-button-next",attrs:{slot:"button-next"},slot:"button-next"})],2)],1)],1),e._v(" "),t("div",{staticClass:"info-wrap bg-white flex-1"},[t("div",{staticClass:"name bold m-b-16"},[e._v(e._s(e.goodsDetails.name))]),e._v(" "),1==e.activity.type?t("div",{staticClass:"seckill flex white"},[t("div",{staticClass:"xxl"},[e._v("限时秒杀")]),e._v(" "),t("div",{staticClass:"flex"},[t("div",{staticClass:"white m-r-16"},[e._v("距离结束还有")]),e._v(" "),t("count-down",{attrs:{time:e.countTime,"is-slot":!0},on:{change:e.onChangeDate}},[t("div",{staticClass:"flex row-center count-down xxl"},[t("div",{staticClass:"item white"},[e._v("\n "+e._s(e.timeData.hours)+"\n ")]),e._v(" "),t("div",{staticClass:"white",staticStyle:{margin:"0 4px"}},[e._v("\n :\n ")]),e._v(" "),t("div",{staticClass:"item white"},[e._v("\n "+e._s(e.timeData.minutes)+"\n ")]),e._v(" "),t("div",{staticClass:"white",staticStyle:{margin:"0 4px"}},[e._v("\n :\n ")]),e._v(" "),t("div",{staticClass:"item white"},[e._v("\n "+e._s(e.timeData.seconds)+"\n ")])])])],1)]):e._e(),e._v(" "),t("div",{staticClass:"price-wrap lighter"},[t("div",{staticClass:"flex row-between"},[t("div",{staticClass:"price"},[Number(e.checkedGoods.lineation_price||e.goodsDetails.lineation_price)?t("div",{staticClass:"flex"},[e._v("\n "+e._s(1==e.activity.type?"日常价":"原价")+"\n "),t("span",{staticClass:"m-l-20"},[t("price-formate",{attrs:{price:e.checkedGoods.lineation_price||e.goodsDetails.lineation_price,weight:400}})],1)]):e._e(),e._v(" "),t("div",{staticClass:"flex m-t-10"},[e._v("\n "+e._s(1==e.activity.type?"秒杀价":"价格")+"\n "),t("div",{staticClass:"primary m-l-20"},[t("price-formate",{attrs:{price:e.checkedGoods.sell_price||e.goodsDetails.sell_price,"subscript-size":16,"first-size":26,"second-size":16}})],1),e._v(" "),1!=e.activity.type&&(e.checkedGoods.member_price||e.goodsDetails.member_price)?t("div",{staticClass:"member-price m-l-10 flex xs"},[t("div",{staticClass:"member-tag"},[e._v("会员价")]),e._v(" "),t("price-formate",{attrs:{price:e.checkedGoods.member_price||e.goodsDetails.member_price,weight:400}})],1):e._e()])]),e._v(" "),t("div",{staticClass:"rate flex-col row-right"},[t("div",{staticClass:"primary",staticStyle:{"font-size":"20px"}},[e._v("\n "+e._s(e.comment.percent)+"\n ")]),e._v(" "),t("div",{staticClass:"lighter"},[e._v("好评率")])])]),e._v(" "),1!=e.activity.type?t("div",{staticClass:"m-t-10 p-b-16"},[t("nuxt-link",{staticClass:"flex row-between",attrs:{to:"/get_coupons?id=".concat(e.goodsDetails.id)}},[t("div",{staticClass:"flex col-top"},[t("div",{staticStyle:{flex:"none"}},[e._v("优惠")]),e._v(" "),t("div",{staticClass:"coupon-list m-l-20 flex flex-wrap"},e._l(e.couponLists,(function(o,r){return t("div",{directives:[{name:"show",rawName:"v-show",value:r<=3,expression:"index <= 3"}],key:o.id,staticClass:"coupon-item xs m-l-10"},[1==o.condition_type?t("span",[e._v("无门槛¥"+e._s(o.money))]):e._e(),e._v(" "),2==o.condition_type?t("span",[e._v("满¥"+e._s(o.condition_money)+"减¥"+e._s(o.money))]):e._e(),e._v(" "),3==o.condition_type?t("span",[e._v("满¥"+e._s(o.condition_money)+"打"+e._s(o.discount_ratio)+"折")]):e._e()])})),0)]),e._v(" "),t("i",{staticClass:"el-icon-arrow-right"})])],1):e._e()]),e._v(" "),t("div",{staticClass:"sales-click muted sm"},[[t("span",{staticClass:"m-6"},[e._v("\n 运费:"+e._s(e.goodsDetails.free_shipping_tips||"以提交订单时为准")+"\n ")]),e._v("\n |\n ")],e._v(" "),t("span",{staticClass:"m-6"},[e._v("\n 销量:"+e._s(e.goodsDetails.sales_num)+"件\n ")]),e._v("\n |\n "),t("span",{staticClass:"m-6"},[e._v("\n 浏览量:"+e._s(e.goodsDetails.click_num)+"次\n ")])],2),e._v(" "),t("div",{staticClass:"spec-wrap m-t-20"},e._l(e.goodsSpec,(function(o,r){return t("div",{key:r,staticClass:"spec flex m-b-16"},[t("div",{staticClass:"lighter spec-name"},[e._v(e._s(o.name))]),e._v(" "),t("div",{staticClass:"spec-list flex flex-wrap"},e._l(o.spec_list,(function(r,n){return t("div",{key:n,class:["spec-item lighter",{active:r.checked}],on:{click:function(t){return e.onChoseSpecItem(o.id,r.id)}}},[e._v("\n "+e._s(r.value)+"\n ")])})),0)])})),0),e._v(" "),t("div",{staticClass:"goods-num flex"},[t("div",{staticClass:"num lighter"},[e._v("数量")]),e._v(" "),t("number-box",{attrs:{min:1,max:e.goodsDetails.limit_value||e.checkedGoods.stock},model:{value:e.goodsNum,callback:function(t){e.goodsNum=t},expression:"goodsNum"}}),e._v(" "),t("div",{staticClass:"m-l-10 sm muted"},[e._v("\n 库存: "+e._s(e.checkedGoods.stock)+"\n ")]),e._v(" "),1!==e.goodsDetails.limit_type?t("div",{staticClass:"m-l-20 sm muted"},[3===e.goodsDetails.limit_type?t("span",[e._v("每笔限购\n "+e._s(e.goodsDetails.limit_value)+" 件")]):e._e(),e._v(" "),2===e.goodsDetails.limit_type?t("span",[e._v("每人限购\n "+e._s(e.goodsDetails.limit_value)+" 件")]):e._e()]):e._e()],1),e._v(" "),t("div",{staticClass:"goods-btns flex"},[t("div",{staticClass:"btn bg-primary white",on:{click:e.onBuyNow}},[e._v("\n 立即购买\n ")]),e._v(" "),1!=e.activity.type&&1==e.goodsDetails.type?t("div",{staticClass:"btn primary addcart",on:{click:e.onAddCart}},[e._v("\n 加入购物车\n ")]):e._e(),e._v(" "),t("div",{staticClass:"btn lighter collection flex row-center",on:{click:e.onCollectionGoods}},[t("img",{staticClass:"start-icon m-r-8",attrs:{src:e.goodsDetails.is_collect?o(614):o(615)}}),e._v(" "),t("div",[e._v("收藏该商品")])])])])]),e._v(" "),t("div",{staticClass:"details-wrap flex m-t-16"},[t("div",{staticClass:"goods-like"},[t("div",{staticClass:"title flex row-center bg-white"},[e._v("\n - 猜你喜欢 -\n ")]),e._v(" "),t("div",{staticClass:"goods-list"},[e._l(e.goodsDetails.recommend,(function(o,r){return[r<5?t("div",{key:r,staticClass:"item bg-white",on:{click:function(t){return e.toOther(o.id)}}},[t("el-image",{staticClass:"goods-img",attrs:{src:o.image}}),e._v(" "),t("div",{staticClass:"goods-name line2"},[e._v("\n "+e._s(o.name)+"\n ")]),e._v(" "),t("div",{staticClass:"price flex m-t-8"},[t("div",{staticClass:"primary m-r-8"},[t("price-formate",{attrs:{price:o.sell_price,"first-size":16}})],1),e._v(" "),Number(o.lineation_price)?t("div",{staticClass:"muted sm line-through"},[t("price-formate",{attrs:{price:o.lineation_price}})],1):e._e()])],1):e._e()]}))],2)]),e._v(" "),t("div",{staticClass:"details bg-white flex-1"},[t("el-tabs",{model:{value:e.active,callback:function(t){e.active=t},expression:"active"}},[t("el-tab-pane",{attrs:{label:"商品详情"}},[t("div",{staticClass:"rich-text",domProps:{innerHTML:e._s(e.goodsDetails.content)}})]),e._v(" "),t("el-tab-pane",{attrs:{label:"商品评价"}},[t("div",{staticClass:"evaluation"},[t("div",{staticClass:"evaluation-hd flex"},[t("div",{staticClass:"rate flex"},[t("div",{staticClass:"lighter m-r-8"},[e._v("好评率")]),e._v(" "),t("div",{staticClass:"primary",staticStyle:{"font-size":"30px"}},[e._v("\n "+e._s(e.comment.percent)+"\n ")])]),e._v(" "),t("div",{staticClass:"score lighter flex"},[t("span",{staticClass:"m-r-8"},[e._v("评分")]),e._v(" "),t("el-rate",{attrs:{disabled:"","allow-half":""},model:{value:e.comment.star,callback:function(t){e.$set(e.comment,"star",t)},expression:"comment.star"}})],1)]),e._v(" "),t("div",{staticClass:"evaluation-tab flex"},e._l(e.comment.comment,(function(o,r){return t("div",{key:r,class:["item",{active:e.commentActive==o.id}],on:{click:function(t){e.commentActive=o.id}}},[e._v("\n "+e._s(o.name)+"("+e._s(o.count)+")\n ")])})),0)]),e._v(" "),t("div",[e._l(e.comment.comment,(function(o,r){return[t("comment-list",{directives:[{name:"show",rawName:"v-show",value:e.commentActive==o.id,expression:"commentActive == item.id"}],key:r,attrs:{"goods-id":e.goodsDetails.id,type:o.id}})]}))],2)])],1)],1),e._v(" "),t("div",{staticClass:"mobile-code p-b-16"},[t("div",{staticClass:"title flex row-center"},[e._v("手机端访问")]),e._v(" "),t("div",{staticClass:"flex-col col-center m-t-20"},[t("vue-qr",{staticClass:"bicode",staticStyle:{width:"100px",height:"100px"},attrs:{logoScale:20,margin:0,dotScale:1,text:e.mobileLink}}),e._v(" "),t("div",{staticClass:"lighter m-t-10"},[e._v("公众号H5")])],1)])])])]):e._e()}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{CountDown:o(504).default,PriceFormate:o(500).default,CommentList:o(585).default})}}]);
|