Files
amb_wechatapp/public/assets/h5/js/pages-app-physical-detail-detail.37be99a3.js
T

1 line
50 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(self["webpackChunktuzhi"]=self["webpackChunktuzhi"]||[]).push([[8873],{81927:function(e,t,o){var i=o(77050);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("7b93d6a0",i,!0,{sourceMap:!1,shadowMode:!1})},38717:function(e,t,o){var i=o(91720);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("292bda40",i,!0,{sourceMap:!1,shadowMode:!1})},70450:function(e,t,o){var i=o(66025);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("f705f82c",i,!0,{sourceMap:!1,shadowMode:!1})},991:function(e,t,o){var i=o(65612);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("00277b84",i,!0,{sourceMap:!1,shadowMode:!1})},84112:function(e,t,o){var i=o(37002);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("3d887f5a",i,!0,{sourceMap:!1,shadowMode:!1})},16490:function(e,t,o){var i=o(83854);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("d4f721aa",i,!0,{sourceMap:!1,shadowMode:!1})},51546:function(e,t,o){var i=o(26002);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("7e375591",i,!0,{sourceMap:!1,shadowMode:!1})},32330:function(e,t,o){var i=o(46515);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("68195f01",i,!0,{sourceMap:!1,shadowMode:!1})},59713:function(e,t,o){var i=o(33322);i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var a=o(56).Z;a("608ae1c4",i,!0,{sourceMap:!1,shadowMode:!1})},93135:function(e,t,o){"use strict";var i;o.d(t,{Z:function(){return u}});var a,n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.isInIframe?e._e():o("div",{staticClass:"footer-box"},[o("div",{staticClass:"links"},[o("span",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$nav.to("/pages/index/index","local","reLaunch")}}},[e._v("店铺主页")]),o("span",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$nav.to("/pages/user/index/index","local","reLaunch")}}},[e._v("个人中心")]),o("span",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$nav.to("/pages/order/list/list","local","reLaunch")}}},[e._v("订单列表")]),"1"===e.$tools.systemConfig("app_complaint")?o("span",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$nav.to("/pages/app/complaint/index/index","local","navigateTo")}}},[e._v("投诉")]):e._e()]),o("div",{staticClass:"copyright",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.jump.apply(void 0,arguments)}}},[e.$tools.systemConfig("name")?o("span",[e._v(e._s(e.$tools.systemConfig("name")))]):e._e(),e.$tools.systemConfig("copyright")?o("span",[e._v("@"+e._s(e.$tools.systemConfig("copyright")))]):e._e()])])},s=[],r={components:{},data:function(){return{show:!1,isInIframe:!1}},props:{},mounted:function(){this.checkIframe()},methods:{checkIframe:function(){try{"undefined"!==typeof window&&window.self&&window.top?this.isInIframe=window.self!==window.top:this.isInIframe=!1}catch(e){this.isInIframe=!1}},jump:function(){var e=this.$tools.systemConfig("copyright_link");e&&this.$nav.to(e,"url")}},watch:{}},l=r,d=(o(81927),o(69453)),c=(0,d.Z)(l,n,s,!1,null,"69123308",null,!1,i,a),u=c.exports},84085:function(e,t,o){"use strict";o.d(t,{Z:function(){return u}});var i,a={uParse:o(86615).Z},n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{style:{"background-color":e.bgColor}},[o("u-parse",{attrs:{content:e.content,selectable:!e.limitCopy,previewImg:!e.limitCopy}})],1)},s=[],r=(o(9653),{components:{},data:function(){return{}},computed:{},props:{content:{type:[String,Number],default:""},bgColor:{type:String,default:"none"},limitCopy:{type:Boolean,default:!1}},methods:{}}),l=r,d=(o(38717),o(69453)),c=(0,d.Z)(l,n,s,!1,null,"2195fc88",null,!1,a,i),u=c.exports},193:function(e,t,o){"use strict";var i;o.d(t,{Z:function(){return p}});var a,n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return e.show?o("v-uni-view",{staticClass:"u-loading-icon",class:[e.vertical&&"u-loading-icon--vertical"],style:[e.$u.addStyle(e.customStyle)]},[e.webviewHide?e._e():o("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+e.mode],style:{color:e.color,width:e.$u.addUnit(e.size),height:e.$u.addUnit(e.size),borderTopColor:e.color,borderBottomColor:e.otherBorderColor,borderLeftColor:e.otherBorderColor,borderRightColor:e.otherBorderColor,"animation-duration":e.duration+"ms","animation-timing-function":"semicircle"===e.mode||"circle"===e.mode?e.timingFunction:""}},["spinner"===e.mode?e._l(e.array12,(function(e,t){return o("v-uni-view",{key:t,staticClass:"u-loading-icon__dot"})})):e._e()],2),e.text?o("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:e.$u.addUnit(e.textSize),color:e.textColor}},[e._v(e._s(e.text))]):e._e()],1):e._e()},s=[],r=(o(91038),o(78783),o(9653),{props:{show:{type:Boolean,default:uni.$u.props.loadingIcon.show},color:{type:String,default:uni.$u.props.loadingIcon.color},textColor:{type:String,default:uni.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:uni.$u.props.loadingIcon.vertical},mode:{type:String,default:uni.$u.props.loadingIcon.mode},size:{type:[String,Number],default:uni.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:uni.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:uni.$u.props.loadingIcon.text},timingFunction:{type:String,default:uni.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:uni.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:uni.$u.props.loadingIcon.inactiveColor}}}),l={name:"u-loading-icon",mixins:[uni.$u.mpMixin,uni.$u.mixin,r],data:function(){return{array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}},computed:{otherBorderColor:function(){var e=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:e:"transparent"}},watch:{show:function(e){}},mounted:function(){this.init()},methods:{init:function(){setTimeout((function(){}),20)},addEventListenerToWebview:function(){var e=this,t=getCurrentPages(),o=t[t.length-1],i=o.$getAppWebview();i.addEventListener("hide",(function(){e.webviewHide=!0})),i.addEventListener("show",(function(){e.webviewHide=!1}))}}},d=l,c=(o(32330),o(69453)),u=(0,c.Z)(d,n,s,!1,null,"ed811d64",null,!1,i,a),p=u.exports},11778:function(e,t,o){"use strict";o.d(t,{Z:function(){return p}});var i,a={uTransition:o(74787).Z,uLoadingIcon:o(193).Z},n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("u-transition",{attrs:{show:e.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:e.bgColor,display:"flex"}}},[o("v-uni-view",{staticClass:"u-loading-page"},[o("v-uni-view",{staticClass:"u-loading-page__warpper"},[o("v-uni-view",{staticClass:"u-loading-page__warpper__loading-icon"},[e.image?o("v-uni-image",{staticClass:"u-loading-page__warpper__loading-icon__img",attrs:{src:e.image,mode:"widthFit"}}):o("u-loading-icon",{attrs:{mode:e.loadingMode,size:"28",color:e.loadingColor}})],1),e._t("default",[o("v-uni-text",{staticClass:"u-loading-page__warpper__text",style:{fontSize:e.$u.addUnit(e.fontSize),color:e.color}},[e._v(e._s(e.loadingText))])])],2)],1)],1)},s=[],r=(o(9653),{props:{loadingText:{type:[String,Number],default:uni.$u.props.loadingPage.loadingText},image:{type:String,default:uni.$u.props.loadingPage.image},loadingMode:{type:String,default:uni.$u.props.loadingPage.loadingMode},loading:{type:Boolean,default:uni.$u.props.loadingPage.loading},bgColor:{type:String,default:uni.$u.props.loadingPage.bgColor},color:{type:String,default:uni.$u.props.loadingPage.color},fontSize:{type:[String,Number],default:uni.$u.props.loadingPage.fontSize},loadingColor:{type:String,default:uni.$u.props.loadingPage.loadingColor}}}),l={name:"u-loading-page",mixins:[uni.$u.mpMixin,uni.$u.mixin,r],data:function(){return{}},methods:{}},d=l,c=(o(59713),o(69453)),u=(0,c.Z)(d,n,s,!1,null,"508ca898",null,!1,a,i),p=u.exports},23012:function(e,t,o){"use strict";o.r(t),o.d(t,{default:function(){return W}});var i,a,n,s,r,l,d={uLoadingPage:o(11778).Z,tzIcon:o(88274)["default"],tzParse:o(84085).Z,tzTabBar:o(25022).Z,tzFooter:o(93135).Z},c=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",{staticClass:"goods-detail"},[o("u-loading-page",{attrs:{loading:e.skeletonLoading,"bg-color":"#F7F8FA"}}),!e.skeletonLoading&&e.goodsInfo?o("v-uni-view",{staticClass:"detail-swiper-selector"},[o("v-uni-swiper",{staticClass:"goods-swiper",attrs:{"indicator-dots":!0,autoplay:!1,circular:!0,"indicator-color":"rgba(0, 0, 0, .3)","indicator-active-color":"#0968f6"}},e._l(e.goodsSwiper,(function(t,i){return o("v-uni-swiper-item",{key:i},[o("v-uni-image",{staticClass:"swiper-image",attrs:{src:t,mode:"aspectFit"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.previewImage(i)}}})],1)})),1),o("v-uni-view",{staticClass:"title-card detail-card"},[o("v-uni-view",{staticClass:"price-box"},[o("v-uni-view",{staticClass:"price-wrapper"},[e.isVirtualPay?e._e():o("v-uni-text",{staticClass:"price-symbol"},[e._v("¥")]),o("v-uni-text",{staticClass:"price-text"},[e._v(e._s(e.goodsInfo.min_price||e.goodsInfo.price||0))]),e.isVirtualPay?o("v-uni-text",{staticClass:"price-symbol"},[e._v(e._s(e.$tools.systemConfig("coin_name")||"金币"))]):e._e(),e.hasMultipleSku?o("v-uni-text",{staticClass:"price-suffix"},[e._v("起")]):e._e()],1),void 0!==e.goodsInfo.total_sales&&null!==e.goodsInfo.total_sales?o("v-uni-view",{staticClass:"sales-text"},[e._v("已售"+e._s(e.goodsInfo.total_sales))]):e._e()],1),o("v-uni-view",{staticClass:"title-text"},[e._v(e._s(e.goodsInfo.name))])],1),o("v-uni-view",{staticClass:"detail-cell-card"},[o("v-uni-view",{staticClass:"cell-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showSelectSku=!0}}},[o("v-uni-view",{staticClass:"cell-label"},[e._v("选择")]),o("v-uni-view",{staticClass:"cell-value"},[o("v-uni-text",{staticClass:"cell-value-text"},[e._v(e._s(e.selectedSkuPrice.goods_sku_text||"请选择规格"))]),e.goodsInfo.sku_tree&&e.goodsInfo.sku_tree.length>0?o("v-uni-text",{staticClass:"cell-value-count"},[e._v("共"+e._s(e.getSkuCount)+"种"+e._s(e.goodsInfo.sku_tree[0].name)+"可选")]):e._e()],1),o("v-uni-view",{staticClass:"cell-arrow"},[o("tz-icon",{attrs:{name:"enter",size:16}})],1)],1),e.guaranteeList.length>0?o("v-uni-view",{staticClass:"cell-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showGuaranteeModal=!0}}},[o("v-uni-view",{staticClass:"cell-label"},[e._v("保障")]),o("v-uni-view",{staticClass:"cell-value guarantee-tags"},[o("v-uni-text",{staticClass:"guarantee-text"},[e._v(e._s(e.guaranteeList.map((function(e){return e.title})).join("·")))])],1),o("v-uni-text",{staticClass:"cell-arrow"},[o("tz-icon",{attrs:{name:"enter",size:16}})],1)],1):e._e(),e.paramsList.length>0?o("v-uni-view",{staticClass:"cell-item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showParamsModal=!0}}},[o("v-uni-view",{staticClass:"cell-label"},[e._v("参数")]),o("v-uni-view",{staticClass:"cell-value params-tags"},[o("v-uni-text",{staticClass:"params-text"},[e._v(e._s(e.paramsList.map((function(e){return e.name})).join("·")))])],1),o("v-uni-text",{staticClass:"cell-arrow"},[o("tz-icon",{attrs:{name:"enter",size:16}})],1)],1):e._e()],1),e.goodsInfo.detail?o("v-uni-view",{staticClass:"detail-content-card"},[o("v-uni-view",{staticClass:"content-title"},[e._v("商品详情")]),o("tz-parse",{attrs:{content:e.goodsInfo.detail}})],1):e._e()],1):e._e(),!e.skeletonLoading&&e.goodsInfo&&e.selectedSkuPrice.id?o("v-uni-view",{staticClass:"detail-tabbar"},[Number(e.selectedSkuPrice.stock)>0?o("v-uni-button",{staticClass:"buy-btn-full",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showSelectSku=!0}}},[e._v("立即购买")]):o("v-uni-button",{staticClass:"disabled-btn",attrs:{disabled:!0}},[e._v("已售罄")])],1):!e.skeletonLoading&&e.goodsInfo?o("v-uni-view",{staticClass:"detail-tabbar"},[o("v-uni-button",{staticClass:"buy-btn-full",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showSelectSku=!0}}},[e._v("立即购买")])],1):e._e(),o("sku-select-modal",{attrs:{show:e.showSelectSku,"goods-info":e.goodsInfo,"is-virtual-pay":e.isVirtualPay,"selected-sku-price":e.selectedSkuPrice,"selected-skus":e.selectedSkus,"goods-num":e.goodsNum},on:{"update:goodsNum":function(t){arguments[0]=t=e.$handleEvent(t),e.goodsNum=t},"update:goods-num":function(t){arguments[0]=t=e.$handleEvent(t),e.goodsNum=t},selectSku:function(t){arguments[0]=t=e.$handleEvent(t),e.onSelectSku.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onSkuConfirm.apply(void 0,arguments)},close:function(t){arguments[0]=t=e.$handleEvent(t),e.showSelectSku=!1}}}),o("guarantee-modal",{attrs:{show:e.showGuaranteeModal,"guarantee-list":e.guaranteeList},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.showGuaranteeModal=!1},close:function(t){arguments[0]=t=e.$handleEvent(t),e.showGuaranteeModal=!1}}}),o("params-modal",{attrs:{show:e.showParamsModal,"params-list":e.paramsList},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.showParamsModal=!1},close:function(t){arguments[0]=t=e.$handleEvent(t),e.showParamsModal=!1}}}),o("tz-tab-bar"),o("tz-footer")],1)},u=[],p=o(66407),f=o(89441),g=o(96257),v=o(4587),m=o(41541),h=(o(41539),o(54747),o(57327),o(21249),o(73210),o(9653),o(57658),o(69826),o(38862),o(70189),o(78783),o(33948),o(74916),o(15306),o(47941),o(69720),{uPopup:o(84783).Z}),x=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("u-popup",{attrs:{show:e.show,mode:"bottom",closeable:!0,round:10,safeAreaInsetBottom:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)},open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"sku-modal-content"},[o("v-uni-view",{staticClass:"sku-header"},[o("v-uni-image",{staticClass:"sku-image",attrs:{src:e.selectedSkuPrice.image||e.goodsInfo&&e.goodsInfo.cover,mode:"aspectFill"}}),o("v-uni-view",{staticClass:"sku-info"},[o("v-uni-view",{staticClass:"sku-price"},[e.isVirtualPay?e._e():o("v-uni-text",{staticClass:"price-symbol"},[e._v("¥")]),o("v-uni-text",{staticClass:"price-num"},[e._v(e._s(e.selectedSkuPrice.price||e.goodsInfo&&e.goodsInfo.price||0))]),e.isVirtualPay?o("v-uni-text",{staticClass:"price-symbol"},[e._v(e._s(e.$tools.systemConfig("coin_name")||"金币"))]):e._e()],1),o("v-uni-view",{staticClass:"sku-text"},[e._v(e._s(e.getSkuText()))])],1)],1),o("v-uni-scroll-view",{staticClass:"sku-body",attrs:{"scroll-y":!0}},[e._l(e.goodsInfo&&e.goodsInfo.sku_tree||[],(function(t,i){return o("v-uni-view",{key:i,staticClass:"sku-section"},[o("v-uni-view",{staticClass:"sku-section-title"},[e._v(e._s(t.name))]),o("v-uni-view",{staticClass:"sku-options"},e._l(t.children,(function(t,a){return o("v-uni-view",{key:a,staticClass:"sku-option",class:[{"sku-option-active":e.isOptionSelected(i,t),"sku-option-disabled":e.isOptionDisabled(i,t)}],on:{click:function(o){arguments[0]=o=e.$handleEvent(o),!e.isOptionDisabled(i,t)&&e.selectSku(i,t)}}},[e._v(e._s(t.name))])})),1)],1)})),o("v-uni-view",{staticClass:"sku-section sku-section-row"},[o("v-uni-view",{staticClass:"sku-section-title"},[e._v("数量")]),o("v-uni-view",{staticClass:"sku-number"},[o("v-uni-view",{staticClass:"number-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeNumber(-1)}}},[e._v("-")]),o("v-uni-input",{staticClass:"number-input",attrs:{type:"number"},on:{blur:function(t){arguments[0]=t=e.$handleEvent(t),e.onInputBlur.apply(void 0,arguments)}},model:{value:e.localGoodsNum,callback:function(t){e.localGoodsNum=t},expression:"localGoodsNum"}}),o("v-uni-view",{staticClass:"number-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.changeNumber(1)}}},[e._v("+")])],1)],1),e.getLimitText()?o("v-uni-view",{staticClass:"limit-hint"},[e._v(e._s(e.getLimitText()))]):e._e()],2),o("v-uni-view",{staticClass:"sku-footer"},[o("v-uni-button",{staticClass:"sku-confirm-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1)},w=[],_=(o(91058),{name:"SkuSelectModal",props:{show:{type:Boolean,default:!1},goodsInfo:{type:Object,default:function(){return null}},selectedSkuPrice:{type:Object,default:function(){return{}}},selectedSkus:{type:Object,default:function(){return{}}},goodsNum:{type:Number,default:1},isVirtualPay:{type:Boolean,default:!1}},data:function(){return{localGoodsNum:this.goodsNum}},computed:{hasSelectedAllSkus:function(){if(!this.goodsInfo||!this.goodsInfo.sku_tree||0===this.goodsInfo.sku_tree.length)return!0;for(var e=this.goodsInfo.sku_tree.length,t=0;t<e;t++)if(!this.selectedSkus[t])return!1;return!0},maxBuyCount:function(){var e=Number(this.selectedSkuPrice.stock||999),t=this.goodsInfo?Number(this.goodsInfo.single_limit||0):0,o=this.goodsInfo?Number(this.goodsInfo.lifetime_limit||0):0,i=e;return t>0&&(i=Math.min(i,t)),o>0&&(i=Math.min(i,o)),i}},watch:{goodsNum:function(e){this.localGoodsNum=e}},methods:{isOptionSelected:function(e,t){return this.selectedSkus[e]&&this.selectedSkus[e].name===t.name},isOptionDisabled:function(e,t){if(!this.goodsInfo||!this.goodsInfo.sku_tree||!this.goodsInfo.sku_prices)return!1;for(var o=[],i=this.goodsInfo.sku_tree.length,a=0;a<i;a++)a===e?o.push(t.name):this.selectedSkus[a]?o.push(this.selectedSkus[a].name):this.goodsInfo.sku_tree[a]&&this.goodsInfo.sku_tree[a].children&&this.goodsInfo.sku_tree[a].children[0]?o.push(this.goodsInfo.sku_tree[a].children[0].name):o.push("");var n=o.join(","),s=this.goodsInfo.sku_prices.find((function(e){return e.goods_sku_text===n}));return!s||Number(s.stock||0)<=0},selectSku:function(e,t){this.$emit("selectSku",e,t)},changeNumber:function(e){var t=parseInt(this.localGoodsNum)+e,o=this.maxBuyCount;t>=1&&t<=o&&(this.localGoodsNum=t,this.$emit("update:goodsNum",this.localGoodsNum))},onInputBlur:function(){var e=parseInt(this.localGoodsNum),t=this.maxBuyCount;isNaN(e)||e<1?e=1:e>t&&(e=t),this.localGoodsNum=e,this.$emit("update:goodsNum",this.localGoodsNum)},getLimitText:function(){if(!this.goodsInfo)return"";var e=Number(this.goodsInfo.single_limit||0),t=Number(this.goodsInfo.lifetime_limit||0),o=[];return e>0&&o.push("单次限购".concat(e,"件")),t>0&&o.push("终身限购".concat(t,"件")),o.length>0?o.join(""):""},getSkuText:function(){return this.goodsInfo&&this.goodsInfo.sku_tree&&0!==this.goodsInfo.sku_tree.length?this.hasSelectedAllSkus&&this.selectedSkuPrice.goods_sku_text?"已选:"+this.selectedSkuPrice.goods_sku_text:"请选择规格":"数量:"+this.localGoodsNum},onConfirm:function(){if(this.goodsInfo&&this.goodsInfo.sku_tree&&0!==this.goodsInfo.sku_tree.length){for(var e=0;e<this.goodsInfo.sku_tree.length;e++)if(!this.selectedSkus[e])return void uni.showToast({title:"请选择商品规格",icon:"none"});this.$emit("confirm",{skuPrice:this.selectedSkuPrice,goodsNum:this.localGoodsNum})}else this.$emit("confirm",{skuPrice:this.selectedSkuPrice,goodsNum:this.localGoodsNum})},close:function(){this.$emit("close")},open:function(){this.$emit("open")}}}),b=_,k=(o(16490),o(69453)),y=(0,k.Z)(b,x,w,!1,null,"63ecc44e",null,!1,h,i),C=y.exports,S={uPopup:o(84783).Z,uIcon:o(1782).Z},I=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("u-popup",{attrs:{show:e.show,mode:"bottom",closeable:!0},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)},open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"service-modal-content"},[o("v-uni-view",{staticClass:"service-header"},[o("v-uni-view",{staticClass:"service-title"},[e._v("服务")])],1),o("v-uni-scroll-view",{staticClass:"service-body",attrs:{"scroll-y":!0}},e._l(e.serviceList,(function(t,i){return o("v-uni-view",{key:i,staticClass:"service-item"},[o("v-uni-view",{staticClass:"service-item-title"},[o("u-icon",{attrs:{name:"checkmark-circle-fill",size:"16",color:"#0968f6"}}),o("v-uni-text",{staticClass:"service-name"},[e._v(e._s(t))])],1),o("v-uni-view",{staticClass:"service-item-desc"},[e._v(e._s(e.getServiceDesc(t)))])],1)})),1),o("v-uni-view",{staticClass:"service-footer"},[o("v-uni-button",{staticClass:"service-confirm-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}},[e._v("我知道了")])],1)],1)],1)},$=[],z={name:"ServiceModal",props:{show:{type:Boolean,default:!1},serviceList:{type:Array,default:function(){return[]}}},methods:{getServiceDesc:function(e){var t={"不支持7天无理由退货":"该商品不支持7天无理由退货","支持换货":"支持买家申请退换货","支持退货":"支持买家申请退货","包邮":"该商品享受包邮服务","正品保证":"平台承诺正品保证","极速发货":"商家承诺24小时内发货"};return t[e]||e},onConfirm:function(){this.$emit("confirm")},close:function(){this.$emit("close")},open:function(){this.$emit("open")}}},N=z,P=(o(84112),(0,k.Z)(N,I,$,!1,null,"4398f4e1",null,!1,S,a)),M=P.exports,E={uPopup:o(84783).Z},L=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("u-popup",{attrs:{show:e.show,mode:"bottom",round:10},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)},open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"guarantee-modal-content"},[o("v-uni-view",{staticClass:"guarantee-header"},[o("v-uni-view",{staticClass:"guarantee-title"},[e._v("服务保障")]),o("v-uni-text",{staticClass:"guarantee-close",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[e._v("×")])],1),o("v-uni-scroll-view",{staticClass:"guarantee-body",attrs:{"scroll-y":!0}},e._l(e.guaranteeList,(function(t,i){return o("v-uni-view",{key:i,staticClass:"guarantee-item"},[o("v-uni-view",{staticClass:"guarantee-item-title"},[o("v-uni-text",{staticClass:"guarantee-name"},[e._v(e._s(t.title))])],1),o("v-uni-view",{staticClass:"guarantee-item-desc"},[e._v(e._s(t.desc))])],1)})),1),o("v-uni-view",{staticClass:"guarantee-footer"},[o("v-uni-button",{staticClass:"guarantee-confirm-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1)},Z=[],G={name:"GuaranteeModal",props:{show:{type:Boolean,default:!1},guaranteeList:{type:Array,default:function(){return[{icon:"checkmark-circle-fill",title:"7天无理由退换",desc:'满足相应条件(吊牌缺失,洗涤后不支持)时,消费者可申请"7天无理由退换货"'},{icon:"car-fill",title:"退货运费险",desc:"卖家投保退货运费险,负担一定金额退货运费"},{icon:"clock-fill",title:"极速退款",desc:"卖家投保退货运费险,负担一定金额退货运费"}]}}},methods:{onConfirm:function(){this.$emit("confirm")},close:function(){this.$emit("close")},open:function(){this.$emit("open")}}},j=G,T=(o(70450),(0,k.Z)(j,L,Z,!1,null,"17fe2308",null,!1,E,n)),B=T.exports,A={uPopup:o(84783).Z},O=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("u-popup",{attrs:{show:e.show,mode:"bottom",round:10},on:{close:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)},open:function(t){arguments[0]=t=e.$handleEvent(t),e.open.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"params-modal-content"},[o("v-uni-view",{staticClass:"params-header"},[o("v-uni-view",{staticClass:"params-title"},[e._v("产品参数")]),o("v-uni-text",{staticClass:"params-close",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.close.apply(void 0,arguments)}}},[e._v("×")])],1),o("v-uni-scroll-view",{staticClass:"params-body",attrs:{"scroll-y":!0}},e._l(e.paramsList,(function(t,i){return o("v-uni-view",{key:i,staticClass:"params-item"},[o("v-uni-view",{staticClass:"params-item-label"},[e._v(e._s(t.name))]),o("v-uni-view",{staticClass:"params-item-value"},[e._v(e._s(t.value))])],1)})),1),o("v-uni-view",{staticClass:"params-footer"},[o("v-uni-button",{staticClass:"params-confirm-btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}},[e._v("确定")])],1)],1)],1)},D=[],F={name:"ParamsModal",props:{show:{type:Boolean,default:!1},paramsList:{type:Array,default:function(){return[]}}},methods:{onConfirm:function(){this.$emit("confirm")},close:function(){this.$emit("close")},open:function(){this.$emit("open")}}},V=F,R=(o(991),(0,k.Z)(V,O,D,!1,null,"053e3750",null,!1,A,s)),U=R.exports,H={components:{SkuSelectModal:C,ServiceModal:M,GuaranteeModal:B,ParamsModal:U},data:function(){return{goodsId:0,skeletonLoading:!0,goodsInfo:null,showSelectSku:!1,showServiceModal:!1,showGuaranteeModal:!1,showParamsModal:!1,goodsSwiper:[],selectedSkuPrice:{},selectedSkus:{},goodsNum:1,guaranteeList:[{icon:"checkmark-circle-fill",title:"7天无理由退换",desc:'满足相应条件(吊牌缺失,洗涤后不支持)时,消费者可申请"7天无理由退换货"'},{icon:"car-fill",title:"退货运费险",desc:"卖家投保退货运费险,负担一定金额退货运费"},{icon:"clock-fill",title:"极速退款",desc:"卖家投保退货运费险,负担一定金额退货运费"}],paramsList:[{name:"适用场所",value:"厨房"},{name:"材质",value:"棉"}]}},computed:{hasMultipleSku:function(){return this.goodsInfo&&this.goodsInfo.sku_prices&&this.goodsInfo.sku_prices.length>1},getSkuCount:function(){if(!this.goodsInfo||!this.goodsInfo.sku_tree||0===this.goodsInfo.sku_tree.length)return 0;var e=0;return this.goodsInfo.sku_tree.forEach((function(t){t.children&&(e+=t.children.length)})),e},serviceList:function(){return this.goodsInfo&&this.goodsInfo.service?this.goodsInfo.service.split(",").map((function(e){return e.trim()})).filter((function(e){return e})):[]},isVirtualPay:function(){return 1===Number(this.goodsInfo&&this.goodsInfo.is_virtual_pay)&&"wxMiniProgram"===uni.getStorageSync("platform")}},onLoad:function(e){r=this;var t=e.id;if(!t)return r.goodsInfo=null,void(r.skeletonLoading=!1);r.goodsId=t,r.getGoodsDetail(r.goodsId)},onPullDownRefresh:function(){r.refresh()},methods:{previewImage:function(e){uni.previewImage({current:e,urls:r.goodsSwiper})},refresh:function(){uni.showLoading({title:"请稍后"}),r.getGoodsDetail(r.goodsId)},onSelectSku:function(e,t){r.$set(r.selectedSkus,e,t),r.updateSkuPrice()},updateSkuPrice:function(){if(r.goodsInfo&&r.goodsInfo.sku_tree&&r.goodsInfo.sku_prices){for(var e=[],t=r.goodsInfo.sku_tree?r.goodsInfo.sku_tree.length:0,o=0;o<t;o++)r.selectedSkus[o]?e.push(r.selectedSkus[o].name):r.goodsInfo.sku_tree[o]&&r.goodsInfo.sku_tree[o].children&&r.goodsInfo.sku_tree[o].children[0]?e.push(r.goodsInfo.sku_tree[o].children[0].name):e.push("");var i=e.join(","),a=r.goodsInfo.sku_prices.find((function(e){return e.goods_sku_text===i}));r.selectedSkuPrice=a||(0,m.Z)((0,m.Z)({},r.selectedSkuPrice),{},{goods_sku_text:i,price:r.goodsInfo.sku_prices[0]?r.goodsInfo.sku_prices[0].price:0}),r.goodsNum>Number(r.selectedSkuPrice.stock||0)&&(r.goodsNum=Number(r.selectedSkuPrice.stock||0))}},changeNumber:function(e){var t=r.goodsNum+e,o=Number(r.selectedSkuPrice.stock||999);t>=1&&t<=o&&(r.goodsNum=t)},onAddCart:function(){uni.showToast({title:"已加入购物车",icon:"success"}),r.showSelectSku=!1},onBuy:function(){uni.showToast({title:"跳转到订单确认页",icon:"none"})},onSkuConfirm:function(e){r.goodsNum=e.goodsNum,r.showSelectSku=!1;var t=Number(r.goodsInfo.single_limit||0),o=Number(r.goodsInfo.lifetime_limit||0);if(t>0&&r.goodsNum>t)uni.showToast({title:"单次限购".concat(t,"件"),icon:"none"});else if(o>0&&r.goodsNum>o)uni.showToast({title:"终身限购".concat(o,"件"),icon:"none"});else{var i=[{goodsId:r.goodsId+"_"+(r.selectedSkuPrice.id||0),goodsType:"physical",count:r.goodsNum}];r.$nav.to("/pages/order/submit/submit?type=physical&goodsList="+JSON.stringify(i))}},getServiceDesc:function(e){var t={"不支持7天无理由退货":"该商品不支持7天无理由退货","支持换货":"支持买家申请退换货","支持退货":"支持买家申请退货","包邮":"该商品享受包邮服务","正品保证":"平台承诺正品保证","极速发货":"商家承诺24小时内发货"};return t[e]||e},buildSkuTree:function(e){if(!e||0===e.length)return[];var t=e[0];if(!t.goods_sku_text)return[];var o=t.goods_sku_text.split(","),i=[];return o.forEach((function(t,o){var a="规格".concat(o+1),n=[],s=new Set;e.forEach((function(e){if(e.goods_sku_text){var t=e.goods_sku_text.split(",");t[o]&&s.add(t[o].trim())}})),s.forEach((function(e){n.push({name:e})})),n.length>0&&i.push({name:a,children:n})})),i},buildGuaranteeList:function(e){var t=[];return 1===e.support_return&&t.push({icon:"checkmark-circle-fill",title:"7天无理由退货",desc:'满足相应条件时,消费者可申请"7天无理由退货"'}),1===e.support_exchange&&t.push({icon:"reload",title:"支持换货",desc:"买家可申请换货服务"}),e.delivery_time&&t.push({icon:"clock-fill",title:"极速发货",desc:"商家承诺".concat(e.delivery_time,"天内发货")}),t},getGoodsDetail:function(e){var t=this;return(0,v.Z)((0,p.Z)().mark((function o(){var i,a,n,s,l;return(0,p.Z)().wrap((function(o){while(1)switch(o.prev=o.next){case 0:return o.next=2,r.$api("physical.physical.detail",{id:e});case 2:if(i=o.sent,1===i.code){if(a=(0,m.Z)((0,m.Z)({},i.data),{},{cover:i.data.image||i.data.cover?(i.data.image||i.data.cover).replace(/^`|`$/g,"").trim():"",carousel:i.data.carousel?i.data.carousel.map((function(e){return e.replace(/^`|`$/g,"").trim()})):[]}),i.data.sku_tree&&i.data.sku_tree.length>0?a.sku_tree=i.data.sku_tree:i.data.sku_prices&&i.data.sku_prices.length>0&&(a.sku_tree=r.buildSkuTree(i.data.sku_prices)),i.data.sku_prices&&i.data.sku_prices.length>0&&(n=i.data.sku_prices.find((function(e){return Number(e.stock)>0})),r.selectedSkuPrice=n||i.data.sku_prices[0],n&&n.goods_sku_text&&(s=n.goods_sku_text.split(","),s.forEach((function(e,t){if(a.sku_tree&&a.sku_tree[t]){var o=a.sku_tree[t].children.find((function(t){return t.name===e}));o&&r.$set(r.selectedSkus,t,o)}})))),r.goodsInfo=a,r.goodsSwiper=a.carousel&&a.carousel.length>0?a.carousel:[a.cover],r.guaranteeList=r.buildGuaranteeList(i.data),t.$nav.share(i.data.name),i.data.params){if(l=i.data.params,"string"===typeof l)try{l=JSON.parse(l)}catch(d){l=[]}Array.isArray(l)&&l.length>0?r.paramsList=l:"object"===(0,g.Z)(l)&&Object.keys(l).length>0&&(r.paramsList=Object.entries(l).map((function(e){var t=(0,f.Z)(e,2),o=t[0],i=t[1];return{name:o,value:i}})))}r.skeletonLoading=!1,uni.hideLoading(),uni.stopPullDownRefresh()}else r.goodsInfo=null,uni.hideLoading(),uni.stopPullDownRefresh();case 4:case"end":return o.stop()}}),o)})))()}},onShareAppMessage:function(){return this.$nav.share()},onShareTimeline:function(){return this.$nav.share()}},Y=H,J=(o(51546),(0,k.Z)(Y,c,u,!1,null,"a908de96",null,!1,d,l)),W=J.exports},77050:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".footer-box[data-v-69123308]{margin-top:40px;padding-bottom:60px}.links[data-v-69123308]{text-align:center}.links span[data-v-69123308]{color:#4e5969;font-size:12px;margin:10px 8px}.copyright[data-v-69123308]{width:100%;text-align:center;margin:15px 0;color:#c9cdd4;font-size:12px;font-family:serif}",""]),t["default"]=r},91720:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,"[alt][data-v-2195fc88]{max-width:100%}",""]),t["default"]=r},66025:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".guarantee-modal-content[data-v-17fe2308]{background-color:#fff;border-radius:12px 12px 0 0;max-height:70vh}.guarantee-header[data-v-17fe2308]{display:flex;justify-content:center;align-items:center;padding:16px;position:relative;border-bottom:1px solid #f7f8fa}.guarantee-title[data-v-17fe2308]{font-size:18px;font-weight:600;color:#333}.guarantee-close[data-v-17fe2308]{position:absolute;right:16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24px;color:#999;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.guarantee-body[data-v-17fe2308]{padding:20px 16px;max-height:45vh}.guarantee-item[data-v-17fe2308]{margin-bottom:24px}.guarantee-item-title[data-v-17fe2308]{font-size:15px;font-weight:600;color:#333;margin-bottom:8px;display:flex;align-items:center}.guarantee-item-desc[data-v-17fe2308]{font-size:13px;color:#999;line-height:1.6}.guarantee-footer[data-v-17fe2308]{padding:16px;border-top:1px solid #f7f8fa}.guarantee-confirm-btn[data-v-17fe2308]{width:100%;height:46px;line-height:46px;font-weight:500;font-size:16px;background:#0968f6;color:#fff}",""]),t["default"]=r},65612:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".params-modal-content[data-v-053e3750]{background-color:#fff;border-radius:12px 12px 0 0;max-height:70vh}.params-header[data-v-053e3750]{display:flex;justify-content:center;align-items:center;padding:16px;position:relative;border-bottom:1px solid #f7f8fa}.params-title[data-v-053e3750]{font-size:18px;font-weight:600;color:#333}.params-close[data-v-053e3750]{position:absolute;right:16px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24px;color:#999;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.params-body[data-v-053e3750]{padding:0 16px;max-height:45vh}.params-item[data-v-053e3750]{display:flex;align-items:center;padding:16px 0;border-bottom:1px solid #f7f8fa}.params-item[data-v-053e3750]:last-child{border-bottom:none}.params-item-label[data-v-053e3750]{width:80px;font-size:14px;color:#666;flex-shrink:0}.params-item-value[data-v-053e3750]{flex:1;font-size:14px;color:#333;margin-left:20px}.params-footer[data-v-053e3750]{padding:16px;border-top:1px solid #f7f8fa}.params-confirm-btn[data-v-053e3750]{width:100%;height:46px;line-height:46px;font-weight:500;font-size:16px;background:#0968f6;color:#fff}",""]),t["default"]=r},37002:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".service-modal-content[data-v-4398f4e1]{background-color:#fff;border-radius:12px 12px 0 0;max-height:60vh}.service-header[data-v-4398f4e1]{display:flex;justify-content:center;align-items:center;padding:16px;border-bottom:1px solid #f7f8fa}.service-title[data-v-4398f4e1]{font-size:16px;font-weight:600;color:#333}.service-body[data-v-4398f4e1]{padding:20px 16px;max-height:40vh}.service-item[data-v-4398f4e1]{margin-bottom:24px}.service-item-title[data-v-4398f4e1]{font-size:15px;font-weight:500;color:#333;margin-bottom:8px;display:flex;align-items:center}.service-name[data-v-4398f4e1]{margin-left:6px}.service-item-desc[data-v-4398f4e1]{font-size:13px;color:#999;padding-left:22px;line-height:1.5}.service-footer[data-v-4398f4e1]{padding:16px;border-top:1px solid #f7f8fa}.service-confirm-btn[data-v-4398f4e1]{width:100%;height:46px;line-height:46px;font-weight:500;font-size:16px;border-radius:23px;background:#0968f6;color:#fff}",""]),t["default"]=r},83854:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".sku-modal-content[data-v-63ecc44e]{background-color:#fff;border-radius:12px 12px 0 0;max-height:70vh}.sku-header[data-v-63ecc44e]{display:flex;padding:20px 16px;border-bottom:1px solid #f7f8fa}.sku-image[data-v-63ecc44e]{width:90px;height:90px;border-radius:8px;background-color:#f7f8fa}.sku-info[data-v-63ecc44e]{flex:1;margin-left:12px;display:flex;flex-direction:column;justify-content:center}.sku-price[data-v-63ecc44e]{display:flex;align-items:baseline}.price-symbol[data-v-63ecc44e]{font-size:12px;font-weight:700;color:#f53f3f}.price-num[data-v-63ecc44e]{font-size:24px;font-weight:700;color:#f53f3f;margin-left:2px}.sku-text[data-v-63ecc44e]{font-size:13px;color:#666;margin-top:8px}.sku-body[data-v-63ecc44e]{padding:20px 16px;max-height:40vh;overflow-x:hidden}.sku-section[data-v-63ecc44e]{margin-bottom:24px}.sku-section-row[data-v-63ecc44e]{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;width:100%;box-sizing:border-box}.sku-section-row .sku-section-title[data-v-63ecc44e]{margin-bottom:0;flex-shrink:0;margin-right:10px}.sku-section-title[data-v-63ecc44e]{font-size:14px;color:#333;margin-bottom:12px;font-weight:500}.sku-options[data-v-63ecc44e]{display:flex;flex-wrap:wrap;gap:10px}.sku-option[data-v-63ecc44e]{padding:8px 16px;background-color:#f7f8fa;border-radius:6px;font-size:14px;color:#333;border:1px solid transparent}.sku-option-active[data-v-63ecc44e]{background-color:#e8f4ff;color:#0968f6;border-color:#0968f6}.sku-option-disabled[data-v-63ecc44e]{background-color:#f7f8fa;color:#ccc;cursor:not-allowed;opacity:.6}.sku-number[data-v-63ecc44e]{display:flex;align-items:center;flex-shrink:0}\n.number-btn[data-v-63ecc44e]{width:28px;height:28px;line-height:28px;text-align:center;background-color:initial;font-size:18px;color:#999;padding:0;margin:0;flex-shrink:0}.number-input[data-v-63ecc44e]{width:50px;height:32px;text-align:center;background-color:#f7f8fa;border-radius:4px;font-size:14px;color:#333;margin:0 8px;flex-shrink:0}.limit-hint[data-v-63ecc44e]{font-size:12px;color:#999;text-align:right}.sku-footer[data-v-63ecc44e]{padding:16px;border-top:1px solid #f7f8fa}.sku-confirm-btn[data-v-63ecc44e]{width:100%;height:46px;line-height:46px;font-weight:500;font-size:16px;background:#0968f6;color:#fff;border:none;padding:0;margin:0}.sku-confirm-btn[data-v-63ecc44e]::after{border:none}",""]),t["default"]=r},26002:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,".goods-detail[data-v-a908de96]{min-height:100vh;background-color:#f7f8fa;padding-bottom:70px}\n\n/* 轮播图 */.goods-detail .detail-swiper-selector .goods-swiper[data-v-a908de96]{width:100%;height:100vw;max-height:480px;background-color:#fff}.goods-detail .detail-swiper-selector .goods-swiper .swiper-image[data-v-a908de96]{width:100%;height:100%;object-fit:contain}\n\n/* 卡片基础样式 */.goods-detail .detail-swiper-selector .detail-card[data-v-a908de96]{background-color:#fff;margin:0 0;padding:16px}\n\n/* 价格标题卡片 */.goods-detail .detail-swiper-selector .title-card .price-box[data-v-a908de96]{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:16px}.goods-detail .detail-swiper-selector .title-card .price-box .price-wrapper[data-v-a908de96]{display:flex;align-items:baseline}.goods-detail .detail-swiper-selector .title-card .price-box .price-wrapper .price-symbol[data-v-a908de96]{font-size:16px;font-weight:700;color:#f53f3f}.goods-detail .detail-swiper-selector .title-card .price-box .price-wrapper .price-text[data-v-a908de96]{font-size:32px;font-weight:700;color:#f53f3f;line-height:32px;font-family:OPPOSANS;margin:0 2px}.goods-detail .detail-swiper-selector .title-card .price-box .price-wrapper .price-suffix[data-v-a908de96]{font-size:14px;color:#f53f3f;font-weight:500}.goods-detail .detail-swiper-selector .title-card .price-box .origin-price-text[data-v-a908de96]{font-size:14px;font-weight:400;text-decoration:line-through;color:#999;margin-left:8px}.goods-detail .detail-swiper-selector .title-card .price-box .sales-text[data-v-a908de96]{font-size:13px;font-weight:400;color:#999}.goods-detail .detail-swiper-selector .title-card .title-text[data-v-a908de96]{font-size:18px;font-weight:600;line-height:26px;color:#333;margin-bottom:8px}.goods-detail .detail-swiper-selector .title-card .subtitle-text[data-v-a908de96]{font-size:14px;font-weight:400;color:#666;line-height:20px}\n\n/* 功能卡片 */.goods-detail .detail-swiper-selector .detail-cell-card[data-v-a908de96]{background-color:#fff;margin:12px 0;overflow:hidden}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item[data-v-a908de96]{display:flex;align-items:center;padding:16px;border-bottom:1px solid #f7f8fa}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item[data-v-a908de96]:last-child{border-bottom:none}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-label[data-v-a908de96]{font-size:14px;color:#666;width:50px;font-weight:400;flex-shrink:0}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value[data-v-a908de96]{display:flex;align-items:center;flex:1;font-size:14px;color:#333}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value .cell-value-text[data-v-a908de96]{color:#333;margin-right:8px}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value .cell-value-count[data-v-a908de96]{color:#999;font-size:13px}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.service-tags[data-v-a908de96]{display:flex;flex-wrap:wrap;gap:8px}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.service-tags .service-tag[data-v-a908de96]{display:flex;align-items:center;padding:4px 10px;background-color:#f7f8fa;font-size:12px;color:#666}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.service-tags .service-tag .service-text[data-v-a908de96]{margin-left:4px}\n\n/* 保障标签 */.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.guarantee-tags[data-v-a908de96]{flex:1;overflow:hidden}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.guarantee-tags .guarantee-text[data-v-a908de96]{font-size:14px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n\n/* 参数标签 */.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.params-tags[data-v-a908de96]{flex:1;overflow:hidden}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value.params-tags .params-text[data-v-a908de96]{font-size:14px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value .delivery-text[data-v-a908de96]{color:#333}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-value .delivery-subtext[data-v-a908de96]{color:#999;font-size:13px;margin-left:8px}.goods-detail .detail-swiper-selector .detail-cell-card .cell-item .cell-arrow[data-v-a908de96]{font-size:14px;color:#ccc;margin-left:4px;flex-shrink:0}\n\n/* 详情内容卡片 */.goods-detail .detail-swiper-selector .detail-content-card[data-v-a908de96]{background-color:#fff;margin:12px 0;padding:16px}.goods-detail .detail-swiper-selector .detail-content-card .content-title[data-v-a908de96]{font-size:16px;font-weight:600;color:#333;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f7f8fa}\n\n/* 底部操作栏 */.goods-detail .detail-tabbar[data-v-a908de96]{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;padding:12px 16px;background-color:#fff;box-shadow:0 -2px 10px rgba(0,0,0,.06)}.goods-detail .detail-tabbar .add-btn[data-v-a908de96]{flex:1;height:44px;line-height:44px;font-weight:500;font-size:15px;background-color:#e8f4ff;color:#0968f6;margin-right:1px}.goods-detail .detail-tabbar .buy-btn[data-v-a908de96]{flex:1;height:44px;line-height:44px;font-weight:500;font-size:15px;background:#0968f6;color:#fff}.goods-detail .detail-tabbar .buy-btn-full[data-v-a908de96]{width:100%;height:44px;line-height:44px;font-weight:500;font-size:15px;background:#0968f6;color:#fff}.goods-detail .detail-tabbar .disabled-btn[data-v-a908de96]{width:100%;height:44px;line-height:44px;font-weight:500;font-size:15px;background:#ccc;color:#fff}",""]),t["default"]=r},46515:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n *@import \'/static/themes/css/arco.css\';\n*/uni-button[data-v-ed811d64]::after{content:none!important}\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-ed811d64], uni-scroll-view[data-v-ed811d64], uni-swiper-item[data-v-ed811d64]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon[data-v-ed811d64]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-ed811d64]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-ed811d64]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;-webkit-animation:u-rotate-data-v-ed811d64 1s linear infinite;animation:u-rotate-data-v-ed811d64 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-ed811d64]{border-width:2px;border-color:transparent;border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-ed811d64]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-ed811d64]{flex-direction:column}[data-v-ed811d64]:host{font-size:0;line-height:1}.u-loading-icon__spinner--spinner[data-v-ed811d64]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.u-loading-icon__text[data-v-ed811d64]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-ed811d64]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-ed811d64]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-ed811d64]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes u-rotate-data-v-ed811d64{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-rotate-data-v-ed811d64{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t["default"]=r},33322:function(e,t,o){"use strict";o.r(t);var i=o(43481),a=o.n(i),n=o(2400),s=o.n(n),r=s()(a());r.push([e.id,"@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n *@import '/static/themes/css/arco.css';\n*/uni-button[data-v-508ca898]::after{content:none!important}\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-508ca898], uni-scroll-view[data-v-508ca898], uni-swiper-item[data-v-508ca898]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-page[data-v-508ca898]{\ndisplay:flex;\nflex-direction:column;flex:1;align-items:center;justify-content:center}.u-loading-page__warpper[data-v-508ca898]{margin-top:-150px;justify-content:center;align-items:center;color:#c8c8c8;font-size:19px;\ndisplay:flex;\nflex-direction:column}.u-loading-page__warpper__loading-icon[data-v-508ca898]{margin-bottom:10px}.u-loading-page__warpper__loading-icon__img[data-v-508ca898]{width:40px;height:40px}.u-loading-page__warpper__text[data-v-508ca898]{font-size:19px;color:#c8c8c8}",""]),t["default"]=r}}]);