pages-product-product.26f3c121.js 47 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-product"],{"01b5":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-numbox"},[a("v-uni-view",{staticClass:"uni-numbox-minus",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("subtract")}}},[a("v-uni-text",{staticClass:"iconfont iconmove",class:t.minDisabled?"uni-numbox-disabled":""})],1),a("v-uni-input",{staticClass:"uni-numbox-value",attrs:{type:"number",disabled:t.disabled,value:t.inputValue},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t._onBlur.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"uni-numbox-plus",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t._calcValue("add")}}},[a("v-uni-text",{staticClass:"iconfont iconadd",class:t.maxDisabled?"uni-numbox-disabled":""})],1)],1)},o=[]},"05c3":function(t,e,a){"use strict";a.r(e);var i=a("ec77"),n=a("41c0");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("375e");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"7ab9e965",null,!1,i["a"],s);e["default"]=r.exports},"085c":function(t,e,a){"use strict";a.r(e);var i=a("57e0"),n=a("c9b9");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("be63");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"a2a44520",null,!1,i["a"],s);e["default"]=r.exports},"08f5":function(t,e,a){"use strict";a.r(e);var i=a("1693"),n=a("e34f");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("9478");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"27e49ee5",null,!1,i["a"],s);e["default"]=r.exports},"0972":function(t,e,a){"use strict";a.r(e);var i=a("ff43"),n=a("d28a");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("c8a3");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"673cd923",null,!1,i["a"],s);e["default"]=r.exports},"0e61":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{imgList:{type:Array,default:function(){return[]}}},data:function(){return{}}};e.default=i},"12c5":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=o,e.goodsDetail=s,e.getBargainList=c,e.cartAdd=r,e.collectAdd=u,e.collectDel=d,e.searchKeyword=l,e.groomList=f,e.seckillGoods=v,e.groupGoods=p,e.getCategoryList=b,e.getCombinationList=g,e.getCombinationLisRemove=h,e.getCombinationLisPink=m,e.getCombinationPoster=x,e.getSeckillClass=w,e.getSeckillList=y,e.reply_config=_,e.reply_list=C;var n=i(a("4c3b"));function o(t){return(0,n.default)({url:"/api/products",method:"get",data:t})}function s(t,e){return(0,n.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/bargain/list",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/cart/add",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/collect/add",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,e){return(0,n.default)({url:"/api/groom/list/"+e,method:"get",data:t})}function v(t,e){return(0,n.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function p(t,e){return(0,n.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/category",method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/combination/list",method:"get",data:t})}function h(t,e){return(0,n.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function m(t,e){return(0,n.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function x(t){return(0,n.default)({url:"/api/combination/poster",method:"post",data:t})}function w(t){return(0,n.default)({url:"/api/seckill/index",method:"get",data:t})}function y(t,e){return(0,n.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function _(t,e){return(0,n.default)({url:"/api/reply/config/"+e,method:"get",data:t})}function C(t,e){return(0,n.default)({url:"/api/reply/list/"+e,method:"get",data:t})}},1693:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"carousel"},[a("v-uni-swiper",{attrs:{"indicator-dots":!0,circular:!0,duration:"400"}},t._l(t.imgList,(function(t,e){return a("v-uni-swiper-item",{key:e,staticClass:"swiper-item"},[a("v-uni-view",{staticClass:"image-wrapper"},[a("v-uni-image",{staticClass:"loaded",attrs:{src:t,mode:"scaleToFill"}})],1)],1)})),1)],1)},o=[]},"1e15":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 标题简介 */.introduce-section[data-v-7ab9e965]{position:relative;background:#fff;padding:%?35?% %?0?%;padding-left:%?35?%}.introduce-section .title[data-v-7ab9e965]{font-size:%?32?%;color:#303133}.introduce-section .title .tip-o[data-v-7ab9e965]{color:#ff3334;padding-left:%?15?%}.introduce-section .shareDate[data-v-7ab9e965]{position:absolute;top:%?25?%;right:%?25?%;font-size:%?26?%;color:#3d3f46;border-radius:%?15?%;background-color:#fff;height:%?60?%;line-height:%?60?%}.introduce-section .share-img[data-v-7ab9e965]{width:%?30?%;height:%?30?%;position:relative;top:%?5?%;left:0;margin-right:%?10?%}.introduce-section .info[data-v-7ab9e965]{color:#999;font-size:%?26?%;padding-bottom:%?15?%}.introduce-section .progress-box[data-v-7ab9e965]{width:%?260?%;position:relative;margin-top:%?15?%;line-height:10px}.introduce-section .progress-box .number[data-v-7ab9e965]{font-size:%?17?%;position:absolute;z-index:999;top:%?3?%;left:%?15?%;color:#fff}.introduce-section .price-box[data-v-7ab9e965]{display:flex;align-items:baseline;height:%?64?%;padding:%?10?% 0;font-size:%?26?%;color:#5dbc7c}.introduce-section .price[data-v-7ab9e965]{font-size:%?38?%}.introduce-section .price .text[data-v-7ab9e965]{padding-left:%?5?%;color:#b0b0b0;font-size:%?22?%!important}.introduce-section .price-green[data-v-7ab9e965]{color:#2dbd59;font-size:%?28?%!important}.introduce-section .price-green uni-text[data-v-7ab9e965]{background:#2dbd59;color:#fff;padding:%?0?% %?10?%;border-radius:%?5?%;font-size:%?22?%!important;margin-left:%?15?%}.introduce-section .m-price[data-v-7ab9e965]{margin:0 %?12?%;color:#909399;text-decoration:line-through;margin-left:%?25?%;font-size:%?24?%}',""]),t.exports=e},"292c":function(t,e,a){var i=a("80e7");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("b96d10ee",i,!0,{sourceMap:!1,shadowMode:!1})},3078:function(t,e,a){"use strict";var i=a("4ea4");a("a4d3"),a("e01a"),a("4160"),a("ac1f"),a("5319"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530"));a("96cf");var o=i(a("1da1")),s=i(a("cc14")),c=a("12c5"),r=a("26cb"),u=(i(a("0f3e")),a("a306")),d=a("2a1b"),l=i(a("08f5")),f=i(a("05c3")),v=i(a("0972")),p=i(a("56920")),b=i(a("f3b3")),g=i(a("3f34")),h=i(a("085c")),m=i(a("82a9")),x={components:{uniNumberBox:s.default,guessLike:h.default,topSwiper:l.default,productContent:f.default,discounts:v.default,freshDetail:p.default,contentText:b.default,productBottom:g.default,estimate:m.default},data:function(){return{isPao:0,goodsStore:0,specList:[],buys_show:!0,buys_shows:!1,specSelected:[],specClass:"none",many:1,reply:"",list:"",type:1,goodsType:0,goodsNumber:1,goodsid:"",description:"",goodsObjact:{percent:1},imgList:[],actionPrice:0,actionImage:"",good_list:"",goodsNumberMax:0,seckillObj:{stopTime:0,stop:!1,stopTimeH:0,stopTimeM:0,stopTimeS:0,stopTimeD:0,upTime:0},pink:{id:"",uid:"",people:"",price:"",stop_time:"",nickname:"",avatar:"",count:"",h:"",i:"",s:""},userInfo:""}},filters:{parseIntTo:function(t){return t=100*+t,t%1===0||(t=t.toFixed(1)),t}},onLoad:function(t){var e=this;return(0,o.default)(regeneratorRuntime.mark((function a(){var i,n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:i=e,i.userInfo=uni.getStorageSync("userInfo"),e.goodsid=t.id,e.goodsType=t.type,t.spread&&uni.setStorageSync("spread",t.spread),t.isPao&&(e.isPao=t.isPao),(0,u.saveUrl)(),e.goodsDetail(),n=uni.getStorageSync("weichatBrowser")||"",n&&(0,d.weixindata)();case 10:case"end":return a.stop()}}),a)})))()},computed:(0,n.default)({},(0,r.mapState)(["weichatObj","baseURL","urlFile"])),onShareAppMessage:function(t){var e=getCurrentPages(),a=e[e.length-1],i=a.route,n=a.options,o={title:this.goodsObjact.store_name+" 价格:"+this.goodsObjact.price,path:i+"?id="+n.id+"&spread="+this.userInfo.uid,imageUrl:this.goodsObjact.image,success:function(t){t.errMsg},fail:function(){"shareAppMessage:fail cancel"==res.errMsg||res.errMsg}};return o},methods:{selectSpec:function(t,e,a){e.attr_value.forEach((function(t){t.check=!1})),t.check=!0;var i=this;i.specSelected[a]=t.attr;var n=i.specSelected.join(",");i.productValue[n]?(i.buys_show=!0,i.buys_shows=!1,i.actionPrice=i.productValue[n].price,i.goodsNumberMax=i.productValue[n].stock,i.actionImage=i.productValue[n].image,i.uniqueId=i.productValue[n].unique,i.goodsStore=i.productValue[n].stock):(i.buys_show=!1,i.buys_shows=!0),0==i.goodsStore&&(i.buys_show=!1,i.buys_shows=!0),i.specSelected[a]=t.attr},specOPne:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this;e.specClass="show",e.type=t},numberChange:function(t){this.goodsNumber=t.number},toggleSpec:function(t){var e=this;"show"===this.specClass?(this.specClass="hide",setTimeout((function(){e.specClass="none"}),250)):"none"===this.specClass&&(this.specClass="show"),this.type=t},Getcoupon:function(){uni.navigateTo({url:"/pages/coupon/getcoupon"})},navToDetailPage:function(t){var e=t.id;uni.navigateTo({url:"/pages/product/product?id="+e})},navTo:function(t){uni.navigateTo({url:"/pages/product/reply?id="+this.goodsid})},Addcar:function(t){var e=this;(0,c.cartAdd)({cartNum:"1",uniqueId:"",new:0,mer_id:"",productId:t.id}).then((function(t){uni.showToast({title:"成功加入购物车",type:"top",duration:500,icon:"none"}),e.goodsDetail()})).catch((function(t){console.log(t)}))},goodsDetail:function(){var t=this;(0,c.goodsDetail)({},this.goodsid).then((function(e){var a=e.data;t.list=a,t.good_list=a.good_list,t.reply=a.reply;var i=a.storeInfo;if(t.goodsObjact=i,null!=t.goodsObjact.description&&(t.description=t.goodsObjact.description.replace(/\<img/gi,'<img class="rich-img"')),t.imgList=i.slider_image,t.specList=a.productAttr,1!=Array.isArray(a.productValue)){t.many=2,t.specList=a.productAttr,t.productValue=a.productValue,t.specSelected=[];for(var n=0;n<t.specList.length;n++){var o=t.specList[n].attr_value[0];o.check=!0,t.specSelected.push(o.attr)}var s=t.specSelected.join(",");console.log(s,"str"),t.actionPrice=t.productValue[s].price,t.goodsNumberMax=t.productValue[s].stock,t.actionImage=t.productValue[s].image,t.uniqueId=t.productValue[s].unique,t.goodsStore=t.productValue[s].quota}else t.many=1,t.productValue=a.productValue,t.actionPrice=i.price,t.actionImage=i.image_base,t.goodsNumberMax=i.stock;t.shopId=a.mer_id}))},buy:function(){var t=this,e={cartNum:t.goodsNumber,new:1,productId:t.goodsid,uniqueId:t.uniqueId};2==t.type&&(e.new=0),(0,c.cartAdd)(e).then((function(e){var a=e.data;1==t.type&&uni.navigateTo({url:"/pages/order/createOrder?id="+a.cartId}),2==t.type&&(uni.showToast({title:"成功加入购物车",type:"top",duration:2e3,icon:"none"}),t.goodsDetail()),t.toggleSpec()})).catch((function(t){console.log(t)}))},stopPrevent:function(){}}};e.default=x},"371a":function(t,e,a){"use strict";a.r(e);var i=a("f81e"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"375e":function(t,e,a){"use strict";var i=a("ff18"),n=a.n(i);n.a},"39ff":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 弹出层 */.popup[data-v-590acca7]{position:fixed;left:0;top:0;right:0;bottom:0;z-index:99}.popup.show[data-v-590acca7]{display:block}.popup.show .mask[data-v-590acca7]{-webkit-animation:showPopup-data-v-590acca7 .2s linear both;animation:showPopup-data-v-590acca7 .2s linear both}.popup.show .layer[data-v-590acca7]{-webkit-animation:showLayer-data-v-590acca7 .2s linear both;animation:showLayer-data-v-590acca7 .2s linear both}.popup.hide .mask[data-v-590acca7]{-webkit-animation:hidePopup-data-v-590acca7 .2s linear both;animation:hidePopup-data-v-590acca7 .2s linear both}.popup.hide .layer[data-v-590acca7]{-webkit-animation:hideLayer-data-v-590acca7 .2s linear both;animation:hideLayer-data-v-590acca7 .2s linear both}.popup.none[data-v-590acca7]{display:none}.popup .mask[data-v-590acca7]{position:fixed;top:0;width:100%;height:100%;z-index:1;background-color:rgba(0,0,0,.4)}.popup .layer[data-v-590acca7]{position:fixed;z-index:99;bottom:0;width:100%;min-height:35vh;border-radius:%?10?% %?10?% 0 0;background-color:#fff}.popup .layer .btn[data-v-590acca7]{height:%?66?%;line-height:%?66?%;border-radius:%?100?%;background:#5dbc7c;font-size:%?30?%;color:#fff;margin:%?30?% auto %?20?%}@-webkit-keyframes showPopup-data-v-590acca7{0%{opacity:0}100%{opacity:1}}@keyframes showPopup-data-v-590acca7{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes hidePopup-data-v-590acca7{0%{opacity:1}100%{opacity:0}}@keyframes hidePopup-data-v-590acca7{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes showLayer-data-v-590acca7{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes showLayer-data-v-590acca7{0%{-webkit-transform:translateY(120%);transform:translateY(120%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes hideLayer-data-v-590acca7{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}@keyframes hideLayer-data-v-590acca7{0%{-webkit-transform:translateY(0);transform:translateY(0)}100%{-webkit-transform:translateY(120%);transform:translateY(120%)}}\n/* 规格选择弹窗 */.attr-content[data-v-590acca7]{padding:%?25?% %?30?%}.attr-content .a-t[data-v-590acca7]{display:flex}.attr-content .a-t uni-image[data-v-590acca7]{width:%?170?%;height:%?170?%;flex-shrink:0;border-radius:%?8?%}.attr-content .a-t .right[data-v-590acca7]{display:flex;flex-direction:column;padding-left:%?24?%;font-size:%?26?%;color:#606266;line-height:%?42?%;width:75%}.attr-content .a-t .right .price[data-v-590acca7]{font-size:%?32?%;color:#5dbc7c;margin:%?10?% %?0?%}.attr-content .a-t .right .name[data-v-590acca7]{font-size:%?32?%;color:#303133;height:%?50?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.attr-content .a-t .right .selected-text[data-v-590acca7]{margin-right:%?10?%}.attr-content .attr-list[data-v-590acca7]{display:flex;flex-direction:column;font-size:%?30?%;color:#606266;padding-top:%?30?%;padding-left:%?10?%}.attr-content .item-list[data-v-590acca7]{padding:%?20?% 0 0;display:flex;flex-wrap:wrap}.attr-content .item-list uni-text[data-v-590acca7]{display:flex;align-items:center;justify-content:center;background:#eee;margin-right:%?20?%;margin-bottom:%?20?%;border-radius:%?100?%;min-width:%?60?%;height:%?60?%;padding:0 %?20?%;font-size:%?28?%;color:#303133}.attr-content .item-list .selected[data-v-590acca7]{background:#ddffdf;color:#5dbc7c}.goodsBottom[data-v-590acca7]{height:%?160?%}uni-page-body[data-v-590acca7]{background:#f0f0f0}.contentBottomHeight[data-v-590acca7]{height:%?110?%}.goodsBottom[data-v-590acca7]{height:%?160?%}[data-v-590acca7] .iconenter{font-size:%?30?%;color:#888}[data-v-590acca7] .con_image{width:%?130?%;height:%?130?%;display:inline-block;padding:%?15?%}[data-v-590acca7] .con_image uni-image{width:100%;height:100%}\n/* 商品详情中限制图片大小 */[data-v-590acca7] .rich-img{width:100%!important;height:auto}.c-list[data-v-590acca7]{margin-top:%?20?%;font-size:%?26?%;color:#606266;background:#fff}.c-list .c-row[data-v-590acca7]{display:flex;align-items:center;padding:%?20?% %?30?%;position:relative}.c-list .tit[data-v-590acca7]{width:%?140?%}.c-list .con[data-v-590acca7]{flex:1;color:#303133}.c-list .con .selected-text[data-v-590acca7]{margin-right:%?10?%}.c-list .con .selected-text .num[data-v-590acca7]{color:#fd3b39}.c-list .bz-list[data-v-590acca7]{height:%?40?%;font-size:%?26?%;color:#303133}.c-list .bz-list uni-text[data-v-590acca7]{display:inline-block;margin-right:%?30?%}.c-list .con-list[data-v-590acca7]{flex:1;display:flex;flex-direction:column;color:#303133;line-height:%?40?%}.c-list .red[data-v-590acca7]{color:#5dbc7c}body.?%PAGE?%[data-v-590acca7]{background:#f0f0f0}',""]),t.exports=e},"3e0b":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"detail-desc"},[a("v-uni-view",{staticClass:"d-header"},[a("v-uni-text",[t._v("图文详情")])],1),a("v-uni-rich-text",{staticClass:"detail-centent",attrs:{nodes:t.description}})],1)},o=[]},"3f34":function(t,e,a){"use strict";a.r(e);var i=a("b934"),n=a("4a85");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("e766");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"20a510fe",null,!1,i["a"],s);e["default"]=r.exports},"41c0":function(t,e,a){"use strict";a.r(e);var i=a("a2a0"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"45bd":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.guess-item[data-v-a2a44520]{padding:%?25?% %?25?%;background:#fff;margin-bottom:%?15?%;padding-bottom:%?45?%!important}.guess-item .guess[data-v-a2a44520]{color:#000;font-size:%?35?%;font-weight:500;padding-bottom:%?25?%}.guess-item .guess-scroll[data-v-a2a44520]{width:100%;font-size:%?24?%;overflow:hidden;overflow-x:auto;justify-content:flex-start}.guess-item .guess-scroll .scroll-list[data-v-a2a44520]{border:%?2?% solid #f0f0f0;border-radius:%?25?%;margin-right:%?15?%}.guess-item .guess-scroll .scroll-list .scoll-img[data-v-a2a44520]{width:%?227?%;border-top-right-radius:%?25?%;border-top-left-radius:%?25?%;height:%?227?%;overflow:hidden}.guess-item .guess-scroll .scroll-list .scoll-img uni-image[data-v-a2a44520]{width:100%;height:100%}.guess-item .guess-scroll .scroll-list .scoll-name[data-v-a2a44520]{height:%?80?%;width:%?227?%;font-size:%?22?%;padding:%?15?% %?15?%}.guess-item .guess-scroll .scroll-list .price-list[data-v-a2a44520]{padding:%?25?% %?15?%;padding-right:%?25?%}.guess-item .guess-scroll .scroll-list .price-list .tpl .red-price[data-v-a2a44520]{color:#f31d29}.guess-item .guess-scroll .scroll-list .price-list .tpl .red-price uni-text[data-v-a2a44520]{font-size:%?35?%!important;font-weight:700}.guess-item .guess-scroll .scroll-list .price-list .tpl .grey-price[data-v-a2a44520]{text-decoration:line-through;color:#999;font-size:10px!important}.guess-item .guess-scroll .scroll-list .price-list .img[data-v-a2a44520]{width:%?45?%;height:%?45?%}.guess-item .guess-scroll .scroll-list .price-list .img uni-image[data-v-a2a44520]{width:100%;height:100%}',""]),t.exports=e},4873:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.carousel[data-v-27e49ee5]{height:%?700?%;position:relative}.carousel uni-swiper[data-v-27e49ee5]{height:100%}.carousel .image-wrapper[data-v-27e49ee5]{width:100%;height:100%}.carousel .swiper-item[data-v-27e49ee5]{display:flex;justify-content:center;align-content:center;height:%?700?%;overflow:hidden}.carousel .swiper-item uni-image[data-v-27e49ee5]{width:100%;height:100%}',""]),t.exports=e},"4a85":function(t,e,a){"use strict";a.r(e);var i=a("4c6a"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"4c6a":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("12c5"),n={props:{many:{default:9},goodsObjact:{default:function(){return{}}},goodsid:{default:""}},data:function(){return{}},methods:{buy:function(t){this.$emit("specOPne",t)},toFavorite:function(t){var e=this;t.userCollect=!t.userCollect,t.userCollect?(0,i.collectAdd)({id:e.goodsid,category:"product"}).then((function(t){uni.showToast({title:"成功加入收藏",type:"top",duration:1500})})):(0,i.collectDel)({id:e.goodsid,category:"product"}).then((function(t){uni.showToast({title:"成功取消收藏",type:"top",duration:1500})}))}}};e.default=n},"50a1":function(t,e,a){"use strict";a("a9e3"),a("ac1f"),a("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uni-number-box",props:{isMax:{type:Boolean,default:!1},isMin:{type:Boolean,default:!1},index:{type:Number,default:0},value:{type:Number,default:0},min:{type:Number,default:-1/0},max:{type:Number,default:1/0},step:{type:Number,default:1},disabled:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,minDisabled:!1,maxDisabled:!1}},created:function(){this.maxDisabled=this.isMax,this.minDisabled=this.isMin},computed:{},watch:{inputValue:function(t){var e={number:t,index:this.index};this.$emit("eventChange",e)}},methods:{_calcValue:function(t){var e=this._getDecimalScale(),a=this.inputValue*e,i=0,n=this.step*e;"subtract"===t?(i=a-n,i<=this.min&&(this.minDisabled=!0),i<this.min&&(i=this.min),i<this.max&&!0===this.maxDisabled&&(this.maxDisabled=!1)):"add"===t&&(i=a+n,i>=this.max&&(this.maxDisabled=!0),i>this.max&&(i=this.max),i>this.min&&!0===this.minDisabled&&(this.minDisabled=!1)),i!==a&&(this.inputValue=i/e)},_getDecimalScale:function(){var t=1;return~~this.step!==this.step&&(t=Math.pow(10,(this.step+"").split(".")[1].length)),t},_onBlur:function(t){var e=t.detail.value;e?(e=+e,e>this.max?e=this.max:e<this.min&&(e=this.min),this.inputValue=e):this.inputValue=0}}};e.default=i},56920:function(t,e,a){"use strict";a.r(e);var i=a("831e"),n=a("8f00");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("7365");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"6b79363d",null,!1,i["a"],s);e["default"]=r.exports},"57e0":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"guess-item"},[a("v-uni-view",{staticClass:"guess"},[t._v("猜你喜欢")]),a("v-uni-view",{staticClass:"guess-scroll flex_item",attrs:{"scroll-x":!0}},t._l(t.goodList,(function(e){return a("v-uni-view",{staticClass:"scroll-list",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToDetailPage(e)}}},[a("v-uni-view",{staticClass:"scoll-img"},[a("v-uni-image",{attrs:{src:e.image}})],1),a("v-uni-view",{staticClass:"scoll-name ellipsis"},[t._v(t._s(e.store_name))]),a("v-uni-view",{staticClass:"price-list flex"},[a("v-uni-view",{staticClass:"tpl"},[a("v-uni-view",{staticClass:"red-price"},[t._v("¥"),a("v-uni-text",[t._v(t._s(e.price))])],1),a("v-uni-view",{staticClass:"grey-price"},[t._v("¥"+t._s(e.ot_price))])],1),a("v-uni-view",{staticClass:"img position-relative",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.Addcar(e)}}},[a("v-uni-image",{attrs:{src:"/static/img/img13.png"}}),e.cart_num>0?a("v-uni-view",{staticClass:"corner"},[a("v-uni-text",[t._v(t._s(e.cart_num))])],1):t._e()],1)],1)],1)})),1)],1)},o=[]},"5d6e":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{goodList:{type:Array,default:function(){return[]}}},methods:{navToDetailPage:function(t){this.$emit("clickNavTo",t)},Addcar:function(t){this.$emit("Addcar",t)}}};e.default=i},"643b":function(t,e,a){"use strict";var i=a("78ab"),n=a.n(i);n.a},"65fb":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 评价 */.eva-section[data-v-5b619345]{display:flex;flex-direction:column;padding:%?20?% %?30?%;background:#fff;margin-top:%?16?%}.eva-section .e-header[data-v-5b619345]{display:flex;align-items:center;height:%?70?%;font-size:%?26?%;color:#909399}.eva-section .e-header .tit[data-v-5b619345]{font-size:%?30?%;color:#303133;margin-right:%?4?%}.eva-section .e-header .tip[data-v-5b619345]{flex:1;text-align:right}.eva-section .e-header .iconenter[data-v-5b619345]{margin-left:%?10?%}.eva-section .eva-box[data-v-5b619345]{display:flex;padding:%?20?% 0}.eva-section .eva-box .portrait[data-v-5b619345]{flex-shrink:0;width:%?80?%;height:%?80?%;border-radius:100px}.eva-section .eva-box .right[data-v-5b619345]{flex:1;display:flex;flex-direction:column;font-size:%?28?%;color:#606266;padding-left:%?26?%}.eva-section .eva-box .right .con[data-v-5b619345]{font-size:%?28?%;color:#303133;padding:%?20?% 0}.eva-section .eva-box .right .bot[data-v-5b619345]{display:flex;justify-content:space-between;font-size:%?24?%;color:#909399}.eva-section .con_image[data-v-5b619345]{width:%?130?%;height:%?130?%;display:inline-block;padding:%?15?%}.eva-section .con_image uni-image[data-v-5b619345]{width:100%;height:100%}',""]),t.exports=e},"6c8d":function(t,e,a){var i=a("78cd");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("8bd3a7c0",i,!0,{sourceMap:!1,shadowMode:!1})},7365:function(t,e,a){"use strict";var i=a("7825"),n=a.n(i);n.a},7825:function(t,e,a){var i=a("c34b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("b8b995ca",i,!0,{sourceMap:!1,shadowMode:!1})},"78ab":function(t,e,a){var i=a("ca8a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("2f65cbd8",i,!0,{sourceMap:!1,shadowMode:!1})},"78cd":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.c-list[data-v-673cd923]{font-size:%?26?%;color:#606266;background:#fff}.c-list .title[data-v-673cd923]{color:#333;font-size:%?32?%;font-weight:700}.c-list .c-row[data-v-673cd923]{display:flex;align-items:center;padding:%?20?% %?30?%;position:relative}.c-list .tit[data-v-673cd923]{width:%?140?%}.c-list .con[data-v-673cd923]{flex:1;color:#303133}.c-list .con .selected-text[data-v-673cd923]{margin-right:%?10?%}.c-list .reding[data-v-673cd923]{color:#ff0815!important}.c-list .bz-list[data-v-673cd923]{height:%?40?%;font-size:%?26?%;color:#303133;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-list .bz-list uni-text[data-v-673cd923]{display:inline-block;margin-right:%?30?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.c-list .copy-btn[data-v-673cd923]{background-color:#f3f3f2;padding:%?8?% %?20?%;border-radius:%?10?%;color:#040406}.c-list .red[data-v-673cd923]{color:#fb6d24}\n/* 商品详情中限制图片大小 */.rich-img[data-v-673cd923]{width:100%!important;height:auto}',""]),t.exports=e},"78d0":function(t,e,a){var i=a("39ff");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("16023706",i,!0,{sourceMap:!1,shadowMode:!1})},"7ddd":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{goodsObjact:{type:Object,default:function(){return{}}}},data:function(){return{}}};e.default=i},"80e7":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/*颜色*/\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* 功能栏字体大小 */\r\n/*功能栏左侧小图标*/\r\n/* 底部操作菜单 */.page-bottom[data-v-20a510fe]{position:fixed;bottom:%?0?%;z-index:95;display:flex;justify-content:center;align-items:center;width:%?750?%;height:%?120?%;background-color:#fff\r\n /* box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.5);\r\n\tborder-radius: 16rpx; */}.page-bottom .p-b-btn[data-v-20a510fe]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:%?24?%;color:#606266;width:%?96?%;height:%?80?%}.page-bottom .p-b-btn .iconfont[data-v-20a510fe]{font-size:%?40?%;line-height:%?48?%;color:#909399}.page-bottom .p-b-btn.active[data-v-20a510fe],\r\n.page-bottom .p-b-btn.active .iconfont[data-v-20a510fe]{color:#5dbc7c}.page-bottom .p-b-btn .iconlikefill[data-v-20a510fe]{font-size:%?46?%}.page-bottom .p-b-btn uni-image[data-v-20a510fe]{width:%?56?%;height:%?58?%}.page-bottom .action-btn-group[data-v-20a510fe]{display:flex;height:%?76?%;border-radius:100px;overflow:hidden;margin-left:%?20?%;position:relative}.page-bottom .action-btn-group[data-v-20a510fe]:after{content:"";position:absolute;top:50%;right:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:%?28?%;width:0;border-right:1px solid hsla(0,0%,100%,.5)}.page-bottom .action-btn-group .action-btn[data-v-20a510fe]{display:flex;align-items:center;justify-content:center;width:%?270?%;height:100%;font-size:%?28?%;padding:0;border-radius:0;background:transparent}.page-bottom .action-btn-group .action-btn.buy-now-btn[data-v-20a510fe]{background-color:#303e49}.page-bottom .action-btn-group .action-btn.add-cart-btn[data-v-20a510fe]{background-color:#5dbc7c}.p-b-btn[data-v-20a510fe]{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:%?24?%;color:#606266;width:%?96?%;height:%?80?%}.p-b-btn .iconfont[data-v-20a510fe]{font-size:%?40?%;line-height:%?48?%;color:#909399}.p-b-btn.active[data-v-20a510fe],\r\n.p-b-btn.active .iconfont[data-v-20a510fe]{color:#5dbc7c}.p-b-btn .icon-fenxiang2[data-v-20a510fe]{font-size:%?42?%;-webkit-transform:translateY(%?-2?%);transform:translateY(%?-2?%)}.p-b-btn .iconlikefill[data-v-20a510fe]{font-size:%?46?%}',""]),t.exports=e},"82a9":function(t,e,a){"use strict";a.r(e);var i=a("9be2"),n=a("b7ee");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("a21a");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"5b619345",null,!1,i["a"],s);e["default"]=r.exports},"831e":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.goodsObjact.net_quantity||t.goodsObjact.storage_condition||t.goodsObjact.expiration_date?a("v-uni-view",{staticClass:"c-list"},[a("v-uni-view",{staticClass:"c-row title b-b"},[t._v("规格")]),t.goodsObjact.net_quantity?a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("净含量")]),a("v-uni-text",{staticClass:"con t-r"},[t._v(t._s(t.goodsObjact.net_quantity))])],1):t._e(),t.goodsObjact.storage_condition?a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("保存条件")]),a("v-uni-text",{staticClass:"con t-r"},[t._v(t._s(t.goodsObjact.storage_condition))])],1):t._e(),t.goodsObjact.expiration_date?a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("保质期")]),a("v-uni-text",{staticClass:"con t-r"},[t._v(t._s(t.goodsObjact.expiration_date))])],1):t._e()],1):t._e()},o=[]},8453:function(t,e,a){"use strict";var i=a("b6cc"),n=a.n(i);n.a},"85e7":function(t,e,a){var i=a("4873");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0faea289",i,!0,{sourceMap:!1,shadowMode:!1})},"8f00":function(t,e,a){"use strict";a.r(e);var i=a("7ddd"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},9478:function(t,e,a){"use strict";var i=a("85e7"),n=a.n(i);n.a},9687:function(t,e,a){"use strict";a.r(e);var i=a("50a1"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},9962:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("top-swiper",{attrs:{imgList:t.imgList}}),a("product-content",{attrs:{goodsObjact:t.goodsObjact}}),t.reply?a("estimate",{attrs:{reply:t.reply,list:t.list},on:{navTo:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo("/pages/product/reply?id="+t.goodsid)}}}):t._e(),a("fresh-detail",{attrs:{goodsObjact:t.goodsObjact}}),0!=t.goodsObjact.give_point?a("v-uni-view",{staticClass:"c-list"},[a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("赠送")]),a("v-uni-view",{staticClass:"con"},[a("v-uni-text",{staticClass:"selected-text"},[t._v("购买赠送"),a("v-uni-text",{staticClass:"num"},[t._v(t._s(t.goodsObjact.give_point))]),t._v("礼包积分")],1)],1)],1)],1):t._e(),a("content-text",{attrs:{description:t.description}}),a("v-uni-view",{staticClass:"contentBottomHeight"}),a("product-bottom",{attrs:{goodsObjact:t.goodsObjact,goodsid:t.goodsid},on:{buy:function(e){arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)},specOPne:function(e){arguments[0]=e=t.$handleEvent(e),t.specOPne.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"popup spec",class:t.specClass,on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleSpec.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask"}),a("v-uni-view",{staticClass:"layer attr-content",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"a-t"},[a("v-uni-image",{attrs:{src:t.actionImage}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"name"},[t._v(t._s(t.goodsObjact.store_name))]),a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(t.actionPrice*t.goodsNumber))]),a("v-uni-text",{staticClass:"stock"},[t._v("库存:"+t._s(t.goodsStore)+"件")]),""!=t.specList?a("v-uni-view",{staticClass:"selected"},[t._v("已选:"),t._l(t.specSelected,(function(e,i){return a("v-uni-text",{key:i,staticClass:"selected-text"},[t._v(t._s(e))])}))],2):t._e()],1)],1),t._l(t.specList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"attr-list"},[a("v-uni-text",[t._v(t._s(e.attr_name))]),a("v-uni-view",{staticClass:"item-list"},t._l(e.attr_value,(function(n,o){return a("v-uni-text",{key:o,staticClass:"tit",class:{selected:n.check},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.selectSpec(n,e,i)}}},[t._v(t._s(n.attr))])})),1)],1)})),1!=t.isPao?a("v-uni-view",{staticClass:"attr-list"},[a("v-uni-text",[t._v("购买数量")]),a("v-uni-view",{staticClass:"item-list"},[a("uni-number-box",{staticClass:"step",attrs:{isMin:!0,value:t.goodsNumber,min:1,max:t.goodsNumberMax},on:{eventChange:function(e){arguments[0]=e=t.$handleEvent(e),t.numberChange.apply(void 0,arguments)}}})],1)],1):t._e(),a("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.buys_show,expression:"buys_show"}],staticClass:"btn",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.buy.apply(void 0,arguments)}}},[t._v("完成")]),a("v-uni-button",{directives:[{name:"show",rawName:"v-show",value:t.buys_shows,expression:"buys_shows"}],staticClass:"btn",staticStyle:{"background-color":"#999999"}},[t._v("售罄")])],2)],1)],1)},o=[]},"9be2":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"eva-section",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navTo.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"e-header"},[a("v-uni-text",{staticClass:"tit"},[t._v("评价")]),a("v-uni-text",[t._v("("+t._s(t.list.replyCount)+")")]),a("v-uni-text",{staticClass:"tip"},[t._v("好评率 "+t._s(t.list.replyChance)+"%")]),a("v-uni-text",{staticClass:"iconfont iconenter"})],1),a("v-uni-view",{staticClass:"eva-box"},[a("v-uni-image",{staticClass:"portrait",attrs:{src:t.reply.avatar,mode:"aspectFill"}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"name"},[t._v(t._s(t.reply.nickname))]),a("v-uni-text",{staticClass:"con"},[t._v(t._s(t.reply.comment))]),a("v-uni-view",{staticClass:"con_box"},t._l(t.reply.pics,(function(t){return a("v-uni-view",{staticClass:"con_image"},[a("v-uni-image",{attrs:{src:t}})],1)})),1),a("v-uni-view",{staticClass:"bot"},[a("v-uni-text",{staticClass:"attr"}),a("v-uni-text",{staticClass:"stime"},[t._v(t._s(t.reply.add_time))])],1)],1)],1)],1)},o=[]},"9cb9":function(t,e,a){var i=a("45bd");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("102e2edc",i,!0,{sourceMap:!1,shadowMode:!1})},a0f4:function(t,e,a){"use strict";a.r(e);var i=a("3078"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},a21a:function(t,e,a){"use strict";var i=a("afbc"),n=a.n(i);n.a},a274:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{showCoupon:{type:Boolean,default:!1},mark:{default:""},Info:{default:""}},data:function(){return{copy1:"食材质检 ·",copy2:"无接触配送到门口"}},methods:{Getcoupon:function(){this.$emit("clickCoupon")},copy:function(){console.log(this.Info),uni.setClipboardData({data:this.Info,success:function(t){uni.showToast({title:"复制成功"})},fail:function(t){}})}}};e.default=i},a2a0:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{goodsObjact:{type:Object,default:function(){return{percent:1}}}},filters:{parseIntTo:function(t){return t=100*+t,t%1===0||(t=t.toFixed(1)),t}},data:function(){return{}}};e.default=i},afbc:function(t,e,a){var i=a("65fb");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("72d7949c",i,!0,{sourceMap:!1,shadowMode:!1})},b6cc:function(t,e,a){var i=a("c811");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("38360874",i,!0,{sourceMap:!1,shadowMode:!1})},b7ee:function(t,e,a){"use strict";a.r(e);var i=a("be8b"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},b934:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"page-bottom"},[a("v-uni-navigator",{staticClass:"p-b-btn",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[a("v-uni-text",{staticClass:"iconfont iconhome"}),a("v-uni-text",[t._v("首页")])],1),a("v-uni-view",{staticClass:"p-b-btn",class:{active:t.goodsObjact.userCollect},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toFavorite(t.goodsObjact)}}},[a("v-uni-text",{staticClass:"iconfont ",class:{iconlike:!t.goodsObjact.userCollect,iconlikefill:t.goodsObjact.userCollect}}),a("v-uni-text",[t._v("收藏")])],1),a("v-uni-view",{staticClass:"action-btn-group"},[a("v-uni-button",{staticClass:" action-btn no-border add-cart-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy(2)}}},[t._v("加入购物车")]),a("v-uni-button",{staticClass:" action-btn no-border buy-now-btn",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.buy(1)}}},[t._v("立即购买")])],1)],1)},o=[]},be63:function(t,e,a){"use strict";var i=a("9cb9"),n=a.n(i);n.a},be8b:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{list:{default:""},reply:{default:""}},data:function(){return{}},methods:{navTo:function(){this.$emit("navTo")}}};e.default=i},c34b:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.c-list[data-v-6b79363d]{font-size:%?26?%;color:#606266;background:#fff}.c-list .title[data-v-6b79363d]{color:#333;font-size:%?32?%;font-weight:700}.c-list .c-row[data-v-6b79363d]{display:flex;align-items:center;padding:%?20?% %?30?%;position:relative}.c-list .tit[data-v-6b79363d]{width:%?140?%}.c-list .con[data-v-6b79363d]{flex:1;color:#303133}.c-list .con .selected-text[data-v-6b79363d]{margin-right:%?10?%}.c-list .bz-list[data-v-6b79363d]{height:%?40?%;font-size:%?26?%;color:#303133}.c-list .bz-list uni-text[data-v-6b79363d]{display:inline-block;margin-right:%?30?%}.c-list .con-list[data-v-6b79363d]{flex:1;display:flex;flex-direction:column;color:#303133;line-height:%?40?%}.c-list .red[data-v-6b79363d]{color:#fb6d24}',""]),t.exports=e},c811:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".uni-numbox[data-v-530f9c25]{\n\t/* position:absolute; */\n\t/* left: 30rpx; */\n\t/* bottom: 0; */display:flex;justify-content:flex-start;align-items:center;width:%?230?%;height:%?70?%;background:#f5f5f5}.uni-numbox-minus[data-v-530f9c25],\n.uni-numbox-plus[data-v-530f9c25]{margin:0;background-color:#f5f5f5;width:%?70?%;height:100%;line-height:%?70?%;text-align:center;position:relative}.uni-numbox-minus .yticon[data-v-530f9c25],\n.uni-numbox-plus .yticon[data-v-530f9c25]{font-size:%?36?%;color:#555}.uni-numbox-minus[data-v-530f9c25]{border-right:none;border-top-left-radius:%?6?%;border-bottom-left-radius:%?6?%}.uni-numbox-plus[data-v-530f9c25]{border-left:none;border-top-right-radius:%?6?%;border-bottom-right-radius:%?6?%}.uni-numbox-value[data-v-530f9c25]{position:relative;background-color:#f5f5f5;width:%?90?%;height:%?50?%;text-align:center;padding:0;font-size:%?30?%}.uni-numbox-disabled.iconfont[data-v-530f9c25]{color:#d6d6d6}",""]),t.exports=e},c8a3:function(t,e,a){"use strict";var i=a("6c8d"),n=a.n(i);n.a},c9b9:function(t,e,a){"use strict";a.r(e);var i=a("5d6e"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},ca8a:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/\n/* 详情 */.detail-desc[data-v-7111e70c]{margin-top:%?14?%;background:#fff}.detail-desc[data-v-7111e70c] img{max-width:100%!important;display:inline!important}.detail-desc[data-v-7111e70c] div{max-width:100%!important}.detail-desc .d-header[data-v-7111e70c]{display:flex;justify-content:center;align-items:center;height:%?80?%;font-size:%?30?%;color:#303133;position:relative}.detail-desc .d-header uni-text[data-v-7111e70c]{padding:0 %?20?%;background:#fff;position:relative;z-index:1}.detail-desc .d-header[data-v-7111e70c]:after{position:absolute;left:50%;top:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?300?%;height:0;content:"";border-bottom:1px solid #ccc}\n/* 商品详情中限制图片大小 */[data-v-7111e70c] .rich-img{width:100%!important;height:auto}',""]),t.exports=e},cc14:function(t,e,a){"use strict";a.r(e);var i=a("01b5"),n=a("9687");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("8453");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"530f9c25",null,!1,i["a"],s);e["default"]=r.exports},d28a:function(t,e,a){"use strict";a.r(e);var i=a("a274"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},da86:function(t,e,a){"use strict";var i=a("78d0"),n=a.n(i);n.a},dad6:function(t,e,a){"use strict";a.r(e);var i=a("9962"),n=a("a0f4");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("da86");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"590acca7",null,!1,i["a"],s);e["default"]=r.exports},e34f:function(t,e,a){"use strict";a.r(e);var i=a("0e61"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},e766:function(t,e,a){"use strict";var i=a("292c"),n=a.n(i);n.a},ec77:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"introduce-section"},[a("v-uni-text",{staticClass:"title clamp2"},[t._v(t._s(t.goodsObjact.store_name))]),t.goodsObjact.store_info?a("v-uni-text",{staticClass:"info"},[t._v(t._s(t.goodsObjact.store_info))]):t._e(),a("v-uni-view",{staticClass:"price-box"},[a("v-uni-text",{staticClass:"price-tip"},[t._v("¥")]),a("v-uni-view",{staticClass:"price"},[t._v(t._s(t.goodsObjact.price)),a("v-uni-text",{staticClass:"text"},[t._v("/份")]),t.goodsObjact.ot_price>t.goodsObjact.price?a("v-uni-text",{staticClass:"m-price"},[t._v("¥"+t._s(t.goodsObjact.ot_price))]):t._e()],1)],1),a("v-uni-view",{staticClass:"price-green"},[t._v("¥"+t._s(t.goodsObjact.ot_price)),a("v-uni-text",[t._v("市场价")])],1)],1)},o=[]},f3b3:function(t,e,a){"use strict";a.r(e);var i=a("3e0b"),n=a("371a");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("643b");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"7111e70c",null,!1,i["a"],s);e["default"]=r.exports},f81e:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={props:{description:{default:""}},data:function(){return{}}};e.default=i},ff18:function(t,e,a){var i=a("1e15");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("3678c3e2",i,!0,{sourceMap:!1,shadowMode:!1})},ff43:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"c-list"},[a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("配送")]),t.mark?a("v-uni-view",{staticClass:"bz-list con reding"},[t._v(t._s(t.mark))]):a("v-uni-view",{staticClass:"bz-list con"},[t._v("立即下单 ,预计最快第二天8.30-9:30送达")])],1),t.showCoupon?a("v-uni-view",{staticClass:"c-row b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Getcoupon.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"tit"},[t._v("优惠券")]),a("v-uni-text",{staticClass:"con t-r red"},[t._v("领取优惠券")]),a("v-uni-text",{staticClass:"iconfont iconenter"})],1):t._e(),a("v-uni-view",{staticClass:"c-row b-b"},[a("v-uni-text",{staticClass:"tit"},[t._v("简介")]),a("v-uni-view",{staticClass:"bz-list con"},[a("v-uni-text",[t._v(t._s(t.Info))])],1),a("v-uni-view",{staticClass:"copy-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copy.apply(void 0,arguments)}}},[t._v("一键复制")])],1)],1)},o=[]}}]);