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.
1 lines
40 KiB
1 lines
40 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_addcart-order_addcart"],{"0456":function(t,a,i){"use strict";i.r(a);var e=i("aa7a"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},"0ae8":function(t,a,i){"use strict";i.r(a);var e=i("9c5c"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},"0e5a":function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return n})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{style:t.colorStyle},[t.isShow&&t.tabbar.length&&!t.isIframe?i("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(a,e){return i("v-uni-view",{key:e,staticClass:"uni-tabbar_item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeTab(a)}}},[i("v-uni-view",{staticClass:"uni-tabbar_icon"},[a.link==t.pagePath?i("v-uni-image",{attrs:{mode:"aspectFit",src:a.imgList[0]}}):i("v-uni-image",{attrs:{mode:"aspectFit",src:a.imgList[1]}})],1),i("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:a.link==t.pagePath}},[t._v(t._s(t.$t(a.name)))])],1)})),1):t._e(),t.isIframe&&t.tabbar.length?i("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(a,e){return i("v-uni-view",{key:e,staticClass:"uni-tabbar_item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.changeTab(a)}}},[i("v-uni-view",{staticClass:"uni-tabbar_icon"},[a.link==t.pagePath?i("v-uni-image",{attrs:{mode:"aspectFit",src:a.imgList[0]}}):i("v-uni-image",{attrs:{mode:"aspectFit",src:a.imgList[1]}})],1),i("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:a.link==t.pagePath}},[t._v(t._s(t.$t(a.name)))])],1)})),1):t._e(),t.isIframe&&!t.tabbar.length?i("v-uni-view",{staticClass:"empty-img uni-tabbar acea-row row-around row-middle"},[t._v(t._s(t.$t("暂无数据,请设置")))]):t._e()],1)},n=[]},"208c":function(t,a,i){var e=i("24fb");a=e(!1),a.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/* 文章场景相关 */.recommend[data-v-3a17a103]{background-color:#fff}.recommend .title[data-v-3a17a103]{height:%?135?%;font-size:%?28?%;color:#282828}.recommend .title .name[data-v-3a17a103]{margin:0 %?28?%}.recommend .title .iconfont[data-v-3a17a103]{font-size:%?170?%;color:#454545}.recommend .title .iconfont.lefticon[data-v-3a17a103]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.recommend .recommendList[data-v-3a17a103]{padding:0 %?30?%}.recommend .recommendList .item[data-v-3a17a103]{width:%?335?%;margin-bottom:%?30?%;border-radius:%?20?% %?20?% 0 0;box-shadow:%?0?% %?3?% %?10?% %?2?% rgba(0,0,0,.03);padding-bottom:%?10?%}.recommend .recommendList .item .pictrue[data-v-3a17a103]{position:relative;width:100%;height:%?335?%}.recommend .recommendList .item .pictrue[data-v-3a17a103] ,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] uni-image,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] .easy-loadimage,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] uni-image{width:100%;height:%?335?%;border-radius:%?20?%}.recommend .recommendList .item .name[data-v-3a17a103]{font-size:%?28?%;color:#282828;margin-top:%?20?%;padding:0 %?10?%;line-height:%?34?%;height:%?68?%}.recommend .recommendList .item .money[data-v-3a17a103]{font-size:%?20?%;margin-top:%?8?%;padding:0 %?10?% %?0?% %?10?%}.recommend .vip-money[data-v-3a17a103]{font-size:%?24?%;color:#282828;font-weight:700;display:flex;align-items:center;padding:%?0?% 0 0 %?10?%}.recommend .vip-money uni-image[data-v-3a17a103]{width:%?46?%;height:%?21?%;margin-left:%?4?%}.recommend .recommendList .item .money .num[data-v-3a17a103]{font-size:%?28?%}',""]),t.exports=a},"263a":function(t,a,i){var e=i("24fb");a=e(!1),a.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=a},"316c":function(t,a,i){var e=i("263a");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("2a013f4a",e,!0,{sourceMap:!1,shadowMode:!1})},3450:function(t,a,i){"use strict";i.d(a,"b",(function(){return e})),i.d(a,"c",(function(){return n})),i.d(a,"a",(function(){}));var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{style:t.colorStyle},[t.canShow?i("v-uni-view",{staticClass:"shoppingCart copy-data"},[i("v-uni-view",{staticClass:"labelNav acea-row row-around row-middle"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v(t._s(t.$t("100%正品保证")))],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v(t._s(t.$t("所有商品精挑细选")))],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v(t._s(t.$t("售后无忧")))],1)],1),i("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t.$t("购物数量"))),i("v-uni-text",{staticClass:"num font-num"},[t._v(t._s(t.cartCount))])],1),t.cartList.valid.length>0||t.cartList.invalid.length>0?i("v-uni-view",{staticClass:"administrate acea-row row-center-wrapper",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.manage.apply(void 0,arguments)}}},[t._v(t._s(t.footerswitch?t.$t("管理"):t.$t("取消")))]):t._e()],1),(t.cartList.valid.length>0||t.cartList.invalid.length>0)&&t.canShow?i("v-uni-view",[i("v-uni-view",{staticClass:"list"},[i("v-uni-checkbox-group",{on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.checkboxChange.apply(void 0,arguments)}}},[t._l(t.cartList.valid,(function(a,e){return[i("v-uni-view",{key:e+"_0",staticClass:"item acea-row row-between-wrapper"},[i("v-uni-checkbox",{attrs:{value:a.id.toString(),checked:a.checked,disabled:!a.attrStatus&&t.footerswitch}}),i("v-uni-navigator",{staticClass:"picTxt acea-row row-between-wrapper",attrs:{url:"/pages/goods_details/index?id="+a.product_id,"hover-class":"none"}},[i("v-uni-view",{staticClass:"pictrue"},[a.productInfo.attrInfo?i("v-uni-image",{attrs:{src:a.productInfo.attrInfo.image}}):i("v-uni-image",{attrs:{src:a.productInfo.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"line2",class:a.attrStatus?"":"reColor"},[t._v(t._s(a.productInfo.store_name))]),a.productInfo.attrInfo?i("v-uni-view",{staticClass:"infor line1"},[t._v(t._s(t.$t("属性"))+":"+t._s(a.productInfo.attrInfo.suk))]):t._e(),a.attrStatus?i("v-uni-view",{staticClass:"money"},[t._v(t._s(t.$t("¥"))+t._s(a.truePrice))]):i("v-uni-view",{staticClass:"reElection acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("请重新选择商品规格")))]),i("v-uni-view",{staticClass:"reBnt cart-color acea-row row-center-wrapper",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.reElection(a)}}},[t._v(t._s(t.$t("重选")))])],1)],1),a.attrStatus?i("v-uni-view",{staticClass:"carnum acea-row row-center-wrapper"},[i("v-uni-view",{staticClass:"reduce",class:a.numSub?"on":"",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.subCart(e)}}},[t._v("-")]),i("v-uni-view",{staticClass:"num"},[i("v-uni-input",{attrs:{type:"number"},on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a)},input:function(a){arguments[0]=a=t.$handleEvent(a),t.iptCartNum(e)},blur:function(a){arguments[0]=a=t.$handleEvent(a),t.blurInput(e)}},model:{value:a.cart_num,callback:function(i){t.$set(a,"cart_num",i)},expression:"item.cart_num"}})],1),i("v-uni-view",{staticClass:"plus",class:a.numAdd?"on":"",on:{click:function(a){a.stopPropagation(),arguments[0]=a=t.$handleEvent(a),t.addCart(e)}}},[t._v("+")])],1):t._e()],1)],1)]}))],2)],1),t.cartList.invalid.length>0?i("v-uni-view",{staticClass:"invalidGoods"},[i("v-uni-view",{staticClass:"goodsNav acea-row row-between-wrapper"},[i("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.goodsOpen.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont",class:1==t.goodsHidden?"icon-xiangxia":"icon-xiangshang"}),t._v(t._s(t.$t("失效商品")))],1),i("v-uni-view",{staticClass:"del",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.unsetCart.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-shanchu1"}),t._v(t._s(t.$t("清空")))],1)],1),i("v-uni-view",{staticClass:"goodsList",attrs:{hidden:t.goodsHidden}},[t._l(t.cartList.invalid,(function(a,e){return[i("v-uni-view",{key:e+"_0",staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"invalid"},[t._v(t._s(t.$t("失效")))]),i("v-uni-view",{staticClass:"pictrue"},[a.productInfo.attrInfo?i("v-uni-image",{attrs:{src:a.productInfo.attrInfo.image}}):i("v-uni-image",{attrs:{src:a.productInfo.image}})],1),i("v-uni-view",{staticClass:"text acea-row row-column-between"},[i("v-uni-view",{staticClass:"line1 name"},[t._v(t._s(a.productInfo.store_name))]),a.productInfo.attrInfo?i("v-uni-view",{staticClass:"infor line1"},[t._v(t._s(t.$t("属性"))+":"+t._s(a.productInfo.attrInfo.suk))]):t._e(),i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"end"},[t._v(t._s(t.$t("该商品已失效")))])],1)],1)],1)]}))],2)],1):t._e(),t.cartList.invalid.length&&t.loadend?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loadingInvalid}}),t._v(t._s(t.loadTitleInvalid))],1):t._e()],1):t._e(),0==t.cartList.valid.length&&0==t.cartList.invalid.length&&t.canShow?i("v-uni-view",{staticClass:"noCart"},[i("v-uni-view",{staticClass:"emptyBox"},[i("v-uni-image",{attrs:{src:t.imgHost+"/statics/images/no-thing.png"}}),i("v-uni-view",{staticClass:"tips"},[t._v(t._s(t.$t("暂无商品")))])],1),t.hostProduct.length?i("recommend",{attrs:{hostProduct:t.hostProduct}}):t._e()],1):t._e(),i("v-uni-view",{staticStyle:{height:"120rpx",color:"#F5F5F5"}}),t.cartList.valid.length>0&&t.canShow?i("v-uni-view",{staticClass:"footer acea-row row-between-wrapper",class:t.is_diy&&t.is_diy_set?"on":""},[i("v-uni-view",[i("v-uni-checkbox-group",{on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.checkboxAllChange.apply(void 0,arguments)}}},[i("v-uni-checkbox",{attrs:{value:"all",checked:!!t.isAllSelect}}),i("v-uni-text",{staticClass:"checkAll"},[t._v(t._s(t.$t("全选"))+"("+t._s(t.selectValue.length)+")")])],1)],1),1==t.footerswitch?i("v-uni-view",{staticClass:"money acea-row row-middle"},[i("v-uni-text",{staticClass:"font-color"},[t._v(t._s(t.$t("¥"))+t._s(t.selectCountPrice))]),i("v-uni-form",{on:{submit:function(a){arguments[0]=a=t.$handleEvent(a),t.subOrder.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"placeOrder bg-color",attrs:{formType:"submit"}},[t._v(t._s(t.$t("立即下单")))])],1)],1):i("v-uni-view",{staticClass:"button acea-row row-middle"},[i("v-uni-form",{on:{submit:function(a){arguments[0]=a=t.$handleEvent(a),t.subCollect.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"bnt cart-color",attrs:{formType:"submit"}},[t._v(t._s(t.$t("收藏")))])],1),i("v-uni-form",{on:{submit:function(a){arguments[0]=a=t.$handleEvent(a),t.subDel.apply(void 0,arguments)}}},[i("v-uni-button",{staticClass:"bnt",attrs:{formType:"submit"}},[t._v(t._s(t.$t("删除")))])],1)],1)],1):t._e()],1):t._e(),i("productWindow",{attrs:{attr:t.attr,isShow:1,iSplus:1,iScart:1,id:"product-window"},on:{myevent:function(a){arguments[0]=a=t.$handleEvent(a),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(a){arguments[0]=a=t.$handleEvent(a),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(a){arguments[0]=a=t.$handleEvent(a),t.ChangeCartNum.apply(void 0,arguments)},attrVal:function(a){arguments[0]=a=t.$handleEvent(a),t.attrVal.apply(void 0,arguments)},iptCartNum:function(a){arguments[0]=a=t.$handleEvent(a),t.iptCartNum.apply(void 0,arguments)},goCat:function(a){arguments[0]=a=t.$handleEvent(a),t.reGoCat.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"uni-p-b-98"}),t.is_diy?i("pageFooter"):i("tabBar",{attrs:{pagePath:"/pages/order_addcart/order_addcart"}})],1)},n=[]},"3f6b":function(t,a,i){var e=i("5419");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("7a654b46",e,!0,{sourceMap:!1,shadowMode:!1})},"4b7e":function(t,a,i){"use strict";var e=i("316c"),n=i.n(e);n.a},5419:function(t,a,i){var e=i("24fb");a=e(!1),a.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/* 文章场景相关 */.shoppingCart .labelNav[data-v-6eda74a2]{height:%?76?%;padding:0 %?30?%;font-size:%?22?%;color:#8c8c8c;position:fixed;left:0;width:100%;box-sizing:border-box;background-color:#f5f5f5;z-index:5;top:0}.shoppingCart .labelNav .item .iconfont[data-v-6eda74a2]{font-size:%?25?%;margin-right:%?10?%}.shoppingCart .nav[data-v-6eda74a2]{width:100%;height:%?80?%;background-color:#fff;padding:0 %?30?%;box-sizing:border-box;font-size:%?28?%;color:#282828;position:fixed;left:0;z-index:5;top:%?76?%}.shoppingCart .nav .num[data-v-6eda74a2]{margin-left:%?12?%}.shoppingCart .nav .administrate[data-v-6eda74a2]{font-size:%?26?%;color:#282828;width:%?110?%;height:%?46?%;border-radius:%?6?%;border:1px solid #a4a4a4}.shoppingCart .noCart[data-v-6eda74a2]{margin-top:%?171?%;background-color:#fff;padding-top:%?0.1?%}.shoppingCart .noCart .pictrue[data-v-6eda74a2]{width:%?414?%;height:%?336?%;margin:%?78?% auto %?56?% auto}.shoppingCart .noCart .pictrue uni-image[data-v-6eda74a2]{width:100%;height:100%}.shoppingCart .list[data-v-6eda74a2]{margin-top:%?171?%}.shoppingCart .list .item[data-v-6eda74a2]{padding:%?25?% %?30?%;background-color:#fff;margin-bottom:%?15?%}.shoppingCart .list .item .picTxt[data-v-6eda74a2]{width:%?627?%;position:relative}.shoppingCart .list .item .picTxt .pictrue[data-v-6eda74a2]{width:%?160?%;height:%?160?%}.shoppingCart .list .item .picTxt .pictrue uni-image[data-v-6eda74a2]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .list .item .picTxt .text[data-v-6eda74a2]{width:%?444?%;font-size:%?28?%;color:#282828}.shoppingCart .list .item .picTxt .text .reColor[data-v-6eda74a2]{color:#999}.shoppingCart .list .item .picTxt .text .reElection[data-v-6eda74a2]{margin-top:%?20?%}.shoppingCart .list .item .picTxt .text .reElection .title[data-v-6eda74a2]{font-size:%?24?%}.shoppingCart .list .item .picTxt .text .reElection .reBnt[data-v-6eda74a2]{padding:0 %?10?%;margin-top:%?6?%;border-radius:%?23?%;font-size:%?26?%}.shoppingCart .list .item .picTxt .text .infor[data-v-6eda74a2]{font-size:%?24?%;color:#868686;margin-top:%?16?%}.shoppingCart .list .item .picTxt .text .money[data-v-6eda74a2]{font-size:%?32?%;color:var(--view-theme);margin-top:%?28?%}.shoppingCart .list .item .picTxt .carnum[data-v-6eda74a2]{height:%?47?%;position:absolute;bottom:%?0?%;right:0}.shoppingCart .list .item .picTxt .carnum uni-view[data-v-6eda74a2]{border:%?1?% solid #a4a4a4;width:%?66?%;text-align:center;height:100%;line-height:%?40?%;font-size:%?28?%;color:#a4a4a4}.shoppingCart .list .item .picTxt .carnum .reduce[data-v-6eda74a2]{border-right:0;border-radius:%?3?% 0 0 %?3?%}.shoppingCart .list .item .picTxt .carnum .reduce.on[data-v-6eda74a2]{border-color:#e3e3e3;color:#dedede}.shoppingCart .list .item .picTxt .carnum .plus[data-v-6eda74a2]{border-left:0;border-radius:0 %?3?% %?3?% 0}.shoppingCart .list .item .picTxt .carnum .plus.on[data-v-6eda74a2]{border-color:#e3e3e3;color:#dedede}.shoppingCart .list .item .picTxt .carnum .num[data-v-6eda74a2]{color:#282828}.shoppingCart .invalidGoods[data-v-6eda74a2]{background-color:#fff}.shoppingCart .invalidGoods .goodsNav[data-v-6eda74a2]{width:100%;height:%?66?%;padding:0 %?30?%;box-sizing:border-box;font-size:%?28?%;color:#282828}.shoppingCart .invalidGoods .goodsNav .iconfont[data-v-6eda74a2]{color:#424242;font-size:%?28?%;margin-right:%?17?%}.shoppingCart .invalidGoods .goodsNav .del[data-v-6eda74a2]{font-size:%?26?%;color:#999}.shoppingCart .invalidGoods .goodsNav .del .icon-shanchu1[data-v-6eda74a2]{color:#999;font-size:%?33?%;vertical-align:%?-2?%;margin-right:%?8?%}.shoppingCart .invalidGoods .goodsList .item[data-v-6eda74a2]{padding:%?20?% %?30?%;border-top:%?1?% solid #f5f5f5}.shoppingCart .invalidGoods .goodsList .item .invalid[data-v-6eda74a2]{font-size:%?22?%;color:#fff;width:%?70?%;height:%?36?%;background-color:#aaa;border-radius:%?3?%;text-align:center;line-height:%?36?%}.shoppingCart .invalidGoods .goodsList .item .pictrue[data-v-6eda74a2]{width:%?140?%;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .pictrue uni-image[data-v-6eda74a2]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .invalidGoods .goodsList .item .text[data-v-6eda74a2]{width:%?433?%;font-size:%?28?%;color:#999;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .text .name[data-v-6eda74a2]{width:100%}.shoppingCart .invalidGoods .goodsList .item .text .infor[data-v-6eda74a2]{font-size:%?24?%}.shoppingCart .invalidGoods .goodsList .item .text .end[data-v-6eda74a2]{font-size:%?26?%;color:#bbb}.shoppingCart .footer[data-v-6eda74a2]{z-index:999;width:100%;height:%?96?%;background-color:hsla(0,0%,100%,.85);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);position:fixed;padding:0 %?30?%;box-sizing:border-box;border-top:%?1?% solid #eee;bottom:%?98?%;bottom:calc(%?98?% + constant(safe-area-inset-bottom));bottom:calc(%?98?% + env(safe-area-inset-bottom))}.shoppingCart .footer .checkAll[data-v-6eda74a2]{font-size:%?28?%;color:#282828;margin-left:%?16?%}.shoppingCart .footer .money[data-v-6eda74a2]{font-size:%?30?%}.shoppingCart .footer .placeOrder[data-v-6eda74a2]{color:#fff;font-size:%?30?%;width:%?226?%;height:%?70?%;border-radius:%?50?%;text-align:center;line-height:%?70?%;margin-left:%?22?%}.shoppingCart .footer .button .bnt[data-v-6eda74a2]{font-size:%?28?%;color:#999;border-radius:%?50?%;border:1px solid #999;width:%?160?%;height:%?60?%;text-align:center;line-height:%?60?%}.shoppingCart .footer .button uni-form ~ uni-form[data-v-6eda74a2]{margin-left:%?17?%}.uni-p-b-96[data-v-6eda74a2]{height:%?96?%}.uni-p-b-98[data-v-6eda74a2]{height:%?100?%;\n /* 兼容 IOS<11.2 */height:calc(%?100?% + constant(safe-area-inset-bottom));\n /* 兼容 IOS>11.2 */height:calc(%?100?% + env(safe-area-inset-bottom))}.emptyBox[data-v-6eda74a2]{text-align:center;padding:%?80?% 0}.emptyBox .tips[data-v-6eda74a2]{color:#aaa;font-size:%?26?%}.emptyBox uni-image[data-v-6eda74a2]{width:%?414?%;height:%?304?%}',""]),t.exports=a},"673a":function(t,a,i){"use strict";i.r(a);var e=i("0e5a"),n=i("0456");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("4b7e");var s=i("f0c5"),r=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"22156dd1",null,!1,e["a"],void 0);a["default"]=r.exports},"6be2":function(t,a,i){"use strict";var e=i("3f6b"),n=i.n(e);n.a},"6c5c":function(t,a,i){"use strict";i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){return e}));var e={easyLoadimage:i("9362").default},n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"recommend",style:t.colorStyle},[i("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"iconfont icon-zhuangshixian"}),i("v-uni-text",{staticClass:"name"},[t._v(t._s(t.$t("热门推荐")))]),i("v-uni-text",{staticClass:"iconfont icon-zhuangshixian lefticon"})],1),i("v-uni-view",{staticClass:"recommendList acea-row row-between-wrapper"},t._l(t.hostProduct,(function(a,e){return i("v-uni-view",{key:e,staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(a)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("easy-loadimage",{attrs:{mode:"widthFix","image-src":a.image}}),a.activity&&"1"===a.activity.type?i("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("秒杀")))]):t._e(),a.activity&&"2"===a.activity.type?i("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("砍价")))]):t._e(),a.activity&&"3"===a.activity.type?i("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("拼团")))]):t._e()],1),i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(a.store_name))]),i("v-uni-view",{staticClass:"money font-color"},[t._v(t._s(t.$t("¥"))),i("v-uni-text",{staticClass:"num"},[t._v(t._s(a.price))])],1)],1)})),1)],1)},o=[]},8207:function(t,a,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i("26cb"),o=i("2c78"),s=e(i("66ca")),r={computed:(0,n.mapGetters)(["uid"]),props:{hostProduct:{type:Array,default:function(){return[]}}},mixins:[s.default],data:function(){return{}},methods:{goDetail:function(t){(0,o.goShopDetail)(t,this.uid).then((function(a){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}))}}};a.default=r},"9c5c":function(t,a,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(i("ade3")),o=e(i("c7eb")),s=e(i("1da1"));i("4e82"),i("14d9"),i("d81d"),i("4de4"),i("d3b7"),i("a9e3"),i("99af");var r,c=i("451d"),d=i("1579"),u=i("666f"),l=e(i("673a")),h=i("26cb"),v=e(i("f1f8")),p=e(i("e642")),f=e(i("d9b2")),g=e(i("66ca")),m=i("989b"),b={components:{pageFooter:f.default,recommend:v.default,productWindow:p.default,tabBar:l.default},mixins:[g.default],data:function(){return{imgHost:m.HTTP_REQUEST_URL,is_diy:uni.getStorageSync("is_diy"),canShow:!1,cartCount:0,goodsHidden:!0,footerswitch:!0,hostProduct:[],cartList:{valid:[],invalid:[]},isAllSelect:!1,selectValue:[],selectCountPrice:0,isAuto:!1,isShowAuth:!1,hotScroll:!1,hotPage:1,hotLimit:10,loading:!1,loadend:!1,loadTitle:this.$t("我也是有底线的"),page:1,limit:20,loadingInvalid:!1,loadendInvalid:!1,loadTitleInvalid:this.$t("加载更多"),pageInvalid:1,limitInvalid:20,attr:{cartAttr:!1,productAttr:[],productSelect:{}},productValue:[],storeInfo:{},attrValue:"",attrTxt:this.$t("请选择"),cartId:0,product_id:0,sysHeight:0,newData:{},activeRouter:"",is_diy_set:!1,adding:!1}},computed:(0,h.mapGetters)(["isLogin"]),onLoad:function(t){uni.hideTabBar();var a=getCurrentPages(),i=a[a.length-1].route;this.activeRouter="/"+i},onShow:function(){this.isLogin||(0,u.toLogin)(),this.canShow=!1,1==this.isLogin&&(this.hotPage=1,this.hostProduct=[],this.hotScroll=!1,this.getHostProduct(),this.loadend=!1,this.page=1,this.cartList.valid=[],this.getCartList(1),this.loadendInvalid=!1,this.pageInvalid=1,this.cartList.invalid=[],this.getInvalidList(),this.goodsHidden=!0,this.footerswitch=!0,this.hostProduct=[],this.hotScroll=!1,this.hotPage=1,this.hotLimit=10,this.cartList={valid:[],invalid:[]},this.isAllSelect=!1,this.selectValue=[],this.selectCountPrice=0,this.cartCount=0,this.isShowAuth=!1)},methods:(r={authColse:function(t){this.isShowAuth=t},reGoCat:function(){var t=this,a=t.productValue[this.attrValue];if(t.attr.productAttr.length&&void 0===a)return t.$util.Tips({title:t.$t("产品库存不足,请选择其它")});var i={id:t.cartId,product_id:t.product_id,num:t.attr.productSelect.cart_num,unique:void 0!==t.attr.productSelect?t.attr.productSelect.unique:""};(0,c.getResetCart)(i).then((function(a){t.attr.cartAttr=!1,t.$util.Tips({title:t.$t("添加购物车成功"),success:function(){t.loadend=!1,t.page=1,t.cartList.valid=[],t.getCartList(),t.getCartNum()}})})).catch((function(a){return t.$util.Tips({title:a.msg})}))},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},reElection:function(t){this.getGoodsDetails(t)},getGoodsDetails:function(t){uni.showLoading({title:this.$t("加载中"),mask:!0});var a=this;a.cartId=t.id,a.product_id=t.product_id,(0,d.getProductDetail)(t.product_id).then((function(t){uni.hideLoading(),a.attr.cartAttr=!0;var i=t.data.storeInfo;a.$set(a,"storeInfo",i),a.$set(a.attr,"productAttr",t.data.productAttr),a.$set(a,"productValue",t.data.productValue),a.DefaultSelect()})).catch((function(t){uni.hideLoading()}))},ChangeAttr:function(t){var a=this.productValue[t];a&&a.stock>0?(this.$set(this.attr.productSelect,"image",a.image),this.$set(this.attr.productSelect,"price",a.price),this.$set(this.attr.productSelect,"stock",a.stock),this.$set(this.attr.productSelect,"unique",a.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",t),this.$set(this,"attrTxt",this.$t("已选择"))):(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,"attrTxt",this.$t("请选择")))},DefaultSelect:function(){var t=this.attr.productAttr,a=[];for(var i in this.productValue)if(this.productValue[i].stock>0){a=this.attr.productAttr.length?i.split(","):[];break}for(var e=0;e<t.length;e++)this.$set(t[e],"index",a[e]);var n=this.productValue[a.sort().join(",")];n&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),this.$set(this.attr.productSelect,"image",n.image),this.$set(this.attr.productSelect,"price",n.price),this.$set(this.attr.productSelect,"stock",n.stock),this.$set(this.attr.productSelect,"unique",n.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"attrValue",a.sort().join(",")),this.$set(this,"attrTxt",this.$t("已选择"))):!n&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),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,"attrTxt",this.$t("请选择"))):n||t.length||(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),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",1),this.$set(this,"attrValue",""),this.$set(this,"attrTxt",this.$t("请选择")))},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},ChangeCartNum:function(t){var a=this.productValue[this.attrValue];if(void 0!==a||this.attr.productAttr.length||(a=this.attr.productSelect),void 0!==a){var i=a.stock||0,e=this.attr.productSelect;t?(e.cart_num++,e.cart_num>i&&(this.$set(this.attr.productSelect,"cart_num",i||1),this.$set(this,"cart_num",i||1))):(e.cart_num--,e.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)))}},iptCartNum:function(t){this.$set(this.attr.productSelect,"cart_num",t)},subDel:function(t){var a=this,i=a.selectValue;if(!(i.length>0))return a.$util.Tips({title:a.$t("请选择产品")});(0,c.cartDel)(i).then((function(t){a.loadend=!1,a.page=1,a.cartList.valid=[],a.getCartList(),a.getCartNum()}))},getSelectValueProductId:function(){var t=this.cartList.valid,a=this.selectValue,i=[];if(a.length>0)for(var e in t)this.inArray(t[e].id,a)&&i.push(t[e].product_id);return i},subCollect:function(t){var a=this,i=a.selectValue;if(!(i.length>0))return a.$util.Tips({title:a.$t("请选择产品")});a.getSelectValueProductId();(0,d.collectAll)(a.getSelectValueProductId().join(",")).then((function(t){return a.$util.Tips({title:t.msg,icon:"success"})})).catch((function(t){return a.$util.Tips({title:t})}))},subOrder:function(t){var a=this.selectValue;if(!(a.length>0))return this.$util.Tips({title:this.$t("请选择产品")});uni.navigateTo({url:"/pages/goods/order_confirm/index?cartId="+a.join(",")})},checkboxAllChange:function(t){var a=t.detail.value;a.length>0?this.setAllSelectValue(1):this.setAllSelectValue(0)},setAllSelectValue:function(t){var a=this,i=[],e=a.cartList.valid;if(e.length>0){var n=e.map((function(e){return t?(a.footerswitch?e.attrStatus?(e.checked=!0,i.push(e.id)):e.checked=!1:(e.checked=!0,i.push(e.id)),a.isAllSelect=!0):(e.checked=!1,a.isAllSelect=!1),e}));a.$set(a.cartList,"valid",n),a.selectValue=i,a.switchSelect()}},checkboxChange:function(t){var a=this,i=t.detail.value,e=a.cartList.valid,n=[],o=[],s=[],r=e.map((function(t){return a.inArray(t.id,i)?a.footerswitch?t.attrStatus?(t.checked=!0,n.push(t)):t.checked=!1:(t.checked=!0,n.push(t)):(t.checked=!1,o.push(t)),t}));a.footerswitch&&(s=o.filter((function(t){return!t.attrStatus}))),a.$set(a.cartList,"valid",r),a.isAllSelect=r.length===n.length+s.length,a.selectValue=i,a.switchSelect()},inArray:function(t,a){for(var i in a)if(a[i]==t)return!0;return!1},switchSelect:function(){var t=this.cartList.valid,a=this.selectValue,i=0;if(a.length<1)this.selectCountPrice=i;else{for(var e in t)this.inArray(t[e].id,a)&&(i=this.$util.$h.Add(i,this.$util.$h.Mul(t[e].cart_num,t[e].truePrice)));this.selectCountPrice=i}}},(0,n.default)(r,"iptCartNum",(function(t){var a=this.cartList.valid[t];a.cart_num&&this.setCartNum(a.id,a.cart_num),this.switchSelect()})),(0,n.default)(r,"blurInput",(function(t){var a=this.cartList.valid[t];a.cart_num||(a.cart_num=1,this.$set(this.cartList,"valid",this.cartList.valid))})),(0,n.default)(r,"subCart",(function(t){var a=this,i=!1,e=a.cartList.valid[t];e.cart_num=Number(e.cart_num)-1,e.cart_num<1&&(i=!0),e.cart_num<=1?(e.cart_num=1,e.numSub=!0):(e.numSub=!1,e.numAdd=!1),0==i&&a.setCartNum(e.id,e.cart_num,(function(i){a.cartList.valid[t]=e,a.getCartNum(),a.switchSelect()}),(function(){e.cart_num=Number(e.cart_num)+1}))})),(0,n.default)(r,"addCart",(function(t){var a=this;if(!this.adding){var i=a.cartList.valid[t];i.cart_num=Number(i.cart_num)+1;var e=i.productInfo;e.hasOwnProperty("attrInfo")&&i.cart_num>=i.productInfo.attrInfo.stock?(i.cart_num=i.productInfo.attrInfo.stock,i.numAdd=!0,i.numSub=!1):(i.numAdd=!1,i.numSub=!1),a.setCartNum(i.id,i.cart_num,(function(e){a.cartList.valid[t]=i,a.getCartNum(),a.switchSelect()}),(function(){i.cart_num=Number(i.cart_num)-1}))}})),(0,n.default)(r,"setCartNum",(function(t,a,i,e){var n=this;(0,c.changeCartNum)(t,a).then((function(t){i&&i(t.data)})).catch((function(t){return e&&e(),n.$util.Tips({title:t})}))})),(0,n.default)(r,"getCartNum",(function(){var t=this,a=this;(0,c.getCartCounts)().then((function(i){a.cartCount=i.data.count,t.adding=!1,t.$store.commit("indexData/setCartNum",i.data.count>99?"..":i.data.count),i.data.count>0?wx.setTabBarBadge({index:2,text:i.data.count+""}):wx.hideTabBarRedDot({index:2})}))})),(0,n.default)(r,"getCartData",(function(t){var a=this;return new Promise((function(i,e){(0,c.getCartList)(t).then((function(t){i(t.data)})).catch((function(t){a.loading=!1,a.canShow=!0,a.$util.Tips({title:t})}))}))})),(0,n.default)(r,"getCartList",(function(t){var a=this;return(0,s.default)((0,o.default)().mark((function i(){var e,n;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:uni.showLoading({title:a.$t("加载中"),mask:!0}),e=a,n={page:e.page,limit:e.limit,status:1},(0,c.getCartCounts)().then(function(){var i=(0,s.default)((0,o.default)().mark((function i(s){var r,c,d,u,l,h,v,p;return(0,o.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:e.cartCount=s.data.count,t&&(a.adding=!1,a.$store.commit("indexData/setCartNum",s.data.count>99?"..":s.data.count),s.data.count>0?wx.setTabBarBadge({index:2,text:s.data.count+""}):wx.hideTabBarRedDot({index:2})),r=0;case 3:if(!(r<Math.ceil(s.data.ids.length/e.limit))){i.next=21;break}return i.next=6,a.getCartData(n);case 6:if(c=i.sent,d=c.valid,u=e.$util.SplitArray(d,e.cartList.valid),[{numSub:!0},{numSub:!1}],[{numAdd:!0},{numAdd:!1}],l=[],u.length>0)for(h in u)1==u[h].cart_num?u[h].numSub=!0:u[h].numSub=!1,v=u[h].productInfo,v.hasOwnProperty("attrInfo")&&u[h].cart_num==u[h].productInfo.attrInfo.stock||u[h].cart_num==u[h].productInfo.stock?u[h].numAdd=!0:u[h].numAdd=!1,u[h].attrStatus?(u[h].checked=!0,l.push(u[h].id)):u[h].checked=!1;e.$set(e.cartList,"valid",u),n.page=e.page+1,e.selectValue=l,p=u.filter((function(t){return t.attrStatus})),e.isAllSelect=p.length==l.length&&p.length,e.switchSelect();case 18:r++,i.next=3;break;case 21:e.loading=!1,a.canShow=!0,uni.hideLoading();case 24:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}());case 4:case"end":return i.stop()}}),i)})))()})),(0,n.default)(r,"getInvalidList",(function(){var t=this;if(this.loadendInvalid)return!1;if(this.loadingInvalid)return!1;var a={page:t.pageInvalid,limit:t.limitInvalid,status:0};(0,c.getCartList)(a).then((function(a){var i=a.data,e=i.invalid,n=e.length<t.limitInvalid,o=t.$util.SplitArray(e,t.cartList.invalid);t.$set(t.cartList,"invalid",o),t.loadendInvalid=n,t.loadTitleInvalid=n?t.$t("我也是有底线的"):t.$t("加载更多"),t.pageInvalid=t.pageInvalid+1,t.loadingInvalid=!1})).catch((function(a){t.loadingInvalid=!1,t.loadTitleInvalid=t.$t("加载更多")}))})),(0,n.default)(r,"getHostProduct",(function(){var t=this;t.hotScroll||(0,d.getProductHot)(t.hotPage,t.hotLimit).then((function(a){t.hotPage++,t.hotScroll=a.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(a.data)}))})),(0,n.default)(r,"goodsOpen",(function(){this.goodsHidden=!this.goodsHidden})),(0,n.default)(r,"goRouter",(function(t){var a=getCurrentPages(),i=a[a.length-1].$page.fullPath;t.link!=i&&uni.switchTab({url:t.link,fail:function(a){uni.redirectTo({url:t.link})}})})),(0,n.default)(r,"manage",(function(){var t=this;t.footerswitch=!t.footerswitch;var a=[],i=[],e=t.cartList.valid.map((function(e){return t.footerswitch?e.attrStatus?e.checked&&a.push(e.id):(e.checked=!1,i.push(e)):e.checked&&a.push(e.id),e}));t.cartList.valid=e,t.footerswitch?t.isAllSelect=e.length===a.length+i.length:t.isAllSelect=e.length===a.length,t.selectValue=a,t.switchSelect()})),(0,n.default)(r,"unsetCart",(function(){for(var t=this,a=[],i=0,e=t.cartList.invalid.length;i<e;i++)a.push(t.cartList.invalid[i].id);(0,c.cartDel)(a).then((function(a){t.$util.Tips({title:t.$t("清除成功")}),t.$set(t.cartList,"invalid",[]),t.getCartNum()})).catch((function(t){}))})),r),onReachBottom:function(){this.loadend&&this.getInvalidList(),0==this.cartList.valid.length&&0==this.cartList.invalid.length&&this.getHostProduct()},onPageScroll:function(t){uni.$emit("scroll")}};a.default=b},aa7a:function(t,a,i){"use strict";i("7a82");var e=i("4ea4").default;Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=i("d322"),o=i("2c78"),s=e(i("66ca")),r=getApp(),c={name:"tabBar",props:{pagePath:null,dataConfig:{type:Object,default:function(){}}},watch:{dataConfig:{immediate:!0,handler:function(t,a){t&&(this.isShow=t.isShow.val)}}},mixins:[s.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:r.globalData.isIframe}},mounted:function(){this.tabbar.length||this.getDiyData()},methods:{getDiyData:function(){var t=this;(0,n.getDiy)().then((function(a){var i=a.data.tabBar.default.tabBarList.list;t.$Cache.set("TAB_BAR",i),t.tabbar=i})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},changeTab:function(t){var a=this;(0,o.goPage)().then((function(i){a.page=t.link,uni.switchTab({url:a.page,fail:function(){uni.navigateTo({url:a.page})}})}))}}};a.default=c},aca1:function(t,a,i){"use strict";i.r(a);var e=i("3450"),n=i("0ae8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("6be2");var s=i("f0c5"),r=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"6eda74a2",null,!1,e["a"],void 0);a["default"]=r.exports},f025:function(t,a,i){var e=i("208c");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("5a19e56b",e,!0,{sourceMap:!1,shadowMode:!1})},f1f8:function(t,a,i){"use strict";i.r(a);var e=i("6c5c"),n=i("fad1");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("fe2e");var s=i("f0c5"),r=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"3a17a103",null,!1,e["a"],void 0);a["default"]=r.exports},fad1:function(t,a,i){"use strict";i.r(a);var e=i("8207"),n=i.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},fe2e:function(t,a,i){"use strict";var e=i("f025"),n=i.n(e);n.a}}]); |