text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["promotionpages-topics-goods_detail-goods_detail"],{"1fef":function(e,t,i){"use strict";var o=i("921c"),a=i.n(o);a.a},2870:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return o}));var o={uniCountDown:i("1339").default,uniPopup:i("92aa").default,nsGoodsSku:i("ac46").default,loadingCover:i("790a").default,nsLogin:i("2893").default,nsGoodsAction:i("7667").default,nsGoodsActionIcon:i("5d47").default,nsGoodsActionButton:i("9e8b").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{attrs:{"data-theme":e.themeStyle}},[i("v-uni-view",{staticClass:"goods-detail",class:e.isIphoneX?"active":"",attrs:{"scroll-y":"true"}},[i("v-uni-view",{staticClass:"goods-container"},[i("v-uni-view",{staticClass:"goods-media"},[i("v-uni-view",{staticClass:"goods-img",class:{show:"img"==e.switchMedia}},[i("v-uni-swiper",{staticClass:"swiper",attrs:{interval:e.swiperInterval,autoplay:e.swiperAutoplay},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.swiperChange.apply(void 0,arguments)}}},e._l(e.goodsSkuDetail.sku_images,(function(t,o){return i("v-uni-swiper-item",{key:o,attrs:{"item-id":"goods_id_"+o}},[i("v-uni-view",{staticClass:"item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.previewMedia(o)}}},[i("v-uni-image",{attrs:{src:e.$util.img(t,{size:"big"}),mode:"aspectFit"},on:{error:function(t){arguments[0]=t=e.$handleEvent(t),e.swiperImageError(o)}}})],1)],1)})),1),i("v-uni-view",{staticClass:"img-indicator-dots"},[i("v-uni-text",[e._v(e._s(e.swiperCurrent))]),e.goodsSkuDetail.sku_images?i("v-uni-text",[e._v("/"+e._s(e.goodsSkuDetail.sku_images.length))]):e._e()],1)],1),i("v-uni-view",{staticClass:"goods-video",class:{show:"video"==e.switchMedia}},[i("v-uni-video",{attrs:{src:e.$util.img(e.goodsSkuDetail.video_url),poster:e.$util.img(e.goodsSkuDetail.sku_image,{size:"big"}),objectFit:"cover"}})],1),""!=e.goodsSkuDetail.video_url?i("v-uni-view",{staticClass:"media-mode"},[i("v-uni-text",{class:{"color-base-bg":"video"==e.switchMedia},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.switchMedia="video"}}},[e._v(e._s(e.$lang("video")))]),i("v-uni-text",{class:{"color-base-bg":"img"==e.switchMedia},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.switchMedia="img"}}},[e._v(e._s(e.$lang("image")))])],1):e._e()],1),e.goodsSkuDetail.discountTimeMachine?i("v-uni-view",{staticClass:"goods-promotion",style:{backgroundImage:"url("+e.$util.img("upload/uniapp/goods/detail_promotion_left_bg.png")+")"}},[i("v-uni-view",{staticClass:"price-info"},[i("v-uni-view",{staticClass:"img-wrap"},[i("v-uni-image",{attrs:{src:e.$util.img("upload/uniapp/goods/detail_topics_tag.png"),mode:"aspectFit"}})],1),i("v-uni-view",{staticClass:"sale-num"},[e._v("已售"+e._s(e.goodsSkuDetail.sale_num)+" "+e._s(e.goodsSkuDetail.unit))])],1),i("v-uni-view",{staticClass:"countdown",style:{backgroundImage:"url("+e.$util.img("upload/uniapp/goods/detail_promotion_right_bg.png")+")"}},[i("v-uni-view",{staticClass:"txt"},[e._v("距结束仅剩")]),i("v-uni-view",{staticClass:"clockrun"},[i("uni-count-down",{attrs:{day:e.goodsSkuDetail.discountTimeMachine.d,hour:e.goodsSkuDetail.discountTimeMachine.h,minute:e.goodsSkuDetail.discountTimeMachine.i,second:e.goodsSkuDetail.discountTimeMachine.s,color:"#fff",splitorColor:"#FF4644",backgroundColor:"#FF4644"}})],1)],1)],1):e._e(),i("v-uni-view",{staticClass:"group-wrap padding-top"},[i("v-uni-view",{staticClass:"goods-module-wrap"},[i("v-uni-text",{staticClass:"promotion-tag color-base-bg"},[e._v("专题价")]),i("v-uni-text",{staticClass:"price-symbol color-base-text"},[e._v(e._s(e.$lang("common.currencySymbol")))]),i("v-uni-text",{staticClass:"price color-base-text"},[e._v(e._s(e.goodsSkuDetail.topic_price))]),e.goodsSkuDetail.price>0?i("v-uni-view",{staticClass:"market-price-wrap"},[i("v-uni-text",{staticClass:"unit"},[e._v(e._s(e.$lang("common.currencySymbol")))]),i("v-uni-text",{staticClass:"money"},[e._v(e._s(e.goodsSkuDetail.price))])],1):e._e(),i("v-uni-view",{staticClass:"follow-and-share"},[i("v-uni-text",{staticClass:"follow iconfont iconfenxiang2",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openSharePopup()}}}),i("v-uni-text",{staticClass:"share iconfont",class:1==e.whetherCollection?"iconlikefill color-base-text":"iconguanzhu",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.editCollection()}}})],1)],1),i("v-uni-view",{staticClass:"goods-module-wrap info"},[i("v-uni-text",{staticClass:"sku-name-wrap"},[e._v(e._s(e.goodsSkuDetail.goods_name))]),e.goodsSkuDetail.introduction?i("v-uni-text",{staticClass:"introduction color-base-text"},[e._v(e._s(e.goodsSkuDetail.introduction))]):e._e(),i("v-uni-view",{staticClass:"logistics-wrap"},[e.Development?[e.goodsSkuDetail.is_free_shipping?i("v-uni-text",[e._v("快递 包邮")]):i("v-uni-text",[e._v("快递 买家承担")])]:e._e(),i("v-uni-text",[e._v("销量 "+e._s(e.goodsSkuDetail.sale_num)+" "+e._s(e.goodsSkuDetail.unit))])],2)],1)],1),i("v-uni-view",{staticClass:"newdetail margin-bottom"},[e.goodsSkuDetail.sku_spec_format?i("v-uni-view",{staticClass:"item selected-sku-spec",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.topic.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"label"},[e._v("选择")]),i("v-uni-view",{staticClass:"box"},e._l(e.goodsSkuDetail.sku_spec_format,(function(t,o){return i("v-uni-text",{key:o},[e._v(e._s(t.spec_name)+"/"+e._s(t.spec_value_name))])})),1),i("v-uni-text",{staticClass:"iconfont iconright"})],1):e._e(),e.goodsSkuDetail.goods_attr_format&&e.goodsSkuDetail.goods_attr_format.length>0?i("v-uni-view",{staticClass:"item goods-attribute",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openAttributePopup()}}},[i("v-uni-view",{staticClass:"label"},[e._v("属性")]),i("v-uni-view",{staticClass:"box"},e._l(e.goodsSkuDetail.goods_attr_format,(function(t,o){return o<2?i("v-uni-text",{key:o},[e._v(e._s(t.attr_name)+": "+e._s(t.attr_value_name))]):e._e()})),1),i("v-uni-text",{staticClass:"iconfont iconright"})],1):e._e(),e.goodsSkuDetail.goods_service.length?i("v-uni-view",{staticClass:"item service",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openMerchantsServicePopup()}}},[i("v-uni-view",{staticClass:"label"},[e._v("服务")]),i("v-uni-view",{staticClass:"list-wrap"},e._l(e.goodsSkuDetail.goods_service,(function(t,o){return o<3?i("v-uni-view",{key:o,staticClass:"item-wrap"},[i("v-uni-text",{staticClass:"iconfont icondui color-base-text"}),i("v-uni-text",[e._v(e._s(t.service_name))])],1):e._e()})),1),i("v-uni-text",{staticClass:"iconfont iconright"})],1):e._e()],1),i("v-uni-view",{on:{touchmove:function(t){t.preventDefault(),t.stopPropagation(),arguments[0]=t=e.$handleEvent(t)}}},[i("uni-popup",{ref:"attributePopup",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"goods-attribute-popup-layer popup-layer"},[i("v-uni-view",{staticClass:"head-wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeAttributePopup()}}},[i("v-uni-text",[e._v("商品属性")]),i("v-uni-text",{staticClass:"iconfont iconclose"})],1),i("v-uni-scroll-view",{staticClass:"goods-attribute-body",attrs:{"scroll-y":!0}},e._l(e.goodsSkuDetail.goods_attr_format,(function(t,o){return i("v-uni-view",{key:o,staticClass:"item"},[i("v-uni-text",{staticClass:"attr-name"},[e._v(e._s(t.attr_name))]),i("v-uni-text",{staticClass:"value-name"},[e._v(e._s(t.attr_value_name))])],1)})),1),i("v-uni-view",{staticClass:"button-box"},[i("v-uni-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeAttributePopup()}}},[e._v("确定")])],1)],1)],1)],1),i("v-uni-view",{on:{touchmove:function(t){t.preventDefault(),t.stopPropagation(),arguments[0]=t=e.$handleEvent(t)}}},[i("uni-popup",{ref:"merchantsServicePopup",attrs:{type:"bottom"}},[i("v-uni-view",{staticClass:"goods-merchants-service-popup-layer popup-layer"},[i("v-uni-view",{staticClass:"head-wrap",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeMerchantsServicePopup()}}},[i("v-uni-text",[e._v(e._s(e.$lang("service")))]),i("v-uni-text",{staticClass:"iconfont iconclose"})],1),i("v-uni-scroll-view",{attrs:{"scroll-y":!0}},e._l(e.goodsSkuDetail.goods_service,(function(t,o){return i("v-uni-view",{key:o,staticClass:"item",class:{"empty-desc":!t.desc}},[i("v-uni-view",{staticClass:"iconfont icondui color-base-text"}),i("v-uni-view",{staticClass:"info-wrap"},[i("v-uni-text",{staticClass:"title"},[e._v(e._s(t.service_name))]),t.desc?i("v-uni-text",{staticClass:"describe"},[e._v(e._s(t.desc))]):e._e()],1)],1)})),1),i("v-uni-view",{staticClass:"button-box"},[i("v-uni-button",{attrs:{type:"primary"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeMerchantsServicePopup()}}},[e._v("确定")])],1)],1)],1)],1),1==e.evaluateConfig.evaluate_show?i("v-uni-view",{staticClass:"group-wrap"},[i("v-uni-view",{staticClass:"goods-evaluate",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toEvaluateDetail(e.goodsSkuDetail.goods_id)}}},[i("v-uni-view",{staticClass:"tit",class:{active:e.goodsEvaluate.content}},[i("v-uni-view",[i("v-uni-text",{staticClass:"color-title font-size-toolbar"},[e._v("评价"),i("v-uni-text",{staticClass:"font-size-base"},[e._v("("+e._s(e.goodsSkuDetail.evaluate)+")")])],1),e.goodsEvaluate.content?i("v-uni-view",{staticClass:"evaluate-item-empty"},[i("v-uni-text",{staticClass:"font-size-tag"},[e._v("查看全部")]),i("v-uni-text",{staticClass:"iconfont iconright font-size-tag"})],1):i("v-uni-text",{staticClass:"evaluate-item-empty"},[e._v("暂无评价")])],1)],1),e.goodsEvaluate.content?i("v-uni-view",{staticClass:"evaluate-item"},[i("v-uni-view",{staticClass:"evaluator"},[i("v-uni-view",{staticClass:"evaluator-info"},[i("v-uni-view",{staticClass:"evaluator-face"},[e.goodsEvaluate.member_headimg?i("v-uni-image",{attrs:{src:e.$util.img(e.goodsEvaluate.member_headimg),mode:"aspectFill"},on:{error:function(t){arguments[0]=t=e.$handleEvent(t),e.goodsEvaluate.member_headimg=e.$util.getDefaultImage().default_headimg}}}):i("v-uni-image",{attrs:{src:e.$util.getDefaultImage().default_headimg,mode:"aspectFill"},on:{error:function(t){arguments[0]=t=e.$handleEvent(t),e.goodsEvaluate.member_headimg=e.$util.getDefaultImage().default_headimg}}})],1),i("v-uni-text",{staticClass:"evaluator-name"},[e._v(e._s(e.goodsEvaluate.member_name))])],1),i("v-uni-text",{staticClass:"time color-tip"},[e._v(e._s(e.$util.timeStampTurnTime(e.goodsEvaluate.create_time)))])],1),i("v-uni-view",{staticClass:"cont margin-top"},[e._v(e._s(e.goodsEvaluate.content))]),e.goodsEvaluate.images?i("v-uni-view",{staticClass:"evaluate-img"},e._l(e.goodsEvaluate.images,(function(t,o){return i("v-uni-view",{key:o,staticClass:"img-box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.previewEvaluate(o,"images")}}},[i("v-uni-image",{attrs:{src:e.$util.img(t),mode:"aspectFit"}})],1)})),1):e._e()],1):e._e()],1)],1):e._e(),i("v-uni-view",{staticClass:"goods-detail-tab"},[i("v-uni-view",{staticClass:"detail-tab"},[i("v-uni-view",{staticClass:"tab-item",class:0==e.detailTab?"active":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.detailTab=0}}},[e._v("商品详情")])],1),i("v-uni-view",{staticClass:"detail-content",class:1==e.detailTab?"active":""},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==e.detailTab,expression:"detailTab == 0"}],staticClass:"detail-content-item"},[e.goodsSkuDetail.goods_content?i("v-uni-view",{staticClass:"goods-details"},[i("v-uni-rich-text",{attrs:{nodes:e.goodsSkuDetail.goods_content}})],1):i("v-uni-view",{staticClass:"goods-details active"},[e._v("该商家暂无上传相关详情哦！")])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.detailTab,expression:"detailTab == 1"}],staticClass:"detail-content-item"},[e.service?i("v-uni-view",{staticClass:"goods-details"},[i("v-uni-rich-text",{attrs:{nodes:e.service}})],1):i("v-uni-view",{staticClass:"goods-details active"},[e._v("该商品暂无相关售后哦！")])],1)],1)],1),i("nsGoodsRecommend",{ref:"goodrecommend"}),i("ns-goods-sku",{ref:"goodsSku",attrs:{"goods-detail":e.goodsSkuDetail},on:{refresh:function(t){arguments[0]=t=e.$handleEvent(t),e.refreshGoodsSkuDetail.apply(void 0,arguments)}}}),i("v-uni-view",{on:{touchmove:function(t){t.preventDefault(),t.stopPropagation(),arguments[0]=t=e.$handleEvent(t)}}},[i("uni-popup",{ref:"posterPopup",staticClass:"poster-layer",attrs:{type:"bottom"}},["-1"!=e.poster?[i("v-uni-view",{style:{height:e.posterHeight>0?e.posterHeight+80+"px":""}},[i("v-uni-view",{staticClass:"image-wrap"},[i("v-uni-image",{style:{height:e.posterHeight>0?e.posterHeight+"px":""},attrs:{src:e.$util.img(e.poster)}})],1),i("v-uni-view",{staticClass:"save"},[e._v("长按保存图片")])],1),i("v-uni-view",{staticClass:"close iconfont iconclose",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closePosterPopup()}}})]:i("v-uni-view",{staticClass:"msg"},[e._v(e._s(e.posterMsg))])],2)],1),i("v-uni-view",{on:{touchmove:function(t){t.preventDefault(),t.stopPropagation(),arguments[0]=t=e.$handleEvent(t)}}},[i("uni-popup",{ref:"sharePopup",staticClass:"share-popup",attrs:{type:"bottom"}},[i("v-uni-view",[i("v-uni-view",{staticClass:"share-title"},[e._v("分享")]),i("v-uni-view",{staticClass:"share-content"},[i("v-uni-view",{staticClass:"share-box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.openPosterPopup.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"share-btn",attrs:{plain:!0}},[i("v-uni-view",{staticClass:"iconfont iconpengyouquan"}),i("v-uni-text",[e._v("生成分享海报")])],1)],1),i("v-uni-view",{staticClass:"share-box",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copyUrl.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"share-btn",attrs:{plain:!0}},[i("v-uni-view",{staticClass:"iconfont iconfuzhilianjie"}),i("v-uni-text",[e._v("复制链接")])],1)],1)],1),i("v-uni-view",{staticClass:"share-footer",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeSharePopup.apply(void 0,arguments)}}},[i("v-uni-text",[e._v("取消分享")])],1)],1)],1)],1)],1)],1),i("loading-cover",{ref:"loadingCover"}),i("ns-login",{ref:"login"}),i("ns-goods-action",{attrs:{safeArea:e.isIphoneX}},[1==e.goodsSkuDetail.goods_state?[i("ns-goods-action-icon",{attrs:{text:"首页",icon:"iconshouye1"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goHome.apply(void 0,arguments)}}}),1==e.kefuConfig.open||1==e.kefuConfig.system?i("ns-goods-action-icon",{attrs:{text:"客服",icon:"iconkefu1"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goConnect.apply(void 0,arguments)}}}):e._e(),i("ns-goods-action-icon",{attrs:{text:"购物车",icon:"icongouwuche2","corner-mark":e.cartCount>0?e.cartCount+"":""},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goCart.apply(void 0,arguments)}}}),0!=e.goodsSkuDetail.stock||e.goodsSkuDetail.sku_spec_format?i("ns-goods-action-button",{staticClass:"goods-action-button active1",attrs:{text:"立即抢购"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.topic.apply(void 0,arguments)}}}):[i("ns-goods-action-button",{staticClass:"goods-action-button active3",attrs:{"disabled-text":"库存不足",disabled:!0}})]]:[i("ns-goods-action-button",{staticClass:"goods-action-button active2",attrs:{"disabled-text":"该商品已下架",disabled:!0}})]],2)],1)},s=[]},5639:function(e,t,i){"use strict";var o=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(i("7667")),s=o(i("5d47")),d=o(i("9e8b")),n=o(i("92aa")),r=o(i("ac46")),l=o(i("1044")),u=o(i("1339")),c=o(i("99e6")),p=o(i("f385")),g=o(i("7118")),v=o(i("c409")),f=o(i("1aeb")),h={components:{nsGoodsAction:a.default,nsGoodsActionIcon:s.default,nsGoodsActionButton:d.default,uniPopup:n.default,nsGoodsSku:r.default,nsGoodsRecommend:l.default,uniCountDown:u.default,nsGoodsPromotion:g.default,toTop:f.default},data:function(){return{title:"",kefuConfig:{weapp:"",system:"",open:"",open_url:""}}},onLoad:function(e){this.title=e.title},mixins:[c.default,p.default,v.default],onShareAppMessage:function(e){var t="/promotionpages/topic/detail/detail?id="+this.id;return this.memberId&&(t+="&source_member="+this.memberId),{title:this.goodsSkuDetail.sku_name,imageUrl:this.$util.img(this.goodsSkuDetail.sku_image,{size:"big"}),path:t,success:function(e){},fail:function(e){}}}};t.default=h},5662:function(e,t,i){"use strict";i.r(t);var o=i("2870"),a=i("d590");for(var s in a)"default"!==s&&function(e){i.d(t,e,(function(){return a[e]}))}(s);i("ebd9"),i("1fef");var d,n=i("f0c5"),r=Object(n["a"])(a["default"],o["b"],o["c"],!1,null,"7dddebf0",null,!1,o["a"],d);t["default"]=r.exports},"921c":function(e,t,i){var o=i("f5e0");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=i("4f06").default;a("75065a8f",o,!0,{sourceMap:!1,shadowMode:!1})},"99e6":function(e,t,i){"use strict";var o=i("4ea4");i("99af"),i("4160"),i("c975"),i("b680"),i("acd8"),i("e25e"),i("ac1f"),i("5319"),i("1276"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var a=o(i("1da1")),s=o(i("ade3")),d=o(i("ce70")),n=i("5e27"),r={data:function(){var e;return e={topics_id:0,skuId:0,goodsSkuDetail:{goods_id:0,goods_service:[]},cartCount:0,whetherCollection:0,swiperCurrent:1,switchMedia:"img",token:"",isIphoneX:!1,poster:"-1",posterMsg:"",posterHeight:0,goodsEvaluate:{member_headimg:"",member_name:"",content:"",images:[],create_time:0,sku_name:"",again_images:[]},memberId:0,contactData:{title:"",path:"",img:""},swiperInterval:1,swiperAutoplay:!1},(0,s.default)(e,"swiperCurrent",1),(0,s.default)(e,"switchMedia","img"),(0,s.default)(e,"detailTab",0),(0,s.default)(e,"service",null),(0,s.default)(e,"goodsCircle",!1),(0,s.default)(e,"evaluateConfig",{evaluate_audit:1,evaluate_show:0,evaluate_status:1}),e},onLoad:function(e){var t=this;if(this.topics_id=e.id||0,this.isIphoneX=this.$util.uniappIsIPhoneX(),e.source_member&&uni.setStorageSync("source_member",e.source_member),e.scene){var i=decodeURIComponent(e.scene);i=i.split("&"),i.length&&i.forEach((function(e){-1!=e.indexOf("id")&&(t.topics_id=e.split("-")[1]),-1!=e.indexOf("source_member")&&uni.setStorageSync("source_member",e.split("-")[1])}))}},onShow:function(){var e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.$langConfig.refresh(),e.token=uni.getStorageSync("token"),t.next=4,e.getGoodsSkuDetail();case 4:e.modifyGoodsInfo(),""!=e.token&&(e.getCartCount(),e.getWhetherCollection(),e.getMemberId()),e.getEvaluateConfig(),e.getKekuConfig();case 8:case"end":return t.stop()}}),t)})))()},methods:{goConnect:function(){var e=this;if(uni.getStorageSync("token")){var t={skuId:e.goodsSkuDetail.sku_id};1==this.kefuConfig.open?e.$util.redirectTo("/otherpages/webview/webview",{link:encodeURIComponent(this.kefuConfig.open_url)}):1==this.kefuConfig.system&&e.$util.redirectTo("/otherpages/chat/room/room",t)}else this.$refs.login.open("/pages/goods/detail/detail?sku_id="+e.goodsSkuDetail.sku_id)},getGoodsSkuDetail:function(){var e=this;return(0,a.default)(regeneratorRuntime.mark((function t(){var i,o,a,s,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.sendRequest({url:"/topic/api/topicgoods/detail",async:!1,data:{topic_id:e.topics_id}});case 2:if(i=t.sent,o=i.data,null!=o.goods_sku_detail){if(e.goodsSkuDetail=o.goods_sku_detail,e.skuId=e.goodsSkuDetail.sku_id,i.timestamp>e.goodsSkuDetail.end_time?(e.$util.showToast({title:"专题活动已结束"}),setTimeout((function(){e.$util.redirectTo("/pages/goods/detail/detail",{sku_id:e.goodsSkuDetail.sku_id},"redirectTo")}),1e3)):e.goodsSkuDetail.discountTimeMachine=e.$util.countDown(e.goodsSkuDetail.end_time-i.timestamp),e.goodsSkuDetail.show_price=e.goodsSkuDetail.topic_price,e.goodsSkuDetail.video_url&&(e.switchMedia="video"),e.goodsSkuDetail.sku_images?e.goodsSkuDetail.sku_images=e.goodsSkuDetail.sku_images.split(","):e.goodsSkuDetail.sku_images=[],e.goodsSkuDetail.goods_spec_format&&e.goodsSkuDetail.goods_image&&(e.goodsSkuDetail.goods_image=e.goodsSkuDetail.goods_image.split(","),e.goodsSkuDetail.sku_images=e.goodsSkuDetail.sku_images.concat(e.goodsSkuDetail.goods_image)),e.goodsSkuDetail.unit=e.goodsSkuDetail.unit||"件",e.goodsSkuDetail.save_price=e.goodsSkuDetail.price-e.goodsSkuDetail.show_price>0?(e.goodsSkuDetail.price-e.goodsSkuDetail.show_price).toFixed(2):0,e.goodsSkuDetail.sku_spec_format&&(e.goodsSkuDetail.sku_spec_format=JSON.parse(e.goodsSkuDetail.sku_spec_format)),e.goodsSkuDetail.goods_attr_format)for(a=JSON.parse(e.goodsSkuDetail.goods_attr_format),e.goodsSkuDetail.goods_attr_format=e.$util.unique(a,"attr_id"),s=0;s<e.goodsSkuDetail.goods_attr_format.length;s++)for(n=0;n<a.length;n++)e.goodsSkuDetail.goods_attr_format[s].attr_id==a[n].attr_id&&e.goodsSkuDetail.goods_attr_format[s].attr_value_id!=a[n].attr_value_id&&(e.goodsSkuDetail.goods_attr_format[s].attr_value_name+="、"+a[n].attr_value_name);e.goodsSkuDetail.goods_spec_format&&(e.goodsSkuDetail.goods_spec_format=JSON.parse(e.goodsSkuDetail.goods_spec_format)),e.$langConfig.title(e.goodsSkuDetail.goods_name),e.goodsSkuDetail.goods_content&&(e.goodsSkuDetail.goods_content=(0,d.default)(e.goodsSkuDetail.goods_content)),e.contactData={title:e.goodsSkuDetail.sku_name,path:"/promotionpages/topic/detail/detail?id="+e.topics_id,img:e.$util.img(e.goodsSkuDetail.sku_image,{size:"big"})},e.setWechatShare(),e.$refs.loadingCover&&e.$refs.loadingCover.hide()}else e.$util.redirectTo("/pages/index/index/index",{},"reLaunch");case 5:case"end":return t.stop()}}),t)})))()},refreshGoodsSkuDetail:function(e){var t=this;Object.assign(this.goodsSkuDetail,e),this.goodsSkuDetail.unit=this.goodsSkuDetail.unit||"件",this.swiperCurrent>this.goodsSkuDetail.sku_images.length&&(this.swiperAutoplay=!0,this.swiperCurrent=1,setTimeout((function(){t.swiperAutoplay=!1}),40))},goHome:function(){this.$util.redirectTo("/pages/index/index/index",{},"reLaunch")},goCart:function(){this.$util.redirectTo("/pages/goods/cart/cart",{},"reLaunch")},topic:function(){var e=this;uni.getStorageSync("token")?this.$refs.goodsSku.show("topic",(function(){e.getCartCount()})):this.$refs.login.open("/promotionpages/topics/goods_detail/goods_detail?id="+this.topics_id)},swiperChange:function(e){this.swiperCurrent=e.detail.current+1},openMerchantsServicePopup:function(){this.$refs.merchantsServicePopup.open()},closeMerchantsServicePopup:function(){this.$refs.merchantsServicePopup.close()},openAttributePopup:function(){this.$refs.attributePopup.open()},closeAttributePopup:function(){this.$refs.attributePopup.close()},getGoodsEvaluate:function(){var e=this;this.$api.sendRequest({url:"/api/goodsevaluate/firstinfo",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){var i=t.data;i&&(e.goodsEvaluate=i,e.goodsEvaluate.images&&(e.goodsEvaluate.images=e.goodsEvaluate.images.split(",")),e.goodsEvaluate.again_images&&(e.goodsEvaluate.again_images=e.goodsEvaluate.again_images.split(",")),1==e.goodsEvaluate.is_anonymous&&(e.goodsEvaluate.member_name=e.goodsEvaluate.member_name.replace(e.goodsEvaluate.member_name.substring(1,e.goodsEvaluate.member_name.length-1),"***")))}})},previewEvaluate:function(e,t){for(var i=[],o=0;o<this.goodsEvaluate[t].length;o++)i.push(this.$util.img(this.goodsEvaluate[t][o]));uni.previewImage({current:e,urls:i})},getWhetherCollection:function(){var e=this;this.$api.sendRequest({url:"/api/goodscollect/iscollect",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){e.whetherCollection=t.data}})},editCollection:function(){var e=this;uni.getStorageSync("token")?0==this.whetherCollection?this.$api.sendRequest({url:"/api/goodscollect/add",data:{sku_id:this.skuId,goods_id:this.goodsSkuDetail.goods_id,sku_name:this.goodsSkuDetail.sku_name,sku_price:this.goodsSkuDetail.show_price,sku_image:this.goodsSkuDetail.sku_image},success:function(t){var i=t.data;i>0&&(e.whetherCollection=1)}}):this.$api.sendRequest({url:"/api/goodscollect/delete",data:{goods_id:this.goodsSkuDetail.goods_id},success:function(t){var i=t.data;i>0&&(e.whetherCollection=0)}}):this.$refs.login.open("/promotionpages/topics/goods_detail/goods_detail?id="+this.topics_id)},getCartCount:function(){var e=this;this.$api.sendRequest({url:"/api/cart/count",data:{},success:function(t){e.cartCount=t.data}})},modifyGoodsInfo:function(){this.$api.sendRequest({url:"/api/goods/modifyclicks",data:{sku_id:this.skuId},success:function(e){}}),this.$api.sendRequest({url:"/api/goodsbrowse/add",data:{goods_id:this.goodsSkuDetail.goods_id,sku_id:this.skuId},success:function(e){}})},openSharePopup:function(){this.$refs.sharePopup.open()},closeSharePopup:function(){this.$refs.sharePopup.close()},openPosterPopup:function(){var e=this;this.getGoodsPoster(),this.$refs.sharePopup.close(),this.$refs.posterPopup.open(),"-1"!=this.poster&&setTimeout((function(){var t=uni.createSelectorQuery().in(e).select(".poster-layer .image-wrap");t.fields({size:!0},(function(t){var i=t.width,o=parseFloat((740/i).toFixed(2));""!=e.token?e.posterHeight=parseInt(1240/o):e.posterHeight=parseInt(1100/o)})).exec()}),100)},closePosterPopup:function(){this.$refs.posterPopup.close()},getGoodsPoster:function(){var e=this,t={id:this.topics_id};this.memberId&&(t.source_member=this.memberId),this.$api.sendRequest({url:"/topic/api/topicgoods/poster",data:{page:"/promotionpages/topics/goods_detail/goods_detail",qrcode_param:JSON.stringify(t)},success:function(t){0==t.code?e.poster=t.data.path+"?time="+(new Date).getTime():e.posterMsg=t.message}})},previewMedia:function(e){for(var t=[],i=0;i<this.goodsSkuDetail.sku_images.length;i++)t.push(this.$util.img(this.goodsSkuDetail.sku_images[i],{size:"big"}));uni.previewImage({current:e,urls:t})},swiperImageError:function(e){this.goodsSkuDetail.sku_images[e]=this.$util.getDefaultImage().default_goods_img,this.$forceUpdate()},getMemberId:function(){var e=this;this.$api.sendRequest({url:"/api/member/id",success:function(t){t.code>=0&&(e.memberId=t.data,e.setWechatShare())}})},getService:function(){var e=this;this.$api.sendRequest({url:"/api/goods/aftersale",success:function(t){if(0==t.code&&t.data){t.data.content;t.data.content&&(e.service=(0,d.default)(t.data.content))}}})},setWechatShare:function(){var e=this;this.$util.isWeiXin()&&this.$api.sendRequest({url:"/wechat/api/wechat/share",data:{url:window.location.href},success:function(t){if(0==t.code){var i=new n.Weixin;i.init(t.data.jssdk_config);var o=t.data.share_config,a=e.$config.h5Domain+"/promotionpages/topic/goods_detail/goods_detail?id="+e.topics_id;e.memberId&&(a+="&source_member="+e.memberId),i.setShareData({title:e.goodsSkuDetail.sku_name,desc:o.goods_param_1+"："+e.$lang("common.currencySymbol")+e.goodsSkuDetail.topic_price+"\r\n"+o.goods_param_2+"\r\n收藏热度：★★★★★",link:a,imgUrl:e.$util.img(e.goodsSkuDetail.sku_image,{size:"big"})})}}})},getEvaluateConfig:function(){var e=this;this.$api.sendRequest({url:"/api/goodsevaluate/config",success:function(t){if(0==t.code){var i=t.data;e.evaluateConfig=i,1==e.evaluateConfig.evaluate_show&&e.getGoodsEvaluate()}}})},copyUrl:function(){var e=this,t=this.$config.h5Domain+"/promotionpages/topic/goods_detail/goods_detail?id="+this.topics_id;this.memberId&&(t+="&source_member="+this.memberId),this.$util.copy(t,(function(){e.closeSharePopup()}))},getKekuConfig:function(){var e=this;this.$api.sendRequest({url:"/api/config/servicer",success:function(t){0==t.code&&(e.kefuConfig=t.data,e.kefuConfig.system&&!e.addonIsExit.servicer&&(e.kefuConfig.system=0))}})},toEvaluateList:function(e){this.$util.redirectTo("/otherpages/goods/evaluate/evaluate",{goods_id:e})}}};t.default=r},"9aed":function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 你可以通过修改这些变量来定制自己的插件主题，实现自定义主题功能\r\n * 建议使用scss预处理，并在插件代码中直接使用这些变量（无需 import 这个文件），方便用户通过搭积木的方式开发整体风格一致的App\r\n */.goods-detail[data-v-7dddebf0]{height:100%;padding-bottom:%?100?%}.goods-detail.active[data-v-7dddebf0]{padding-bottom:%?170?%}.goods-media[data-v-7dddebf0]{width:100%;position:relative;overflow:hidden}.goods-media[data-v-7dddebf0]:after{padding-top:100%;display:block;content:""}.goods-media .goods-img[data-v-7dddebf0],\r\n.goods-media .goods-video[data-v-7dddebf0]{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(0,0,.25,1);transition-timing-function:cubic-bezier(0,0,.25,1);-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transform:translateZ(0);transform:translateZ(0)}.goods-media .goods-img[data-v-7dddebf0]{-webkit-transform:translateX(100%);transform:translateX(100%)}.goods-media .goods-video[data-v-7dddebf0]{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.goods-media .goods-img.show[data-v-7dddebf0],\r\n.goods-media .goods-video.show[data-v-7dddebf0]{-webkit-transform:translateX(0);transform:translateX(0)}.goods-media .goods-img .swiper[data-v-7dddebf0]{width:100%;height:100%}.goods-media .goods-img .swiper .item[data-v-7dddebf0]{width:100%;height:100%}.goods-media .goods-img .swiper uni-image[data-v-7dddebf0]{width:100%;height:100%}.goods-media .goods-img .img-indicator-dots[data-v-7dddebf0]{position:absolute;z-index:5;bottom:%?40?%;right:%?40?%;background:hsla(0,0%,39.2%,.4);color:#fff;font-size:%?24?%;line-height:%?40?%;-webkit-border-radius:%?20?%;border-radius:%?20?%;padding:0 %?20?%}.goods-media .goods-video uni-video[data-v-7dddebf0]{width:100%;height:100%}.goods-media .goods-video .uni-video-cover[data-v-7dddebf0]{background:none}.goods-media .media-mode[data-v-7dddebf0]{position:absolute;width:100%;z-index:5;bottom:%?40?%;bottom:%?80?%;text-align:center;line-height:%?50?%}.goods-media .media-mode uni-text[data-v-7dddebf0]{background:hsla(0,0%,39.2%,.4);color:#fff;font-size:%?24?%;line-height:%?50?%;-webkit-border-radius:%?20?%;border-radius:%?20?%;padding:0 %?30?%;display:inline-block}.goods-media .media-mode uni-text[data-v-7dddebf0]:last-child{margin-left:%?40?%}.goods-promotion[data-v-7dddebf0]{position:relative;height:%?108?%;overflow:hidden;background-repeat:no-repeat;background-size:100% 100%;padding:0 %?30?%}.goods-promotion .price-info[data-v-7dddebf0]{margin-right:%?280?%;color:#fff;height:inherit}.goods-promotion .price-info .img-wrap[data-v-7dddebf0]{width:%?200?%;height:%?60?%;display:inline-block;vertical-align:text-top}.goods-promotion .price-info .img-wrap uni-image[data-v-7dddebf0]{width:100%;height:100%}.goods-promotion .price-info .sale-num[data-v-7dddebf0]{line-height:1;font-size:%?24?%;white-space:nowrap;overflow:hidden;color:#fff;text-overflow:ellipsis}.goods-promotion .countdown[data-v-7dddebf0]{position:absolute;right:0;top:0;width:%?280?%;text-align:center;height:100%;background-repeat:no-repeat;background-size:100% 100%}.goods-promotion .countdown .txt[data-v-7dddebf0]{height:%?32?%;text-align:center;line-height:%?32?%;font-size:%?24?%;margin-top:%?10?%;color:#ff4644}.goods-promotion .countdown .clockrun[data-v-7dddebf0]{margin-top:%?6?%;height:%?40?%;line-height:%?40?%;text-align:center;font-size:%?24?%;color:#fff}.group-wrap[data-v-7dddebf0]{margin-bottom:%?20?%;padding:0 %?30?%;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff}.group-wrap .goods-module-wrap[data-v-7dddebf0]{position:relative}.group-wrap .goods-module-wrap.info[data-v-7dddebf0]{padding:%?20?% 0 %?20?%}.group-wrap .goods-module-wrap .price-symbol[data-v-7dddebf0]{font-size:%?32?%;position:relative;top:%?8?%;font-weight:700;margin-right:%?4?%}.group-wrap .goods-module-wrap .price[data-v-7dddebf0]{font-size:%?48?%;position:relative;-webkit-align-self:flex-end;align-self:flex-end;line-height:1;font-weight:700;vertical-align:middle}.group-wrap .goods-module-wrap .member-price-wrap[data-v-7dddebf0]{display:inline-block;font-weight:700;margin-left:%?20?%}.group-wrap .goods-module-wrap .member-price-wrap .unit[data-v-7dddebf0]{font-size:%?24?%;margin-right:%?4?%}.group-wrap .goods-module-wrap .member-price-wrap .money[data-v-7dddebf0]{font-size:%?28?%}.group-wrap .goods-module-wrap .member-price-wrap .img-wrap[data-v-7dddebf0]{width:%?83?%;height:%?34?%;font-size:%?22?%;-webkit-border-radius:%?6?%;border-radius:%?6?%;display:inline-block;vertical-align:text-top;margin-left:%?10?%}.group-wrap .goods-module-wrap .member-price-wrap .img-wrap uni-image[data-v-7dddebf0]{width:100%;height:100%}.group-wrap .goods-module-wrap .sku-name-wrap[data-v-7dddebf0],\r\n.group-wrap .goods-module-wrap .introduction[data-v-7dddebf0]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.group-wrap .goods-module-wrap .sku-name-wrap[data-v-7dddebf0]{font-weight:700;font-size:%?32?%;line-height:1.6}.group-wrap .goods-module-wrap .introduction[data-v-7dddebf0]{margin:%?20?% 0;font-size:%?28?%}.group-wrap .goods-module-wrap .logistics-wrap[data-v-7dddebf0]{display:-webkit-box;display:-webkit-flex;display:flex;margin-top:%?20?%}.group-wrap .goods-module-wrap .logistics-wrap uni-text[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?24?%;color:#909399;text-align:center}.group-wrap .goods-module-wrap .logistics-wrap uni-text[data-v-7dddebf0]:first-of-type{text-align:left}.group-wrap .goods-module-wrap .logistics-wrap uni-text[data-v-7dddebf0]:last-of-type{text-align:right}.group-wrap .market-price-wrap[data-v-7dddebf0]{margin-left:%?20?%;color:#909399;text-decoration:line-through;display:inline-block;vertical-align:bottom;line-height:normal}.group-wrap .market-price-wrap .unit[data-v-7dddebf0]{margin-right:%?4?%;font-size:%?24?%}.group-wrap .market-price-wrap .money[data-v-7dddebf0]{font-size:%?28?%}.follow-and-share[data-v-7dddebf0]{position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-top:%?8?%}.follow-and-share .iconfont[data-v-7dddebf0]{font-weight:700;margin-right:%?30?%;font-size:%?32?%;vertical-align:middle}.follow-and-share .iconfont[data-v-7dddebf0]:first-child{font-size:%?30?%}.follow-and-share .iconfont[data-v-7dddebf0]:last-child{margin-right:0}.follow-and-share .fenxiao[data-v-7dddebf0]{display:block;position:absolute;font-size:%?24?%;font-weight:700;width:140%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;left:%?-80?%;text-align:right}.goods-cell[data-v-7dddebf0]{display:-webkit-box;display:-webkit-flex;display:flex;padding:%?20?% 0;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background:#fff;line-height:%?40?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.goods-cell .tit[data-v-7dddebf0]{color:#909399;font-size:%?28?%;margin-right:%?20?%;width:%?70?%}.goods-cell .box[data-v-7dddebf0]{width:90%;font-size:%?28?%;line-height:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goods-evaluate[data-v-7dddebf0]{padding:%?20?% 0;background:#fff}.goods-evaluate .tit[data-v-7dddebf0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?24?%}.goods-evaluate .tit.active[data-v-7dddebf0]{padding-bottom:%?20?%;border-bottom:%?1?% solid #eee}.goods-evaluate .tit uni-view[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;line-height:%?40?%;text-align:left}.goods-evaluate .evaluate-item[data-v-7dddebf0]{padding:%?30?% 0 0}.goods-evaluate .evaluate-item .evaluator[data-v-7dddebf0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.goods-evaluate .evaluate-item .evaluator .evaluator-info[data-v-7dddebf0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.goods-evaluate .evaluate-item .evaluator .evaluator-face[data-v-7dddebf0]{width:%?80?%;height:%?80?%;-webkit-border-radius:50%;border-radius:50%;overflow:hidden}.goods-evaluate .evaluate-item .evaluator .evaluator-face uni-image[data-v-7dddebf0]{width:100%;height:100%;-webkit-border-radius:50%;border-radius:50%}.goods-evaluate .evaluate-item .evaluator .evaluator-name[data-v-7dddebf0]{margin-left:%?20?%;font-size:%?28?%;max-width:50%}.goods-evaluate .evaluate-item .evaluator .time[data-v-7dddebf0]{font-size:%?22?%}.goods-evaluate .evaluate-item .cont[data-v-7dddebf0]{text-align:justify;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-box-pack:center;overflow:hidden;word-break:break-all;font-size:%?24?%}.goods-evaluate .evaluate-item .evaluate-img[data-v-7dddebf0]{display:-webkit-inline-box;display:-webkit-inline-flex;display:inline-flex;margin-top:%?20?%}.goods-evaluate .evaluate-item .evaluate-img .img-box[data-v-7dddebf0]{width:%?100?%;height:%?100?%;overflow:hidden;margin:0 %?20?% %?20?% 0;-webkit-border-radius:%?10?%;border-radius:%?10?%}.goods-evaluate .evaluate-item .evaluate-img .img-box uni-image[data-v-7dddebf0]{width:100%;height:100%}.goods-evaluate .evaluate-item-empty[data-v-7dddebf0]{float:right;color:#909399}.goods-evaluate .evaluate-item-empty uni-text[data-v-7dddebf0]:first-child{margin-right:%?30?%}.goods-evaluate .evaluate-item-empty .iconfont[data-v-7dddebf0]{margin-top:%?2?%}.goods-action-button[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1}.goods-merchants-service-popup-layer[data-v-7dddebf0]{height:%?660?%}.goods-merchants-service-popup-layer uni-scroll-view[data-v-7dddebf0]{position:absolute;left:0;right:0;height:65%}.goods-merchants-service-popup-layer uni-scroll-view .item[data-v-7dddebf0]{padding:0 %?30?%;height:%?120?%;line-height:%?100?%;border-bottom:%?2?% solid #eee}.goods-merchants-service-popup-layer uni-scroll-view .item[data-v-7dddebf0]:last-child{border-bottom:none}.goods-merchants-service-popup-layer uni-scroll-view .item .iconfont[data-v-7dddebf0]{display:inline-block;margin-right:%?20?%;font-size:%?32?%;vertical-align:top}.goods-merchants-service-popup-layer uni-scroll-view .item .info-wrap[data-v-7dddebf0]{display:inline-block;vertical-align:middle;width:90%}.goods-merchants-service-popup-layer uni-scroll-view .item .info-wrap .title[data-v-7dddebf0]{display:block;font-size:%?28?%}.goods-merchants-service-popup-layer uni-scroll-view .item .info-wrap .describe[data-v-7dddebf0]{font-size:%?24?%;color:#909399;display:block;padding:%?10?% 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-merchants-service-popup-layer uni-scroll-view .item.empty-desc[data-v-7dddebf0]{height:%?100?%}.goods-merchants-service-popup-layer uni-scroll-view .item.empty-desc .iconfont[data-v-7dddebf0]{vertical-align:middle}.goods-attribute-popup-layer[data-v-7dddebf0]{height:%?660?%}.goods-attribute-popup-layer .goods-attribute-body[data-v-7dddebf0]{position:absolute;left:0;right:0;height:60%}.goods-attribute-popup-layer .goods-attribute-body .item[data-v-7dddebf0]{padding:%?20?% 0;margin:0 %?30?%;border-bottom:1px solid #eee}.goods-attribute-popup-layer .goods-attribute-body .item .attr-name[data-v-7dddebf0]{color:#909399;display:inline-block;width:%?150?%;overflow:hidden;vertical-align:text-top}.goods-attribute-popup-layer .goods-attribute-body .item .value-name[data-v-7dddebf0]{margin-left:%?20?%;vertical-align:text-top}.goods-attribute-popup-layer .goods-attribute-body .item[data-v-7dddebf0]:last-child{border-bottom:none}.goods-detail-tab[data-v-7dddebf0]{width:100%;padding-top:%?20?%;background:#fff}.goods-detail-tab .detail-tab[data-v-7dddebf0]{margin-left:%?30?%}.goods-detail-tab .detail-tab .tab-item[data-v-7dddebf0]{height:%?70?%;color:#303133;line-height:%?70?%;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:%?32?%}.goods-detail-tab .detail-content[data-v-7dddebf0]{width:100%}.goods-detail-tab .goods-details[data-v-7dddebf0]{padding:%?20?%;margin-bottom:%?100?%;overflow:hidden;background:#fff}.goods-detail-tab .goods-details.active[data-v-7dddebf0]{min-height:%?150?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#909399}.poster-layer .generate-poster[data-v-7dddebf0]{padding:%?40?% 0}.poster-layer .generate-poster .iconfont[data-v-7dddebf0]{font-size:%?80?%;color:#07c160;line-height:normal}.poster-layer .generate-poster > uni-view[data-v-7dddebf0]{text-align:center}.poster-layer .generate-poster > uni-view[data-v-7dddebf0]:last-child{margin-top:%?20?%}.poster-layer .image-wrap[data-v-7dddebf0]{width:70%;margin:30px auto 20px auto;-webkit-box-shadow:0 0 16px hsla(0,0%,39.2%,.3);box-shadow:0 0 16px hsla(0,0%,39.2%,.3)}.poster-layer .image-wrap uni-image[data-v-7dddebf0]{width:100%;height:100%;height:%?750?%}.poster-layer .msg[data-v-7dddebf0]{padding:%?40?%}.poster-layer .save[data-v-7dddebf0]{text-align:center;height:%?80?%;line-height:%?80?%}.poster-layer .close[data-v-7dddebf0]{position:absolute;top:0;right:%?20?%;width:%?40?%;height:%?80?%;font-size:%?50?%}.share-popup .share-title[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-title[data-v-7dddebf0]{line-height:%?60?%;font-size:%?32?%;padding:%?15?% 0;text-align:center}.share-popup .share-content[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content[data-v-7dddebf0]{display:-webkit-box;display:flex;display:-webkit-flex;-webkit-flex-wrap:wrap;-moz-flex-wrap:wrap;-ms-flex-wrap:wrap;-o-flex-wrap:wrap;flex-wrap:wrap;padding:%?80?% %?15?%}.share-popup .share-content .share-box[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;text-align:center}.share-popup .share-content .share-box .share-btn[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .share-btn[data-v-7dddebf0]{margin:0;padding:0;border:none;line-height:1;height:auto}.share-popup .share-content .share-box .share-btn uni-text[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .share-btn uni-text[data-v-7dddebf0]{margin-top:%?20?%;font-size:%?24?%;display:block;color:#303133}.share-popup .share-content .share-box .iconfont[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .iconfont[data-v-7dddebf0]{font-size:%?80?%;line-height:normal}.share-popup .share-content .share-box .iconfuzhilianjie[data-v-7dddebf0],\r\n.share-popup .share-content .share-box .iconpengyouquan[data-v-7dddebf0],\r\n.share-popup .share-content .share-box .iconhaowuquan[data-v-7dddebf0],\r\n.share-popup .share-content .share-box .iconiconfenxianggeihaoyou[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .iconfuzhilianjie[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .iconpengyouquan[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .iconhaowuquan[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-content .share-box .iconiconfenxianggeihaoyou[data-v-7dddebf0]{color:#07c160}.share-popup .share-footer[data-v-7dddebf0],\r\n.uni-popup__wrapper-box .share-footer[data-v-7dddebf0]{height:%?90?%;line-height:%?90?%;border-top:%?2?% solid #eee;text-align:center}.newdetail[data-v-7dddebf0]{padding:0 %?30?%;background:#fff}.newdetail .item[data-v-7dddebf0]{height:%?78?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:%?1?% solid #eee}.newdetail .item .label[data-v-7dddebf0]{width:%?70?%;color:#909399;font-size:%?28?%;margin-right:%?20?%}.newdetail .item[data-v-7dddebf0]:last-child{border-bottom:none}.newdetail .item.free .free-tip[data-v-7dddebf0]{border:1px solid;padding:0 %?10?%;-webkit-border-radius:%?10?%;border-radius:%?10?%;margin-right:%?10?%;font-size:%?24?%}.newdetail .item.free .value[data-v-7dddebf0]{display:inline-block;width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.newdetail .item.service .list-wrap[data-v-7dddebf0]{margin-right:%?20?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-box-flex:1;-webkit-flex:1;flex:1}.newdetail .item.service .list-wrap .item-wrap[data-v-7dddebf0]{display:inline;font-size:%?28?%;margin-right:%?20?%}.newdetail .item.service .list-wrap .item-wrap[data-v-7dddebf0]:last-child{margin-right:0}.newdetail .item.service .list-wrap .item-wrap .icondui[data-v-7dddebf0]{font-size:%?28?%;margin-right:%?6?%;line-height:%?30?%}.newdetail .item.selected-sku-spec .box[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-right:%?60?%;width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.newdetail .item.selected-sku-spec .box uni-text[data-v-7dddebf0]{margin-right:%?10?%}.newdetail .item.selected-sku-spec .box uni-text[data-v-7dddebf0]:last-child{margin-right:0}.newdetail .item.goods-attribute .box[data-v-7dddebf0]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-right:%?60?%;width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.newdetail .item.goods-attribute .box uni-text[data-v-7dddebf0]{margin-right:%?20?%}.newdetail .item.goods-attribute .box uni-text[data-v-7dddebf0]:last-child{margin-right:0}.newdetail .item .img-wrap[data-v-7dddebf0]{width:%?38?%;height:%?38?%;position:absolute;right:%?30?%}.newdetail .item .img-wrap uni-image[data-v-7dddebf0]{width:100%;height:100%}.popup-layer[data-v-7dddebf0]{background:#fff}.popup-layer .head-wrap[data-v-7dddebf0]{font-size:%?32?%;line-height:%?100?%;height:%?100?%;display:block;text-align:center}.popup-layer .head-wrap .iconfont[data-v-7dddebf0]{position:absolute;float:right;right:22px;font-size:%?32?%}.popup-layer .button-box[data-v-7dddebf0]{width:100%;position:absolute;bottom:0;z-index:1;margin-bottom:%?30?%}.popup-layer .button-box uni-button[data-v-7dddebf0]{height:%?80?%}.more-img-wrap[data-v-7dddebf0]{width:%?38?%;height:%?38?%;position:absolute;right:%?30?%}.more-img-wrap uni-image[data-v-7dddebf0]{width:100%;height:100%}.iconright[data-v-7dddebf0]{color:#909399;font-size:%?28?%;position:absolute;right:%?30?%}.promotion-tag[data-v-7dddebf0]{color:#fff;font-size:%?20?%;-webkit-border-top-left-radius:%?30?%;border-top-left-radius:%?30?%;-webkit-border-bottom-left-radius:%?30?%;border-bottom-left-radius:%?30?%;padding:%?4?% %?10?%;margin-right:%?10?%;vertical-align:middle}',""]),e.exports=t},cd4a:function(e,t,i){var o=i("9aed");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var a=i("4f06").default;a("41dd333c",o,!0,{sourceMap:!1,shadowMode:!1})},d590:function(e,t,i){"use strict";i.r(t);var o=i("5639"),a=i.n(o);for(var s in o)"default"!==s&&function(e){i.d(t,e,(function(){return o[e]}))}(s);t["default"]=a.a},ebd9:function(e,t,i){"use strict";var o=i("cd4a"),a=i.n(o);a.a},f5e0:function(e,t,i){var o=i("24fb");t=o(!1),t.push([e.i,"[data-v-7dddebf0] .reward-popup .uni-popup__wrapper-box{background:none!important;max-width:unset!important;max-height:unset!important}[data-v-7dddebf0] .action-icon-wrap .iconfont.iconshouye1{font-size:%?40?%}[data-v-7dddebf0] .uni-video-cover{background:none}[data-v-7dddebf0] .uni-video-cover-duration{display:none}[data-v-7dddebf0] .uni-video-cover-play-button{-webkit-border-radius:50%;border-radius:50%;border:%?4?% solid #fff;width:%?120?%;height:%?120?%;background-size:30%}.poster-layer[data-v-7dddebf0] .uni-popup__wrapper-box{max-height:none!important}[data-v-7dddebf0] .sku-layer .uni-popup__wrapper-box{overflow-y:initial!important}.goods-promotion .countdown .clockrun[data-v-7dddebf0] .uni-countdown__number{min-width:%?32?%;height:%?32?%;text-align:center;line-height:%?32?%;-webkit-border-radius:4px;border-radius:4px;display:inline-block;padding:%?4?%;margin:0;border:none}.goods-promotion .countdown .clockrun[data-v-7dddebf0] .uni-countdown__splitor{height:%?32?%;line-height:%?36?%;text-align:center;display:inline-block;padding:0 %?8?%}.goods-promotion .countdown .clockrun[data-v-7dddebf0] .uni-countdown__splitor.day{width:auto}[data-v-7dddebf0] .uni-popup__wrapper.uni-custom .uni-popup__wrapper-box{max-height:unset!important}[data-v-7dddebf0] .goods-action-button.active1{padding:0 10px}[data-v-7dddebf0] .goods-action-button.active1 .action-buttom-wrap{height:36px;line-height:36px;-webkit-border-radius:36px;border-radius:36px}[data-v-7dddebf0] .goods-action-button.active2{padding:0 30px}[data-v-7dddebf0] .goods-action-button.active2 .action-buttom-wrap{height:36px;line-height:36px;-webkit-border-radius:36px;border-radius:36px;margin:10px 0}",""]),e.exports=t}}]);