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

1 lines
97 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods_cate-goods_cate"],{"0140":function(t,i,e){"use strict";e.r(i);var a=e("074d"),o=e("83eb");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("72f5");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"a2575cd4",null,!1,a["a"],void 0);i["default"]=s.exports},"0456":function(t,i,e){"use strict";e.r(i);var a=e("aa7a"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},"06b4":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",t._l(t.dots,(function(i,a){return e("v-uni-view",{key:a,style:{position:"fixed",borderRadius:"50%",left:i.left+"px",top:i.top+"px",display:i.show?"":"none",width:t.size+"px",height:t.size+"px",background:t.color,zIndex:t.zIndex}},[i.src?e("v-uni-image",{staticStyle:{width:"100%",height:"100%","border-radius":"inherit"},attrs:{src:i.src,mode:"aspectFill"}}):t._e()],1)})),1)},o=[]},"074d":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"goodCate"},[e("v-uni-view",{staticClass:"header acea-row row-center-wrapper"},[e("v-uni-navigator",{staticClass:"pageIndex",attrs:{"open-type":"switchTab",url:"/pages/index/index","hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.jumpIndex.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-shouye3"})],1),e("v-uni-navigator",{staticClass:"search acea-row row-center-wrapper",attrs:{url:"/pages/goods/goods_search/index","hover-class":"none"}},[e("v-uni-text",{staticClass:"iconfont icon-xiazai5"}),t._v(t._s(t.$t("搜索商品名称")))],1)],1),e("v-uni-view",{staticClass:"conter"},[e("v-uni-view",{staticClass:"aside"},[e("v-uni-scroll-view",{staticStyle:{height:"calc(100% - 100rpx)"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},t._l(t.categoryList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:a==t.navActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapNav(a,i)}}},[e("v-uni-text",[t._v(t._s(t.$t(i.cate_name)))])],1)})),1)],1),e("v-uni-view",{staticClass:"wrapper"},[t.iSlong?e("v-uni-view",{staticClass:"bgcolor"},[e("v-uni-view",{staticClass:"longTab acea-row row-middle"},[e("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap",display:"flex",height:"44rpx"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"scroll-left":t.tabLeft,"show-scrollbar":"true"}},t._l(t.categoryErList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"longItem",class:a===t.tabClick?"click":"",style:"width:"+t.isWidth+"px",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.longClick(a)}}},[t._v(t._s(t.$t(i.cate_name)))])})),1)],1),e("v-uni-view",{staticClass:"openList",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openTap.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-xiala"})],1)],1):e("v-uni-view",[e("v-uni-view",{staticClass:"downTab"},[e("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[e("v-uni-view",[t._v(t._s(t.categoryTitle))]),e("v-uni-view",{staticClass:"closeList",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeTap.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-xiala"})],1)],1),e("v-uni-view",{staticClass:"children"},[e("v-uni-view",{staticClass:"acea-row row-middle"},t._l(t.categoryErList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item line1",class:a===t.tabClick?"click":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.longClick(a)}}},[t._v(t._s(t.$t(i.cate_name)))])})),1)],1)],1),e("v-uni-view",{staticClass:"mask",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeTap.apply(void 0,arguments)}}})],1),e("goodList",{ref:"d_goodClass",attrs:{tempArr:t.tempArr,isLogin:t.isLogin},on:{gocartduo:function(i){arguments[0]=i=t.$handleEvent(i),t.goCartDuo.apply(void 0,arguments)},gocartdan:function(i){arguments[0]=i=t.$handleEvent(i),t.goCartDan.apply(void 0,arguments)},ChangeCartNumDan:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartNumDan.apply(void 0,arguments)},detail:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[e("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1)],1)],1),e("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[t.cartData.cartList.length?e("v-uni-view",{staticClass:"cartIcon acea-row row-center-wrapper",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCartList(0)}}},[e("v-uni-view",{staticClass:"iconfont icon-gouwuche-yangshi2"}),e("v-uni-view",{staticClass:"num"},[t._v(t._s(t.cartCount))])],1):e("v-uni-view",{staticClass:"cartIcon acea-row row-center-wrapper noCart"},[e("v-uni-view",{staticClass:"iconfont icon-gouwuche-yangshi2"})],1),e("v-uni-view",{staticClass:"money acea-row row-middle"},[e("v-uni-view",[t._v(t._s(t.$t("¥"))),e("v-uni-text",{staticClass:"num"},[t._v(t._s(t.totalPrice))])],1),e("v-uni-view",{staticClass:"bnt",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.subOrder.apply(void 0,arguments)}}},[t._v(t._s(t.$t("去付款")))])],1)],1),e("cartList",{attrs:{cartData:t.cartData},on:{closeList:function(i){arguments[0]=i=t.$handleEvent(i),t.closeList.apply(void 0,arguments)},ChangeCartNumDan:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartList.apply(void 0,arguments)},ChangeSubDel:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeSubDel.apply(void 0,arguments)},ChangeOneDel:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeOneDel.apply(void 0,arguments)}}}),e("productWindow",{attrs:{attr:t.attr,isShow:1,iSplus:1,iScart:1,minQty:t.storeInfo.min_qty,id:"product-window",is_vip:t.is_vip},on:{myevent:function(i){arguments[0]=i=t.$handleEvent(i),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartNumDuo.apply(void 0,arguments)},attrVal:function(i){arguments[0]=i=t.$handleEvent(i),t.attrVal.apply(void 0,arguments)},iptCartNum:function(i){arguments[0]=i=t.$handleEvent(i),t.iptCartNum.apply(void 0,arguments)},goCat:function(i){arguments[0]=i=t.$handleEvent(i),t.goCatNum.apply(void 0,arguments)}}})],1)},o=[]},"0810":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3"),e("d3b7"),e("7db0"),e("14d9");var a={props:{size:{type:Number,default:20},color:{type:String,default:"#f5222d"},zIndex:{type:Number,default:999},duration:{type:Number,default:500}},data:function(){return{dots:[]}},methods:{showBall:function(t){var i=this,e=t.start,a=(t.end,t.src);return new Promise((function(t){var o=i.dots.find((function(t){return!t.show}));o||(o={src:"",left:0,top:0,show:!1},i.dots.push(o));var n=i.duration,r=e.x-i.size/2,s=e.y-i.size/2,c=50-i.size/2,d=640-i.size/2,u=Date.now(),l=c-r,h=d-s,f=-2*l/(n*n)/5,p=Math.abs(f),v=l/n-f*n/2,g=h/n-p*n/2;o.src=a,o.show=!0,function i(){var e=Date.now()-u,a=r+(v*e+f*e*e/2),c=s+(g*e+p*e*e/2);o.left=a,o.top=c,e<n?setTimeout(i):(o.show=!1,t())}()}))}}};i.default=a},"0af3":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.mask[data-v-96934c58]{z-index:99}.cartList[data-v-96934c58]{position:fixed;left:0;bottom:0;width:100%;background-color:#fff;z-index:100;padding:0 %?30?% %?100?% %?30?%;box-sizing:border-box;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.cartList.on[data-v-96934c58]{-webkit-transform:translateZ(0);transform:translateZ(0)}.cartList .title[data-v-96934c58]{height:%?108?%}.cartList .title .name[data-v-96934c58]{font-size:%?28?%;color:#282828;font-weight:700}.cartList .title .del[data-v-96934c58]{font-size:%?26?%;color:var(--view-theme)}.cartList .title .del .iconfont[data-v-96934c58]{margin-right:%?5?%;font-size:%?34?%}.cartList .list[data-v-96934c58]{max-height:%?720?%;overflow-x:hidden;overflow-y:auto}.cartList .list .item[data-v-96934c58]{margin-bottom:%?40?%}.cartList .list .item .pictrue[data-v-96934c58]{width:%?176?%;height:%?176?%;border-radius:%?16?%;position:relative}.cartList .list .item .pictrue uni-image[data-v-96934c58]{width:100%;height:100%;border-radius:%?16?%}.cartList .list .item .pictrue .mantle[data-v-96934c58]{position:absolute;top:0;left:0;width:100%;height:100%;background:hsla(0,0%,100%,.65);border-radius:%?16?%}.cartList .list .item .txtPic[data-v-96934c58]{width:%?486?%}.cartList .list .item .txtPic .name[data-v-96934c58]{font-size:%?28?%;color:#282828}.cartList .list .item .txtPic .name.on[data-v-96934c58]{color:#a3a3a3}.cartList .list .item .txtPic .noBnt[data-v-96934c58]{width:%?126?%;height:%?44?%;background:#f2f2f2;border-radius:%?22?%;text-align:center;line-height:%?44?%;font-size:%?24?%;color:#a3a3a3;margin-top:%?10?%}.cartList .list .item .txtPic .delTxt[data-v-96934c58]{margin-top:%?48?%;font-size:%?24?%;color:#e93323}.cartList .list .item .txtPic .delTxt uni-text[data-v-96934c58]{width:%?70?%;height:%?50?%;text-align:center;line-height:%?50?%}.cartList .list .item .txtPic .info[data-v-96934c58]{font-size:%?23?%;color:#989898;margin-top:%?5?%}.cartList .list .item .txtPic .bottom[data-v-96934c58]{margin-top:%?11?%}.cartList .list .item .txtPic .bottom .money[data-v-96934c58]{font-weight:700;font-size:%?26?%;color:var(--view-priceColor)}.cartList .list .item .txtPic .bottom .money .num[data-v-96934c58]{font-size:%?34?%}.cartList .list .item .txtPic .bottom .cartNum[data-v-96934c58]{font-weight:700}.cartList .list .item .txtPic .bottom .cartNum .num[data-v-96934c58]{font-size:%?34?%;color:#282828;width:%?120?%;text-align:center}.cartList .list .item .txtPic .bottom .cartNum .reduce[data-v-96934c58]{color:#282828;font-size:%?24?%;width:%?60?%;height:%?60?%;text-align:center;line-height:%?60?%}.cartList .list .item .txtPic .bottom .cartNum .plus[data-v-96934c58]{color:#282828;font-size:%?24?%;width:%?60?%;height:%?60?%;text-align:center;line-height:%?60?%}',""]),t.exports=i},"0e5a":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.colorStyle},[t.isShow&&t.tabbar.length&&!t.isIframe?e("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(i,a){return e("v-uni-view",{key:a,staticClass:"uni-tabbar_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab(i)}}},[e("v-uni-view",{staticClass:"uni-tabbar_icon"},[i.link==t.pagePath?e("v-uni-image",{attrs:{mode:"aspectFit",src:i.imgList[0]}}):e("v-uni-image",{attrs:{mode:"aspectFit",src:i.imgList[1]}})],1),e("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:i.link==t.pagePath}},[t._v(t._s(t.$t(i.name)))])],1)})),1):t._e(),t.isIframe&&t.tabbar.length?e("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(i,a){return e("v-uni-view",{key:a,staticClass:"uni-tabbar_item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTab(i)}}},[e("v-uni-view",{staticClass:"uni-tabbar_icon"},[i.link==t.pagePath?e("v-uni-image",{attrs:{mode:"aspectFit",src:i.imgList[0]}}):e("v-uni-image",{attrs:{mode:"aspectFit",src:i.imgList[1]}})],1),e("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:i.link==t.pagePath}},[t._v(t._s(t.$t(i.name)))])],1)})),1):t._e(),t.isIframe&&!t.tabbar.length?e("v-uni-view",{staticClass:"empty-img uni-tabbar acea-row row-around row-middle"},[t._v(t._s(t.$t("暂无数据,请设置")))]):t._e()],1)},o=[]},1300:function(t,i,e){"use strict";e.r(i);var a=e("17ca0"),o=e("50ee");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("72fb");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"5c5e55f9",null,!1,a["a"],void 0);i["default"]=s.exports},"17ca":function(t,i,e){"use strict";e.r(i);var a=e("b54f"),o=e("b21f");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("7676");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"96934c58",null,!1,a["a"],void 0);i["default"]=s.exports},"17ca0":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"goodsList"},t._l(t.tempArr,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(i)}}},[e("v-uni-view",{staticClass:"pictrue"},[i.activity&&"1"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("秒杀")))]):t._e(),i.activity&&"2"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("砍价")))]):t._e(),i.activity&&"3"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("拼团")))]):t._e(),e("v-uni-image",{attrs:{src:i.image,mode:""}})],1),e("v-uni-view",{staticClass:"pictxt"},[e("v-uni-view",{staticClass:"text line2"},[t._v(t._s(i.store_name))]),e("v-uni-view",{staticClass:"bottom acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"money font-color"},[e("v-uni-text",{staticClass:"sign"},[t._v(t._s(t.$t("¥")))]),t._v(t._s(i.price))],1),i.stock>0?e("v-uni-view",[!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type?e("v-uni-view",[i.spec_type?e("v-uni-view",{staticClass:"bnt acea-row row-center-wrapper",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goCartDuo(i)}}},[t._v(t._s(t.$t("选规格"))),t.isLogin&&i.cart_num?e("v-uni-text",{staticClass:"num"},[t._v(t._s(i.cart_num))]):t._e()],1):t._e(),i.spec_type||i.cart_num?t._e():e("v-uni-view",{staticClass:"iconfont icon-gouwuche6 acea-row row-center-wrapper",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goCartDan(i,a)}}}),!i.spec_type&&i.cart_num?e("v-uni-view",{staticClass:"cart acea-row row-middle"},[e("v-uni-view",{staticClass:"pictrue iconfont icon-jianhao acea-row row-center-wrapper",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.CartNumDes(a,i)}}}),e("v-uni-view",{staticClass:"num"},[t._v(t._s(i.cart_num))]),e("v-uni-view",{staticClass:"pictrue iconfont icon-jiahao acea-row row-center-wrapper",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.CartNumAdd(a,i)}}})],1):t._e()],1):e("v-uni-view",{staticClass:"iconfont icon-gouwuche6 acea-row row-center-wrapper"})],1):e("v-uni-view",{staticClass:"bnt acea-row row-center-wrapper end"},[t._v(t._s(t.$t("已售罄")))])],1)],1)],1)})),1)},o=[]},"1f3a":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-2254ae3e] .mask{z-index:99}',""]),t.exports=i},"263a":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.borderShow[data-v-22156dd1]{position:fixed}.borderShow .uni-tabbar[data-v-22156dd1]::after{content:" ";position:absolute;left:0;top:0;width:100%;height:100%;border:1px dashed #007aff;box-sizing:border-box}.uni-tabbar[data-v-22156dd1]{position:fixed;bottom:0;left:0;z-index:999;width:100%;padding:%?6?% 0;padding-bottom:calc(%?6?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?6?% + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid %?1?% #f3f3f3;background-color:#fff;box-shadow:0 0 %?17?% %?1?% hsla(0,0%,80.8%,.32);display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-around}.uni-tabbar .uni-tabbar_item[data-v-22156dd1]{width:100%;font-size:%?20?%;text-align:center}.uni-tabbar .uni-tabbar_icon[data-v-22156dd1]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.uni-tabbar .uni-tabbar_icon uni-image[data-v-22156dd1]{width:100%;height:100%}.uni-tabbar .uni-tabbar_label[data-v-22156dd1]{font-size:%?24?%;color:#282828}.uni-tabbar .uni-tabbar_label.active[data-v-22156dd1]{color:var(--view-theme)}',""]),t.exports=i},"26cf":function(t,i,e){"use strict";e.r(i);var a=e("4796"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},"2e61":function(t,i,e){"use strict";(function(t){e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("d3b7"),e("159b"),e("14d9"),e("d401"),e("25f0"),e("a434"),e("8ba4"),e("a9e3"),e("e25e"),e("3c65");var o=e("1579"),n=e("451d"),r=a(e("e642")),s=a(e("5d38")),c=a(e("17ca")),d=e("26cb"),u=e("2c78"),l=e("666f"),h={props:{isNew:{type:Boolean,default:!1}},watch:{isNew:function(t){this.getAllCategory(1)}},computed:(0,d.mapGetters)(["isLogin","uid"]),components:{productWindow:r.default,goodList:s.default,cartList:c.default},data:function(){return{categoryList:[],navActive:0,categoryTitle:"",categoryErList:[],tabLeft:0,isWidth:0,tabClick:0,iSlong:!0,tempArr:[],loading:!1,loadend:!1,loadTitle:this.$t("加载更多"),page:1,limit:10,cid:0,sid:0,isAuto:!1,isShowAuth:!1,attr:{cartAttr:!1,productAttr:[],productSelect:{}},productValue:[],attrValue:"",storeName:"",id:0,cartData:{cartList:[],iScart:!1},cartCount:0,totalPrice:0,is_vip:0,cart_num:0,storeInfo:{}}},mounted:function(){var t=this;uni.getSystemInfo({success:function(i){t.isWidth=i.windowWidth/5}})},methods:{jumpIndex:function(){this.$emit("jumpIndex")},subOrder:function(){var t=this.cartData.cartList,i=[];if(!t.length)return this.$util.Tips({title:this.$t("请选择产品")});t.forEach((function(t){i.push(t.id)})),uni.navigateTo({url:"/pages/goods/order_confirm/index?cartId="+i.join(",")}),this.cartData.iScart=!1},getTotalPrice:function(){var t=this,i=t.cartData.cartList,e=0;i.forEach((function(i){i.attrStatus&&i.status&&(e=t.$util.$h.Add(e,t.$util.$h.Mul(i.cart_num,i.truePrice)))})),t.$set(t,"totalPrice",e)},ChangeSubDel:function(t){var i=this,e=i.cartData.cartList,a=[];e.forEach((function(t){a.push(t.id)})),(0,n.cartDel)(a.join(",")).then((function(t){i.$set(i.cartData,"cartList",[]),i.cartData.iScart=!1,i.totalPrice=0,i.page=1,i.loadend=!1,i.tempArr=[],i.productslist(),i.getCartNum()}))},ChangeOneDel:function(t,i){var e=this,a=e.cartData.cartList;(0,n.cartDel)(t.toString()).then((function(t){a.splice(i,1),a.length||(e.cartData.iScart=!1,e.page=1,e.loadend=!1,e.tempArr=[],e.productslist()),e.getCartNum()}))},getCartList:function(t){var i=this;(0,n.vcartList)().then((function(e){i.$set(i.cartData,"cartList",e.data),e.data.length?i.$set(i.cartData,"iScart",!t&&!i.cartData.iScart):i.$set(i.cartData,"iScart",!1),i.getTotalPrice()}))},closeList:function(t){this.$set(this.cartData,"iScart",t),this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()},getCartNum:function(){var t=this;(0,n.getCartCounts)().then((function(i){t.cartCount=i.data.count,t.$refs.d_goodClass.addIng=!1}))},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},DefaultSelect:function(){var t=this.attr.productAttr,i=[];for(var e in this.productValue)if(this.productValue[e].stock>0){i=this.attr.productAttr.length?e.split(","):[];break}for(var a=0;a<t.length;a++)this.$set(t[a],"index",i[a]);var o=this.productValue[i.join(",")];o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",o.image),this.$set(this.attr.productSelect,"price",o.price),this.$set(this.attr.productSelect,"stock",o.stock),this.$set(this.attr.productSelect,"unique",o.unique),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this.attr.productSelect,"vip_price",o.vip_price),this.$set(this,"attrValue",i.join(","))):!o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price),this.$set(this,"attrValue","")):o||t.length||(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",this.storeInfo.stock),this.$set(this.attr.productSelect,"unique",this.storeInfo.unique||""),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"attrValue",""),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price))},ChangeAttr:function(t){var i=this.productValue[t];i&&i.stock>0?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"stock",i.stock),this.$set(this.attr.productSelect,"unique",i.unique),this.$set(this.attr.productSelect,"vip_price",i.vip_price),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"attrValue",t)):i&&0==i.stock?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"vip_price",i.vip_price),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue","")):(this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""))},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},iptCartNum:function(t){var i=this;if(t){var e=this.storeInfo.min_qty;Number.isInteger(parseInt(t))&&parseInt(t)>=this.storeInfo.min_qty&&(e=parseInt(t)),this.$nextTick((function(t){i.$set(i.attr.productSelect,"cart_num",t<0?i.storeInfo.min_qty:e)}))}},onLoadFun:function(){},productslist:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,o.getProductslist)({page:t.page,limit:t.limit,type:1,cid:t.cid,sid:t.sid}).then((function(i){var e=i.data,a=e.length<t.limit;t.tempArr=t.$util.SplitArray(e,t.tempArr),t.$set(t,"tempArr",t.tempArr),t.loading=!1,t.loadend=a,t.loadTitle=a?t.$t("没有更多内容啦~"):t.$t("加载更多"),t.page=t.page+1})).catch((function(i){t.loading=!1,t.loadTitle=t.$t("加载更多")})))},ChangeCartNumDan:function(t,i,e){var a=this.tempArr[i],o=this.tempArr[i].stock;this.ChangeCartNum(t,a,o,0,e.id)},ChangeCartNumDuo:function(t){var i=this.productValue[this.attrValue];if(void 0!==i||this.attr.productAttr.length||(i=this.attr.productSelect),void 0!==i){var e=i.stock||0,a=this.attr.productSelect;this.ChangeCartNum(t,a,e,1,this.id)}},ChangeCartList:function(t,i,e){var a=this.cartData.cartList,o=a[i],n=a[i].trueStock;this.ChangeCartNum(t,o,n,0,o.product_id,i,1),a.length||(this.cartData.iScart=!1,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist())},ChangeCartNum:function(t,i,e,a,o,n,r){if(t){if(i.cart_num++,i.cart_num>e)return a?(this.$set(this.attr.productSelect,"cart_num",e||1),this.$set(this,"cart_num",e||1)):(i.cart_num=e||0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)),this.$util.Tips({title:this.$t("该产品没有更多库存了")});a||(r?(this.goCat(0,o,1,1,i.product_attr_unique),this.getTotalPrice()):this.goCat(0,o,1))}else i.cart_num--,0==i.cart_num&&this.cartData.cartList.splice(n,1),i.cart_num<0?a?(this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"cart_num",this.storeInfo.min_qty)):(i.cart_num=0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)):a||(r?(this.goCat(0,o,0,1,i.product_attr_unique),this.getTotalPrice()):this.goCat(0,o,0))},goCatNum:function(){this.goCat(1,this.id,1)},goCat:function(t,i,e,a,n){var r=this;if(t){var s=r.productValue[this.attrValue];if(r.attr.productAttr.length&&void 0===s)return r.$util.Tips({title:r.$t("该产品没有更多库存了")});if(r.attr.productSelect.cart_num<=0)return r.$util.Tips({title:r.$t("最少添加 1 件商品")})}var c={product_id:i,type:e,unique:t?r.attr.productSelect.unique:a?n:""};r.cartData.iScart||(c.num=t?r.attr.productSelect.cart_num:this.storeInfo.min_qty),(0,o.postCartNum)(c).then((function(i){t&&(r.attr.cartAttr=!1,r.$util.Tips({title:r.$t("添加成功")}),r.tempArr.forEach((function(t,i){if(t.id==r.id){var e=r.attr.productSelect.stock,a=parseInt(t.cart_num)+parseInt(r.attr.productSelect.cart_num);t.cart_num=a>e?e:a}}))),r.getCartNum(),a||r.getCartList(1)})).catch((function(t){return r.$util.Tips({title:t})}))},goCartDan:function(t,i){if(this.isLogin){if(!t.cart_button)return void(0,u.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}));this.tempArr[i].cart_num=this.storeInfo.min_qty,this.$set(this,"tempArr",this.tempArr),this.goCat(0,t.id,1)}else this.getIsLogin()},goCartDuo:function(t){if(this.isLogin){if(!t.cart_button)return void(0,u.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}));uni.showLoading({title:this.$t("正在加载中")}),this.storeName=t.store_name,this.getAttrs(t.id),this.$set(this,"id",t.id),this.$set(this.attr,"cartAttr",!0)}else this.getIsLogin()},getIsLogin:function(){(0,l.toLogin)()},getAttrs:function(t){var i=this;(0,o.getAttr)(t,0).then((function(t){uni.hideLoading(),i.$set(i.attr,"productAttr",t.data.productAttr),i.$set(i,"productValue",t.data.productValue),i.$set(i,"is_vip",t.data.storeInfo.is_vip),i.$set(i,"storeInfo",t.data.storeInfo),i.DefaultSelect()}))},goDetail:function(t){this.isLogin?(0,u.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})})):(0,l.toLogin)()},openTap:function(){this.iSlong=!1},closeTap:function(){this.iSlong=!0},getAllCategory:function(t){var i=this;if(t||!uni.getStorageSync("CAT2_DATA"))(0,o.getCategoryList)().then((function(t){uni.setStorageSync("CAT2_DATA",t.data);var e=t.data;e.forEach((function(t){t.children.unshift({id:0,cate_name:i.$t("全部")})})),i.categoryTitle=e[0].cate_name,i.cid=e[0].id,i.sid=0,i.navActive=0,i.tabClick=0,i.categoryList=e,i.categoryErList=t.data[0].children?t.data[0].children:[],i.page=1,i.loadend=!1,i.tempArr=[],i.productslist()}));else{var e=uni.getStorageSync("CAT2_DATA");e.forEach((function(t){t.children.unshift({id:0,cate_name:i.$t("全部")})})),i.categoryTitle=e[0].cate_name,i.cid=e[0].id,i.sid=0,i.navActive=0,i.tabClick=0,i.categoryList=e,i.categoryErList=e[0].children?e[0].children:[],i.page=1,i.loadend=!1,i.tempArr=[],i.productslist()}},tapNav:function(t,i){var e=this.categoryList[t];this.navActive=t,this.categoryTitle=e.cate_name,this.categoryErList=i.children?i.children:[],this.tabClick=0,this.tabLeft=0,this.cid=e.id,this.sid=0,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()},longClick:function(t){this.categoryErList.length>3&&(this.tabLeft=(t-1)*(this.isWidth+6)),this.tabClick=t,this.iSlong=!0,this.sid=this.categoryErList[t].id,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()}}};i.default=h}).call(this,e("5a52")["default"])},"316c":function(t,i,e){var a=e("263a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("2a013f4a",a,!0,{sourceMap:!1,shadowMode:!1})},"34e0":function(t,i,e){"use strict";e.r(i);var a=e("7f0e"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},"3d75":function(t,i,e){var a=e("bb8d");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("3d7153eb",a,!0,{sourceMap:!1,shadowMode:!1})},4305:function(t,i,e){"use strict";e.r(i);var a=e("9127"),o=e("f9c4");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("e054"),e("9aae");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"46e02193",null,!1,a["a"],void 0);i["default"]=s.exports},"459c":function(t,i,e){"use strict";e.r(i);var a=e("0810"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},4796:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={name:"catGoodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,i){this.$emit("gocartdan",t,i)},CartNumDes:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,i))},CartNumAdd:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,i))}}};i.default=a},"4b7e":function(t,i,e){"use strict";var a=e("316c"),o=e.n(a);o.a},"4f57":function(t,i,e){"use strict";e.r(i);var a=e("06b4"),o=e("459c");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"e440c1d6",null,!1,a["a"],void 0);i["default"]=s.exports},"50ee":function(t,i,e){"use strict";e.r(i);var a=e("61f0"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},"5d38":function(t,i,e){"use strict";e.r(i);var a=e("923a"),o=e("26cf");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("b568");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"33baf11c",null,!1,a["a"],void 0);i["default"]=s.exports},6189:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{style:t.colorStyle},[1==t.category?e("goodsCate1",{ref:"classOne",attrs:{isNew:t.isNew}}):t._e(),2==t.category?e("goodsCate2",{ref:"classTwo",attrs:{isNew:t.isNew},on:{jumpIndex:function(i){arguments[0]=i=t.$handleEvent(i),t.jumpIndex.apply(void 0,arguments)}}}):t._e(),3==t.category?e("goodsCate3",{ref:"classThree",attrs:{isNew:t.isNew},on:{jumpIndex:function(i){arguments[0]=i=t.$handleEvent(i),t.jumpIndex.apply(void 0,arguments)}}}):t._e()],1)},o=[]},"61f0":function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,i){this.$emit("gocartdan",t,i)},CartNumDes:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,i))},CartNumAdd:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,i))}}};i.default=a},"656c":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"goodCate"},[e("v-uni-view",{staticClass:"header acea-row row-center-wrapper"},[e("v-uni-navigator",{staticClass:"pageIndex acea-row row-center-wrapper",attrs:{"open-type":"switchTab",url:"/pages/index/index","hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.jumpIndex.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-fanhuishouye"})],1),e("v-uni-navigator",{staticClass:"search acea-row row-middle",attrs:{url:"/pages/goods/goods_search/index","hover-class":"none"}},[e("v-uni-text",{staticClass:"iconfont icon-sousuo5"}),t._v(t._s(t.$t("搜索商品名称")))],1)],1),e("v-uni-view",{staticClass:"conter"},[e("v-uni-view",{staticClass:"aside"},[e("v-uni-scroll-view",{staticStyle:{height:"calc(100% - 100rpx)"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},t._l(t.categoryList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:a==t.navActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapNav(a,i)}}},[e("v-uni-text",[t._v(t._s(t.$t(i.cate_name)))])],1)})),1)],1),e("v-uni-view",{staticClass:"wrapper"},[t.iSlong?e("v-uni-view",{staticClass:"bgcolor"},[e("v-uni-view",{staticClass:"longTab acea-row row-middle"},[e("v-uni-scroll-view",{staticStyle:{"white-space":"nowrap",display:"flex",height:"44rpx"},attrs:{"scroll-x":"true","scroll-with-animation":!0,"scroll-left":t.tabLeft,"show-scrollbar":"true"}},t._l(t.categoryErList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"longItem",class:a===t.tabClick?"click":"",style:"width:"+t.isWidth+"px",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.longClick(a)}}},[t._v(t._s(t.$t(i.cate_name)))])})),1)],1),e("v-uni-view",{staticClass:"openList",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openTap.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1)],1):e("v-uni-view",[e("v-uni-view",{staticClass:"downTab"},[e("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[e("v-uni-view",[t._v(t._s(t.categoryTitle))]),e("v-uni-view",{staticClass:"closeList",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeTap.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-xiangxia"})],1)],1),e("v-uni-view",{staticClass:"children"},[e("v-uni-view",{staticClass:"acea-row row-middle"},t._l(t.categoryErList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item line1",class:a===t.tabClick?"click":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.longClick(a)}}},[t._v(t._s(t.$t(i.cate_name)))])})),1)],1)],1),e("v-uni-view",{staticClass:"mask",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeTap.apply(void 0,arguments)}}})],1),e("goodClass",{ref:"goodClass",attrs:{tempArr:t.tempArr,isLogin:t.isLogin,endLocation:t.endLocation},on:{gocartduo:function(i){arguments[0]=i=t.$handleEvent(i),t.goCartDuo.apply(void 0,arguments)},gocartdan:function(i){arguments[0]=i=t.$handleEvent(i),t.goCartDan.apply(void 0,arguments)},ChangeCartNumDan:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartNumDan.apply(void 0,arguments)},detail:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail.apply(void 0,arguments)},addCart:function(i){arguments[0]=i=t.$handleEvent(i),t.addCart.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[e("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1)],1)],1),e("v-uni-view",{staticClass:"footer acea-row row-between-wrapper",attrs:{id:"cart"}},[t.cartData.cartList.length?e("v-uni-view",{staticClass:"cartIcon acea-row row-center-wrapper",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCartList(0)}}},[e("v-uni-view",{staticClass:"iconfont icon-gouwuche-yangshi1"}),e("v-uni-view",{staticClass:"num"},[t._v(t._s(t.cartCount))])],1):e("v-uni-view",{staticClass:"cartIcon acea-row row-center-wrapper noCart"},[e("v-uni-view",{staticClass:"iconfont icon-gouwuche-yangshi1"})],1),e("v-uni-view",{staticClass:"acea-row row-middle"},[e("v-uni-view",{staticClass:"money"},[t._v(t._s(t.$t("¥"))),e("v-uni-text",{staticClass:"num"},[t._v(t._s(t.totalPrice))])],1),e("v-uni-view",{staticClass:"bnt",class:t.cartCount?"":"on",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.subOrder.apply(void 0,arguments)}}},[t._v(t._s(t.$t("去付款")))])],1)],1),e("cartList",{attrs:{cartData:t.cartData},on:{closeList:function(i){arguments[0]=i=t.$handleEvent(i),t.closeList.apply(void 0,arguments)},ChangeCartNumDan:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartList.apply(void 0,arguments)},ChangeSubDel:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeSubDel.apply(void 0,arguments)},ChangeOneDel:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeOneDel.apply(void 0,arguments)}}}),e("productWindow",{attrs:{attr:t.attr,minQty:t.storeInfo.min_qty,isShow:1,iSplus:1,iScart:1,is_vip:t.is_vip,id:"product-window"},on:{myevent:function(i){arguments[0]=i=t.$handleEvent(i),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(i){arguments[0]=i=t.$handleEvent(i),t.ChangeCartNumDuo.apply(void 0,arguments)},attrVal:function(i){arguments[0]=i=t.$handleEvent(i),t.attrVal.apply(void 0,arguments)},iptCartNum:function(i){arguments[0]=i=t.$handleEvent(i),t.iptCartNum.apply(void 0,arguments)},goCat:function(i){arguments[0]=i=t.$handleEvent(i),t.goCatNum.apply(void 0,arguments)}}}),e("ParabalaBall",{ref:"Ball"})],1)},o=[]},"656e":function(t,i,e){"use strict";e.r(i);var a=e("b699"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},"673a":function(t,i,e){"use strict";e.r(i);var a=e("0e5a"),o=e("0456");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("4b7e");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"22156dd1",null,!1,a["a"],void 0);i["default"]=s.exports},"6fd7":function(t,i,e){var a=e("f6385");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("6ee87600",a,!0,{sourceMap:!1,shadowMode:!1})},"70c1":function(t,i,e){"use strict";e.r(i);var a=e("6189"),o=e("656e");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("8a6f");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"2254ae3e",null,!1,a["a"],void 0);i["default"]=s.exports},"72f5":function(t,i,e){"use strict";var a=e("e94c"),o=e.n(a);o.a},"72fb":function(t,i,e){"use strict";var a=e("6fd7"),o=e.n(a);o.a},7554:function(t,i,e){var a=e("1f3a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("14f1acd7",a,!0,{sourceMap:!1,shadowMode:!1})},7676:function(t,i,e){"use strict";var a=e("fe5c"),o=e.n(a);o.a},"7d67":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-5c2911c4]{background-color:#fff}body.?%PAGE?%[data-v-5c2911c4]{background-color:#fff}[data-v-5c2911c4] .product-window.joinCart{z-index:999}[data-v-5c2911c4]::-webkit-scrollbar{width:0;height:0;color:transparent;display:none}.goodCate[data-v-5c2911c4] .mask{z-index:99}.goodCate[data-v-5c2911c4] .attrProduct .mask{z-index:100}.goodCate .header[data-v-5c2911c4]{position:fixed;height:%?128?%;background-color:#fff;top:0;left:0;width:100%;z-index:99;border-bottom:1px solid #eee;padding:0 %?28?%}.goodCate .header .pageIndex[data-v-5c2911c4]{width:%?68?%;height:%?68?%;border-radius:50%;background-color:var(--view-theme)}.goodCate .header .pageIndex .iconfont[data-v-5c2911c4]{color:#fff;font-size:%?30?%}.goodCate .header .search[data-v-5c2911c4]{width:%?600?%;height:%?68?%;border-radius:%?36?%;background-color:#f7f7f7;font-size:%?26?%;color:#ccc;margin-left:%?22?%;padding:0 %?30?%;box-sizing:border-box}.goodCate .header .search .iconfont[data-v-5c2911c4]{font-size:%?30?%;margin-right:%?18?%;color:#666}.goodCate .conter[data-v-5c2911c4]{margin-top:%?128?%;height:100vh;background-color:#fff}.goodCate .conter .aside[data-v-5c2911c4]{position:fixed;width:23%;left:0;bottom:0;top:0;background-color:#f7f7f7;overflow-y:auto;overflow-x:hidden;margin-top:%?128?%;z-index:99;padding-bottom:%?140?%}.goodCate .conter .aside .item[data-v-5c2911c4]{height:%?100?%;width:100%;font-size:%?26?%;color:#333}.goodCate .conter .aside .item.on[data-v-5c2911c4]{background-color:#fff;width:100%;text-align:center;color:var(--view-theme);font-weight:500;position:relative}.goodCate .conter .aside .item.on[data-v-5c2911c4]::after{content:"";position:absolute;width:%?6?%;height:%?46?%;background:var(--view-theme);border-radius:0 %?4?% %?4?% 0;left:0}.goodCate .conter .wrapper[data-v-5c2911c4]{margin-top:%?104?%;width:77%;float:right;background-color:#fff;padding-bottom:%?130?%}.goodCate .conter .wrapper .bgcolor[data-v-5c2911c4]{width:100%;background-color:#fff}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4]{margin-top:0!important}.goodCate .conter .wrapper .mask[data-v-5c2911c4]{z-index:9}.goodCate .conter .wrapper .longTab[data-v-5c2911c4]{width:65%;position:fixed;top:0;margin-top:%?128?%;height:%?100?%;z-index:99;background-color:#fff}.goodCate .conter .wrapper .longTab .longItem[data-v-5c2911c4]{height:%?44?%;display:inline-block;line-height:%?44?%;text-align:center;font-size:%?26?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;background-color:#f7f7f7;border-radius:%?22?%;margin-left:%?12?%}.goodCate .conter .wrapper .longTab .longItem.click[data-v-5c2911c4]{font-weight:700;background-color:var(--view-theme);color:#fff}.goodCate .conter .wrapper .longTab .underlineBox[data-v-5c2911c4]{height:3px;width:20%;display:flex;align-content:center;justify-content:center;transition:.5s}.goodCate .conter .wrapper .longTab .underlineBox .underline[data-v-5c2911c4]{width:%?33?%;height:%?4?%;background-color:#fff}.goodCate .conter .wrapper .openList[data-v-5c2911c4]{width:12%;height:%?100?%;background-color:#fff;line-height:%?100?%;padding-left:%?30?%;position:fixed;right:0;top:%?128?%;z-index:99}.goodCate .conter .wrapper .openList .iconfont[data-v-5c2911c4]{font-size:%?22?%;color:#666}.goodCate .conter .wrapper .downTab[data-v-5c2911c4]{width:77%;position:fixed;top:0;margin-top:%?128?%;z-index:99;background-color:#fff;right:0}.goodCate .conter .wrapper .downTab .title[data-v-5c2911c4]{height:%?100?%;font-size:%?26?%;color:#999;padding-left:%?20?%}.goodCate .conter .wrapper .downTab .title .closeList[data-v-5c2911c4]{width:%?90?%;height:100%;line-height:%?100?%;padding-left:%?30?%;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.goodCate .conter .wrapper .downTab .title .closeList .iconfont[data-v-5c2911c4]{font-size:%?22?%;color:#666}.goodCate .conter .wrapper .downTab .children[data-v-5c2911c4]{max-height:%?500?%;overflow-x:hidden;overflow-y:auto;padding-bottom:%?20?%}.goodCate .conter .wrapper .downTab .children .item[data-v-5c2911c4]{height:%?60?%;background-color:#f7f7f7;border-radius:%?30?%;line-height:%?60?%;padding:0 %?15?%;margin:0 0 %?20?% %?20?%;width:%?165?%;text-align:center}.goodCate .conter .wrapper .downTab .children .item.click[data-v-5c2911c4]{font-weight:700;background-color:var(--view-theme);color:#fff}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4]{margin-top:%?228?%;padding:0 %?20?% 0 %?20?%}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item{margin-bottom:%?33?%!important}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item .text{font-size:%?26?%}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item .bottom{padding-right:%?18?%}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item .bottom .sales .money{font-size:%?34?%}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item .bottom .sales .money uni-text{font-size:%?26?%}.goodCate .conter .wrapper .goodsList[data-v-5c2911c4] .item .bottom .cart .pictrue{width:%?50?%;height:%?50?%}.goodCate .footer[data-v-5c2911c4]{width:100%;position:fixed;left:0;bottom:0;background-color:#fff;box-shadow:0 -3px 16px rgba(36,12,12,.05);z-index:101;padding-left:%?30?%;box-sizing:border-box;height:%?100?%}.goodCate .footer .cartIcon[data-v-5c2911c4]{width:%?124?%;height:%?106?%;position:relative;margin-top:%?-64?%}.goodCate .footer .cartIcon .iconfont[data-v-5c2911c4]{font-size:%?100?%;color:var(--view-theme)}.goodCate .footer .cartIcon .num[data-v-5c2911c4]{min-width:%?12?%;color:var(--view-theme);border-radius:15px;position:absolute;right:0;font-size:%?16?%;padding:0 %?11?%;background-color:#fff;height:%?36?%;line-height:%?34?%;top:%?24?%;border:%?1?% solid var(--view-theme)}.goodCate .footer .money[data-v-5c2911c4]{font-size:%?26?%;font-weight:700;color:var(--view-priceColor);margin-right:%?34?%}.goodCate .footer .money .num[data-v-5c2911c4]{font-size:%?34?%}.goodCate .footer .bnt[data-v-5c2911c4]{width:%?222?%;height:%?76?%;background-color:var(--view-theme);border-radius:46px;line-height:%?76?%;text-align:center;color:#fff;font-size:%?28?%;margin-right:%?30?%}.goodCate .footer .bnt.on[data-v-5c2911c4]{background:#bbb}',""]),t.exports=i},"7f0e":function(t,i,e){"use strict";(function(t){e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("ac1f"),e("d3b7"),e("159b"),e("14d9"),e("d401"),e("25f0"),e("a434"),e("8ba4"),e("a9e3"),e("e25e"),e("3c65");var o=a(e("4f57")),n=e("1579"),r=e("451d"),s=a(e("e642")),c=a(e("1300")),d=a(e("17ca")),u=e("26cb"),l=e("2c78"),h=e("666f"),f={computed:(0,u.mapGetters)(["isLogin","uid"]),components:{productWindow:s.default,goodClass:c.default,cartList:d.default,ParabalaBall:o.default},props:{isNew:{type:Boolean,default:!1}},watch:{isNew:function(t){this.getAllCategory(1)}},data:function(){return{categoryList:[],navActive:0,categoryTitle:"",categoryErList:[],tabLeft:0,isWidth:0,tabClick:0,iSlong:!0,tempArr:[],loading:!1,loadend:!1,loadTitle:this.$t("加载更多"),page:1,limit:10,cid:0,sid:0,isAuto:!1,isShowAuth:!1,attr:{cartAttr:!1,productAttr:[],productSelect:{}},productValue:[],attrValue:"",storeName:"",id:0,cartData:{cartList:[],iScart:!1},cartCount:0,totalPrice:0,lengthCart:0,is_vip:0,cart_num:0,storeInfo:{},endLocation:{}}},onShow:function(){},onLoad:function(){var t=this;this.$nextTick((function(){uni.createSelectorQuery().select("#cart").boundingClientRect((function(i){var e=uni.getSystemInfoSync(),a=e.windowTop;t.endLocation={x:i.left+uni.upx2px(120)/2,y:i.top+a}})).exec()}))},mounted:function(){var t=this;t.lengthCart=t.cartData.cartList,uni.getSystemInfo({success:function(i){t.isWidth=i.windowWidth/5}})},methods:{jumpIndex:function(){this.$emit("jumpIndex")},addCart:function(t){var i=uni.getSystemInfoSync(),e=i.windowTop;t.y+=e},subOrder:function(){var t=this.cartData.cartList,i=[];if(!t.length)return this.$util.Tips({title:this.$t("请选择产品")});t.forEach((function(t){i.push(t.id)})),uni.navigateTo({url:"/pages/goods/order_confirm/index?cartId="+i.join(",")}),this.cartData.iScart=!1},getTotalPrice:function(){var t=this,i=t.cartData.cartList,e=0;i.forEach((function(i){i.attrStatus&&i.status&&(e=t.$util.$h.Add(e,t.$util.$h.Mul(i.cart_num,i.truePrice)))})),t.$set(t,"totalPrice",e)},ChangeSubDel:function(t){var i=this,e=i.cartData.cartList,a=[];e.forEach((function(t){a.push(t.id)})),(0,r.cartDel)(a.join(",")).then((function(t){i.$set(i.cartData,"cartList",[]),i.cartData.iScart=!1,i.totalPrice=0,i.page=1,i.loadend=!1,i.tempArr=[],i.productslist(),i.getCartNum()}))},ChangeOneDel:function(t,i){var e=this,a=e.cartData.cartList;(0,r.cartDel)(t.toString()).then((function(t){a.splice(i,1),a.length||(e.cartData.iScart=!1,e.page=1,e.loadend=!1,e.tempArr=[],e.productslist()),e.getCartNum()}))},getCartList:function(t){var i=this;(0,r.vcartList)().then((function(e){i.$set(i.cartData,"cartList",e.data),e.data.length?i.$set(i.cartData,"iScart",!t&&!i.cartData.iScart):i.$set(i.cartData,"iScart",!1),i.getTotalPrice()}))},closeList:function(t){this.$set(this.cartData,"iScart",t),this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()},getCartNum:function(){var t=this;(0,r.getCartCounts)().then((function(i){t.cartCount=i.data.count,t.$refs.goodClass.addIng=!1}))},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},DefaultSelect:function(){var t=this.attr.productAttr,i=[];for(var e in this.productValue)if(this.productValue[e].stock>0){i=this.attr.productAttr.length?e.split(","):[];break}for(var a=0;a<t.length;a++)this.$set(t[a],"index",i[a]);var o=this.productValue[i.join(",")];o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",o.image),this.$set(this.attr.productSelect,"price",o.price),this.$set(this.attr.productSelect,"stock",o.stock),this.$set(this.attr.productSelect,"unique",o.unique),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this.attr.productSelect,"vip_price",o.vip_price),this.$set(this,"attrValue",i.join(","))):!o&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price)):o||t.length||(this.$set(this.attr.productSelect,"store_name",this.storeName),this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",this.storeInfo.stock),this.$set(this.attr.productSelect,"unique",this.storeInfo.unique||""),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"attrValue",""),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price))},ChangeAttr:function(t){var i=this.productValue[t];i&&i.stock>0?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"stock",i.stock),this.$set(this.attr.productSelect,"unique",i.unique),this.$set(this.attr.productSelect,"vip_price",i.vip_price),this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"attrValue",t)):i&&0==i.stock?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"vip_price",i.vip_price),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue","")):(this.$set(this.attr.productSelect,"image",this.storeInfo.image),this.$set(this.attr.productSelect,"price",this.storeInfo.price),this.$set(this.attr.productSelect,"stock",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"vip_price",this.storeInfo.vip_price),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this,"attrValue",""))},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},iptCartNum:function(t){var i=this;if(t){var e=this.storeInfo.min_qty;Number.isInteger(parseInt(t))&&parseInt(t)>=this.storeInfo.min_qty&&(e=parseInt(t)),this.$nextTick((function(t){i.$set(i.attr.productSelect,"cart_num",t<0?i.storeInfo.min_qty:e)}))}},onLoadFun:function(){},productslist:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,n.getProductslist)({page:t.page,limit:t.limit,type:1,cid:t.cid,sid:t.sid}).then((function(i){var e=i.data,a=e.length<t.limit;t.tempArr=t.$util.SplitArray(e,t.tempArr),t.$set(t,"tempArr",t.tempArr),t.loading=!1,t.loadend=a,t.loadTitle=a?t.$t("没有更多内容啦~"):t.$t("加载更多"),t.page=t.page+1})).catch((function(i){t.loading=!1,t.loadTitle=t.$t("加载更多")})))},ChangeCartNumDan:function(t,i,e){var a=this.tempArr[i],o=this.tempArr[i].stock;this.ChangeCartNum(t,a,o,0,e.id)},ChangeCartNumDuo:function(t){var i=this.productValue[this.attrValue];if(void 0!==i||this.attr.productAttr.length||(i=this.attr.productSelect),void 0!==i){var e=i.stock||0,a=this.attr.productSelect;this.ChangeCartNum(t,a,e,1,this.id)}},ChangeCartList:function(t,i){var e=this.cartData.cartList,a=e[i],o=e[i].trueStock;if(t&&1==e[i].productInfo.limit_type&&a.cart_num>=e[i].productInfo.limit_num)return this.$set(a,"cart_num",e[i].productInfo.limit_num),void this.$util.Tips({title:this.$t("最大限购数量".concat(e[i].productInfo.limit_num))});this.ChangeCartNum(t,a,o,0,a.product_id,i,1),e.length||(this.cartData.iScart=!1,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist())},ChangeCartNum:function(t,i,e,a,o,n,r){if(t){if(i.cart_num++,i.cart_num>e)return a?(this.$set(this.attr.productSelect,"cart_num",e||1),this.$set(this,"cart_num",e||1)):(i.cart_num=e||0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)),this.$util.Tips({title:this.$t("该产品没有更多库存了")});a||(r?(this.goCat(0,o,1,1,i.product_attr_unique),this.getTotalPrice()):this.goCat(0,o,1))}else i.cart_num--,0==i.cart_num&&(this.cartData.cartList.splice(n,1),a&&(this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"cart_num",this.storeInfo.min_qty))),i.cart_num<0?a?(this.$set(this.attr.productSelect,"cart_num",this.storeInfo.min_qty),this.$set(this,"cart_num",this.storeInfo.min_qty)):(i.cart_num=0,this.$set(this,"tempArr",this.tempArr),this.$set(this.cartData,"cartList",this.cartData.cartList)):a||(r?(this.goCat(0,o,0,1,i.product_attr_unique),this.getTotalPrice()):this.goCat(0,o,0))},goCatNum:function(){this.goCat(1,this.id,1)},goCat:function(t,i,e,a,o){var r=this,s=this;if(t){var c=s.productValue[this.attrValue];if(s.attr.productAttr.length&&void 0===c)return s.$util.Tips({title:s.$t("该产品没有更多库存了")})}if(0==s.attr.productSelect.cart_num)return s.$util.Tips({title:s.$t("不能输入0喔")});var d={product_id:i,type:e,unique:t?s.attr.productSelect.unique:a?o:""};s.cartData.iScart||(d.num=t?s.attr.productSelect.cart_num:this.storeInfo.min_qty),(0,n.postCartNum)(d).then((function(i){t&&(s.attr.cartAttr=!1,s.$util.Tips({title:s.$t("添加成功")}),s.tempArr.forEach((function(t,i){if(t.id==s.id){var e=s.attr.productSelect.stock,a=parseInt(t.cart_num)+parseInt(s.attr.productSelect.cart_num);t.cart_num=a>e?e:a}}))),s.getCartNum(),a||s.getCartList(1)})).catch((function(t){return s.attr.productSelect.cart_num=r.storeInfo.min_qty||s.attr.productSelect.limit_num,s.$util.Tips({title:t})}))},goCartDan:function(t,i){if(this.isLogin){if(!t.cart_button)return void(0,l.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}));this.tempArr[i].cart_num=this.storeInfo.min_qty,this.$set(this,"tempArr",this.tempArr),this.goCat(0,t.id,1)}else this.getIsLogin()},goCartDuo:function(t){if(this.isLogin){if(!t.cart_button)return void(0,l.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}));uni.showLoading({title:this.$t("正在加载中")}),this.storeName=t.store_name,this.getAttrs(t.id),this.$set(this,"id",t.id),this.$set(this.attr,"cartAttr",!0)}else this.getIsLogin()},getIsLogin:function(){(0,h.toLogin)()},getAttrs:function(t){var i=this;(0,n.getAttr)(t,0).then((function(t){uni.hideLoading(),i.$set(i.attr,"productAttr",t.data.productAttr),i.$set(i,"productValue",t.data.productValue),i.$set(i,"is_vip",t.data.storeInfo.is_vip),i.$set(i,"storeInfo",t.data.storeInfo),i.DefaultSelect()}))},goDetail:function(t){this.isLogin?(0,l.goShopDetail)(t,this.uid).then((function(i){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})})):(0,h.toLogin)()},openTap:function(){this.iSlong=!1},closeTap:function(){this.iSlong=!0},getAllCategory:function(t){var i=this;if(t||!uni.getStorageSync("CAT3_DATA"))(0,n.getCategoryList)().then((function(t){var e=t.data;uni.setStorageSync("CAT3_DATA",e),e.forEach((function(t){t.children.unshift({id:0,cate_name:i.$t("全部")})})),i.categoryTitle=e[0].cate_name,i.cid=e[0].id,i.sid=0,i.navActive=0,i.tabClick=0,i.categoryList=e,i.categoryErList=t.data[0].children?t.data[0].children:[],i.page=1,i.loadend=!1,i.tempArr=[],i.productslist()}));else{var e=uni.getStorageSync("CAT3_DATA");e.forEach((function(t){t.children.unshift({id:0,cate_name:i.$t("全部")})})),i.categoryTitle=e[0].cate_name,i.cid=e[0].id,i.sid=0,i.navActive=0,i.tabClick=0,i.categoryList=e,i.categoryErList=e[0].children?e[0].children:[],i.page=1,i.loadend=!1,i.tempArr=[],i.productslist()}},tapNav:function(t,i){var e=this.categoryList[t];this.navActive=t,this.categoryTitle=e.cate_name,this.categoryErList=i.children?i.children:[],this.tabClick=0,this.tabLeft=0,this.cid=e.id,this.sid=0,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()},longClick:function(t){this.categoryErList.length>3&&(this.tabLeft=(t-1)*(this.isWidth+6)),this.tabClick=t,this.iSlong=!0,this.sid=this.categoryErList[t].id,this.page=1,this.loadend=!1,this.tempArr=[],this.productslist()}},onReachBottom:function(){this.productslist()}};i.default=f}).call(this,e("5a52")["default"])},"7f3e":function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,"uni-page-body[data-v-46e02193]{height:100%}",""]),t.exports=i},"83eb":function(t,i,e){"use strict";e.r(i);var a=e("2e61"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},8867:function(t,i,e){var a=e("7d67");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("0d682544",a,!0,{sourceMap:!1,shadowMode:!1})},"8a6f":function(t,i,e){"use strict";var a=e("7554"),o=e.n(a);o.a},"8ba4":function(t,i,e){var a=e("23e7"),o=e("eac5");a({target:"Number",stat:!0},{isInteger:o})},9127:function(t,i,e){"use strict";e.d(i,"b",(function(){return o})),e.d(i,"c",(function(){return n})),e.d(i,"a",(function(){return a}));var a={easyLoadimage:e("9362").default},o=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"productSort copy-data",style:{height:t.pageHeight}},[e("v-uni-view",{staticClass:"header acea-row row-center-wrapper"},[e("v-uni-view",{staticClass:"acea-row row-between-wrapper input"},[e("v-uni-text",{staticClass:"iconfont icon-sousuo"}),e("v-uni-input",{attrs:{type:"text",placeholder:t.$t("搜索商品名称"),"confirm-type":"search",name:"search","placeholder-class":"placeholder"},on:{confirm:function(i){arguments[0]=i=t.$handleEvent(i),t.searchSubmitValue.apply(void 0,arguments)}}})],1)],1),e("v-uni-view",{staticClass:"scroll-box"},[e("v-uni-view",{staticClass:"aside"},[e("v-uni-scroll-view",{staticStyle:{height:"calc(100% - 100rpx)"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},t._l(t.productList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:a==t.navActive?"on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tap(a,"b"+a)}}},[e("v-uni-text",[t._v(t._s(t.$t(i.cate_name)))])],1)})),1)],1),e("v-uni-view",{staticClass:"conter"},[e("v-uni-scroll-view",{staticClass:"conterScroll",staticStyle:{height:"100%"},attrs:{"scroll-y":"true","scroll-into-view":t.toView,"scroll-with-animation":"true"},on:{scroll:function(i){arguments[0]=i=t.$handleEvent(i),t.scroll.apply(void 0,arguments)}}},[t._l(t.productList,(function(i,a){return[e("v-uni-view",{key:a+"_0",staticClass:"listw",attrs:{id:"b"+a}},[e("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[e("v-uni-view",{staticClass:"line"}),e("v-uni-view",{staticClass:"name"},[t._v(t._s(t.$t(i.cate_name)))]),e("v-uni-view",{staticClass:"line"})],1),e("v-uni-view",{staticClass:"list acea-row"},[e("v-uni-navigator",{staticClass:"item acea-row row-column row-middle",attrs:{"hover-class":"none",url:"/pages/goods/goods_list/index?cid="+i.id+"&title="+i.cate_name}},[e("v-uni-view",{staticClass:"picture"},[e("easy-loadimage",{attrs:{mode:"widthFix","image-src":i.pic||t.defimg}})],1),e("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.$t("全部商品")))])],1),t._l(i.children,(function(i,a){return[e("v-uni-navigator",{key:a+"_0",staticClass:"item acea-row row-column row-middle",attrs:{"hover-class":"none",url:"/pages/goods/goods_list/index?sid="+i.id+"&title="+i.cate_name}},[e("v-uni-view",{staticClass:"picture"},[e("easy-loadimage",{attrs:{mode:"widthFix","image-src":i.pic}})],1),e("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.$t(i.cate_name)))])],1)]}))],2)],1)]})),t.number<15?e("v-uni-view",{style:"height:"+(t.height-300)+"rpx;"}):t._e()],2)],1)],1),t.is_diy?e("pageFooter"):e("tabBar",{attrs:{pagePath:"/pages/goods_cate/goods_cate"}})],1)},n=[]},"923a":function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"goodsList"},t._l(t.tempArr,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(i)}}},[e("v-uni-view",{staticClass:"pictrue"},[i.activity&&"1"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("秒杀")))]):t._e(),i.activity&&"2"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("砍价")))]):t._e(),i.activity&&"3"===i.activity.type?e("span",{staticClass:"pictrue_log pictrue_log_class"},[t._v(t._s(t.$t("拼团")))]):t._e(),i.recommend_image?e("v-uni-image",{attrs:{src:i.recommend_image,mode:""}}):e("v-uni-image",{attrs:{src:i.image,mode:""}})],1),e("v-uni-view",{staticClass:"text line2"},[t._v(t._s(i.store_name))]),e("v-uni-view",{staticClass:"bottom acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"sales acea-row row-middle"},[e("v-uni-view",{staticClass:"money font-color"},[e("v-uni-text",[t._v(t._s(t.$t("¥")))]),t._v(t._s(i.price))],1),e("v-uni-view",[t._v(t._s(t.$t("已售"))+t._s(i.sales))])],1),i.stock>0?e("v-uni-view",[i.activity&&("1"===i.activity.type||"2"===i.activity.type||"3"===i.activity.type)||i.is_virtual||!i.cart_button?e("v-uni-view",{staticClass:"bnt"},[t._v(t._s(t.$t("立即购买")))]):e("v-uni-view",[i.spec_type?e("v-uni-view",{staticClass:"bnt",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goCartDuo(i)}}},[t._v(t._s(t.$t("加入购物车"))),t.isLogin&&i.cart_num?e("v-uni-view",{staticClass:"num"},[t._v(t._s(i.cart_num))]):t._e()],1):t._e(),i.spec_type||i.cart_num?t._e():e("v-uni-view",{staticClass:"bnt",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.goCartDan(i,a)}}},[t._v(t._s(t.$t("加入购物车")))]),!i.spec_type&&i.cart_num?e("v-uni-view",{staticClass:"cart acea-row row-middle"},[e("v-uni-view",{staticClass:"pictrue iconfont icon-jianhao",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.CartNumDes(a,i)}}}),e("v-uni-view",{staticClass:"num"},[t._v(t._s(i.cart_num))]),e("v-uni-view",{staticClass:"pictrue iconfont icon-jiahao",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.CartNumAdd(a,i)}}})],1):t._e()],1)],1):e("v-uni-view",{staticClass:"bnt end"},[t._v(t._s(t.$t("已售罄")))])],1)],1)})),1)},o=[]},"93ce":function(t,i,e){"use strict";var a=e("8867"),o=e.n(a);o.a},"9aae":function(t,i,e){"use strict";var a=e("b6e2"),o=e.n(a);o.a},a667:function(t,i,e){var a=e("7f3e");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("b032a6d6",a,!0,{sourceMap:!1,shadowMode:!1})},aa7a:function(t,i,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=e("d322"),n=e("2c78"),r=a(e("66ca")),s=getApp(),c={name:"tabBar",props:{pagePath:null,dataConfig:{type:Object,default:function(){}}},watch:{dataConfig:{immediate:!0,handler:function(t,i){t&&(this.isShow=t.isShow.val)}}},mixins:[r.default],data:function(){return{name:this.$options.name,page:"/pages/index/index",tabbar:this.$Cache.get("TAB_BAR")?JSON.parse(this.$Cache.get("TAB_BAR")):[],isShow:!0,isIframe:s.globalData.isIframe}},mounted:function(){this.tabbar.length||this.getDiyData()},methods:{getDiyData:function(){var t=this;(0,o.getDiy)().then((function(i){var e=i.data.tabBar.default.tabBarList.list;t.$Cache.set("TAB_BAR",e),t.tabbar=e})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},changeTab:function(t){var i=this;(0,n.goPage)().then((function(e){i.page=t.link,uni.switchTab({url:i.page,fail:function(){uni.navigateTo({url:i.page})}})}))}}};i.default=c},ad8a:function(t,i){t.exports="data:image/png;base64,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"},b21f:function(t,i,e){"use strict";e.r(i);var a=e("bb2b"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},b2e2:function(t,i,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("ac1f"),e("14d9"),e("498a");var o=a(e("5530")),n=e("1579"),r=e("26cb"),s=e("a9a5"),c=a(e("d9b2")),d=a(e("673a")),u=uni.getSystemInfoSync().statusBarHeight+"px",l=(getApp(),{components:{pageFooter:c.default,tabBar:d.default},props:{isNew:{type:Boolean,default:!1}},data:function(){return{defimg:e("ad8a"),navlist:[],productList:[],navActive:0,number:"",is_diy:uni.getStorageSync("is_diy"),height:0,hightArr:[],toView:"",tabbarH:0,footH:0,windowHeight:0,newData:{},activeRouter:"",pageHeight:"100%",sysHeight:u,lock:!1}},computed:(0,o.default)({},(0,r.mapState)({cartNum:function(t){return t.indexData.cartNum}})),mounted:function(){var t=this;uni.getSystemInfo({success:function(i){t.pageHeight=i.windowHeight+"px"}});var i=getCurrentPages(),e=i[i.length-1].route;this.activeRouter="/"+e,this.getAllCategory(1)},watch:{isNew:function(t){this.getAllCategory(1)}},methods:{getNav:function(){var t=this;(0,s.getNavigation)().then((function(i){t.newData=i.data}))},goRouter:function(t){var i=getCurrentPages(),e=i[i.length-1].$page.fullPath;t.link!=e&&uni.switchTab({url:t.link,fail:function(i){uni.redirectTo({url:t.link})}})},footHeight:function(t){this.footH=t},infoScroll:function(){var t=this,i=t.productList.length;this.number=t.productList[i-1].children.length,uni.getSystemInfo({success:function(i){t.height=i.windowHeight*(750/i.windowWidth)-98}});for(var e=[],a=0;a<i;a++){var o=uni.createSelectorQuery().in(this),n="#b"+a;o.select(n).boundingClientRect(),o.exec((function(i){var a=i[0].top;e.push(a),t.hightArr=e}))}},tap:function(t,i){this.toView=i,this.navActive=t,this.$set(this,"lock",!0),uni.$emit("scroll")},getAllCategory:function(t){var i=this;t||!uni.getStorageSync("CAT1_DATA")?(0,n.getCategoryList)().then((function(t){uni.setStorageSync("CAT1_DATA",t.data),i.productList=t.data,i.$nextTick((function(t){i.infoScroll()}))})):(i.productList=uni.getStorageSync("CAT1_DATA"),i.$nextTick((function(t){i.infoScroll()})))},scroll:function(t){var i=t.detail.scrollTop,e=this.hightArr;if(this.lock)this.$set(this,"lock",!1);else{for(var a=0;a<e.length;a++)i>=0&&i<e[1]-e[0]?this.navActive=0:i>=e[a]-e[0]&&i<e[a+1]-e[0]?this.navActive=a:i>=e[e.length-1]-e[0]&&(this.navActive=e.length-1);uni.$emit("scroll")}},searchSubmitValue:function(t){if(!(this.$util.trim(t.detail.value).length>0))return this.$util.Tips({title:this.$t("搜索商品名称")});uni.navigateTo({url:"/pages/goods/goods_list/index?searchValue="+t.detail.value})}}});i.default=l},b54f:function(t,i,e){"use strict";e.d(i,"b",(function(){return a})),e.d(i,"c",(function(){return o})),e.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",[e("v-uni-view",{staticClass:"cartList",class:t.cartData.iScart?"on":""},[e("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"name"},[t._v(t._s(t.$t("已选商品")))]),e("v-uni-view",{staticClass:"del acea-row row-middle",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.subDel.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"iconfont icon-shanchu1"}),t._v(t._s(t.$t("清空")))],1)],1),e("v-uni-view",{staticClass:"list"},t._l(t.cartData.cartList,(function(i,a){return e("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"pictrue"},[i.productInfo.attrInfo?e("v-uni-image",{attrs:{src:i.productInfo.attrInfo.image}}):e("v-uni-image",{attrs:{src:i.productInfo.image}}),i.status&&i.attrStatus?t._e():e("v-uni-view",{staticClass:"mantle"})],1),e("v-uni-view",{staticClass:"txtPic"},[e("v-uni-view",{staticClass:"name line2",class:i.attrStatus&&i.status?"":"on"},[t._v(t._s(i.productInfo.store_name))]),i.attrStatus&&i.status?e("v-uni-view",[i.productInfo.attrInfo?e("v-uni-view",{staticClass:"info"},[t._v(t._s(i.productInfo.attrInfo.suk))]):t._e(),e("v-uni-view",{staticClass:"bottom acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"money"},[t._v(t._s(t.$t("¥"))),e("v-uni-text",{staticClass:"num"},[t._v(t._s(i.truePrice))])],1),e("v-uni-view",{staticClass:"cartNum acea-row row-middle"},[e("v-uni-view",{staticClass:"reduce iconfont icon-jianhao1",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.leaveCart(a)}}}),e("v-uni-view",{staticClass:"num"},[t._v(t._s(i.cart_num))]),e("v-uni-view",{staticClass:"plus iconfont icon-jiahao1",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.joinCart(a)}}})],1)],1)],1):i.attrStatus?i.status?t._e():e("v-uni-view",{staticClass:"noBnt"},[t._v(t._s(t.$t("已下架")))]):e("v-uni-view",{staticClass:"noBnt"},[t._v(t._s(t.$t("已售罄")))]),i.status&&i.attrStatus?t._e():e("v-uni-view",{staticClass:"delTxt acea-row row-right"},[e("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.oneDel(i.id,a)}}},[t._v(t._s(t.$t("删除")))])],1)],1)],1)})),1)],1),t.cartData.iScart?e("v-uni-view",{staticClass:"mask",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closeList.apply(void 0,arguments)}}}):t._e()],1)},o=[]},b568:function(t,i,e){"use strict";var a=e("3d75"),o=e.n(a);o.a},b699:function(t,i,e){"use strict";e("7a82");var a=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var o=a(e("66ca")),n=a(e("4305")),r=a(e("0140")),s=a(e("c322")),c=e("d322"),d=e("26cb"),u=e("a9a5"),l=a(e("673a")),h={computed:(0,d.mapGetters)(["isLogin","uid"]),components:{goodsCate1:n.default,goodsCate2:r.default,goodsCate3:s.default,tabBar:l.default},mixins:[o.default],data:function(){return{category:"",is_diy:uni.getStorageSync("is_diy"),status:0,version:"",isNew:!1}},onLoad:function(){},onReady:function(){},onShow:function(){this.getCategoryVersion()},methods:{getCategoryVersion:function(){var t=this;uni.$emit("uploadFooter"),(0,u.getCategoryVersion)().then((function(i){uni.getStorageSync("CAT_VERSION")&&i.data.version==uni.getStorageSync("CAT_VERSION")||(t.isNew=!t.isNew,uni.setStorageSync("CAT_VERSION",i.data.version)),t.classStyle()}))},jumpIndex:function(){},classStyle:function(){var t=this;(0,c.colorChange)("category").then((function(i){var e=i.data.status;t.category=e,uni.setStorageSync("is_diy",i.data.is_diy),t.status=i.data.status,t.$nextTick((function(a){2==t.status||3==t.status?uni.hideTabBar():1==t.status&&(t.$refs.classOne.is_diy=i.data.is_diy,t.$refs.classOne.getNav()),2==e&&(t.isLogin&&(t.$refs.classTwo.getCartNum(),t.$refs.classTwo.getCartList(1)),t.$refs.classTwo.getAllCategory()),3==e&&(t.isLogin&&(t.$refs.classThree.getCartNum(),t.$refs.classThree.getCartList(1)),t.$refs.classThree.getAllCategory()),2==e||3==e?uni.hideTabBar():(t.is_diy||uni.hideTabBar(),t.$refs.classOne.getNav())}))}))}},onReachBottom:function(){2==this.category&&this.$refs.classTwo.productslist(),3==this.category&&this.$refs.classThree.productslist()}};i.default=h},b6e2:function(t,i,e){var a=e("bedd");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("4273024e",a,!0,{sourceMap:!1,shadowMode:!1})},bb2b:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={props:{cartData:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{closeList:function(){this.$emit("closeList",!1)},leaveCart:function(t){this.$emit("ChangeCartNumDan",!1,t)},joinCart:function(t){this.$emit("ChangeCartNumDan",!0,t)},subDel:function(){this.$emit("ChangeSubDel")},oneDel:function(t,i){this.$emit("ChangeOneDel",t,i)}}};i.default=a},bb8d:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.goodsList[data-v-33baf11c]{padding:0 %?30?%}.goodsList .item[data-v-33baf11c]{width:100%;box-sizing:border-box;margin-bottom:%?63?%}.goodsList .item .pictrue[data-v-33baf11c]{border-radius:%?16?%;position:relative;padding-top:40%}.goodsList .item .pictrue uni-image[data-v-33baf11c]{border-radius:%?10?%;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.goodsList .item .text[data-v-33baf11c]{font-size:%?30?%;font-family:PingFang SC;font-weight:700;color:#282828;margin:%?20?% 0}.goodsList .item .bottom .sales[data-v-33baf11c]{font-size:%?22?%;color:#8e8e8e}.goodsList .item .bottom .sales .money[data-v-33baf11c]{font-size:%?42?%;font-weight:700;margin-right:%?18?%}.goodsList .item .bottom .sales .money uni-text[data-v-33baf11c]{font-size:%?28?%}.goodsList .item .bottom .cart[data-v-33baf11c]{height:%?56?%}.goodsList .item .bottom .cart .pictrue[data-v-33baf11c]{color:var(--view-theme);font-size:%?46?%;width:%?50?%;height:%?50?%;text-align:center;line-height:%?50?%}.goodsList .item .bottom .cart .num[data-v-33baf11c]{font-size:%?30?%;color:#282828;font-weight:700;width:%?80?%;text-align:center}.goodsList .item .bottom .bnt[data-v-33baf11c]{padding:0 %?30?%;height:%?56?%;line-height:%?56?%;background:var(--view-theme);border-radius:%?42?%;font-size:%?26?%;color:#fff;position:relative}.goodsList .item .bottom .bnt.end[data-v-33baf11c]{background:#cbcbcb}.goodsList .item .bottom .bnt .num[data-v-33baf11c]{background-color:var(--view-priceColor);min-width:%?12?%;color:#fff;border-radius:15px;position:absolute;right:%?-14?%;top:%?-15?%;font-size:%?22?%;padding:0 %?10?%;height:%?34?%;line-height:%?34?%}',""]),t.exports=i},bedd:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-46e02193] uni-scroll-view{padding-bottom:0!important}.sys-title[data-v-46e02193]{z-index:10;position:relative;height:40px;line-height:40px;font-size:%?30?%;color:#333;background-color:#fff}.sys-head[data-v-46e02193]{background-color:#fff}.productSort[data-v-46e02193]{display:flex;flex-direction:column;height:100vh}.productSort .header[data-v-46e02193]{width:100%;height:%?96?%;background-color:#fff;border-bottom:%?1?% solid #f5f5f5}.productSort .header .input[data-v-46e02193]{width:%?700?%;height:%?60?%;background-color:#f5f5f5;border-radius:%?50?%;box-sizing:border-box;padding:0 %?25?%}.productSort .header .input .iconfont[data-v-46e02193]{font-size:%?35?%;color:#555}.productSort .header .input .placeholder[data-v-46e02193]{color:#999}.productSort .header .input uni-input[data-v-46e02193]{font-size:%?26?%;height:100%;width:%?597?%}.productSort .scroll-box[data-v-46e02193]{flex:1;overflow:hidden;display:flex}uni-scroll-view[data-v-46e02193]{padding-bottom:%?100?%}.productSort .aside[data-v-46e02193]{width:%?180?%;height:100%;overflow:hidden;background-color:#f7f7f7}.productSort .aside .item[data-v-46e02193]{height:%?100?%;width:100%;font-size:%?26?%;color:#424242;text-align:center}.productSort .aside .item.on[data-v-46e02193]{background-color:#fff;border-left:%?4?% solid var(--view-theme);width:100%;color:var(--view-theme);font-weight:700}.productSort .conter[data-v-46e02193]{flex:1;height:100%;overflow:hidden;padding:0 %?14?%;background-color:#fff;position:relative;padding-bottom:%?200?%}.productSort .conter .listw[data-v-46e02193]{padding-top:%?20?%}.productSort .conter .listw .title[data-v-46e02193]{height:%?90?%}.productSort .conter .listw .title .line[data-v-46e02193]{width:%?100?%;height:%?2?%;background-color:#f0f0f0}.productSort .conter .listw .title .name[data-v-46e02193]{font-size:%?28?%;color:#333;margin:0 %?30?%;font-weight:700}.productSort .conter .list[data-v-46e02193]{flex-wrap:wrap}.productSort .conter .list .item[data-v-46e02193]{width:%?177?%;margin-top:%?26?%}.productSort .conter .list .item .picture[data-v-46e02193]{width:%?120?%;height:%?120?%;border-radius:50%}.productSort .conter .list .item .picture[data-v-46e02193] ,\n.productSort .conter .list .item .picture[data-v-46e02193] uni-image,\n.productSort .conter .list .item .picture[data-v-46e02193] .easy-loadimage,\n.productSort .conter .list .item .picture[data-v-46e02193] uni-image{width:%?120?%;height:%?120?%;border-radius:50%}.productSort .conter .list .item .name[data-v-46e02193]{font-size:%?24?%;color:#333;height:%?56?%;line-height:%?56?%;width:%?120?%;text-align:center}',""]),t.exports=i},c322:function(t,i,e){"use strict";e.r(i);var a=e("656c"),o=e("34e0");for(var n in o)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return o[t]}))}(n);e("93ce");var r=e("f0c5"),s=Object(r["a"])(o["default"],a["b"],a["c"],!1,null,"5c2911c4",null,!1,a["a"],void 0);i["default"]=s.exports},e054:function(t,i,e){"use strict";var a=e("a667"),o=e.n(a);o.a},e2a7:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.scroll-Y[data-v-a2575cd4]{height:100vh}uni-page-body[data-v-a2575cd4]{background-color:#fff}body.?%PAGE?%[data-v-a2575cd4]{background-color:#fff}[data-v-a2575cd4] .product-window.joinCart{z-index:999}[data-v-a2575cd4]::-webkit-scrollbar{width:0;height:0;color:transparent;display:none}.goodCate .mask[data-v-a2575cd4]{z-index:99}.goodCate[data-v-a2575cd4] .attrProduct .mask{z-index:100}.goodCate .header[data-v-a2575cd4]{position:fixed;height:%?128?%;background-color:#fff;top:0;left:0;width:100%;z-index:99;border-bottom:1px solid #f0f0f0}.goodCate .header .pageIndex[data-v-a2575cd4]{width:%?68?%;height:%?68?%;border-radius:50%;background-color:var(--view-theme);text-align:center;line-height:%?68?%}.goodCate .header .pageIndex .iconfont[data-v-a2575cd4]{color:#fff;font-size:%?30?%}.goodCate .header .search[data-v-a2575cd4]{width:%?600?%;height:%?68?%;border-radius:%?36?%;background-color:#f8f8f8;font-size:%?26?%;color:#adadad;margin-left:%?22?%}.goodCate .header .search .iconfont[data-v-a2575cd4]{font-size:%?30?%;margin:%?4?% %?16?% 0 0}.goodCate .conter[data-v-a2575cd4]{margin-top:%?128?%;height:100vh;background-color:#fff}.goodCate .conter .aside[data-v-a2575cd4]{position:fixed;width:23%;left:0;bottom:%?100?%;top:0;background-color:#f7f7f7;overflow-y:auto;overflow-x:hidden;margin-top:%?128?%;z-index:99}.goodCate .conter .aside .item[data-v-a2575cd4]{height:%?100?%;width:100%;font-size:%?26?%;color:#424242}.goodCate .conter .aside .item.on[data-v-a2575cd4]{background-color:#fff;width:100%;text-align:center;color:var(--view-theme);font-weight:500;position:relative}.goodCate .conter .aside .item.on[data-v-a2575cd4]::after{content:"";position:absolute;width:%?6?%;height:%?46?%;background:var(--view-theme);border-radius:0 %?4?% %?4?% 0;left:0}.goodCate .conter .wrapper[data-v-a2575cd4]{margin-top:%?104?%;width:77%;float:right;background-color:#fff;padding-bottom:%?100?%}.goodCate .conter .wrapper .bgcolor[data-v-a2575cd4]{width:100%;background-color:#fff}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4]{margin-top:0!important}.goodCate .conter .wrapper .mask[data-v-a2575cd4]{z-index:9}.goodCate .conter .wrapper .longTab[data-v-a2575cd4]{width:65%;position:fixed;top:0;margin-top:%?128?%;height:%?100?%;z-index:99;background-color:#fff}.goodCate .conter .wrapper .longTab .longItem[data-v-a2575cd4]{height:%?44?%;display:inline-block;line-height:%?44?%;text-align:center;font-size:%?26?%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#989898;background-color:#f7f7f7;border-radius:%?22?%;margin-left:%?12?%}.goodCate .conter .wrapper .longTab .longItem.click[data-v-a2575cd4]{font-weight:700;background-color:var(--view-minorColorT);color:var(--view-theme)}.goodCate .conter .wrapper .longTab .underlineBox[data-v-a2575cd4]{height:3px;width:20%;display:flex;align-content:center;justify-content:center;transition:.5s}.goodCate .conter .wrapper .longTab .underlineBox .underline[data-v-a2575cd4]{width:%?33?%;height:%?4?%;background-color:#fff}.goodCate .conter .wrapper .openList[data-v-a2575cd4]{width:12%;height:%?100?%;background-color:#fff;line-height:%?100?%;padding-left:%?30?%;position:fixed;right:0;top:%?128?%;z-index:99}.goodCate .conter .wrapper .openList .iconfont[data-v-a2575cd4]{font-size:%?22?%;color:#989898}.goodCate .conter .wrapper .downTab[data-v-a2575cd4]{width:77%;position:fixed;top:0;margin-top:%?128?%;z-index:99;background-color:#fff;right:0}.goodCate .conter .wrapper .downTab .title[data-v-a2575cd4]{height:%?100?%;font-size:%?26?%;color:#adadad;padding-left:%?20?%}.goodCate .conter .wrapper .downTab .title .closeList[data-v-a2575cd4]{width:%?90?%;height:100%;line-height:%?100?%;padding-left:%?30?%;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.goodCate .conter .wrapper .downTab .title .closeList .iconfont[data-v-a2575cd4]{font-size:%?22?%;color:#989898}.goodCate .conter .wrapper .downTab .children[data-v-a2575cd4]{max-height:%?500?%;overflow-x:hidden;overflow-y:auto;padding-bottom:%?20?%}.goodCate .conter .wrapper .downTab .children .item[data-v-a2575cd4]{height:%?60?%;background-color:#f7f7f7;border-radius:%?30?%;line-height:%?60?%;padding:0 %?15?%;margin:0 0 %?20?% %?20?%;width:%?165?%;text-align:center}.goodCate .conter .wrapper .downTab .children .item.click[data-v-a2575cd4]{font-weight:700;background-color:var(--view-minorColorT);color:var(--view-theme)}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4]{margin-top:%?228?%;padding:0 %?30?% 0 %?20?%}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4] .item{margin-bottom:%?33?%!important}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4] .item .text{font-size:%?26?%}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4] .item .bottom .sales .money{font-size:%?34?%}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4] .item .bottom .sales .money uni-text{font-size:%?26?%}.goodCate .conter .wrapper .goodsList[data-v-a2575cd4] .item .bottom .cart .pictrue{width:%?50?%;height:%?50?%}.goodCate .footer[data-v-a2575cd4]{position:fixed;left:0;bottom:0;width:100%;background-color:#fff;box-shadow:0 %?-3?% %?16?% rgba(36,12,12,.05);z-index:101;padding:0 %?30?%;box-sizing:border-box;height:%?100?%}.goodCate .footer .cartIcon[data-v-a2575cd4]{width:%?96?%;height:%?96?%;border-radius:50%;position:relative;margin-top:%?-36?%}.goodCate .footer .cartIcon .iconfont[data-v-a2575cd4]{font-size:%?115?%;margin-top:-5px;color:var(--view-theme)}.goodCate .footer .cartIcon.noCart .iconfont[data-v-a2575cd4]{color:#cbcbcb}.goodCate .footer .cartIcon .num[data-v-a2575cd4]{background-color:var(--view-priceColor);min-width:%?12?%;color:#fff;border-radius:15px;position:absolute;right:%?-6?%;top:%?-10?%;font-size:%?22?%;padding:0 %?10?%;height:%?34?%;line-height:%?34?%}.goodCate .footer .money[data-v-a2575cd4]{color:var(--view-priceColor);font-size:%?28?%;font-weight:700}.goodCate .footer .money .num[data-v-a2575cd4]{font-size:%?42?%}.goodCate .footer .money .bnt[data-v-a2575cd4]{width:%?222?%;height:%?76?%;background:var(--view-theme);border-radius:%?46?%;line-height:%?76?%;text-align:center;color:#fff;margin-left:%?24?%}',""]),t.exports=i},e94c:function(t,i,e){var a=e("e2a7");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("77ff0e31",a,!0,{sourceMap:!1,shadowMode:!1})},f6385:function(t,i,e){var a=e("24fb");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.goodsList[data-v-5c5e55f9]{padding:0 %?30?%}.goodsList .item[data-v-5c5e55f9]{width:100%;box-sizing:border-box;margin-bottom:%?63?%}.goodsList .item .pictrue[data-v-5c5e55f9]{width:%?140?%;height:%?140?%;border-radius:%?10?%;position:relative;border-radius:%?22?%}.goodsList .item .pictrue uni-image[data-v-5c5e55f9]{width:100%;height:100%;border-radius:%?22?%}.goodsList .item .pictxt[data-v-5c5e55f9]{width:%?372?%}.goodsList .item .pictxt .text[data-v-5c5e55f9]{font-size:%?26?%;font-family:PingFang SC;font-weight:500;color:#333}.goodsList .item .pictxt .bottom[data-v-5c5e55f9]{margin-top:%?22?%}.goodsList .item .pictxt .bottom .money[data-v-5c5e55f9]{font-size:%?34?%;font-weight:800}.goodsList .item .pictxt .bottom .money .sign[data-v-5c5e55f9]{font-size:%?24?%}.goodsList .item .pictxt .bottom .money .y_money[data-v-5c5e55f9]{font-size:%?20?%;color:#999;margin-left:%?14?%;font-weight:400;text-decoration:line-through}.goodsList .item .pictxt .bottom .money .vip[data-v-5c5e55f9]{font-size:%?22?%;color:#333;font-weight:400;margin-left:%?14?%}.goodsList .item .pictxt .bottom .money .vip uni-image[data-v-5c5e55f9]{width:%?38?%;height:%?18?%;margin-right:%?6?%}.goodsList .item .pictxt .bottom .cart[data-v-5c5e55f9]{height:%?46?%}.goodsList .item .pictxt .bottom .cart .pictrue[data-v-5c5e55f9]{color:var(--view-theme);font-size:%?46?%;width:%?46?%;height:%?46?%;text-align:center;line-height:%?46?%}.goodsList .item .pictxt .bottom .cart .pictrue.icon-jiahao[data-v-5c5e55f9]{color:var(--view-theme)}.goodsList .item .pictxt .bottom .cart .num[data-v-5c5e55f9]{font-size:%?30?%;color:#333;font-weight:700;width:%?60?%;text-align:center}.goodsList .item .pictxt .bottom .icon-gouwuche6[data-v-5c5e55f9]{width:%?46?%;height:%?46?%;background-color:var(--view-theme);border-radius:50%;color:#fff;font-size:%?30?%}.goodsList .item .pictxt .bottom .bnt[data-v-5c5e55f9]{padding:0 %?20?%;height:%?45?%;background:var(--view-theme);border-radius:%?23?%;font-size:%?22?%;color:#fff;position:relative}.goodsList .item .pictxt .bottom .bnt.end[data-v-5c5e55f9]{background:#ccc}.goodsList .item .pictxt .bottom .bnt .num[data-v-5c5e55f9]{min-width:%?14?%;background-color:#fff;color:var(--view-theme);border-radius:15px;position:absolute;right:%?-13?%;top:%?-11?%;font-size:%?16?%;padding:0 %?10?%;border:1px solid var(--view-theme)}',""]),t.exports=i},f9c4:function(t,i,e){"use strict";e.r(i);var a=e("b2e2"),o=e.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);i["default"]=o.a},fe5c:function(t,i,e){var a=e("0af3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=e("4f06").default;o("6bbf8a07",a,!0,{sourceMap:!1,shadowMode:!1})}}]);