You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
51 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-views-goods-goodsDetails"],{"02a5":function(t,e,i){"use strict";var a=i("c6bb"),o=i.n(a);o.a},"071e":function(t,e,i){"use strict";var a=i("e632"),o=i.n(a);o.a},1269:function(t,e,i){"use strict";var a=i("4ea4");i("cb29"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("8e5a")),n=getApp(),s={data:function(){return{windowWidth:"",windowHeight:"",colors:"",ctx:"",imgUrl:"",userInfo:{name:"反转",logo:"/static/images/face.jpg",goodsImg:"/static/images/goods/one.jpg",price:"3599.00",goodsName:"魅族17 8GB+128GB 十七度灰 骁龙865 旗舰5G手机 30W快充 6400W后置主摄 90Hz屏幕 支持NFC 智能拍照游戏手机"}}},components:{loading:o.default},props:{posterData:{type:Object}},created:function(){this.getSystem(),this.setData({colors:n.globalData.newColor}),this.setPoster()},onReachBottom:function(){},onShareAppMessage:function(){},methods:{getSystem:function(){var t=this;uni.getSystemInfo({success:function(e){console.log(e),t.setData({windowHeight:e.windowHeight,windowWidth:e.windowWidth})}})},setPoster:function(){uni.showLoading({title:"海报生成中..."});var t=uni.createCanvasContext("mycanvas",this);t.fillStyle="#FFFFFF",t.fillRect(0,0,this.windowWidth-60,520);var e=function(t,e,i,a,o,n,s){t.setFillStyle(i),t.setTextAlign("left"),t.font=s?"normal bold 20px Arial,sans-serif":"normal 20px Arial,sans-serif",t.setFontSize(e),t.fillText(n,a,o),t.restore()};e(t,14,"#333",85,35,this.userInfo.name,"bold"),e(t,12,"#999",85,58,"为您挑选了一个好礼物"),t.save(),t.beginPath();var i=60,a=60,o=15,n=15,s=8;this.setRadius(t,i,a,o,n,s),this.setGoodsImg(t);var l=" "+this.posterData.money;this.setGoodsPrice(t,20,this.colors,15,410,l),this.setGoodsName(t)},setEwm:function(t){var e=this;console.log("生成二维码");var i=100,a=100,o=this.windowWidth-170;t.drawImage("/static/images/ewm.png",o,410,i,a),setTimeout((function(){t.save(),t.draw(!1,(function(){setTimeout((function(){uni.canvasToTempFilePath({canvasId:"mycanvas",success:function(t){console.log(t),e.imgUrl=t.tempFilePath}},e)}),200)})),uni.hideLoading()}),1e3)},setRadius:function(t,e,i,a,o,n){t.arc(a+n,o+n,n,Math.PI,3*Math.PI/2),t.lineTo(e-n+a,o),t.arc(e-n+a,n+o,n,3*Math.PI/2,2*Math.PI),t.lineTo(e+a,i+o-n),t.arc(e-n+a,i-n+o,n,0,1*Math.PI/2),t.lineTo(n+a,i+o),t.arc(n+a,i-n+o,n,1*Math.PI/2,Math.PI),t.strokeStyle="#fff",t.fill(),t.clip(),t.drawImage(this.userInfo.logo,a,o,e,i),t.closePath(),t.restore()},setCircular:function(t,e,i,a,o){t.arc(e/2+a,i/2+o,e/2,0,2*Math.PI,!1),t.strokeStyle="#fff",t.fill(),t.clip(),t.drawImage(this.userInfo.logo,a,o,e,i),t.closePath(),t.restore()},setGoodsImg:function(t){var e=this.windowWidth-90;t.drawImage(this.posterData.img,15,95,e,e),t.save()},setGoodsPrice:function(t,e,i,a,o,n,s){t.setFillStyle(i),t.setTextAlign("left"),t.font=s?"normal bold 20px Arial,sans-serif":"normal 20px Arial,sans-serif",t.setFontSize(e),t.fillText(n,a,o),t.restore()},setGoodsName:function(t){for(var e={x:20,y:440,width:210,height:20,line:2,color:"#202020",size:14,align:"left",baseline:"top",text:this.posterData.title,bold:!0},i=Math.ceil(e.width/e.size),a=Math.ceil(e.text.length/i),o=0;o<a;o++){var n={x:e.x,y:e.y+o*e.height,color:e.color,size:e.size,align:e.align,baseline:e.baseline,text:e.text.substring(o*i,(o+1)*i),bold:e.bold};o<e.line&&(o==e.line-1&&(n.text=n.text.substring(0,n.text.length-3)+"......"),this.drawText(t,n))}this.setEwm(t)},drawText:function(t,e){console.log("渲染文字",e),t.save(),t.setFillStyle(e.color),t.setFontSize(e.size),t.setTextAlign(e.align),t.setTextBaseline(e.baseline),e.bold&&(console.log("字体加粗"),t.fillText(e.text,e.x,e.y-.1),t.fillText(e.text,e.x-.1,e.y)),t.fillText(e.text,e.x,e.y),e.bold&&(t.fillText(e.text,e.x,e.y+.1),t.fillText(e.text,e.x+.1,e.y)),t.restore()},saveImg:function(){uni.showLoading({title:"保存中..."})}}};e.default=s},"13ab":function(t,e,i){"use strict";i.r(e);var a=i("9b40"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"220d":function(t,e,i){"use strict";var a=i("a23c"),o=i.n(a);o.a},2585:function(t,e,i){var a=i("71dc");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("491b37f6",a,!0,{sourceMap:!1,shadowMode:!1})},2880:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=getApp(),o={data:function(){return{statusBarHeight:a.globalData.statusHeight+"px",toBarHeight:a.globalData.toBar+"px"}},components:{},props:{textcolor:{type:String,default:"#fff"},bgColor:{type:String,default:""},showTitle:{type:Boolean,default:!0},showLeft:{type:Boolean,default:!1},navTitle:{type:String,default:"登录"},leftBg:{type:Boolean,default:!0}},methods:{toback:function(){uni.navigateBack({delta:1})}}};e.default=o},2976:function(t,e,i){"use strict";i.r(e);var a=i("8846"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"2d2a":function(t,e,i){"use strict";var a=i("2585"),o=i.n(a);o.a},"2e0d":function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"nav_abr",style:{background:t.bgColor}},[i("v-uni-view",{staticClass:"status_bar",style:"height: "+t.statusBarHeight}),i("v-uni-view",{staticClass:"toBar",style:"height:"+t.toBarHeight},[1==t.showLeft?[1==t.leftBg?i("v-uni-image",{staticClass:"left_img",attrs:{src:"/static/images/home/lefts.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toback.apply(void 0,arguments)}}}):t._e(),0==t.leftBg?i("v-uni-text",{staticClass:"iconfont icon-fanhui left_icon",staticStyle:{color:"#202020"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toback.apply(void 0,arguments)}}}):t._e()]:t._e(),1==t.showTitle?i("v-uni-text",{staticClass:"title bolds",style:"color:"+t.textcolor},[t._v(t._s(t.navTitle))]):t._e()],2)],1)},n=[]},"38ee":function(t,e,i){"use strict";i.r(e);var a=i("1269"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},4843:function(t,e,i){"use strict";i.r(e);var a=i("f5ce"),o=i("38ee");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("2d2a");var s,l=i("f0c5"),r=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"14ce1cca",null,!1,a["a"],s);e["default"]=r.exports},6990:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"carousel"},[i("v-uni-swiper",{staticClass:"swiper",attrs:{circular:"true",duration:"400",touchable:!0},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.swiperchange.apply(void 0,arguments)}}},t._l(t.goodsData.imgList,(function(e,a){return i("v-uni-swiper-item",{key:a,staticClass:"swiper-item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.preview(t.goodsData.imgList,a)}}},[i("v-uni-view",{staticClass:"image-wrapper"},[i("v-uni-image",{staticClass:"loaded",attrs:{src:e,mode:"aspectFill"}})],1)],1)})),1),0!==t.goodsData.imgList.length?i("v-uni-view",{staticClass:"dots"},[i("v-uni-text",[t._v(t._s(t.currentIndex))]),t._v("/"),i("v-uni-text",[t._v(t._s(t.goodsData.imgList.length))])],1):t._e(),""!==t.goodsData.videos?i("v-uni-view",{staticClass:"video_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onshowVideo.apply(void 0,arguments)}}},[i("v-uni-text",[t._v(t._s(t.minutes)+"'"+t._s(t.seconds)+"'")])],1):t._e()],1)},n=[]},"71dc":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".mycanvas[data-v-14ce1cca]{margin:0 auto;border-radius:%?10?%;overflow:hidden}.saveImg[data-v-14ce1cca]{width:70%;height:%?80?%;line-height:%?80?%;text-align:center;color:#fff;background-color:#4db8e4;border-radius:%?10?%;margin:%?40?% auto %?20?%}.imgs[data-v-14ce1cca]{position:absolute;top:0;left:50%;border-radius:%?10?%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tips[data-v-14ce1cca]{text-align:center;color:#fff;font-size:%?24?%;margin-top:%?20?%}",""]),t.exports=e},"7b7a":function(t,e,i){"use strict";i.r(e);var a=i("2e0d"),o=i("950f");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("071e");var s,l=i("f0c5"),r=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"2273dde2",null,!1,a["a"],s);e["default"]=r.exports},"7e60":function(t,e,i){"use strict";i.r(e);var a=i("6990"),o=i("13ab");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("e1ad");var s,l=i("f0c5"),r=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"0581a02d",null,!1,a["a"],s);e["default"]=r.exports},8002:function(t,e,i){var a=i("9365");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("b602d904",a,!0,{sourceMap:!1,shadowMode:!1})},8846:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},components:{},props:{colors:{type:String},couponList:{type:Array}},methods:{onreceive:function(t,e){1!=t.status&&this.$emit("onReceive",t,e)}}};e.default=a},9365:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".carousel[data-v-0581a02d]{position:relative;overflow:hidden}.carousel .dots[data-v-0581a02d]{height:%?40?%;line-height:%?40?%;font-size:%?24?%;text-align:center;background-color:rgba(0,0,0,.2);position:absolute;bottom:%?30?%;right:0;z-index:20;color:#fff;padding:0 %?20?%;border-radius:%?20?% 0 0 %?20?%}.swiper[data-v-0581a02d]{width:100vw;height:100vw;z-index:100}.loaded[data-v-0581a02d]{width:100vw;height:100vw;display:block}.video_btn[data-v-0581a02d]{width:%?165?%;height:%?60?%;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKYAAAA8CAYAAADsdcFSAAAAAXNSR0IArs4c6QAAEudJREFUeAHtnQuMFdUZx89c9nn3hSwgLIumtCjIo6iA+Cy+SSpJJbIm1ai1ppo2atP6gkrF2opYxUpjU7FWiVKVVpqGtKCtBiu1cVetwlJdfCTtPngowrKwj7J7p///950zdy579wVrsqNzsjPnzHe+85hzf/udOWdmznjms3Mess7FloNtmN0S8CnnFrvotICPqnJLYeuyWyf8Q9goH3Q32IAQvHxuU6ZMKXj44YcnnnjiiZOKi4vHFxQUVObk5IzyPC+ZSCSK4BPY2A3xFvB9vzOVSh2E39rZ2flxe3t7w4EDB+rr6ureu/nmm9/ftm1bO06hw24Ed1DcYIFJy5hcsGBByb333nvG+PHj5xYWFk4HfAWDUss4kyHZAoC1va2tbUt9ff2mxYsXv7Zu3boWVLQVGy3pUbmjBTMPpScfffTR8VVVVQvLysrOi2E8qt8jsokJaXNz88tr1679/fXXX1+PEyGg/zvSEzpSMNllF69cubLymmuuuRpdNYE80ryOtO5xuiHYAgDUR1f/8pNPPrn6pptuakAVD2AbcBd/JDDlTZ069ZiNGzcuqKiouBI88poydnELZLQA+Oxoamp6et68eetqa2v3InJA1pOj5YG45NKlSytXr1790xEjRlwMKOMBzEBa7wukSzZKS0tPufbaa2f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5uXlfQmAHgnkvZUTx0WwBQCkj/d2Xl61atU9F1544T/ACp+R7TZP2depHS1M/GhQ8rHHHjvuMjgu8A4+uSJs7L5gLQAe2/noGp8SwvwkX25ktz0gKxlusqMF0+XF77Mk+dUBLvDOtbS5bHEMqWuez6dPGPk6BJ8850O+9nlKApn1i7oDaYXBAtOVyaklTiflcy1tLlvMFWK5GCfXPeQSc4A1yduc8LvfTXK5xP6QaQHA18llW+C3cjECDGYa+Iot36zlS4z2HR0+jcZNHmYcjMoPNpjhOjFvWlICyGtZbgSX8s+yXGQfu0FuATsTLeBhHR/5jDOvG2kZZUp6kMsz/wfVI9hkCTqF2AAAAABJRU5ErkJggg==) no-repeat;background-size:100% 100%;position:absolute;bottom:%?20?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);text-align:right;line-height:%?60?%;padding:0 %?20?%;font-size:%?24?%;letter-spacing:%?2?%}.video_btn[data-v-0581a02d]:active{opacity:.8}",""]),t.exports=e},"950f":function(t,e,i){"use strict";i.r(e);var a=i("2880"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},9673:function(t,e,i){"use strict";i.r(e);var a=i("f5a6"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a},"9b40":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{currentIndex:1,showVideo:!1,minutes:"00",seconds:"18",isH5:!1,platform:"",videos:""}},props:{goodsData:{type:Object}},created:function(){this.platform=uni.getSystemInfoSync().platform},methods:{onshowVideo:function(){"android"==this.platform?this.isH5=!0:this.showVideo=!0,this.$emit("setShowVideo",this.showVideo,this.isH5)},swiperchange:function(t){this.currentIndex=t.detail.current+1},preview:function(t,e){uni.previewImage({current:e,urls:t})}}};e.default=a},a118:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var a={uniPopup:i("90f2").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goodsDetails"},[i("v-uni-view",{staticClass:"top_nav"},[i("navBar",{attrs:{textcolor:"#000",showLeft:!0,showTitle:!1}})],1),i("swipers",{attrs:{goodsData:t.goodsData},on:{setShowVideo:function(e){arguments[0]=e=t.$handleEvent(e),t.setShowVideo.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"place",style:"top:-"+t.toBar}),i("v-uni-view",{staticClass:"goods_info"},[i("v-uni-view",{staticClass:"goods_name"},[t._v(t._s(t.goodsData.title))]),i("v-uni-view",{staticClass:"text-gray text-sm padding-top-xs"},[t._v(t._s(t.goodsData.skuSubTitle))]),i("v-uni-view",{staticClass:"goods_price"},[i("v-uni-text",{staticClass:"money text-lg"},[t._v("¥"+t._s(t.goodsData.money))]),i("v-uni-text",{staticClass:"h_money"},[t._v(t._s(t.goodsData.hmoney))])],1),i("v-uni-view",{staticClass:"shoucang"},[i("v-uni-view",{staticClass:"sc_icons",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setisColl.apply(void 0,arguments)}}},[i("v-uni-text",{class:["iconfont",1==t.isColl?"icon-shoucang1":"icon-shoucang"],style:{color:1==t.isColl?t.colors:""}})],1),i("v-uni-view",{staticClass:"sc_text",style:{color:1==t.isColl?t.colors:""}},[t._v("收藏")])],1)],1),i("v-uni-view",{staticClass:"other"},[1==t.goodsData.baoyou?i("p",[t._v("快递:包邮")]):i("p",[t._v("快递费:10元")]),i("p",[t._v("销量:"+t._s(t.goodsData.xiaoliang))])]),i("v-uni-view",{staticClass:"share"},[i("v-uni-view",{staticClass:"tips",staticStyle:{color:"#666"}},[i("v-uni-text",{staticClass:"iconfont icon-zuanshi",staticStyle:{color:"#FF546E","font-size":"38upx","font-weight":"600"}}),t._v("分享商品可获得商城积分")],1),i("v-uni-view",{staticClass:"poster",staticStyle:{color:"#FF546E"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openPoster.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-CombinedShape"}),t._v("生成海报")],1)],1),i("v-uni-view",{staticClass:"shop"},[i("v-uni-image",{staticClass:"shop_img",attrs:{src:"/static/images/log.png",mode:"aspectFill"}}),i("v-uni-view",{staticClass:"shop_center",staticStyle:{width:"65%"}},[i("v-uni-view",{staticClass:"shop_name"},[t._v("社区团购自营店")]),i("v-uni-view",{staticClass:"shop_address"},[t._v(t._s(t.goodsData.stallAddress))])],1),i("v-uni-view",{staticClass:"shoucang go_btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openMap.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"sc_icons"},[i("v-uni-text",{staticClass:"iconfont icon-dizhi"})],1),i("v-uni-view",{staticClass:"sc_text"},[t._v("到这去")])],1)],1),i("v-uni-view",{staticClass:"sku_pon"},[i("v-uni-view",{staticClass:"cell",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openSku.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"text1"},[t._v("商品规格:")]),i("v-uni-text",{staticClass:"text2"},[t._v("类型...")]),i("v-uni-image",{attrs:{src:"/static/images/home/right.png"}})],1),i("v-uni-view",{staticClass:"cell",staticStyle:{border:"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.opencoupon.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"text1"},[t._v("优 惠 券:")]),i("v-uni-text",{staticClass:"text2",style:{color:t.colors}},[t._v("领取优惠券")]),i("v-uni-image",{attrs:{src:"/static/images/home/right.png"}})],1)],1),i("v-uni-view",{staticClass:"evaluate"},[i("p",{staticClass:"eva_title"},[t._v("商品评价"),i("v-uni-text",[t._v("(10)")]),i("v-uni-text",{staticClass:"seeAll",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.seeAll.apply(void 0,arguments)}}},[t._v("查看全部")])],1),i("v-uni-view",{staticClass:"evaluate_box"},[i("v-uni-view",{staticClass:"pingjia"},[0!==t.goodsEva.length?i("v-uni-view",t._l(t.goodsEva,(function(e,a){return i("v-uni-view",{key:a,staticClass:"pingjia_box"},[i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{staticClass:"head",attrs:{src:e.headimg,mode:""}}),i("v-uni-view",{staticClass:"right"},[i("p",{staticClass:"name"},[t._v(t._s(e.nickname))]),i("p",{staticClass:"p2"},[i("v-uni-text",{staticClass:"text1"},[t._v(t._s(e.create_time))]),i("v-uni-text",{staticClass:"text2"},[t._v(t._s(e.goods_name))])],1),i("p",{staticClass:"p3"},[t._l(e.score,(function(t){return i("v-uni-image",{key:t,attrs:{src:"/static/images/home/stars.png",mode:""}})})),5!==e.score?t._l(5-e.score,(function(t,e){return i("v-uni-image",{key:e,attrs:{src:"/static/images/home/star-no.png",mode:""}})})):t._e()],2)])],1),0!==e.tags.length?i("v-uni-view",{staticClass:"tag_box"},t._l(e.tags,(function(e,a){return i("v-uni-view",{key:a,staticClass:"tags"},[t._v(t._s(e))])})),1):t._e(),i("v-uni-view",{staticClass:"ping_neirong"},[t._v(t._s(e.comment))]),0!==e.images.length?i("v-uni-view",{staticClass:"ping_img"},t._l(e.images,(function(a,o){return i("v-uni-image",{key:o,attrs:{src:a,mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.preview(e.images,o)}}})})),1):t._e(),e.reply&&""!==e.reply?i("v-uni-view",{staticClass:"huifu"},[t._v("商家回复:"+t._s(e.reply))]):t._e()],1)})),1):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"details"},[i("v-uni-view",{staticClass:"details_title"},[t._v("——"),i("v-uni-text",{staticStyle:{color:"#666666",margin:"0 20upx"}},[t._v("商品详情")]),t._v("——")],1),i("v-uni-view",{staticClass:"details_content"},[i("v-uni-rich-text",{attrs:{nodes:t.htmlNode}})],1)],1),i("v-uni-view",{staticClass:"operation"},[i("v-uni-view",{staticClass:"home",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toHome.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-shouye"})],1),i("v-uni-view",{staticClass:"cart",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toCart.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-gouwuche1"})],1),i("v-uni-view",{staticClass:"btns"},[i("v-uni-view",{staticClass:"addcart",style:"border-color:"+t.colors+";color:"+t.colors,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openSku.apply(void 0,arguments)}}},[t._v("加入购物车")]),i("v-uni-view",{staticClass:"dingjin",style:"background:"+t.colors,on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openSku.apply(void 0,arguments)}}},[t._v("立 即 购 买")])],1)],1),i("sku",{attrs:{skuList:t.nowList,showModal:t.showModal,colors:t.colors,bottoms:"0"},on:{onhide:function(e){arguments[0]=e=t.$handleEvent(e),t.onhide.apply(void 0,arguments)}}}),1==t.couponshow?i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"preventTouchMove"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hidecoupon.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{staticClass:"coupon",style:"bottom:"+(1==t.couponshow?"0px":"")},[i("v-uni-scroll-view",{staticClass:"scrolls",attrs:{"scroll-y":!0}},[i("coupon",{attrs:{colors:t.colors,couponList:t.couponList},on:{onReceive:function(e){arguments[0]=e=t.$handleEvent(e),t.onReceive.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"go_top",style:"right: "+(1==t.scrollShow?"3%":"-200upx")},[i("v-uni-view",{staticClass:"ontop",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goTop.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{src:"/static/images/home/TOP.png"}})],1)],1),i("uni-popup",{ref:"popup",attrs:{type:"center"}},[t.shows?i("v-uni-view",{staticClass:"center_poter",staticStyle:{margin:"0 auto"}},[i("v-uni-image",{staticClass:"close_btn",attrs:{src:"/static/images/goods/close.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.hidePoster.apply(void 0,arguments)}}}),i("poster",{attrs:{posterData:t.goodsData}})],1):t._e()],1),1==t.showVideo?i("v-uni-view",{staticClass:"mask",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.ondefault.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.hideShow.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"close"},[i("v-uni-image",{attrs:{src:"/static/images/goods/close.png"}})],1)],1):t._e(),1==t.showVideo?i("v-uni-view",{staticClass:"previewvideo"},[i("v-uni-view",{staticClass:"videos"},[1==t.showVideo?i("v-uni-video",{staticClass:"nowvideos",attrs:{id:"nowVideo",src:t.goodsData.videos,autoplay:t.showVideo,"show-center-play-btn":!0,"show-mute-btn":!0,"show-fullscreen-btn":!1}}):t._e()],1)],1):t._e(),i("v-uni-view",{staticStyle:{position:"absolute",top:"-999upx",left:"-999upx"}},[i("v-uni-video",{ref:"newVideo",attrs:{id:"newVideo",src:t.goodsData.videos,autoplay:t.showVideo,"show-center-play-btn":!1,"show-mute-btn":!0,"show-fullscreen-btn":!1},on:{fullscreenchange:function(e){arguments[0]=e=t.$handleEvent(e),t.hideShow.apply(void 0,arguments)}}})],1),1==t.isShow?i("loading"):t._e()],1)},n=[]},a23c:function(t,e,i){var a=i("afc2");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("0dad7edf",a,!0,{sourceMap:!1,shadowMode:!1})},afc2:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";.carousel[data-v-90f1ef34]{height:100vw;width:100vw;position:absolute;top:%?0?%;left:0;overflow:hidden;z-index:10}.carousel uni-swiper[data-v-90f1ef34]{height:100%}.top_nav[data-v-90f1ef34]{position:fixed;top:0;left:0;z-index:80}.image-wrapper[data-v-90f1ef34]{width:100%;height:100%;overflow:hidden}.swiper-item[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-align-content:center;align-content:center;height:100vw;overflow:hidden;border-bottom:%?1?% solid rgba(0,0,0,.01);position:relative}.swiper-item uni-image[data-v-90f1ef34]{width:100%;height:100%}.place[data-v-90f1ef34]{height:100vw;position:relative;top:0;left:0;overflow:hidden}.goods_info[data-v-90f1ef34]{padding:%?30?% 4%;padding-bottom:%?20?%;position:relative}.goods_info .goods_name[data-v-90f1ef34]{font-size:%?30?%;font-weight:700;color:#333;width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.goods_info .goods_price[data-v-90f1ef34]{height:%?80?%;line-height:%?80?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.goods_price .money[data-v-90f1ef34]{font-size:%?42?%;font-weight:700;color:#ff1929}.goods_price .h_money[data-v-90f1ef34]{font-size:%?28?%;margin-left:%?20?%;text-decoration:line-through;color:#999}.other[data-v-90f1ef34]{padding:0 4%;height:%?60?%;line-height:%?60?%;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;font-size:%?24?%;color:#999}.baoyou[data-v-90f1ef34]{height:%?30?%;font-size:%?20?%;\n\n\nline-height:%?35?%;\nbackground-color:#ff546e;padding:0 %?10?%;color:#fff;margin-left:%?30?%;border-radius:%?4?%}.shoucang[data-v-90f1ef34],\n.go_btn[data-v-90f1ef34]{width:%?80?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:absolute;right:%?20?%;top:74%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.go_btn[data-v-90f1ef34]{top:50%!important}.shoucang .sc_icons uni-text[data-v-90f1ef34]{font-size:%?45?%;color:#999}.shoucang .sc_text[data-v-90f1ef34]{font-size:%?22?%;color:#333;font-weight:500}.share[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;padding:0 4%;background-color:#faeff7;font-size:%?24?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.share_btn[data-v-90f1ef34]{position:absolute;width:100%;height:100%;top:0;left:0;opacity:0}.share uni-view[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;height:%?80?%;line-height:%?80?%;position:relative;-webkit-align-content:center;align-content:center}.share uni-view uni-text[data-v-90f1ef34]{margin-right:%?10?%}.shop[data-v-90f1ef34]{padding:%?20?% 4%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;border-bottom:%?1?% dashed #eee;position:relative}.shop .shop_img[data-v-90f1ef34]{width:%?140?%;height:%?120?%;display:block;overflow:hidden;box-sizing:border-box;border-radius:%?8?%}.shop_center[data-v-90f1ef34]{overflow:hidden;margin-left:%?20?%}.shop_center .shop_name[data-v-90f1ef34]{font-size:%?28?%;color:#333;font-weight:700}.shop_center .shop_address[data-v-90f1ef34]{font-size:%?24?%;color:#666;margin-top:%?20?%;width:80%}.sku_pon[data-v-90f1ef34]{padding:0 4%}.cell[data-v-90f1ef34]{height:%?80?%;line-height:%?80?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-bottom:%?1?% solid #eee}.cell .text1[data-v-90f1ef34]{width:30%;color:#999;font-size:%?24?%}.cell .text2[data-v-90f1ef34]{width:65%;color:#999;font-size:%?24?%}.cell uni-image[data-v-90f1ef34]{width:%?40?%;height:%?40?%;\n /* display: block; */float:right}.details[data-v-90f1ef34]{padding:%?20?% 4%;margin-top:%?20?%;border-top:%?10?% solid #ddd;margin-bottom:%?120?%}.details_title[data-v-90f1ef34]{text-align:center;color:#999}.details_content[data-v-90f1ef34]{margin-top:%?30?%}.operation[data-v-90f1ef34]{height:%?100?%;width:100vw;line-height:%?100?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-align-content:center;align-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;background-color:#f0f0f0;position:fixed;bottom:0;left:0;padding:0 %?20?%;z-index:90}.operation .home[data-v-90f1ef34],\n.cart[data-v-90f1ef34]{width:%?80?%;height:%?80?%;line-height:%?80?%;text-align:center;margin-right:%?20?%}.operation .home uni-text[data-v-90f1ef34],\n.cart uni-text[data-v-90f1ef34]{font-size:%?40?%;font-weight:700;color:#666}.operation .btns[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;width:70vw;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.operation .btns .addcart[data-v-90f1ef34]{height:%?70?%;line-height:%?70?%;text-align:center;border:%?2?% solid #a160f0;padding:0 %?40?%;border-radius:%?40?% 0 0 %?40?%;font-size:%?24?%;color:#a160f0;font-weight:700}.operation .btns .dingjin[data-v-90f1ef34]{height:%?70?%;line-height:%?70?%;text-align:center;padding:0 %?40?%;border-radius:0 %?40?% %?40?% 0;border-left:none;font-size:%?24?%;color:#fff;background-color:#a160f0;font-weight:700}\n/* 优惠券 */.coupon[data-v-90f1ef34]{background-color:#fff;border-radius:%?10?% %?10?% 0 0;position:fixed;left:0;bottom:%?-1000?%;z-index:999;-webkit-transition:all .3s;transition:all .3s}.mask[data-v-90f1ef34]{width:100%;height:100vh;position:fixed;top:0;left:0;background:#000;z-index:900;opacity:.7}.scrolls[data-v-90f1ef34]{width:100vw;height:60vh;padding-top:%?10?%;z-index:500}\n/* 播放视频的轮播图样式 */.place_tow[data-v-90f1ef34]{width:100vw;height:100vw;overflow:hidden;position:absolute;top:0;left:0}.place_tow .videocover[data-v-90f1ef34]{width:100%;height:100%;display:block;position:absolute;top:0;left:0;z-index:5}.playbtn[data-v-90f1ef34]{width:%?100?%!important;height:%?100?%!important;display:block;background-color:rgba(0,0,0,.2);position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);border-radius:50%;z-index:999;overflow:hidden}.playbtn uni-image[data-v-90f1ef34]{width:100%;height:100%;display:block}\n/* 静音按钮 */.shengyin[data-v-90f1ef34]{position:absolute;bottom:%?40?%;right:%?40?%;z-index:10;width:%?50?%;height:%?50?%}.shengyin uni-image[data-v-90f1ef34]{width:%?50?%;height:%?50?%;display:block;border-radius:50%;background-color:rgba(0,0,0,.2)}.evaluate[data-v-90f1ef34]{padding:0 4%;border-top:%?10?% solid #ddd}.evaluate .eva_title[data-v-90f1ef34]{height:%?70?%;margin-top:%?10?%;line-height:%?70?%;font-size:%?30?%;font-weight:700;color:#202020}.evaluate .eva_title uni-text[data-v-90f1ef34]{font-weight:400}.evaluate .eva_title .seeAll[data-v-90f1ef34]{float:right;font-size:%?24?%;color:#999;-webkit-transform:translateY(%?6?%);transform:translateY(%?6?%)}.evaluate .eva_title .seeAll[data-v-90f1ef34]:active{opacity:.8}.evaluate .evaluate_box .pingjia[data-v-90f1ef34]{background-color:#fff;overflow:hidden}.evaluate .evaluate_box .pingjia .pingjia_box[data-v-90f1ef34]{overflow:hidden;margin-top:%?20?%;padding-bottom:%?20?%;overflow:hidden;border-bottom:%?1?% solid #f2f2f2}.evaluate .evaluate_box .pingjia .pingjia_box[data-v-90f1ef34]:last-child{border-bottom:none;padding-bottom:%?10?%}.evaluate .evaluate_box .pingjia .pingjia_box .box_top[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .head[data-v-90f1ef34]{height:%?80?%;max-width:%?80?%;min-width:%?80?%;-webkit-box-flex:1;-webkit-flex:1;flex:1;border-radius:50%;float:left}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right[data-v-90f1ef34]{-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?20?%;position:relative}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right .name[data-v-90f1ef34]{font-size:%?26?%;font-family:Source Han Sans CN;font-weight:400;color:#000}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right .p2[data-v-90f1ef34]{margin-top:%?20?%;font-size:%?24?%;font-family:Source Han Sans CN;font-weight:400;color:#9c9c9c}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right .p2 .text2[data-v-90f1ef34]{margin-left:%?50?%}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right .p3[data-v-90f1ef34]{height:%?35?%;position:absolute;right:0;width:%?200?%;top:%?8?%}.evaluate .evaluate_box .pingjia .pingjia_box .box_top .right .p3 uni-image[data-v-90f1ef34]{width:%?35?%;height:%?35?%;float:left;margin-left:%?5?%}.evaluate .evaluate_box .pingjia .pingjia_box .tag_box[data-v-90f1ef34]{margin-top:%?20?%;overflow:hidden}.evaluate .evaluate_box .pingjia .pingjia_box .tag_box .tags[data-v-90f1ef34]{font-size:%?22?%;font-family:Source Han Sans CN;font-weight:400;background-color:#faeff7;color:#ff546e;float:left;height:%?50?%;line-height:%?50?%;padding:0 %?15?%;border-radius:%?25?%;text-align:center;margin-right:%?20?%}.evaluate .evaluate_box .pingjia .pingjia_box .ping_neirong[data-v-90f1ef34]{font-size:%?28?%;margin-top:%?20?%;font-family:Source Han Sans CN;font-weight:500;color:#000;line-height:%?50?%}.evaluate .evaluate_box .pingjia .pingjia_box .ping_img[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-align-content:flex-start;align-content:flex-start;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-top:%?20?%}.evaluate .evaluate_box .pingjia .pingjia_box .ping_img[data-v-90f1ef34]::after{content:"";max-width:29vw;min-width:29vw}.evaluate .evaluate_box .pingjia .pingjia_box .ping_img uni-image[data-v-90f1ef34]{max-width:29vw;min-width:29vw;height:29vw;border-radius:%?10?%;margin-bottom:%?20?%}.evaluate .evaluate_box .pingjia .pingjia_box .huifu[data-v-90f1ef34]{padding:%?20?%;background-color:#f3f3f3;border-radius:%?10?%;font-size:%?24?%;font-family:Source Han Sans CN;font-weight:400;color:#4d4d4d}.go_top[data-v-90f1ef34]{position:fixed;bottom:12vh;right:%?-200?%;width:%?80?%;z-index:200;-webkit-transition:all .3s;transition:all .3s}.go_top .ontop[data-v-90f1ef34]{width:%?70?%;height:%?70?%;background-color:rgba(0,0,0,.6);border-radius:50%;-webkit-transition:all .3s;transition:all .3s}.go_top .ontop[data-v-90f1ef34]:active{opacity:.8}.go_top .ontop uni-image[data-v-90f1ef34]{width:%?45?%;height:%?55?%;display:block;margin:0 auto;padding-top:%?15?%;overflow:hidden}.center_poter[data-v-90f1ef34]{position:relative;z-index:999}.center_poter .close_btn[data-v-90f1ef34]{width:%?40?%;height:%?40?%;background-color:rgba(0,0,0,.3);position:absolute;top:%?5?%;right:%?5?%;z-index:500;padding:%?5?%;border-radius:%?6?%;z-index:999;text-align:center}\n/* 预览视频弹窗 */.mask[data-v-90f1ef34]{width:100%;height:100vh;position:fixed;top:0;left:0;background-color:rgba(0,0,0,.8);z-index:200}.previewvideo[data-v-90f1ef34]{width:100vw;height:100vw;position:fixed;top:50%;left:0;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#000;z-index:900;opacity:1}.close[data-v-90f1ef34]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-align-content:center;align-content:center;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end;position:absolute;top:%?140?%;right:%?20?%;z-index:900}.close uni-image[data-v-90f1ef34]{width:%?50?%;height:%?50?%;display:block;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-left:%?30?%;margin-bottom:%?20?%;border-radius:50%;padding:%?10?%;background-color:rgba(0,0,0,.2)}.videos[data-v-90f1ef34]{height:100vw;width:100vw;z-index:10;position:relative}.videos uni-video[data-v-90f1ef34]{width:100%;height:100%}.nowvideos[data-v-90f1ef34]{width:100%;height:100%;margin:0 auto}[data-v-90f1ef34] .rich-img{width:100%;height:auto}',""]),t.exports=e},b100:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".coupon_box[data-v-698716c8]{margin:%?20?%;padding:%?20?%;box-shadow:%?0?% %?0?% %?10?% #ddd;position:relative;border-radius:%?10?%;padding-bottom:%?10?%;overflow:hidden}.coupon_box .left[data-v-698716c8]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-flex-wrap:wrap;flex-wrap:wrap;border-bottom:%?1?% solid #eee;padding-bottom:%?20?%;position:relative}.coupon_box .left .ylq[data-v-698716c8]{width:%?60?%;height:%?45?%;position:absolute;top:0;right:%?140?%}.coupon_box .left .hui[data-v-698716c8]{width:%?40?%;height:%?40?%;font-size:%?22?%;color:#fff;background-color:rgba(255,84,110,.8);border-radius:%?8?%;line-height:%?40?%;text-align:center;display:inline-block;-webkit-transform:translateY(%?-5?%);transform:translateY(%?-5?%)}.coupon_box .left .left_top[data-v-698716c8]{width:80vw;display:block;font-size:%?26?%;font-weight:700}.left_top .hui_name[data-v-698716c8]{line-height:%?60?%;height:%?60?%;margin-left:%?20?%;display:inline-block;font-size:%?28?%}.left_bottom[data-v-698716c8]{font-size:%?24?%;font-weight:500;color:#333;height:%?60?%;line-height:%?60?%}.coupon_box .right[data-v-698716c8]{position:absolute;right:%?20?%;top:%?25?%;text-align:center}.coupon_box .right .money[data-v-698716c8]{font-size:%?45?%;margin-bottom:%?10?%}.coupon_box .right uni-text[data-v-698716c8]{font-size:%?24?%;color:#999}.coupon_box .bottom[data-v-698716c8]{height:%?60?%;line-height:%?60?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-align-content:flex-start;align-content:flex-start;font-size:%?24?%;margin-top:%?10?%}.coupon_box .bottom uni-view[data-v-698716c8]{margin-right:%?20?%;color:#888}",""]),t.exports=e},c6bb:function(t,e,i){var a=i("b100");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("1c2a6520",a,!0,{sourceMap:!1,shadowMode:!1})},cb29:function(t,e,i){var a=i("23e7"),o=i("81d5"),n=i("44d2");a({target:"Array",proto:!0},{fill:o}),n("fill")},da4b:function(t,e,i){"use strict";i.r(e);var a=i("a118"),o=i("9673");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("220d");var s,l=i("f0c5"),r=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"90f1ef34",null,!1,a["a"],s);e["default"]=r.exports},dc11:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,".status_bar[data-v-2273dde2]{width:100vw;overflow:hidden;display:block}.toBar[data-v-2273dde2]{width:100vw;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.left_icon[data-v-2273dde2]{font-size:%?32?%;position:absolute;left:%?20?%;font-weight:500;width:%?50?%;height:%?50?%;line-height:%?50?%}.toBar .title[data-v-2273dde2]{text-align:center;color:#fff;font-size:%?30?%;display:block;margin:0 auto}.left_img[data-v-2273dde2]{width:%?50?%;height:%?50?%;position:absolute;padding:%?10?%;left:%?20?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:100;background-color:rgba(0,0,0,.4);border-radius:50%}.bolds[data-v-2273dde2]{font-weight:700}",""]),t.exports=e},e1ac:function(t,e,i){"use strict";i.r(e);var a=i("fb5e"),o=i("2976");for(var n in o)"default"!==n&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("02a5");var s,l=i("f0c5"),r=Object(l["a"])(o["default"],a["b"],a["c"],!1,null,"698716c8",null,!1,a["a"],s);e["default"]=r.exports},e1ad:function(t,e,i){"use strict";var a=i("8002"),o=i.n(a);o.a},e632:function(t,e,i){var a=i("dc11");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("42d21f27",a,!0,{sourceMap:!1,shadowMode:!1})},f5a6:function(t,e,i){"use strict";var a=i("4ea4");i("acd8"),i("ac1f"),i("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(i("90f2")),n=a(i("7b7a")),s=a(i("c0ba")),l=a(i("e1ac")),r=a(i("8e5a")),d=a(i("4843")),c=a(i("7e60")),f=i("a8b2"),u=getApp(),g={data:function(){return{good:{},colors:"",shows:!1,statusBarHeight:u.globalData.statusHeight+"px",toBar:u.globalData.toBar+"px",showdots:!1,swiperList:[],isColl:!1,latitude:"",longitude:"",nowList:{},goodsData:{title:"",skuSubTitle:"",type:1,goods_id:201,money:0,number:1,hmoney:"",img:"",youhui:!0,baoyou:!0,status:0,stock:600,xiaoliang:"",videos:"https://fzdz.soft.haoyangsoft.com/uploads/system/videos/20200813/6c819d24ee6868aee33e150c4333329b.mp4",imgList:[],stallAddress:"社区团购模拟地址",sku:[{sku_id:1,skuname:"规格",child:[{tagname:"测试规格1",id:2011,imgs:"",money:""},{tagname:"测试规格2",id:2012,imgs:"",money:""}]}],skuArr:[{goods_sku_arr:["2011"],goods_sku_text:"醇黑巧克力【20枚】",img:"http://img10.360buyimg.com/n1/jfs/t1/86401/35/12206/357766/5e43b59cE5a7aa4dd/0753be765166c195.jpg",money:"175.78",stock:345},{goods_sku_arr:["2012"],goods_sku_text:"草莓味【8枚】",img:"http://img11.360buyimg.com/n1/jfs/t1/74434/3/6892/331750/5d512febE54e891c4/0096ad20c3c20d23.jpg",money:"35.90",stock:255}]},showModal:!1,couponshow:!1,isshowVideo:!0,voice:!1,showVideo:!1,isShow:!0,couponList:[{money:100,reduce:10,date:"2020-02-09 2020-10-02",id:1,status:0,condition:["新人专享","仅在支付时使用","可与其他产品共享"]},{money:100,reduce:20,date:"2020-02-09 2020-10-02",id:2,status:0,condition:["新人专享"]},{money:100,reduce:30,date:"2020-02-09 2020-10-02",id:3,status:0,condition:["仅在支付时使用","可与其他产品共享"]},{money:100,reduce:40,date:"2020-02-09 2020-10-02",id:4,status:0,condition:["新人专享","可与其他产品共享"]},{money:100,reduce:50,date:"2020-02-09 2020-10-02",id:5,status:0,condition:["新人专享","仅在支付时使用"]}],htmlNode:"",descriptionStr:'<div id="commDesc" hasdata="1" style="line-height: 2; transform-origin: 0px 0px; font-size: 30px;width:100%;"><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/99519/11/4669/136444/5de8bbdbE0cba049d/517f1fb75b582456.jpg!q70.dpg.webp" loaded="17"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/92267/13/4771/160442/5de8bbdbE50655175/7dd51e0b966aba15.jpg!q70.dpg.webp" loaded="16"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/93624/28/4672/131382/5de8bbdbE65d14e5d/81bc1227ec775788.jpg!q70.dpg.webp" loaded="15"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/97366/21/4817/101042/5de8bbdbE8854b673/7c4ce7faa45a418b.jpg!q70.dpg.webp" loaded="14"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/98311/21/4778/122770/5de8bbdcE13375754/f4324ca9294eef4c.jpg!q70.dpg.webp" loaded="13"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/103373/15/4747/118973/5de8bbdcE2058ee8e/d921d5f1a4aa5c89.jpg!q70.dpg.webp" loaded="12"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/88841/34/4711/84977/5de8bbdeE0b691b9a/e69796d32a63bbaa.jpg!q70.dpg.webp" loaded="11"><div class="for_separator"></div><img style="max-width:640px;" src="https://img30.360buyimg.com/popWaterMark/jfs/t1/95248/2/4771/99041/5de8bbdfE06b41b3b/3c4a2b1cb97a5262.jpg!q70.dpg.webp" loaded="10"></div>',goodsEva:[{headimg:"/static/images/face.jpg",nickname:"反转",create_time:"2020-09-10 15:36",goods_name:"测试规格1",score:5,comment:"产品很不错,赞",images:["/static/images/goods/two.jpg","/static/images/goods/one.jpg"],reply:"感谢您的支持",tags:["价格合理","味道好","价格优惠","态度好"]},{headimg:"/static/images/face.jpg",nickname:"清风",create_time:"2020-09-10 13:36",goods_name:"测试规格2",score:4,comment:"味道还不错~",images:[],reply:"",tags:[]}],scrollShow:!1}},components:{navBar:n.default,sku:s.default,coupon:l.default,loading:r.default,poster:d.default,uniPopup:o.default,swipers:c.default},props:{},onLoad:function(t){var e=this;if(this.setData({colors:u.globalData.newColor}),this.getLocation(),this.setFrom(this.descriptionStr),setTimeout((function(){e.setData({isShow:!1})}),600),this.newVideo=uni.createVideoContext("newVideo"),this.good=(0,f.getGoodsDetails)(),this.goodsData.title=this.good.skuTitle.text,this.goodsData.skuSubTitle=this.good.skuSubTitle.text,this.good.dashPrice&&(this.goodsData.hmoney=this.good.dashPrice.text),this.goodsData.money=parseFloat(this.good.sellPrice.text.substr(1)),this.goodsData.img=this.good.picUrl,this.goodsData.imgList.push(this.good.picUrl),this.goodsData.imgList.push(this.good.detailPagePic),this.goodsData.xiaoliang=this.good.skuId,this.goodsData.goods_id=this.good.skuId,this.goodsData.skuArr){var i=this.goodsData.skuArr;console.log(this.goodsData.skuArr);for(var a=0;a<i.length;a++)i[a].img=this.goodsData.img,i[a].goods_sku_text=this.goodsData.title+"测试规格"+a,i[a].money=this.goodsData.money}(0,f.getlocation)()&&(this.goodsData.stallAddress=(0,f.getlocation)().poiaddress)},onReady:function(){},onShow:function(){},onHide:function(){},onPageScroll:function(t){t.scrollTop>=400?this.scrollShow=!0:this.scrollShow=!1},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){return{title:this.goodsData.title,path:"/pages/views/goods/goodsDetails",imageUrl:this.goodsData.img}},onShareTimeline:function(){return{title:this.goodsData.title,path:"/pages/views/goods/goodsDetails",imageUrl:this.goodsData.img}},methods:{getLocation:function(){var t=this;uni.getLocation({type:"wgs84",geocode:!0,success:function(e){console.log("获取经纬度成功",e),t.setData({latitude:e.latitude,longitude:e.longitude})},fail:function(){console.log("获取经纬度失败"),t.setData({latitude:"",longitude:""})},complete:function(){}})},setFrom:function(t){var e=t.replace(/\<img/gi,'<img class="rich-img" ');this.setData({htmlNode:e})},openPoster:function(){var t=this;this.shows=!1,uni.showLoading({title:"海报绘制中.."}),this.$refs.popup.open(),setTimeout((function(){uni.hideLoading(),t.shows=!0}),600)},hidePoster:function(){this.$refs.popup.close()},setisColl:function(){var t=!this.isColl;this.setData({isColl:t})},openMap:function(){uni.openLocation({latitude:39.9,longitude:116.4,success:function(t){}})},nearAddress:function(){if(""!==this.longitude)this.openMap();else{var t=this;uni.getSetting({success:function(e){e&&e.authSetting&&e.authSetting.hasOwnProperty("scope.userLocation")&&uni.openSetting({success:function(){t.getLocation()}})}})}},setShowVideo:function(t,e){this.showVideo=t,1==e&&this.newVideo.play()},hideShow:function(){this.showVideo=!1},ondefault:function(){},onhide:function(){this.showModal=!1},openSku:function(){console.log(this.goodsData),this.nowList=this.goodsData,this.showModal=!0},opencoupon:function(){this.couponshow=!0},hidecoupon:function(){this.couponshow=!1},toHome:function(){uni.switchTab({url:"/pages/views/tabBar/home"})},toCart:function(){uni.switchTab({url:"/pages/views/tabBar/cart"})},goTop:function(){uni.pageScrollTo({scrollTop:0})},onReceive:function(t,e){console.log(t,e),1!=t.status&&(this.couponList[e].status=1,uni.showToast({title:"领取成功",icon:"none"}))},seeAll:function(){uni.navigateTo({url:"/pages/views/goods/goodsEvaluate"})}}};e.default=g},f5ce:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-canvas",{staticClass:"mycanvas",style:"width:"+(t.windowWidth-60)+"px;height:520px",attrs:{"canvas-id":"mycanvas"}}),[i("v-uni-image",{staticClass:"imgs",style:"width:"+(t.windowWidth-60)+"px;height:520px",attrs:{src:t.imgUrl,mode:""}})],i("p",{staticClass:"tips"},[t._v("长按图片进行保存")])],2)},n=[]},fb5e:function(t,e,i){"use strict";var a;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",t._l(t.couponList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"coupon_box",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onreceive(e,a)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"left_top"},[i("v-uni-text",{staticClass:"hui"},[t._v("券")]),i("v-uni-text",{staticClass:"hui_name"},[t._v("满"+t._s(e.money)+"减"+t._s(e.reduce))])],1),i("v-uni-view",{staticClass:"left_bottom"},[i("v-uni-text",[t._v("有效日期:"+t._s(e.date))])],1),1==e.status?i("v-uni-image",{staticClass:"ylq",attrs:{src:"/static/images/goods/ylq.png"}}):t._e()],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(e.reduce))]),i("v-uni-text",[t._v("满"+t._s(e.money)+"可用")])],1),i("v-uni-view",{staticClass:"bottom"},t._l(e.condition,(function(e,a){return i("v-uni-view",{key:a},[t._v(t._s(a+1)+"."+t._s(e))])})),1)],1)})),1)},n=[]}}]);