pages-good-detail-good-detail.763b7f24.js 37 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-good-detail-good-detail"],{"33c5":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-772c4b5f]{margin-top:%?10?%}.app-item uni-input[data-v-772c4b5f], .app-item uni-picker[data-v-772c4b5f], .app-item uni-textarea[data-v-772c4b5f]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-772c4b5f]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-772c4b5f]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-772c4b5f]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-772c4b5f]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-772c4b5f]{color:#fff;background:#f76454}.small-btn[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-772c4b5f]{color:#999;border-color:#999}.login-btn[data-v-772c4b5f]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-772c4b5f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-772c4b5f]{margin-right:%?20?%}.border-right[data-v-772c4b5f]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-772c4b5f]{margin-right:%?6?%}.position-center[data-v-772c4b5f]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-772c4b5f]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-772c4b5f]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-772c4b5f]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-772c4b5f]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-772c4b5f]{color:#f76454}.swiper-nav[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-772c4b5f]{color:#f76454}.swiper-nav .moveBar[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-772c4b5f]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-772c4b5f]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-772c4b5f]{width:100%;height:100%}.article-header[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-772c4b5f]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-772c4b5f]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-772c4b5f]{color:#f76454}.article-footer[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-772c4b5f]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-772c4b5f]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-772c4b5f]{color:#f76454}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.good-detail[data-v-772c4b5f]{height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background:#f2f2f2}.good-detail .content[data-v-772c4b5f]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative;box-sizing:border-box}.good-detail .shopcar-buy[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;left:0;right:0;bottom:0;z-index:1;height:%?98?%;position:fixed}.good-detail .shopcar-buy uni-view[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;color:#fff;font-size:%?32?%;position:relative}.good-detail .shopcar-buy uni-view.shopcar[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator.shopcar[data-v-772c4b5f]{background:#fff;color:#f76454}.good-detail .shopcar-buy uni-view.shopcar .cuIcon-cart[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator.shopcar .cuIcon-cart[data-v-772c4b5f]{font-size:%?40?%;margin-right:%?6?%}.good-detail .shopcar-buy uni-view.shopcar .num[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator.shopcar .num[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:%?12?%;right:%?20?%;height:%?34?%;min-width:%?34?%;padding:0 %?8?%;color:#fff;min-width:%?34?%;font-size:%?20?%;position:absolute;border-radius:%?16?%;background:#f76454}.good-detail .shopcar-buy uni-view.addshopcar[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator.addshopcar[data-v-772c4b5f]{background:#ffa94c}.good-detail .shopcar-buy uni-view.buy[data-v-772c4b5f], .good-detail .shopcar-buy uni-navigator.buy[data-v-772c4b5f]{background:#f76454}.good-detail .content uni-swiper[data-v-772c4b5f]{height:%?400?%}.good-detail .content uni-swiper uni-image[data-v-772c4b5f]{width:100%;height:100%}.good-detail .content .app-item[data-v-772c4b5f]{font-size:%?26?%}.good-detail .content .goodinfo[data-v-772c4b5f]{height:%?134?%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.good-detail .content .goodinfo .name[data-v-772c4b5f]{font-size:%?32?%;margin-top:%?30?%}.good-detail .content .goodinfo .price-storage[data-v-772c4b5f]{margin-top:%?12?%}.good-detail .content .goodinfo .price-storage .price[data-v-772c4b5f]{color:#f76454}.good-detail .content .goodinfo .price-storage .storage[data-v-772c4b5f]{margin-left:%?30?%;color:#999}.good-detail .content .choose-size .size-right[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;margin-left:%?30?%;height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.good-detail .content .choose-size .size-right .size[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.good-detail .content .choose-size .size-right .size uni-view[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;position:relative;width:%?68?%;height:%?44?%;font-size:%?26?%;margin-right:%?18?%;border-radius:%?4?%;border:%?2?% solid #333}.good-detail .content .choose-size .size-right .size uni-view .num[data-v-772c4b5f]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:%?-10?%;width:%?30?%;height:%?30?%;right:%?-10?%;color:#fff;font-size:%?18?%;position:absolute;border-radius:50%;background:#f76454}.good-detail .content .choose-money uni-text[data-v-772c4b5f]:nth-child(2), .good-detail .content .freight uni-text[data-v-772c4b5f]:nth-child(2){color:#f76454}.good-detail flyto-cart uni-text[data-v-772c4b5f]{font-size:%?18?%}',""]),t.exports=e},"567b":function(t,e,i){"use strict";var o=i("afb4"),n=i.n(o);n.a},"59bc":function(t,e,i){"use strict";i.r(e);var o=i("dce2"),n=i.n(o);for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=n.a},"643a":function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"good-detail"},[i("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),i("v-uni-view",{staticClass:"shopcar-buy"},[i("v-uni-navigator",{staticClass:"shopcar",attrs:{"open-type":"switchTab",url:"../shop-car1/shop-car1",id:"shopcar"}},[i("v-uni-text",{staticClass:"cuIcon-cart"}),i("v-uni-text",[t._v("购物车")]),t.shopcarNum?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.shopcarNum))]):t._e()],1),i("v-uni-view",{staticClass:"addshopcar",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.addToshopCar.apply(void 0,arguments)}}},[t._v("加入购物车")]),i("v-uni-view",{staticClass:"buy",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("立即购买")])],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-swiper",{attrs:{"indicator-dots":!0,circular:!0,autoplay:!0,interval:3456,duration:234,"indicator-color":"#FFFFFF","indicator-active-color":"#F76454"}},t._l(t.goodInfo.imgList,(function(t,e){return i("v-uni-swiper-item",{key:e},[i("v-uni-image",{attrs:{src:t}})],1)})),1),i("v-uni-view",{staticClass:"goodinfo app-item"},[i("v-uni-view",{staticClass:"name"},[t._v("商品名称:"+t._s(t.goodInfo.name||""))]),i("v-uni-view",{staticClass:"price-storage"},[i("v-uni-text",{staticClass:"price"},[t._v("进货价:¥"+t._s(t.goodInfo.price||""))]),i("v-uni-text",{staticClass:"storage"},[t._v("我的库存:"+t._s(t.goodInfo.storage||"")+" 套")])],1)],1),i("v-uni-navigator",{staticClass:"choose-size app-item",attrs:{url:"../choose-size/choose-size?typeList="+JSON.stringify(t.goodInfo.typeList)}},[i("v-uni-text",[t._v("选择尺码")]),i("v-uni-view",{staticClass:"size-right"},[i("v-uni-view",{staticClass:"size"},[t.s?i("v-uni-view",[i("v-uni-text",[t._v("S")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"s"}},[t._v(t._s(t.s))])],1):t._e(),t.m?i("v-uni-view",[i("v-uni-text",[t._v("M")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"m"}},[t._v(t._s(t.m))])],1):t._e(),t.l?i("v-uni-view",[i("v-uni-text",[t._v("L")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"l"}},[t._v(t._s(t.l))])],1):t._e(),t.xl?i("v-uni-view",[i("v-uni-text",[t._v("XL")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"xl"}},[t._v(t._s(t.xl))])],1):t._e(),t.xxl?i("v-uni-view",[i("v-uni-text",[t._v("XXL")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"xxl"}},[t._v(t._s(t.xxl))])],1):t._e(),t.xxxl?i("v-uni-view",[i("v-uni-text",[t._v("XXXL")]),t.flying?t._e():i("v-uni-text",{staticClass:"num",attrs:{id:"xxxl"}},[t._v(t._s(t.xxxl))])],1):t._e()],1),i("v-uni-text",{staticClass:"cuIcon-right"})],1)],1),i("v-uni-view",{staticClass:"choose-num app-item item-space"},[i("v-uni-text",[t._v("已选数量")]),i("v-uni-text",[t._v(t._s(t.choosedNum+" ")+"套")])],1),i("v-uni-view",{staticClass:"choose-money app-item"},[i("v-uni-text",[t._v("总计金额")]),i("v-uni-text",[t._v("¥"+t._s(" "+t.choosedPrice)+"元")])],1)],1),t.s?i("flyto-cart",{ref:"flytoCart1",attrs:{self:t.positions.s,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.s))])],1):t._e(),t.m?i("flyto-cart",{ref:"flytoCart2",attrs:{self:t.positions.m,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.m))])],1):t._e(),t.l?i("flyto-cart",{ref:"flytoCart3",attrs:{self:t.positions.l,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.l))])],1):t._e(),t.xl?i("flyto-cart",{ref:"flytoCart4",attrs:{self:t.positions.xl,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.xl))])],1):t._e(),t.xxl?i("flyto-cart",{ref:"flytoCart5",attrs:{self:t.positions.xxl,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.xxl))])],1):t._e(),t.xxxl?i("flyto-cart",{ref:"flytoCart6",attrs:{self:t.positions.xxxl,cart:t.positions.shopcar}},[i("v-uni-text",[t._v(t._s(t.xxxl))])],1):t._e()],1)},r=[]},"6de5":function(t,e,i){"use strict";i.r(e);var o=i("9548"),n=i("59bc");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("eb00");var a,c=i("f0c5"),s=Object(c["a"])(n["default"],o["b"],o["c"],!1,null,"ff9d8eba",null,!1,o["a"],a);e["default"]=s.exports},"7c54":function(t,e,i){"use strict";var o=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e._API_productInfo=e._API_GoodDetail=e._API_GoodList=void 0;var n=o(i("cacb")),r=function(t){return n.default.get("/good_show",t)};e._API_GoodList=r;var a=function(t){return n.default.get("/goods/detail",t)};e._API_GoodDetail=a;var c=function(t){return n.default.get("/detail/index",t)};e._API_productInfo=c},9548:function(t,e,i){"use strict";var o;i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.hide?t._e():i("v-uni-view",{staticClass:"fly-to-cart",style:{width:t.self.width+"px",height:t.self.height+"px",top:t.top+"px",left:t.left+"px"}},[t._t("default")],2)},r=[]},afb4:function(t,e,i){var o=i("33c5");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("8d4dec96",o,!0,{sourceMap:!1,shadowMode:!1})},b09d:function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-ff9d8eba]{margin-top:%?10?%}.app-item uni-input[data-v-ff9d8eba], .app-item uni-picker[data-v-ff9d8eba], .app-item uni-textarea[data-v-ff9d8eba]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-ff9d8eba]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-ff9d8eba]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-ff9d8eba]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-ff9d8eba]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-ff9d8eba]{color:#fff;background:#f76454}.small-btn[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-ff9d8eba]{color:#999;border-color:#999}.login-btn[data-v-ff9d8eba]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-ff9d8eba]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-ff9d8eba]{margin-right:%?20?%}.border-right[data-v-ff9d8eba]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-ff9d8eba]{margin-right:%?6?%}.position-center[data-v-ff9d8eba]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-ff9d8eba]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-ff9d8eba]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-ff9d8eba]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-ff9d8eba]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-ff9d8eba]{color:#f76454}.swiper-nav[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-ff9d8eba]{color:#f76454}.swiper-nav .moveBar[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-ff9d8eba]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-ff9d8eba]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-ff9d8eba]{width:100%;height:100%}.article-header[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-ff9d8eba]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-ff9d8eba]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-ff9d8eba]{color:#f76454}.article-footer[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-ff9d8eba]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-ff9d8eba]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-ff9d8eba]{color:#f76454}\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.fly-to-cart[data-v-ff9d8eba]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;z-index:150;color:#fff;position:fixed;overflow:hidden;border-radius:50%;background:#f76454}',""]),t.exports=e},b17f:function(t,e,i){var o=i("b09d");"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("4f06").default;n("7f6dafb1",o,!0,{sourceMap:!1,shadowMode:!1})},c7a3:function(t,e,i){"use strict";i.r(e);var o=i("eaa3"),n=i.n(o);for(var r in o)"default"!==r&&function(t){i.d(e,t,(function(){return o[t]}))}(r);e["default"]=n.a},d8bd:function(t,e,i){"use strict";function o(t,e){for(var i,o,n,r=[],a=0;a<=e;a++){n=t.slice(0),o=[];while(i=n.shift())if(n.length)o.push(c([i,n[0]],a/e));else{if(!(o.length>1))break;n=o,o=[]}r.push(o[0])}function c(t,e){var i,o,n,r,a,c,s,l,f=[];return i=t[0],o=t[1],r=o.x-i.x,a=o.y-i.y,n=Math.pow(Math.pow(r,2)+Math.pow(a,2),.5),c=a/r,s=Math.atan(c),l=n*e,f={x:i.x+l*Math.cos(s),y:i.y+l*Math.sin(s)},f}return r}i("fb6a"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},dce2:function(t,e,i){"use strict";var o=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("d8bd")),r={props:{self:Object,cart:Object},data:function(){return{count:0,hide:!0,finger:{},busPos:{},top:this.self.y-this.self.height/2,left:this.self.x-this.self.width/2}},methods:{fly:function(){var t={x:this.self.x,y:this.self.y},e={x:Math.abs(this.self.x-this.cart.x)/2,y:this.self.y-175},i={x:this.cart.x,y:this.cart.y};this.linePos=(0,n.default)([i,e,t],30),this.hide=!1,this.startAnimation()},startAnimation:function(){var t=this,e=this.linePos.length;this.timer=setInterval((function(){e--,t.linePos[e]&&(t.top=t.linePos[e].y),t.linePos[e]&&(t.left=t.linePos[e].x),e<1&&(clearInterval(t.timer),t.hide=!0)}),20)}}};e.default=r},dda3:function(t,e,i){"use strict";i.r(e);var o=i("643a"),n=i("c7a3");for(var r in n)"default"!==r&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("567b");var a,c=i("f0c5"),s=Object(c["a"])(n["default"],o["b"],o["c"],!1,null,"772c4b5f",null,!1,o["a"],a);e["default"]=s.exports},eaa3:function(t,e,i){"use strict";var o=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("5530")),r=i("7c54"),a=i("c819"),c=o(i("6de5")),s={components:{flytoCart:c.default},data:function(){return{title:"商品详情",flying:!1,goodInfo:{},positions:{s:{},m:{},l:{},xl:{},xxl:{},xxxl:{},shopcar:{}}}},computed:{s:function(){return this.$store.getters["choosed/S"]},m:function(){return this.$store.getters["choosed/M"]},l:function(){return this.$store.getters["choosed/L"]},xl:function(){return this.$store.getters["choosed/XL"]},xxl:function(){return this.$store.getters["choosed/XXL"]},xxxl:function(){return this.$store.getters["choosed/XXXL"]},choosedList:function(){return this.$store.state.choosed.list},choosedNum:function(){return this.$store.getters["choosed/total"]},choosedPrice:function(){return this.choosedNum*(this.goodInfo.price||0)},shopcarNum:function(){return this.$store.getters["shopcar/shopcarNum"]}},created:function(){this.$store.commit("choosed/CLEAR")},onShow:function(){var t=this;this.$nextTick((function(){t.getSizePositons()}))},onLoad:function(t){var e=this;(0,r._API_GoodDetail)({id:t.id}).then((function(i){e.goodInfo=i.data,e.goodInfo.storage=t.storage}))},methods:{buy:function(){if(this.choosedNum){var t=(0,a.deepClone)(this.choosedList);(0,a.clearTypeListZeros)(t),uni.navigateTo({url:"../confirm-order/confirm-order?from=gooddetail&order=".concat(JSON.stringify([(0,n.default)((0,n.default)({},this.goodInfo),{},{typeList:t})]))})}else uni.toast("您还没有选择尺寸")},addToshopCar:function(t){var e=this;this.choosedNum?this.flying||(this.$refs.flytoCart1&&this.$refs.flytoCart1.fly(),this.$refs.flytoCart2&&this.$refs.flytoCart2.fly(),this.$refs.flytoCart3&&this.$refs.flytoCart3.fly(),this.$refs.flytoCart4&&this.$refs.flytoCart4.fly(),this.$refs.flytoCart5&&this.$refs.flytoCart5.fly(),this.$refs.flytoCart6&&this.$refs.flytoCart6.fly(),this.goodInfo.choosed=!0,(0,a.clearTypeListZeros)(this.choosedList),this.$store.commit("shopcar/ADD",(0,n.default)((0,n.default)({},this.goodInfo),{},{typeList:(0,a.deepClone)(this.choosedList)})),this.flying=!0,setTimeout((function(){e.flying=!1,e.$store.commit("choosed/CLEAR")}),678)):uni.toast("您还没有选择尺寸")},getSizePositons:function(){var t=this;this.$offset("#s").then((function(e){return t.positions.s=e})).catch((function(t){return t})),this.$offset("#m").then((function(e){return t.positions.m=e})).catch((function(t){return t})),this.$offset("#l").then((function(e){return t.positions.l=e})).catch((function(t){return t})),this.$offset("#xl").then((function(e){return t.positions.xl=e})).catch((function(t){return t})),this.$offset("#xxl").then((function(e){return t.positions.xxl=e})).catch((function(t){return t})),this.$offset("#xxxl").then((function(e){return t.positions.xxxl=e})).catch((function(t){return t})),this.$offset("#shopcar").then((function(e){return t.positions.shopcar=e})).catch((function(t){return t}))}},onBackPress:function(t){return!(!this.choosedNum||"backbutton"!==t.from)&&(this.$refs.ltm.modal("提示",["离开页面将不会保存您选择的尺寸"]).then((function(){uni.navigateBack()})),!0)}};e.default=s},eb00:function(t,e,i){"use strict";var o=i("b17f"),n=i.n(o);n.a}}]);