mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-23 19:32:33 +00:00
1 line
60 KiB
JavaScript
1 line
60 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_addcart-order_addcart"],{"0d97":function(t,n,r){"use strict";r.r(n);var e=r("ab68"),i=r.n(e);for(var a in e)"default"!==a&&function(t){r.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},"156c":function(t,n,r){"use strict";r.r(n);var e=r("3ab5"),i=r("5921");for(var a in i)"default"!==a&&function(t){r.d(n,t,(function(){return i[t]}))}(a);r("554b");var o,c=r("f0c5"),s=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,"1918f290",null,!1,e["a"],o);n["default"]=s.exports},"1b2a":function(t,n,r){"use strict";var e=r("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.getProductDetail=a,n.getProductCode=o,n.collectAdd=c,n.collectDel=s,n.postCartAdd=u,n.getCategoryList=d,n.getProductslist=l,n.getHomeProducts=f,n.getProductHot=p,n.collectAll=v,n.getGroomList=h,n.getCollectUserList=g,n.getReplyList=m,n.getReplyConfig=w,n.getSearchKeyword=b,n.storeListApi=C;var i=e(r("0405"));function a(t){return i.default.get("product/detail/"+t,{},{noAuth:!0})}function o(t){return i.default.get("product/code/"+t,{})}function c(t,n){return i.default.post("collect/add",{id:t,product:void 0===n?"product":n})}function s(t,n){return i.default.post("collect/del",{id:t,category:void 0===n?"product":n})}function u(t){return i.default.post("cart/add",t)}function d(){return i.default.get("category",{},{noAuth:!0})}function l(t){return i.default.get("products",t,{noAuth:!0})}function f(t){return i.default.get("home/products",t,{noAuth:!0})}function p(t,n){return i.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===n?4:n},{noAuth:!0})}function v(t,n){return i.default.post("collect/all",{id:t,category:void 0===n?"product":n})}function h(t,n){return i.default.get("groom/list/"+t,n,{noAuth:!0})}function g(t){return i.default.get("collect/user",t)}function m(t,n){return i.default.get("reply/list/"+t,n)}function w(t){return i.default.get("reply/config/"+t)}function b(){return i.default.get("search/keyword",{},{noAuth:!0})}function C(t){return i.default.get("store_list",t)}},"22f2":function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=r("3bc5"),i=r("928f"),a=getApp(),o={name:"tabBar",props:{pagePath:null,dataConfig:{type:Object,default:function(){}}},watch:{dataConfig:{immediate:!0,handler:function(t,n){t&&(this.isShow=t.isShow.val)}}},data:function(){return{name:this.$options.name,page:"/pages/index/index",tabbar:[],isShow:!0,isIframe:a.globalData.isIframe}},created:function(){},mounted:function(){var t=this;(0,e.getDiy)().then((function(n){var r=n.data.tabBar.default.tabBarList.list;t.tabbar=r})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},methods:{changeTab:function(t){var n=this;(0,i.goPage)().then((function(r){n.page=t.link,uni.reLaunch({url:n.page})}))}}};n.default=o},31524:function(t,n,r){t.exports=r.p+"static/img/svip.bbb3b36a.gif"},"343d":function(t,n,r){var e=r("24fb");n=e(!1),n.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.shoppingCart .labelNav[data-v-4874e6fd]{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-4874e6fd]{font-size:%?25?%;margin-right:%?10?%}.shoppingCart .nav[data-v-4874e6fd]{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-4874e6fd]{margin-left:%?12?%}.shoppingCart .nav .administrate[data-v-4874e6fd]{font-size:%?26?%;color:#282828;width:%?110?%;height:%?46?%;border-radius:%?6?%;border:1px solid #868686}.shoppingCart .noCart[data-v-4874e6fd]{margin-top:%?171?%;background-color:#fff;padding-top:%?0.1?%}.shoppingCart .noCart .pictrue[data-v-4874e6fd]{width:%?414?%;height:%?336?%;margin:%?78?% auto %?56?% auto}.shoppingCart .noCart .pictrue uni-image[data-v-4874e6fd]{width:100%;height:100%}.shoppingCart .list[data-v-4874e6fd]{margin-top:%?171?%}.shoppingCart .list .item[data-v-4874e6fd]{padding:%?25?% %?30?%;background-color:#fff;margin-bottom:%?15?%}.shoppingCart .list .item .picTxt[data-v-4874e6fd]{width:%?627?%;position:relative}.shoppingCart .list .item .picTxt .pictrue[data-v-4874e6fd]{width:%?160?%;height:%?160?%}.shoppingCart .list .item .picTxt .pictrue uni-image[data-v-4874e6fd]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .list .item .picTxt .text[data-v-4874e6fd]{width:%?444?%;font-size:%?28?%;color:#282828}.shoppingCart .list .item .picTxt .text .reColor[data-v-4874e6fd]{color:#999}.shoppingCart .list .item .picTxt .text .reElection[data-v-4874e6fd]{margin-top:%?20?%}.shoppingCart .list .item .picTxt .text .reElection .title[data-v-4874e6fd]{font-size:%?24?%}.shoppingCart .list .item .picTxt .text .reElection .reBnt[data-v-4874e6fd]{width:%?120?%;height:%?46?%;border-radius:%?23?%;font-size:%?26?%}.shoppingCart .list .item .picTxt .text .infor[data-v-4874e6fd]{font-size:%?24?%;color:#868686;margin-top:%?16?%}.shoppingCart .list .item .picTxt .text .money[data-v-4874e6fd]{font-size:%?32?%;color:#282828;margin-top:%?28?%}.shoppingCart .list .item .picTxt .carnum[data-v-4874e6fd]{height:%?47?%;position:absolute;bottom:%?7?%;right:0}.shoppingCart .list .item .picTxt .carnum uni-view[data-v-4874e6fd]{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-4874e6fd]{border-right:0;border-radius:%?3?% 0 0 %?3?%}.shoppingCart .list .item .picTxt .carnum .reduce.on[data-v-4874e6fd]{border-color:#e3e3e3;color:#dedede}.shoppingCart .list .item .picTxt .carnum .plus[data-v-4874e6fd]{border-left:0;border-radius:0 %?3?% %?3?% 0}.shoppingCart .list .item .picTxt .carnum .plus.on[data-v-4874e6fd]{border-color:#e3e3e3;color:#dedede}.shoppingCart .list .item .picTxt .carnum .num[data-v-4874e6fd]{color:#282828}.shoppingCart .list .item .picTxt .carnum .num uni-input[data-v-4874e6fd]{padding-bottom:%?4?%}.shoppingCart .invalidGoods[data-v-4874e6fd]{background-color:#fff}.shoppingCart .invalidGoods .goodsNav[data-v-4874e6fd]{width:100%;height:%?66?%;padding:0 %?30?%;box-sizing:border-box;font-size:%?28?%;color:#282828}.shoppingCart .invalidGoods .goodsNav .iconfont[data-v-4874e6fd]{color:#424242;font-size:%?28?%;margin-right:%?17?%}.shoppingCart .invalidGoods .goodsNav .del[data-v-4874e6fd]{font-size:%?26?%;color:#999}.shoppingCart .invalidGoods .goodsNav .del .icon-shanchu1[data-v-4874e6fd]{color:#999;font-size:%?33?%;vertical-align:%?-2?%;margin-right:%?8?%}.shoppingCart .invalidGoods .goodsList .item[data-v-4874e6fd]{padding:%?20?% %?30?%;border-top:%?1?% solid #f5f5f5}.shoppingCart .invalidGoods .goodsList .item .invalid[data-v-4874e6fd]{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-4874e6fd]{width:%?140?%;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .pictrue uni-image[data-v-4874e6fd]{width:100%;height:100%;border-radius:%?6?%}.shoppingCart .invalidGoods .goodsList .item .text[data-v-4874e6fd]{width:%?433?%;font-size:%?28?%;color:#999;height:%?140?%}.shoppingCart .invalidGoods .goodsList .item .text .name[data-v-4874e6fd]{width:100%}.shoppingCart .invalidGoods .goodsList .item .text .infor[data-v-4874e6fd]{font-size:%?24?%}.shoppingCart .invalidGoods .goodsList .item .text .end[data-v-4874e6fd]{font-size:%?26?%;color:#bbb}.shoppingCart .footer[data-v-4874e6fd]{z-index:9;width:100%;height:%?96?%;background-color:#fafafa;position:fixed;padding:0 %?30?%;box-sizing:border-box;border-top:%?1?% solid #eee;bottom:%?98?%;bottom:calc(98rpx+ constant(safe-area-inset-bottom));bottom:calc(%?98?% + env(safe-area-inset-bottom))}.shoppingCart .footer .checkAll[data-v-4874e6fd]{font-size:%?28?%;color:#282828;margin-left:%?16?%}.shoppingCart .footer .money[data-v-4874e6fd]{font-size:%?30?%}.shoppingCart .footer .placeOrder[data-v-4874e6fd]{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-4874e6fd]{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-4874e6fd]{margin-left:%?17?%}.uni-p-b-96[data-v-4874e6fd]{height:%?96?%}',""]),t.exports=n},"344a":function(t,n,r){t.exports=r.p+"static/img/noCart.50b36491.png"},3822:function(t,n,r){"use strict";var e;r.d(n,"b",(function(){return i})),r.d(n,"c",(function(){return a})),r.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[e("v-uni-view",{staticClass:"product-window",class:(!0===t.attr.cartAttr?"on":"")+" "+(t.iSbnt?"join":"")+" "+(t.iScart?"joinCart":"")},[e("v-uni-view",{staticClass:"textpic acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:t.attr.productSelect.image},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.getpreviewImage.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",{staticClass:"line1"},[t._v(t._s(t.attr.productSelect.store_name))]),e("v-uni-view",{staticClass:"money font-color"},[e("v-uni-view",{staticClass:"acea-row row-middle"},[t._v("¥"),e("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),t.is_vip>0&&t.attr.productSelect.vip_price?e("v-uni-text",{staticClass:"vip-money"},[t._v("¥"+t._s(t.attr.productSelect.vip_price))]):t._e(),t.is_vip>0&&t.attr.productSelect.vip_price?e("v-uni-view",{staticClass:"vipImg"},[e("v-uni-image",{attrs:{src:r("31524")}})],1):t._e()],1),t.isShow?e("v-uni-text",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))]):t._e(),t.limitNum?e("v-uni-text",{staticClass:"stock"},[t._v("限量: "+t._s(t.attr.productSelect.quota))]):t._e()],1)],1),e("v-uni-view",{staticClass:"iconfont icon-guanbi",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.closeAttr.apply(void 0,arguments)}}})],1),e("v-uni-view",{staticClass:"rollTop"},[e("v-uni-view",{staticClass:"productWinList"},t._l(t.attr.productAttr,(function(n,r){return e("v-uni-view",{key:r,staticClass:"item"},[e("v-uni-view",{staticClass:"title"},[t._v(t._s(n.attr_name))]),e("v-uni-view",{staticClass:"listn acea-row row-middle"},t._l(n.attr_value,(function(i,a){return e("v-uni-view",{key:a,staticClass:"itemn",class:n.index===i.attr?"on":"",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.tapAttr(r,a)}}},[t._v(t._s(i.attr))])})),1)],1)})),1),e("v-uni-view",{staticClass:"cart acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"title"},[t._v("数量")]),e("v-uni-view",{staticClass:"carnum acea-row row-left"},[e("v-uni-view",{staticClass:"item reduce acea-row row-center-wrapper",class:t.attr.productSelect.cart_num<=1?"on":"",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.CartNumDes.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jian"})],1),e("v-uni-view",{staticClass:"item num acea-row row-middle"},[e("v-uni-input",{attrs:{type:"number","data-name":"productSelect.cart_num"},on:{input:function(n){arguments[0]=n=t.$handleEvent(n),t.bindCode(t.attr.productSelect.cart_num)}},model:{value:t.attr.productSelect.cart_num,callback:function(n){t.$set(t.attr.productSelect,"cart_num",n)},expression:"attr.productSelect.cart_num"}})],1),t.iSplus?e("v-uni-view",{staticClass:"item plus acea-row row-center-wrapper",class:t.attr.productSelect.cart_num>=t.attr.productSelect.stock?"on":"",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.CartNumAdd.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jia"})],1):e("v-uni-view",{staticClass:"item plus",class:t.attr.productSelect.cart_num>=t.attr.productSelect.quota||t.attr.productSelect.cart_num>=t.attr.productSelect.product_stock||t.attr.productSelect.cart_num>=t.attr.productSelect.num?"on":"",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.CartNumAdd.apply(void 0,arguments)}}},[t._v("+")])],1)],1)],1),t.iSbnt&&t.attr.productSelect.product_stock>0&&t.attr.productSelect.quota>0?e("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goCat.apply(void 0,arguments)}}},[t._v("我要参团")]):t.iSbnt&&t.attr.productSelect.quota<=0||t.iSbnt&&t.attr.productSelect.product_stock<=0?e("v-uni-view",{staticClass:"joinBnt on"},[t._v("已售罄")]):t._e(),t.iScart&&t.attr.productSelect.stock?e("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goCat.apply(void 0,arguments)}}},[t._v("确定")]):t.iScart&&!t.attr.productSelect.stock?e("v-uni-view",{staticClass:"joinBnt on"},[t._v("已售罄")]):t._e()],1),e("v-uni-view",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(n){n.preventDefault(),arguments[0]=n=t.$handleEvent(n)},click:function(n){arguments[0]=n=t.$handleEvent(n),t.closeAttr.apply(void 0,arguments)}}})],1)},a=[]},"3ab5":function(t,n,r){"use strict";var e;r.d(n,"b",(function(){return i})),r.d(n,"c",(function(){return a})),r.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",[t.isShow&&t.tabbar.length&&!t.isIframe?r("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(n,e){return r("v-uni-view",{key:e,staticClass:"uni-tabbar_item",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.changeTab(n)}}},[r("v-uni-view",{staticClass:"uni-tabbar_icon"},[n.link==t.pagePath?r("v-uni-image",{attrs:{mode:"aspectFit",src:n.imgList[0]}}):r("v-uni-image",{attrs:{mode:"aspectFit",src:n.imgList[1]}})],1),r("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:n.link==t.pagePath}},[t._v(t._s(n.name))])],1)})),1):t._e(),t.isIframe&&t.tabbar.length?r("v-uni-view",{staticClass:"uni-tabbar acea-row row-around row-middle"},t._l(t.tabbar,(function(n,e){return r("v-uni-view",{key:e,staticClass:"uni-tabbar_item",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.changeTab(n)}}},[r("v-uni-view",{staticClass:"uni-tabbar_icon"},[n.link==t.pagePath?r("v-uni-image",{attrs:{mode:"aspectFit",src:n.imgList[0]}}):r("v-uni-image",{attrs:{mode:"aspectFit",src:n.imgList[1]}})],1),r("v-uni-view",{staticClass:"uni-tabbar_label",class:{active:n.link==t.pagePath}},[t._v(t._s(n.name))])],1)})),1):t._e(),t.isIframe&&!t.tabbar.length?r("v-uni-view",{staticClass:"empty-img uni-tabbar acea-row row-around row-middle"},[t._v("暂无数据,请设置")]):t._e()],1)},a=[]},"3b0c":function(t,n,r){var e=r("343d");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("319501be",e,!0,{sourceMap:!1,shadowMode:!1})},"3bc5":function(t,n,r){"use strict";var e=r("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.getIndexData=a,n.getLogo=o,n.setFormId=c,n.getIndexCoupons=s,n.setCouponReceive=u,n.getCoupons=d,n.getUserCoupons=l,n.getNewCoupon=f,n.getArticleCategoryList=p,n.getArticleList=v,n.getArticleHotList=h,n.getArticleBannerList=g,n.getArticleDetails=m,n.loginMobile=w,n.verifyCode=b,n.registerVerify=C,n.phoneRegister=_,n.phoneRegisterReset=x,n.phoneLogin=S,n.switchH5Login=y,n.bindingPhone=k,n.bindingUserPhone=A,n.logout=$,n.getTemlIds=L,n.pink=I,n.getCity=P,n.getLiveList=T,n.getDiy=z,n.follow=N,n.updatePhone=E,n.getCouponV2=V,n.getCouponNewUser=j,n.category=D,n.searchList=O,n.clearSearch=M,n.siteConfig=G;var i=e(r("0405"));function a(){return i.default.get("v2/index",{},{noAuth:!0})}function o(){return i.default.get("wechat/get_logo",{},{noAuth:!0})}function c(t){return i.default.post("wechat/set_form_id",{formId:t})}function s(t){return i.default.get("coupons",t,{noAuth:!0})}function u(t){return i.default.post("coupon/receive",{couponId:t})}function d(t){return i.default.get("v2/coupons",t,{noAuth:!0})}function l(t,n){return i.default.get("coupons/user/"+t,n)}function f(){return i.default.get("v2/new_coupon")}function p(){return i.default.get("article/category/list",{},{noAuth:!0})}function v(t,n){return i.default.get("article/list/"+t,n,{noAuth:!0})}function h(){return i.default.get("article/hot/list",{},{noAuth:!0})}function g(){return i.default.get("article/banner/list",{},{noAuth:!0})}function m(t){return i.default.get("article/details/"+t,{},{noAuth:!0})}function w(t){return i.default.post("login/mobile",t,{noAuth:!0})}function b(){return i.default.get("verify_code",{},{noAuth:!0})}function C(t,n,r,e){return i.default.post("register/verify",{phone:t,type:void 0===n?"reset":n,key:r,code:e},{noAuth:!0})}function _(t){return i.default.post("register",t,{noAuth:!0})}function x(t){return i.default.post("register/reset",t,{noAuth:!0})}function S(t){return i.default.post("login",t,{noAuth:!0})}function y(){return i.default.post("switch_h5",{from:"wechat"})}function k(t){return i.default.post("binding",t,{noAuth:!0})}function A(t){return i.default.post("user/binding",t)}function $(){return i.default.get("logout")}function L(){return i.default.get("wechat/teml_ids",{},{noAuth:!0})}function I(){return i.default.get("pink",{},{noAuth:!0})}function P(){return i.default.get("city_list",{},{noAuth:!0})}function T(t,n){return i.default.get("wechat/live",{page:t,limit:n},{noAuth:!0})}function z(){return i.default.get("v2/diy/get_diy/moren",{},{noAuth:!0})}function N(){return i.default.get("wechat/follow",{},{noAuth:!0})}function E(t){return i.default.post("user/updatePhone",t,{noAuth:!0})}function V(){return i.default.get("v2/get_today_coupon",{},{noAuth:!0})}function j(){return i.default.get("v2/new_coupon",{},{noAuth:!0})}function D(t){return i.default.get("category",t,{noAuth:!0})}function O(t){return i.default.get("v2/user/search_list",t,{noAuth:!0})}function M(){return i.default.get("v2/user/clean_search")}function G(t){return i.default.get("site_config",t,{noAuth:!0})}},4011:function(t,n,r){var e=r("b5aa");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("58896e5c",e,!0,{sourceMap:!1,shadowMode:!1})},"54e6":function(t,n,r){"use strict";r.r(n);var e=r("a7a9"),i=r.n(e);for(var a in e)"default"!==a&&function(t){r.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},"554b":function(t,n,r){"use strict";var e=r("4011"),i=r.n(e);i.a},"58c3":function(t,n,r){"use strict";r.r(n);var e=r("3822"),i=r("a86f");for(var a in i)"default"!==a&&function(t){r.d(n,t,(function(){return i[t]}))}(a);r("d5f3");var o,c=r("f0c5"),s=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,"6e9a23c2",null,!1,e["a"],o);n["default"]=s.exports},5921:function(t,n,r){"use strict";r.r(n);var e=r("22f2"),i=r.n(e);for(var a in e)"default"!==a&&function(t){r.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},"6cc6":function(t,n,r){var e=r("24fb");n=e(!1),n.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.vip-money[data-v-6e9a23c2]{color:#282828;font-size:%?28?%;font-weight:700;margin-left:%?6?%}.vipImg[data-v-6e9a23c2]{width:%?68?%;height:%?27?%}.vipImg uni-image[data-v-6e9a23c2]{width:100%;height:100%}.product-window[data-v-6e9a23c2]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:100;border-radius:%?16?% %?16?% 0 0;padding-bottom:%?140?%;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);transition:all .3s cubic-bezier(.25,.5,.5,.9);padding-bottom:calc(%?140?% + constant(safe-area-inset-bottom));padding-bottom:calc(%?140?% + env(safe-area-inset-bottom))}.product-window.on[data-v-6e9a23c2]{-webkit-transform:translateZ(0);transform:translateZ(0)}.product-window.join[data-v-6e9a23c2]{padding-bottom:%?30?%}.product-window.joinCart[data-v-6e9a23c2]{padding-bottom:%?30?%;z-index:10000}.product-window .textpic[data-v-6e9a23c2]{padding:0 %?130?% 0 %?30?%;margin-top:%?29?%;position:relative}.product-window .textpic .pictrue[data-v-6e9a23c2]{width:%?150?%;height:%?150?%}.product-window .textpic .pictrue uni-image[data-v-6e9a23c2]{width:100%;height:100%;border-radius:%?10?%}.product-window .textpic .text[data-v-6e9a23c2]{width:%?410?%;font-size:%?32?%;color:#202020}.product-window .textpic .text .money[data-v-6e9a23c2]{font-size:%?24?%;margin-top:%?40?%}.product-window .textpic .text .money .num[data-v-6e9a23c2]{font-size:%?36?%}.product-window .textpic .text .money .stock[data-v-6e9a23c2]{color:#999;margin-left:%?6?%}.product-window .textpic .iconfont[data-v-6e9a23c2]{position:absolute;right:%?30?%;top:%?-5?%;font-size:%?35?%;color:#8a8a8a}.product-window .rollTop[data-v-6e9a23c2]{max-height:%?500?%;overflow:auto;margin-top:%?36?%}.product-window .productWinList .item ~ .item[data-v-6e9a23c2]{margin-top:%?36?%}.product-window .productWinList .item .title[data-v-6e9a23c2]{font-size:%?30?%;color:#999;padding:0 %?30?%}.product-window .productWinList .item .listn[data-v-6e9a23c2]{padding:0 %?30?% 0 %?16?%}.product-window .productWinList .item .listn .itemn[data-v-6e9a23c2]{border:1px solid #f2f2f2;font-size:%?26?%;color:#282828;padding:%?7?% %?33?%;border-radius:%?25?%;margin:%?20?% 0 0 %?14?%;background-color:#f2f2f2}.product-window .productWinList .item .listn .itemn.on[data-v-6e9a23c2]{color:#e93323;background:#fff4f3;border-color:#e93323}.product-window .productWinList .item .listn .itemn.limit[data-v-6e9a23c2]{color:#999;text-decoration:line-through}.product-window .cart[data-v-6e9a23c2]{margin-top:%?36?%;padding:0 %?30?%}.product-window .cart .title[data-v-6e9a23c2]{font-size:%?30?%;color:#999}.product-window .cart .carnum[data-v-6e9a23c2]{height:%?54?%;margin-top:%?24?%}.product-window .cart .carnum .iconfont[data-v-6e9a23c2]{font-size:%?25?%}.product-window .cart .carnum uni-view[data-v-6e9a23c2]{width:%?84?%;text-align:center;height:100%;line-height:%?54?%;color:#282828;font-size:%?45?%}.product-window .cart .carnum .reduce[data-v-6e9a23c2]{border-right:0;border-radius:%?6?% 0 0 %?6?%;line-height:%?48?%;font-size:%?60?%}.product-window .cart .carnum .reduce.on[data-v-6e9a23c2]{color:#dedede}.product-window .cart .carnum .plus[data-v-6e9a23c2]{border-left:0;border-radius:0 %?6?% %?6?% 0;line-height:%?46?%}.product-window .cart .carnum .plus.on[data-v-6e9a23c2]{color:#dedede}.product-window .cart .carnum .num[data-v-6e9a23c2]{background:#f2f2f2;color:#282828;font-size:%?28?%}.product-window .joinBnt[data-v-6e9a23c2]{font-size:%?30?%;width:%?620?%;height:%?86?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto}.product-window .joinBnt.on[data-v-6e9a23c2]{background-color:#bbb;color:#fff}',""]),t.exports=n},"726c":function(t,n,r){"use strict";r.r(n);var e=r("77f3"),i=r("0d97");for(var a in i)"default"!==a&&function(t){r.d(n,t,(function(){return i[t]}))}(a);r("b7f2");var o,c=r("f0c5"),s=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,"0a3c5af6",null,!1,e["a"],o);n["default"]=s.exports},"77f3":function(t,n,r){"use strict";var e;r.d(n,"b",(function(){return i})),r.d(n,"c",(function(){return a})),r.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("v-uni-view",{staticClass:"recommend"},[r("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[r("v-uni-text",{staticClass:"iconfont icon-zhuangshixian"}),r("v-uni-text",{staticClass:"name"},[t._v("热门推荐")]),r("v-uni-text",{staticClass:"iconfont icon-zhuangshixian lefticon"})],1),r("v-uni-view",{staticClass:"recommendList acea-row row-between-wrapper"},t._l(t.hostProduct,(function(n,e){return r("v-uni-view",{key:e,staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.goDetail(n)}}},[r("v-uni-view",{staticClass:"pictrue"},[r("v-uni-image",{attrs:{src:n.image}}),n.activity&&"1"===n.activity.type?r("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("秒杀")]):t._e(),n.activity&&"2"===n.activity.type?r("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("砍价")]):t._e(),n.activity&&"3"===n.activity.type?r("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v("拼团")]):t._e()],1),r("v-uni-view",{staticClass:"name line1"},[t._v(t._s(n.store_name))]),r("v-uni-view",{staticClass:"money font-color"},[t._v("¥"),r("v-uni-text",{staticClass:"num"},[t._v(t._s(n.price))])],1)],1)})),1)],1)},a=[]},"797a":function(t,n,r){var e=r("6cc6");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("0580a28c",e,!0,{sourceMap:!1,shadowMode:!1})},"8e1d":function(t,n,r){"use strict";(function(t){r("a15b"),r("a9e3"),r("ac1f"),r("1276"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={props:{attr:{type:Object,default:function(){}},limitNum:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},iScart:{type:Number,value:0},is_vip:{type:Number,value:0}},data:function(){return{}},mounted:function(){this.attr},methods:{getpreviewImage:function(){uni.previewImage({urls:this.attr.productSelect.image.split(","),current:this.attr.productSelect.image})},goCat:function(){this.$emit("goCat")},bindCode:function(t){this.$emit("iptCartNum",this.attr.productSelect.cart_num)},closeAttr:function(){this.$emit("myevent")},CartNumDes:function(){this.$emit("ChangeCartNum",!1)},CartNumAdd:function(){this.$emit("ChangeCartNum",!0)},tapAttr:function(t,n){var r=this;r.$emit("attrVal",{indexw:t,indexn:n}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[n]);var e=r.getCheckedValue().join(",");r.$emit("ChangeAttr",e)},getCheckedValue:function(){for(var t=this.attr.productAttr,n=[],r=0;r<t.length;r++)for(var e=0;e<t[r].attr_values.length;e++)t[r].index===t[r].attr_values[e]&&n.push(t[r].attr_values[e]);return n}}};n.default=e}).call(this,r("5a52")["default"])},"8ffc":function(t,n,r){"use strict";r.r(n);var e=r("fb47"),i=r("54e6");for(var a in i)"default"!==a&&function(t){r.d(n,t,(function(){return i[t]}))}(a);r("e4f9"),r("f3df");var o,c=r("f0c5"),s=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,"4874e6fd",null,!1,e["a"],o);n["default"]=s.exports},"928f":function(t,n,r){"use strict";r("99af"),r("d3b7"),Object.defineProperty(n,"__esModule",{value:!0}),n.goShopDetail=i,n.goPage=a;var e=getApp();function i(t,n){return new Promise((function(r){t.activity&&"1"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.activity.id,"&time=").concat(t.activity.time,"&status=1")}):t.activity&&"2"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(t.activity.id,"&bargain=").concat(n)}):t.activity&&"3"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_combination_details/index?id=".concat(t.activity.id)}):r(t)}))}function a(){return new Promise((function(t){if(0!=e.globalData.isIframe)return!1;t(!0)}))}},"98ea":function(t,n,r){var e=r("24fb");n=e(!1),n.push([t.i,"\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\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n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/* \t@supports (bottom: constant(safe-area-inset-bottom)) or (bottom: env(safe-area-inset-bottom)){\r\n\t.shoppingCart .footer{\r\n\tbottom: calc(var(--window-bottom) + constant(safe-area-inset-bottom));\r\n\tbottom: calc(var(--window-bottom) + env(safe-area-inset-bottom));\r\n\t}\r\n\t} */",""]),t.exports=n},"9d57":function(t,n,r){var e=r("24fb");n=e(!1),n.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.recommend[data-v-0a3c5af6]{background-color:#fff}.recommend .title[data-v-0a3c5af6]{height:%?135?%;font-size:%?28?%;color:#282828}.recommend .title .name[data-v-0a3c5af6]{margin:0 %?28?%}.recommend .title .iconfont[data-v-0a3c5af6]{font-size:%?170?%;color:#454545}.recommend .title .iconfont.lefticon[data-v-0a3c5af6]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.recommend .recommendList[data-v-0a3c5af6]{padding:0 %?30?%}.recommend .recommendList .item[data-v-0a3c5af6]{width:%?335?%;margin-bottom:%?30?%}.recommend .recommendList .item .pictrue[data-v-0a3c5af6]{position:relative;width:100%;height:%?335?%}.recommend .recommendList .item .pictrue uni-image[data-v-0a3c5af6]{width:100%;height:100%;border-radius:%?20?%}.recommend .recommendList .item .name[data-v-0a3c5af6]{font-size:%?28?%;color:#282828;margin-top:%?20?%}.recommend .recommendList .item .money[data-v-0a3c5af6]{font-size:%?20?%;margin-top:%?8?%}.recommend .recommendList .item .money .num[data-v-0a3c5af6]{font-size:%?28?%}',""]),t.exports=n},a243:function(t,n,r){var e=r("9d57");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("3afd17d3",e,!0,{sourceMap:!1,shadowMode:!1})},a7a9:function(t,n,r){"use strict";(function(t){var e=r("4ea4");r("99af"),r("4de4"),r("a15b"),r("d81d"),r("4e82"),r("a9e3"),r("e25e"),r("ac1f"),r("1276"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i,a=e(r("ade3")),o=r("be17"),c=r("1b2a"),s=r("6dd0"),u=r("2f62"),d=e(r("726c")),l=e(r("58c3")),f=e(r("156c")),p={components:{recommend:d.default,productWindow:l.default,tabBar:f.default},data:function(){return{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:"加载更多",page:1,limit:30,loadingInvalid:!1,loadendInvalid:!1,loadTitleInvalid:"加载更多",pageInvalid:1,limitInvalid:30,attr:{cartAttr:!1,productAttr:[],productSelect:{}},productValue:[],storeInfo:{},attrValue:"",attrTxt:"请选择",cartId:0,product_id:0}},computed:(0,u.mapGetters)(["isLogin"]),onLoad:function(t){var n=this;0==n.isLogin&&(0,s.toLogin)()},onShow:function(){1==this.isLogin&&(this.hotPage=1,this.hostProduct=[],this.hotScroll=!1,this.getHostProduct(),this.loadend=!1,this.page=1,this.cartList.valid=[],this.getCartList(),this.loadendInvalid=!1,this.pageInvalid=1,this.cartList.invalid=[],this.getInvalidList(),this.getCartNum(),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:(i={inputNum:function(t,n){var r=this;setTimeout((function(){t.cart_num=parseInt(t.cart_num)>=t.trueStock?t.trueStock:t.cart_num,t.cart_num=parseInt(t.cart_num)<1||isNaN(parseInt(t.cart_num))?1:t.cart_num,r.setCartNum(t.id,parseInt(t.cart_num),(function(e){r.cartList.valid[n]=t,r.getCartNum(),r.switchSelect()}))}),0)},authColse:function(t){this.isShowAuth=t},reGoCat:function(){var t=this,n=t.productValue[this.attrValue];if(t.attr.productAttr.length&&void 0===n)return t.$util.Tips({title:"产品库存不足,请选择其它"});var r={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,o.getResetCart)(r).then((function(n){t.attr.cartAttr=!1,t.$util.Tips({title:"添加购物车成功",success:function(){t.loadend=!1,t.page=1,t.cartList.valid=[],t.getCartList(),t.getCartNum()}})})).catch((function(n){return t.$util.Tips({title:n.msg})}))},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1)},reElection:function(t){this.getGoodsDetails(t)},getGoodsDetails:function(t){uni.showLoading({title:"加载中",mask:!0});var n=this;n.cartId=t.id,n.product_id=t.product_id,(0,c.getProductDetail)(t.product_id).then((function(t){uni.hideLoading(),n.attr.cartAttr=!0;var r=t.data.storeInfo;n.$set(n,"storeInfo",r),n.$set(n.attr,"productAttr",t.data.productAttr),n.$set(n,"productValue",t.data.productValue),n.DefaultSelect()})).catch((function(t){uni.hideLoading()}))},ChangeAttr:function(t){var n=this.productValue[t];n&&n.stock>0?(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",t),this.$set(this,"attrTxt","已选择")):(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","请选择"))},DefaultSelect:function(){var t=this.attr.productAttr,n=[];for(var r in this.productValue)if(this.productValue[r].stock>0){n=this.attr.productAttr.length?r.split(","):[];break}for(var e=0;e<t.length;e++)this.$set(t[e],"index",n[e]);var i=this.productValue[n.sort().join(",")];i&&t.length?(this.$set(this.attr.productSelect,"store_name",this.storeInfo.store_name),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,"cart_num",1),this.$set(this,"attrValue",n.sort().join(",")),this.$set(this,"attrTxt","已选择")):!i&&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","请选择")):i||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","请选择"))},attrVal:function(t){this.$set(this.attr.productAttr[t.indexw],"index",this.attr.productAttr[t.indexw].attr_values[t.indexn])},ChangeCartNum:function(t){var n=this.productValue[this.attrValue];if(void 0!==n||this.attr.productAttr.length||(n=this.attr.productSelect),void 0!==n){var r=n.stock||0,e=this.attr.productSelect;t?(e.cart_num++,e.cart_num>r&&(this.$set(this.attr.productSelect,"cart_num",r||1),this.$set(this,"cart_num",r||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 n=this,r=n.selectValue;if(!(r.length>0))return n.$util.Tips({title:"请选择产品"});(0,o.cartDel)(r).then((function(t){n.loadend=!1,n.page=1,n.cartList.valid=[],n.getCartList(),n.getCartNum()}))},getSelectValueProductId:function(){var t=this,n=t.cartList.valid,r=t.selectValue,e=[];if(r.length>0)for(var i in n)t.inArray(n[i].id,r)&&e.push(n[i].product_id);return e},subCollect:function(t){var n=this,r=n.selectValue;if(!(r.length>0))return n.$util.Tips({title:"请选择产品"});n.getSelectValueProductId();(0,c.collectAll)(n.getSelectValueProductId().join(",")).then((function(t){return n.$util.Tips({title:t.msg,icon:"success"})})).catch((function(t){return n.$util.Tips({title:t})}))},subOrder:function(t){var n=this,r=n.selectValue;if(!(r.length>0))return n.$util.Tips({title:"请选择产品"});uni.navigateTo({url:"/pages/users/order_confirm/index?cartId="+r.join(",")})},checkboxAllChange:function(t){var n=t.detail.value;n.length>0?this.setAllSelectValue(1):this.setAllSelectValue(0)},setAllSelectValue:function(t){var n=this,r=[],e=n.cartList.valid;if(e.length>0){var i=e.map((function(e){return t?(n.footerswitch?e.attrStatus?(e.checked=!0,r.push(e.id)):e.checked=!1:(e.checked=!0,r.push(e.id)),n.isAllSelect=!0):(e.checked=!1,n.isAllSelect=!1),e}));n.$set(n.cartList,"valid",i),n.selectValue=r,n.switchSelect()}},checkboxChange:function(t){var n=this,r=t.detail.value,e=n.cartList.valid,i=[],a=[],o=[],c=e.map((function(t){return n.inArray(t.id,r)?n.footerswitch?t.attrStatus?(t.checked=!0,i.push(t)):t.checked=!1:(t.checked=!0,i.push(t)):(t.checked=!1,a.push(t)),t}));n.footerswitch&&(o=a.filter((function(t){return!t.attrStatus}))),n.$set(n.cartList,"valid",c),n.isAllSelect=c.length===i.length+o.length,n.selectValue=r,n.selectValue,n.switchSelect()},inArray:function(t,n){for(var r in n)if(n[r]==t)return!0;return!1},switchSelect:function(){var t=this,n=t.cartList.valid,r=t.selectValue,e=0;if(r.length<1)t.selectCountPrice=e;else{for(var i in n)t.inArray(n[i].id,r)&&(e=t.$util.$h.Add(e,t.$util.$h.Mul(n[i].cart_num,n[i].truePrice)));t.selectCountPrice=e}}},(0,a.default)(i,"iptCartNum",(function(t){var n=this.cartList.valid[t];n.cart_num&&this.setCartNum(n.id,n.cart_num),this.switchSelect()})),(0,a.default)(i,"subCart",(function(t){var n=this,r=!1,e=n.cartList.valid[t];e.cart_num=Number(e.cart_num)-1,e.cart_num<1&&(r=!0),e.cart_num<=1?(e.cart_num=1,e.numSub=!0):(e.numSub=!1,e.numAdd=!1),0==r&&n.setCartNum(e.id,e.cart_num,(function(r){n.cartList.valid[t]=e,n.getCartNum(),n.switchSelect()}))})),(0,a.default)(i,"addCart",(function(t){var n=this,r=n.cartList.valid[t];r.cart_num=Number(r.cart_num)+1;var e=r.productInfo;e.hasOwnProperty("attrInfo")&&r.cart_num>=r.productInfo.attrInfo.stock?(r.cart_num=r.productInfo.attrInfo.stock,r.numAdd=!0,r.numSub=!1):(r.numAdd=!1,r.numSub=!1),n.setCartNum(r.id,r.cart_num,(function(e){n.cartList.valid[t]=r,n.getCartNum(),n.switchSelect()}))})),(0,a.default)(i,"setCartNum",(function(t,n,r){(0,o.changeCartNum)(t,n).then((function(t){r&&r(t.data)}))})),(0,a.default)(i,"getCartNum",(function(){var t=this;(0,o.getCartCounts)().then((function(n){t.cartCount=n.data.count}))})),(0,a.default)(i,"getCartList",(function(){var t=this;if(this.loadend)return!1;if(this.loading)return!1;var n={page:t.page,limit:t.limit,status:1};(0,o.getCartList)(n).then((function(n){var r=n.data,e=r.valid,i=e.length<t.limit,a=t.$util.SplitArray(e,t.cartList.valid),o=[];if(a.length>0)for(var c in a){1==a[c].cart_num?a[c].numSub=!0:a[c].numSub=!1;var s=a[c].productInfo;s.hasOwnProperty("attrInfo")&&a[c].cart_num==a[c].productInfo.attrInfo.stock||a[c].cart_num==a[c].productInfo.stock?a[c].numAdd=!0:a[c].numAdd=!1,a[c].attrStatus?(a[c].checked=!0,o.push(a[c].id)):a[c].checked=!1}t.$set(t.cartList,"valid",a),t.loadend=i,t.loadTitle=i?"我也是有底线的":"加载更多",t.page=t.page+1,t.loading=!1,t.selectValue=o;var u=a.filter((function(t){return t.attrStatus}));t.isAllSelect=u.length==o.length&&u.length,t.switchSelect()})).catch((function(){t.loading=!1,t.loadTitle="加载更多"}))})),(0,a.default)(i,"getInvalidList",(function(){var t=this;if(this.loadendInvalid)return!1;if(this.loadingInvalid)return!1;var n={page:t.pageInvalid,limit:t.limitInvalid,status:0};(0,o.getCartList)(n).then((function(n){var r=n.data,e=r.invalid,i=e.length<t.limitInvalid,a=t.$util.SplitArray(e,t.cartList.invalid);t.$set(t.cartList,"invalid",a),t.loadendInvalid=i,t.loadTitleInvalid=i?"我也是有底线的":"加载更多",t.pageInvalid=t.pageInvalid+1,t.loadingInvalid=!1})).catch((function(n){t.loadingInvalid=!1,t.loadTitleInvalid="加载更多"}))})),(0,a.default)(i,"getHostProduct",(function(){var t=this;t.hotScroll||(0,c.getProductHot)(t.hotPage,t.hotLimit).then((function(n){t.hotPage++,t.hotScroll=n.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(n.data)}))})),(0,a.default)(i,"goodsOpen",(function(){var t=this;t.goodsHidden=!t.goodsHidden})),(0,a.default)(i,"manage",(function(){var t=this;t.footerswitch=!t.footerswitch;var n=[],r=[],e=t.cartList.valid.map((function(e){return t.footerswitch?e.attrStatus?e.checked&&n.push(e.id):(e.checked=!1,r.push(e)):e.checked&&n.push(e.id),e}));t.cartList.valid=e,t.footerswitch?t.isAllSelect=e.length===n.length+r.length:t.isAllSelect=e.length===n.length,t.selectValue=n,t.switchSelect()})),(0,a.default)(i,"unsetCart",(function(){for(var t=this,n=[],r=0,e=t.cartList.invalid.length;r<e;r++)n.push(t.cartList.invalid[r].id);(0,o.cartDel)(n).then((function(n){t.$util.Tips({title:"清除成功"}),t.$set(t.cartList,"invalid",[]),t.getCartNum()})).catch((function(t){}))})),i),onReachBottom:function(){var t=this;t.loadend?t.getInvalidList():t.getCartList(),0==t.cartList.valid.length&&0==t.cartList.invalid.length&&t.getHostProduct()}};n.default=p}).call(this,r("5a52")["default"])},a86f:function(t,n,r){"use strict";r.r(n);var e=r("8e1d"),i=r.n(e);for(var a in e)"default"!==a&&function(t){r.d(n,t,(function(){return e[t]}))}(a);n["default"]=i.a},ab68:function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=r("2f62"),i=r("928f"),a={computed:(0,e.mapGetters)(["uid"]),props:{hostProduct:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(t){(0,i.goShopDetail)(t,this.uid).then((function(n){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}))}}};n.default=a},b5aa:function(t,n,r){var e=r("24fb");n=e(!1),n.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/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.borderShow[data-v-1918f290]{position:fixed}.borderShow .uni-tabbar[data-v-1918f290]::after{content:" ";position:absolute;left:0;top:0;width:100%;height:100%;border:1px dashed #007aff;box-sizing:border-box}.uni-tabbar[data-v-1918f290]{position:fixed;bottom:0;left:0;z-index:9999;width:100%;height:%?98?%;height:calc(98rpx+ constant(safe-area-inset-bottom));height:calc(%?98?% + env(safe-area-inset-bottom));padding-bottom:calc(constant(safe-area-inset-bottom));padding-bottom:calc(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)}.uni-tabbar .uni-tabbar_item[data-v-1918f290]{font-size:%?20?%;text-align:center}.uni-tabbar .uni-tabbar_icon[data-v-1918f290]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.uni-tabbar .uni-tabbar_icon uni-image[data-v-1918f290]{width:100%;height:100%}.uni-tabbar .uni-tabbar_label[data-v-1918f290]{font-size:%?24?%;color:#282828}.uni-tabbar .uni-tabbar_label.active[data-v-1918f290]{color:#e93323}',""]),t.exports=n},b7f2:function(t,n,r){"use strict";var e=r("a243"),i=r.n(e);i.a},be17:function(t,n,r){"use strict";var e=r("4ea4");r("a15b"),Object.defineProperty(n,"__esModule",{value:!0}),n.getCartCounts=a,n.getCartList=o,n.getResetCart=c,n.changeCartNum=s,n.cartDel=u,n.getOrderList=d,n.orderProduct=l,n.orderComment=f,n.orderPay=p,n.orderData=v,n.orderCancel=h,n.orderDel=g,n.getOrderDetail=m,n.orderAgain=w,n.orderTake=b,n.express=C,n.ordeRefundReason=_,n.orderRefundVerify=x,n.orderConfirm=S,n.getCouponsOrderPrice=y,n.orderCreate=k,n.postOrderComputed=A,n.orderCoupon=$,n.offlineCheckPrice=L,n.offlineCreate=I,n.orderOfflinePayType=P,n.orderInvoiceList=T,n.orderInvoiceDetail=z,n.aliPay=N;var i=e(r("0405"));function a(t){return i.default.get("cart/count",{numType:void 0===t?0:t})}function o(t){return i.default.get("cart/list",t)}function c(t){return i.default.post("v2/reset_cart",t)}function s(t,n){return i.default.post("cart/num",{id:t,number:n})}function u(t){return"object"===typeof t&&(t=t.join(",")),i.default.post("cart/del",{ids:t})}function d(t){return i.default.get("order/list",t)}function l(t){return i.default.post("order/product",{unique:t})}function f(t){return i.default.post("order/comment",t)}function p(t){return i.default.post("order/pay",t)}function v(){return i.default.get("order/data")}function h(t){return i.default.post("order/cancel",{id:t})}function g(t){return i.default.post("order/del",{uni:t})}function m(t){return i.default.get("order/detail/"+t)}function w(t){return i.default.post("order/again",{uni:t})}function b(t){return i.default.post("order/take",{uni:t})}function C(t){return i.default.get("order/express/"+t)}function _(){return i.default.get("order/refund/reason")}function x(t){return i.default.post("order/refund/verify",t)}function S(t,n){return i.default.post("order/confirm",{cartId:t,new:n})}function y(t,n){return i.default.get("coupons/order/"+t,n)}function k(t,n){return i.default.post("order/create/"+t,n)}function A(t,n){return i.default.post("order/computed/"+t,n)}function $(t){return i.default.post("v2/order/product_coupon/"+t)}function L(t){return i.default.post("order/offline/check/price",t)}function I(t){return i.default.post("order/offline/create",t)}function P(){return i.default.get("order/offline/pay/type")}function T(t){return i.default.get("v2/order/invoice_list",t)}function z(t){return i.default.get("v2/order/invoice_detail/".concat(t))}function N(t,n){return i.default.get("ali_pay",{key:t,quitUrl:n},{noAuth:!0})}},c423:function(t,n,r){var e=r("98ea");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var i=r("4f06").default;i("a2c1804a",e,!0,{sourceMap:!1,shadowMode:!1})},d5f3:function(t,n,r){"use strict";var e=r("797a"),i=r.n(e);i.a},e4f9:function(t,n,r){"use strict";var e=r("3b0c"),i=r.n(e);i.a},f3df:function(t,n,r){"use strict";var e=r("c423"),i=r.n(e);i.a},fb47:function(t,n,r){"use strict";var e;r.d(n,"b",(function(){return i})),r.d(n,"c",(function(){return a})),r.d(n,"a",(function(){return e}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",[e("v-uni-view",{staticClass:"shoppingCart copy-data"},[e("v-uni-view",{staticClass:"labelNav acea-row row-around row-middle"},[e("v-uni-view",{staticClass:"item"},[e("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("100%正品保证")],1),e("v-uni-view",{staticClass:"item"},[e("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("所有商品精挑细选")],1),e("v-uni-view",{staticClass:"item"},[e("v-uni-text",{staticClass:"iconfont icon-xuanzhong"}),t._v("售后无忧")],1)],1),e("v-uni-view",{staticClass:"nav acea-row row-between-wrapper"},[e("v-uni-view",[t._v("购物数量"),e("v-uni-text",{staticClass:"num font-color"},[t._v(t._s(t.cartCount))])],1),t.cartList.valid.length>0||t.cartList.invalid.length>0?e("v-uni-view",{staticClass:"administrate acea-row row-center-wrapper",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.manage.apply(void 0,arguments)}}},[t._v(t._s(t.footerswitch?"管理":"取消"))]):t._e()],1),t.cartList.valid.length>0||t.cartList.invalid.length>0?e("v-uni-view",[e("v-uni-view",{staticClass:"list"},[e("v-uni-checkbox-group",{on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.checkboxChange.apply(void 0,arguments)}}},[t._l(t.cartList.valid,(function(n,r){return[e("v-uni-view",{key:r+"_0",staticClass:"item acea-row row-between-wrapper"},[e("v-uni-checkbox",{attrs:{value:n.id.toString(),checked:n.checked,disabled:!n.attrStatus&&t.footerswitch}}),e("v-uni-navigator",{staticClass:"picTxt acea-row row-between-wrapper",attrs:{url:"/pages/goods_details/index?id="+n.product_id,"hover-class":"none"}},[e("v-uni-view",{staticClass:"pictrue"},[n.productInfo.attrInfo?e("v-uni-image",{attrs:{src:n.productInfo.attrInfo.image}}):e("v-uni-image",{attrs:{src:n.productInfo.image}})],1),e("v-uni-view",{staticClass:"text"},[e("v-uni-view",{staticClass:"line1",class:n.attrStatus?"":"reColor"},[t._v(t._s(n.productInfo.store_name))]),n.productInfo.attrInfo?e("v-uni-view",{staticClass:"infor line1"},[t._v("属性:"+t._s(n.productInfo.attrInfo.suk))]):t._e(),n.attrStatus?e("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(n.truePrice))]):e("v-uni-view",{staticClass:"reElection acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"title"},[t._v("请重新选择商品规格")]),e("v-uni-view",{staticClass:"reBnt cart-color acea-row row-center-wrapper",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.reElection(n)}}},[t._v("重选")])],1)],1),n.attrStatus?e("v-uni-view",{staticClass:"carnum acea-row row-center-wrapper"},[e("v-uni-view",{staticClass:"reduce",class:n.cart_num<=1?"on":"",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.subCart(r)}}},[t._v("-")]),e("v-uni-view",{staticClass:"num"},[e("v-uni-input",{attrs:{type:"number"},on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputNum(n,r)}},model:{value:n.cart_num,callback:function(r){t.$set(n,"cart_num",r)},expression:"item.cart_num"}})],1),e("v-uni-view",{staticClass:"plus",class:n.cart_num>=n.trueStock?"on":"",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.addCart(r)}}},[t._v("+")])],1):t._e()],1)],1)]}))],2)],1),t.cartList.invalid.length>0?e("v-uni-view",{staticClass:"invalidGoods"},[e("v-uni-view",{staticClass:"goodsNav acea-row row-between-wrapper"},[e("v-uni-view",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goodsOpen.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont",class:1==t.goodsHidden?"icon-xiangxia":"icon-xiangshang"}),t._v("失效商品")],1),e("v-uni-view",{staticClass:"del",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.unsetCart.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"iconfont icon-shanchu1"}),t._v("清空")],1)],1),e("v-uni-view",{staticClass:"goodsList",attrs:{hidden:t.goodsHidden}},[t._l(t.cartList.invalid,(function(n,r){return[e("v-uni-view",{key:r+"_0",staticClass:"item acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"invalid"},[t._v("失效")]),e("v-uni-view",{staticClass:"pictrue"},[n.productInfo.attrInfo?e("v-uni-image",{attrs:{src:n.productInfo.attrInfo.image}}):e("v-uni-image",{attrs:{src:n.productInfo.image}})],1),e("v-uni-view",{staticClass:"text acea-row row-column-between"},[e("v-uni-view",{staticClass:"line1 name"},[t._v(t._s(n.productInfo.store_name))]),n.productInfo.attrInfo?e("v-uni-view",{staticClass:"infor line1"},[t._v("属性:"+t._s(n.productInfo.attrInfo.suk))]):t._e(),e("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[e("v-uni-view",{staticClass:"end"},[t._v("该商品已失效")])],1)],1)],1)]}))],2)],1):t._e(),t.cartList.valid.length&&!t.loadend?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):t._e(),t.cartList.invalid.length&&t.loadend?e("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[e("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?e("v-uni-view",{staticClass:"noCart"},[e("v-uni-view",{staticClass:"pictrue"},[e("v-uni-image",{attrs:{src:r("344a")}})],1),e("recommend",{attrs:{hostProduct:t.hostProduct}})],1):t._e(),e("v-uni-view",{staticStyle:{height:"120rpx",color:"#F5F5F5"}}),t.cartList.valid.length>0?e("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[e("v-uni-view",[e("v-uni-checkbox-group",{on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.checkboxAllChange.apply(void 0,arguments)}}},[e("v-uni-checkbox",{attrs:{value:"all",checked:!!t.isAllSelect}}),e("v-uni-text",{staticClass:"checkAll"},[t._v("全选 ("+t._s(t.selectValue.length)+")")])],1)],1),1==t.footerswitch?e("v-uni-view",{staticClass:"money acea-row row-middle"},[e("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(t.selectCountPrice))]),e("v-uni-form",{on:{submit:function(n){arguments[0]=n=t.$handleEvent(n),t.subOrder.apply(void 0,arguments)}}},[e("v-uni-button",{staticClass:"placeOrder bg-color",attrs:{formType:"submit"}},[t._v("立即下单")])],1)],1):e("v-uni-view",{staticClass:"button acea-row row-middle"},[e("v-uni-form",{on:{submit:function(n){arguments[0]=n=t.$handleEvent(n),t.subCollect.apply(void 0,arguments)}}},[e("v-uni-button",{staticClass:"bnt cart-color",attrs:{formType:"submit"}},[t._v("收藏")])],1),e("v-uni-form",{on:{submit:function(n){arguments[0]=n=t.$handleEvent(n),t.subDel.apply(void 0,arguments)}}},[e("v-uni-button",{staticClass:"bnt",attrs:{formType:"submit"}},[t._v("删除")])],1)],1)],1):t._e()],1),e("productWindow",{attrs:{attr:t.attr,isShow:1,iSplus:1,iScart:1,id:"product-window"},on:{myevent:function(n){arguments[0]=n=t.$handleEvent(n),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(n){arguments[0]=n=t.$handleEvent(n),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(n){arguments[0]=n=t.$handleEvent(n),t.ChangeCartNum.apply(void 0,arguments)},attrVal:function(n){arguments[0]=n=t.$handleEvent(n),t.attrVal.apply(void 0,arguments)},iptCartNum:function(n){arguments[0]=n=t.$handleEvent(n),t.iptCartNum.apply(void 0,arguments)},goCat:function(n){arguments[0]=n=t.$handleEvent(n),t.reGoCat.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"uni-p-b-96"}),e("v-uni-view",{staticClass:"uni-p-b-98"}),e("tabBar",{attrs:{pagePath:"/pages/order_addcart/order_addcart"}})],1)},a=[]}}]); |