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.
shop-app/unpackage/dist/build/h5/static/js/pages-goods-detail-index.3f...

1 line
92 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-detail-index"],{"06b0":function(t,n,e){var i=e("f3dc");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("d5cf2648",i,!0,{sourceMap:!1,shadowMode:!1})},"071b":function(t,n,e){"use strict";e.r(n);var i=e("36cb"),a=e("70ad");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("7645");var s,r=e("f0c5"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"1f875ce7",null,!1,i["a"],s);n["default"]=c.exports},"0791":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={uCell:e("4290").default},a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",[i("v-uni-view",{staticClass:"back",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.back()}}},[i("v-uni-image",{staticClass:"back--icon",attrs:{src:e("51b5")}})],1),i("SlideImage",{attrs:{images:t.goods.pictureList}}),t.productActivityVO.isActivity?i("SeckillPrice",{attrs:{data:t.productActivityVO},on:{"update:data":function(n){arguments[0]=n=t.$handleEvent(n),t.productActivityVO=n},change:function(n){arguments[0]=n=t.$handleEvent(n),t.getGoodsDetail.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{staticClass:"goods-info"},[t.productActivityVO.isActivity?t._e():i("v-uni-view",{staticClass:"pirce"},[i("v-uni-text",[t._v("¥")]),i("v-uni-text",{staticClass:"pirce--max"},[t._v(t._s(t.goods.startingPrice))]),i("v-uni-text",[t._v("起")])],1),i("v-uni-view",{staticClass:"goods-info--title"},[t._v(t._s(t.goods.name))])],1),i("v-uni-view",{staticClass:"select"},[i("Service"),i("u-cell",{attrs:{label:"选择",value:t.curSku.name,border:!1,isLink:!0},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onShowSkuPopup(1)}}}),i("SkuPopup",{attrs:{visible:t.showSkuPopup,mode:t.skuMode,goodsInfo:t.goods,skuInfo:t.skuInfoData},on:{"update:visible":function(n){arguments[0]=n=t.$handleEvent(n),t.showSkuPopup=n}},model:{value:t.curSku,callback:function(n){t.curSku=n},expression:"curSku"}})],1),i("v-uni-view",{staticClass:"goods-desc"},[i("mp-html",{attrs:{content:t.goods.content}})],1),i("v-uni-view",{staticClass:"footer"},[i("v-uni-view",{staticClass:"footer--left"},[i("v-uni-view",{staticClass:"icon service"},[t._v("客服")]),i("v-uni-view",{staticClass:"icon cart",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/cart")}}},[t._v("购物车")])],1),i("v-uni-view",{staticClass:"footer--btns"},[i("UiButton",{staticClass:"btn",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onShowSkuPopup(2)}}},[t._v("加入购物车")]),i("UiButton",{staticClass:"btn btn--buy",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onShowSkuPopup(3)}}},[t._v(t._s(!t.productActivityVO.isStartActivity&&t.productActivityVO.isActivity?"原价购买":"立即购买"))])],1)],1)],1)},o=[]},"0906":function(t,n,e){"use strict";e.r(n);var i=e("ae86"),a=e("758f");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("27e2");var s,r=e("f0c5"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"7c89c77c",null,!1,i["a"],s);n["default"]=c.exports},"0af1":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={props:{images:{type:Array,default:[]}},data:function(){return{indicatorDots:!0,autoplay:!0,interval:4e3,duration:800,currentIndex:1}},methods:{setCurrent:function(t){var n=t.detail;this.currentIndex=n.current+1},onPreviewImages:function(t){uni.previewImage({current:t,urls:this.images})}}};n.default=i},"0b01":function(t,n,e){"use strict";e.r(n);var i=e("e301"),a=e("a262");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("70bf");var s,r=e("f0c5"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"0e547677",null,!1,i["a"],s);n["default"]=c.exports},"0ca5":function(t,n,e){var i=e("7169");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("4e1b9e12",i,!0,{sourceMap:!1,