(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-tabbar-index-index"],{"07fe":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 页面左右间距 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.goodRecommend[data-v-700d892a]{padding-top:%?20?%}.goodRecommend .product-list[data-v-700d892a]{position:relative;padding:0 %?13?%;width:100%}.goodRecommend .product-list-box[data-v-700d892a]{display:flex;flex-wrap:wrap;flex-direction:row}.goodRecommend .product-list-box.swiper[data-v-700d892a]{height:%?620?%}.goodRecommend .product-list.product-swiper .product-list-box[data-v-700d892a]{padding-left:0}.goodRecommend .product-list-item-warp[data-v-700d892a]{margin:0 0 %?20?% 0}.goodRecommend .product-list-item[data-v-700d892a]{width:%?348?%;padding:0 %?7?%;box-sizing:initial}.goodRecommend .product-list-img[data-v-700d892a]{width:%?348?%;height:%?348?%;background-color:#d0d0d0;border-radius:%?10?% %?10?% 0 0}.goodRecommend .product-list-img .img[data-v-700d892a]{width:100%;height:100%;object-fit:contain}.goodRecommend .product-list-info[data-v-700d892a]{background-color:#fff;border-radius:0 0 %?10?% %?10?%;padding:%?20?%}.goodRecommend .product-list-info uni-label[data-v-700d892a]{font-weight:400}.goodRecommend .product-list-info .product-name[data-v-700d892a]{font-size:%?28?%;color:#333;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:%?18?%;line-height:%?40?%}.goodRecommend .product-list-info .flex[data-v-700d892a]{display:flex;align-items:center}.goodRecommend .product-list-info .shop-box[data-v-700d892a]{background-color:#39be7a;border-radius:%?20?%;line-height:%?40?%;display:flex;align-items:center;height:%?40?%;margin-right:%?10?%;float:left}.goodRecommend .product-list-info .shop-box .shop-name[data-v-700d892a]{font-size:%?20?%;color:#fff;padding:0 %?8?% 0 %?12?%;line-height:%?40?%;display:inline-block;float:left;max-width:%?170?%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.goodRecommend .product-list-info .shop-box .shop-logo[data-v-700d892a]{border:%?2?% solid #fff;border-radius:50%;overflow:hidden;float:right}.goodRecommend .product-list-info .shop-box .shop-logo img[data-v-700d892a]{width:%?34?%;height:%?34?%;display:block}.goodRecommend .product-list-info .buy-count[data-v-700d892a]{color:#39be7a;font-size:%?20?%;border:%?2?% solid #e4e5e6;line-height:%?36?%;padding:0 %?5?%}.goodRecommend .product-list-info .price-warp[data-v-700d892a]{display:flex;align-items:baseline;line-height:%?56?%}.goodRecommend .product-list-info .price-warp .iconImg[data-v-700d892a]{width:%?58?%;height:%?36?%;margin-right:%?10?%}.goodRecommend .product-list-info .price-warp .price[data-v-700d892a]{color:#c83732;font-size:%?40?%;margin-right:%?20?%}.goodRecommend .product-list-info .price-warp .original-price[data-v-700d892a]{font-size:%?24?%;color:#ccc;text-decoration:line-through}.goodRecommend .emptyCart-box[data-v-700d892a]{margin-top:%?70?%}.goodRecommend .emptyCart-box .emptyCart-img[data-v-700d892a]{width:%?216?%;height:%?156?%}',""]),t.exports=e},"09e1":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.commonMixin=void 0,a("64aa");var n=i(a("87d3")),o=a("1200e"),r={name:"headerComponent",mixins:[o.funMixin],props:{terminal:{type:Number,default:4},typeId:{type:Number,default:1},shopId:{type:Number,default:0},componentContent:{type:Object}},data:function(){return{classifyData:[]}},mounted:function(){this.getData()},methods:{getData:function(){var t=this;t.sendReq({url:"".concat(n.default.getClassify,"?page=1&pageSize=20"),method:"GET"},(function(e){t.classifyData=e.data,console.log(t.classifyData)}),(function(t){}))}}};e.commonMixin=r},"0f63":function(t,e,a){var i=a("436b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("569e5e84",i,!0,{sourceMap:!1,shadowMode:!1})},1200:function(t,e,a){"use strict";a.r(e);var i=a("6e40"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"2f24":function(t,e,a){"use strict";var i=a("7a52"),n=a.n(i);n.a},"2f88":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("b7c7"));a("64aa"),a("c223"),a("8f71"),a("bf0f"),a("d4b5");var o=a("83c8"),r=a("6d56"),s={name:"categoryShow",props:{categoryid:{type:Number,default:0}},data:function(){return{activeTab:0,page:1,pageSize:10,total:0,productList:[],ifShow:!1}},mounted:function(){this.productList=[{},{},{},{},{},{},{},{}],this.getData()},methods:{getData:function(){var t=this;console.log("加载了getData"),0!=this.total&&this.productList.length>=this.total?console.log("加载完了"):o.request(r.getProducts,{classifyId:this.categoryid,page:this.page,pageSize:this.pageSize},"GET").then((function(e){t.productList=[].concat((0,n.default)(t.productList),(0,n.default)(e.data.list)),t.productList=t.productList.filter((function(t){return"{}"!==JSON.stringify(t)})),t.total=e.data.total,uni.hideLoading(),0===t.productList.length&&(t.ifShow=!0)})).catch((function(t){uni.hideLoading()}))},jumpStore:function(t){uni.navigateTo({url:"/pages_category_page1/store/index?storeId=".concat(t.shopId)})},jumpProductDetail:function(t){uni.navigateTo({url:"/pages_category_page1/goodsModule/goodsDetails?shopId="+t.shopId+"&productId="+t.productId+"&skuId="+t.skuId})}},watch:{categoryid:{handler:function(t,e){this.ifShow=!1,this.getData()},deep:!0}}};e.default=s},"30f7":function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},a("7a76"),a("c9b5")},3752:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 页面左右间距 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.hom-page[data-v-76855332]{margin-top:calc(%?20?% + 0px)}.head[data-v-76855332]{background:#fff}.header[data-v-76855332]{background:#fff}.header .toLive[data-v-76855332]{height:60px;color:#fff;background-color:#333}.header .topBox[data-v-76855332]{display:flex;align-items:center;justify-content:flex-end;width:100%}.header .logo[data-v-76855332]{width:%?175?%;height:%?42?%;margin-left:%?30?%}.header .search-btn[data-v-76855332]{height:%?66?%;background:#fff;border-radius:%?33?%;display:flex;flex-direction:row;align-items:center;margin-right:%?30?%}.header .search-btn .search-icon[data-v-76855332]{width:%?60?%;height:%?60?%}.header .search-btn .search-word[data-v-76855332]{font-size:%?26?%;font-weight:400;color:#999;margin-left:%?10?%}.header .tabs-nav-warp[data-v-76855332]{margin-top:%?20?%;padding:0 %?30?%}.header .tabs-nav .ul[data-v-76855332]{display:flex}.header .tabs-nav .ul .li[data-v-76855332]{flex:1 0 auto;margin-left:%?36?%;font-size:%?30?%;color:#999;position:relative;padding-bottom:%?18?%}.header .tabs-nav .ul .li[data-v-76855332]:first-child{margin-left:0}.header .tabs-nav .ul .li.on[data-v-76855332]{font-weight:700}.header .tabs-nav .ul .li.on[data-v-76855332]:after{content:"";width:100%;height:%?4?%;background:#39be7a;position:absolute;left:0;bottom:0}.weiXinBox[data-v-76855332]{width:100%;position:fixed;background:#f7f7f7;z-index:99}.wxBtnBg[data-v-76855332]{padding:0 %?20?%}.wxBtnBg .weiXinBoxBtn[data-v-76855332]{display:flex;align-items:center;padding:%?10?% 0 %?10?% %?15?%;width:100%;background:#f3f4f5;opacity:1}.wxBtnBg .weiXinBoxBtn .search-icon[data-v-76855332]{width:%?50?%;height:%?50?%;margin-right:%?20?%}.wxBtnBg .weiXinBoxBtn uni-text[data-v-76855332]{color:#999}.terminal1 .header .topBox .search-btn .search-icon[data-v-76855332]{margin-left:%?0?%}.topTitle[data-v-76855332]{display:flex;justify-content:center;align-items:center;height:%?100?%;width:100%}.topTitle .topText[data-v-76855332]{text-align:center;color:#000;font-size:%?38?%;font-weight:700}.topWap[data-v-76855332]{padding-top:%?60?%}.topWap .logo[data-v-76855332]{margin-top:0!important}.reachBottom[data-v-76855332]{margin-top:%?30?%;display:flex;flex-direction:column;align-items:center}.reachBottom .reach-icon[data-v-76855332]{width:%?150?%;height:%?150?%}.reachBottom .reach-text[data-v-76855332]{margin:%?20?% 0;color:#ccc}.Put-box1 .btn[data-v-76855332]{text-align:center;margin-top:%?40?%;border:1px solid #333;height:%?80?%;line-height:%?80?%;width:100%;color:#333}.Put-box1 .submit[data-v-76855332]{background-color:#333;color:#ffebc4}',""]),t.exports=e},"42f6":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d4b5");var n=i(a("41e3")),o=i(a("8e27")),r=i(a("87d3")),s=i(a("bf14")),c=i(a("8d73")),d=(i(a("659f")),i(a("90bd"))),u=a("83c8"),l=a("6d56"),f={components:{AdWindow:o.default,CategoryList:s.default,CategoryShow:c.default,canvasPage:d.default,tuiModal:n.default},data:function(){return{terminal:l.terminal,activeTab:0,categoryid:0,topHeight:0,height:0,topLeft:0,privacyShow:!1,componentsData:[],typeId:1}},onReachBottom:function(){this.HandleLoadMoreProduct()},onLoad:function(t){var e=this;console.log(t.phone,"phjas"),t.phone&&""!=t.phone&&u.request(l.Login,{phone:t.phone,verificationCode:"wGnknz0SpYZ0YkFTCqnWXDWqoNRJm3w2f3BVrUvEpbk="},"POST").then((function(a){uni.hideLoading();var i=a.data;if(uni.setStorageSync("storage_key",i),uni.getStorageSync("salesId")){u.request(l.huiyuanList,{phone:t.phone},"POST").then((function(t){uni.setStorageSync("memerId",JSON.parse(t.data).data.id)}));var n=uni.getStorageSync("salesId"),o=uni.getStorageSync("shopId");e.bindSalesCustomer(n,o),uni.removeStorageSync("salesId"),uni.removeStorageSync("shopId")}}));var a=window.location.href;localStorage.setItem("homePageUrl",a),uni.getStorageSync("storage_key"),this.$nextTick((function(){e.canvasGet(),e.$refs.adWindow.getAd()}))},onShow:function(){},onPageScroll:function(t){this.topLeft=t.scrollTop},methods:{bindSalesCustomer:function(t,e){t&&e&&u.request(l.BindSalesCustomer,{shopId:e,distributorId:t},"POST").then((function(t){uni.showToast({title:"绑定成功",icon:"none"})})).catch((function(t){uni.showToast({title:t.data.message,icon:"none"})}))},canvasGet:function(){var t=this,e=r.default.getCanvas+"?terminal="+this.terminal+"&type="+this.typeId;this.shopId&&(e+="&shopId="+this.shopId);u.request(e,{},"GET").then((function(e){if("{}"!==JSON.stringify(e.data)){var a=JSON.parse(e.data.json);t.componentsData=a}uni.hideLoading()})).catch((function(t){uni.hideLoading()}))},onShareTimeline:function(){return{title:this.miniHomeRemark,imageUrl:this.miniHomeImg,path:"pages/tabbar/index/index"}},onShareAppMessage:function(){return{title:this.miniHomeRemark,imageUrl:this.miniHomeImg,path:"pages/tabbar/index/index"}},HandleLoadMoreProduct:function(){if(0!=this.activeTab){var t=this.$refs.categoryShow;0!==t.total&&t.productList.length400?i("v-uni-view",{staticClass:"reachBottom"},[i("v-uni-image",{staticClass:"reach-icon",attrs:{src:"https://zhgw-uat.028wlkj.com/cdwlMall/zsfwzxt/file/static/img/reachBottom.png",mode:"widthFix"}}),i("v-uni-text",{staticClass:"reach-text"},[t._v("这里到底了哦~~")])],1):t._e(),i("tui-modal",{attrs:{show:t.privacyShow,custom:!0,fadein:!0}},[i("v-uni-view",{staticClass:"Put-box1"},[i("v-uni-view",{staticClass:"text-align fs34 fs-bold"},[t._v("协议与隐私政策")]),i("p",{staticClass:"mar-top-20"},[t._v("欢迎来到锦江公园!我们根据最新的法律、法规、监管政策要求,更新了隐私政策。")]),i("v-uni-view",{staticClass:"flex-display flex-sp-between"},[i("v-uni-view",{staticClass:"btn submit",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.privacyShow=!1}}},[t._v("同意")])],1)],1)],1)],1)},o=[]},d14d:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},a("01a2"),a("e39c"),a("bf0f"),a("844d"),a("18f7"),a("de6c"),a("08eb")},d414:function(t,e,a){var i=a("3752");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("2e5fe028",i,!0,{sourceMap:!1,shadowMode:!1})},d8bc:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 页面左右间距 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.header .top-box[data-v-ce26285e]{display:flex;align-items:center;justify-content:space-between;padding-left:%?30?%;width:100%}.header .top-box .logo[data-v-ce26285e]{height:%?70?%;margin-top:%?0?%}.header .top-box .search-btn[data-v-ce26285e]{height:%?66?%;background:#fff;border-radius:%?33?%;display:flex;flex-direction:row;align-items:center;margin-right:%?30?%}.header .top-box .search-btn .search-icon[data-v-ce26285e]{width:%?60?%;height:%?60?%}.tabs-nav-warp[data-v-ce26285e]{margin-top:%?20?%;padding:0 %?30?%;overflow:hidden}.tabs-nav-warp .tabs-nav .ul[data-v-ce26285e]{display:flex;flex-wrap:nowrap;justify-content:space-between}.tabs-nav-warp .tabs-nav .ul .li[data-v-ce26285e]{flex:1 0 auto;margin-left:%?36?%;font-size:%?30?%;color:#999;position:relative;padding-bottom:%?18?%;text-align:center}.tabs-nav-warp .tabs-nav .ul .li[data-v-ce26285e]:first-child{margin-left:0}.tabs-nav-warp .tabs-nav .ul .li.on[data-v-ce26285e]{font-weight:700}.tabs-nav-warp .tabs-nav .ul .li.on[data-v-ce26285e]:after{content:"";width:100%;height:%?4?%;background:#c5aa7b;position:absolute;left:0;bottom:0}',""]),t.exports=e},e0f4:function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"tabs-nav-warp"},[a("v-uni-scroll-view",{staticClass:"tabs-nav",attrs:{"scroll-x":"true"}},[a("v-uni-view",{staticClass:"ul"},[a("v-uni-view",{staticClass:"li",class:{on:0===t.activeTab},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tabChange(0)}}},[t._v("首页")]),t._l(t.categoryList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"li",class:{on:t.activeTab===i+1},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabChange(i+1,e.classifyId)}}},[t._v(t._s(e.classifyName))])}))],2)],1)],1)},n=[]},ee7f:function(t,e,a){"use strict";a.r(e);var i=a("9f91"),n=a("661c");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("92e0");var r=a("828b"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"1ef8cf66",null,!1,i["a"],void 0);e["default"]=s.exports},eef6:function(t,e,a){"use strict";a.r(e);var i=a("4859"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},fe72:function(t,e,a){"use strict";a.r(e);var i=a("c29f"),n=a("5602");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("9566");var r=a("828b"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"76855332",null,!1,i["a"],void 0);e["default"]=s.exports}}]);