bztang-admin/addons/yun_shop/static/app/js/chunk-34c14fe0.ccf2c1bb.js

3 lines
62 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-34c14fe0"],{"015e":function(t,e,o){"use strict";o("7c76")},"0c16":function(t,e,o){var a=o("3466");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("499e").default;i("2a26a1de",a,!0,{sourceMap:!1,shadowMode:!1})},"17de":function(t,e,o){var a=o("24fb");e=a(!1),e.push([t.i,'#category[data-v-561c0438]{background:#fff;height:99vh}#category .m_header[data-v-561c0438]{width:100%;height:2.8125rem;padding-right:.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box;background:#fff;line-height:2.8125rem;font-size:18px}#category .m_header span[data-v-561c0438]{display:inline-block;width:1rem;height:1.5rem;float:left;margin-left:.625rem;font-size:30px}#category .m_header i[data-v-561c0438]{font-size:16px;float:right;font-style:normal}#category .search-box[data-v-561c0438]{padding:.375rem 2rem;background:#fff;border-bottom:.0625rem solid #f4f4f4}#category .search-box .search-content[data-v-561c0438]{width:100%;height:4.2vh;line-height:4.2vh;background:#f5f5f5;padding:0 .625rem;text-align:left;border-radius:.875rem;color:#8c8c8c}#category #rootlists[data-v-561c0438]{height:100vh;width:22%;border-right:.0625rem solid #f4f4f4;float:left;background:#fff;margin-top:.25rem}#category #category-content[data-v-561c0438]{float:right;height:100vh;overflow:scroll;width:78%;background:#fff}#category #category-content #carcontent[data-v-561c0438]{word-wrap:break-word;background:#fff}#category .bottom[data-v-561c0438]{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;padding:.9375rem;border-top:.0625rem solid #eaeaea;position:fixed;bottom:0;background:#fff;font-size:18px;text-align:left;line-height:2.5rem}#category .bottom b[data-v-561c0438]{color:#f37385}#category .bottom a[data-v-561c0438]{color:#000}#category .bottom span[data-v-561c0438]{width:8.125rem;text-align:center;height:2.5rem;color:#fff;background:#f15353;float:right;display:inline-block}#category .bottom span a[data-v-561c0438]{font-size:16px;color:#fff}#rootList[data-v-561c0438]{width:101%;background:#fff;font-size:12px}#rootList .active[data-v-561c0438]{background:#fff;color:#000}#rootList .active span[data-v-561c0438]{display:inline-block;border-left:2px solid #fb4a4a;width:100%;line-height:1rem}#rootList li[data-v-561c0438]{padding:.9375rem 0;color:#999;font-size:.75rem}#rootList li span[data-v-561c0438]{border-left:2px solid #fff}#category #category-content[data-v-561c0438],#category #rootlists[data-v-561c0438]{height:92vh}#category .spec_box[data-v-561c0438]{background:#fff;width:20.625rem;height:24.375rem;border-radius:.625rem;padding-bottom:3.4375rem}#category .spec_box h3[data-v-561c0438]{border-radius:.625rem .625rem 0 0;width:100%;background-color:#fff;line-height:2.75rem;border-bottom:.0625rem solid #ebebeb;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:15%;padding-left:5%;text-align:left;position:absolute;top:0}#category .spec_box h3 i[data-v-561c0438]{position:absolute;right:.875rem;line-height:2.75rem;color:#999;font-size:1.125rem}#category .spec_box .spec_a[data-v-561c0438]{margin-top:.625rem;background:#fff;height:17.375rem;overflow-y:scroll;position:absolute;top:2.5rem}#category .spec_box .spec_a h5[data-v-561c0438]{display:block;line-height:2.5rem;text-align:left;padding-left:1.25rem}#category .spec_box .spec_a .option[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0 1.25rem;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#category .spec_box .spec_a .option .cur[data-v-561c0438]{border:.0625rem solid #f15353;background:#faf0f0}#category .spec_box .spec_a .option li[data-v-561c0438]{padding:0 6px;min-height:1.875rem;line-height:1.875rem;margin-right:.625rem;margin-bottom:.625rem;background:#f5f5f5;border:.0625rem solid #ebebeb;border-radius:.1875rem}#category .spec_box .add_car[data-v-561c0438]{width:100%;height:3.4375rem;line-height:3.4375rem;background-color:#fff;border-top:.0625rem solid #ebebeb;position:absolute;bottom:0;border-radius:0 0 .625rem .625rem}#category .spec_box .add_car .car_btn[data-v-561c0438]{-ms-flex-align:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:0 .875rem;height:100%}#category .spec_box .add_car .car_btn[data-v-561c0438],#category .spec_box .add_car .car_btn .left[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}#category .spec_box .add_car .car_btn .left[data-v-561c0438]{color:#f15353;font-size:16px;text-align:left;-webkit-box-flex:0;-webkit-flex:0 0 13rem;-ms-flex:0 0 13rem;flex:0 0 13rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center}#category .spec_box .add_car .car_btn .left .good-price[data-v-561c0438],#category .spec_box .add_car .car_btn .left .vip-price[data-v-561c0438]{width:100%}#category .spec_box .add_car .car_btn .left .good-price[data-v-561c0438]{line-height:1.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#category .spec_box .add_car .car_btn .left .vip-price[data-v-561c0438]{line-height:1rem;font-size:12px;color:#fdbc2e}#category .spec_box .add_car .car_btn .left span[data-v-561c0438]{font-size:12px}#category .spec_box .add_car .car_btn .right span[data-v-561c0438]{display:block;width:5.5625rem;height:1.875rem;line-height:1.875rem;border-radius:1rem;background:#f15353;color:#fff;font-size:14px}#category .spec_box .add_car .car_btn .Box[data-v-561c0438]{position:absolute;bottom:.625rem;right:.625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#category .spec_box .add_car .car_btn .Box i[data-v-561c0438]{width:28px;height:1.75rem;line-height:1.75rem;font-size:26px;color:#f15353}#category .spec_box .add_car .car_btn .Box .icon-store_reduceLine[data-v-561c0438]{color:#aaa}#category .spec_box .add_car .car_btn .Box label[data-v-561c0438]{right:2.1875rem;color:#333;font-size:12px;padding:0;width:1.5rem;height:1.75rem;overflow:hidden;display:inline-block;text-align:center;line-height:1.75rem;vertical-align:top;background-origin:content-box;background-color:transparent}#category #carcontent2[data-v-561c0438]{color:#686868;margin-bottom:3.75rem;margin-top:3%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%}#category #carcontent2 .branch[data-v-561c0438]{margin:0 8px}#category #carcontent2 .branch a[data-v-561c0438]{display:inline-block;height:100%}#category #carcontent2 .branch a img[data-v-561c0438]{border-radius:.5rem;overflow:hidden}#category #carcontent2 .catagoryBox[data-v-561c0438]{position:relative;height:2.8125rem;z-index:999}#category #carcontent2 .catagoryBox .threeTitle[data-v-561c0438]{height:2.5rem;line-height:2.5rem;text-align:left}#category #carcontent2 .catagoryBox dl[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#category #carcontent2 .catagoryBox dl dt[data-v-561c0438]{font-size:.75rem;height:1.125rem;line-height:1.125rem;padding:0 .5rem;border:.0625rem dashed #e5e5e5;border-radius:.25rem;margin-right:.625rem;margin-bottom:.625rem}#category #carcontent2 .catagoryBox dl .addClass[data-v-561c0438]{border:.0625rem dashed #fb4a4a;color:#fb4a4a}#category #carcontent2 .catagoryBox dl .addClass1[data-v-561c0438]{border:none;color:#fff;background:#fb5050;border-radius:.875rem}#category #carcontent2 .catagoryBox dl .removeClass1[data-v-561c0438]{border:none}#category #carcontent2 .catagoryBox dl .more-btn-class[data-v-561c0438]{background:transparent;border:none;color:#fb5050;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#category #carcontent2 .catagoryBox .activetitle[data-v-561c0438]{overflow-x:auto}#category #carcontent2 .catagoryBox .activetitle dl[data-v-561c0438]{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}#category #carcontent2 .catagoryBox .activetitle dl dt[data-v-561c0438]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;margin-bottom:0;height:24px;line-height:24px}#category #carcontent2 .goodsList[data-v-561c0438]{background:#fff;position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#category #carcontent2 .goodsList .coverLayer[data-v-561c0438]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:absolute;top:0;z-index:99}#category #carcontent2 .goodsList .goodWrapper[data-v-561c0438]{height:100%;padding:0 .5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#category #carcontent2 .goodsList .goodWrapper[data-v-561c0438]:after{display:block;background:transparent;content:" ";width:100%;height:3.625rem}#category #carcontent2 .goodsList .space[data-v-561c0438]{width:100%;height:8.625rem;margin-top:.5rem}#category #carcontent2 .goodsList .category_template01[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:.125rem 0;width:100%;border-bottom:.0625rem solid #f2f2f7}#category #carcontent2 .goodsList .category_template01 .img[data-v-561c0438]{width:4.375rem;height:4.375rem;border-radius:.375rem;overflow:hidden}#category #carcontent2 .goodsList .category_template01 .img img[data-v-561c0438]{width:100%}#category #carcontent2 .goodsList .category_template01 .goods-info[data-v-561c0438]{padding-left:.625rem}#category #carcontent2 .goodsList .category_template01 .goods-info .info-class .info_c .select i[data-v-561c0438]{width:1.25rem;height:1.25rem;line-height:1.25rem;font-size:14px}#category #carcontent2 .goodsList .category_template04[data-v-561c0438]{width:49%;background:#fff;margin-top:.625rem;border-radius:.5rem;overflow:hidden}#category #carcontent2 .goodsList .category_template04 .img[data-v-561c0438]{width:100%;height:0;padding-bottom:100%;position:relative}#category #carcontent2 .goodsList .category_template04 .img img[data-v-561c0438]{width:100%;right:0;height:100%;position:absolute}#category #carcontent2 .goodsList .category_template04 .goods-info[data-v-561c0438]{padding:.25rem}#category #carcontent2 .goodsList .category_template04 .goods-info .info-class .info_c .select i[data-v-561c0438]{font-size:10px;width:1rem;height:1rem;line-height:1rem}#category #carcontent2 .goodsList .goods-info[data-v-561c0438]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-align:left}#category #carcontent2 .goodsList .goods-info .info-class .info_a[data-v-561c0438]{margin-bottom:.25rem}#category #carcontent2 .goodsList .goods-info .info-class .info_a .goods-title[data-v-561c0438]{line-height:1rem;font-size:.75rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#000}#category #carcontent2 .goodsList .goods-info .info-class .info_a .goods-label-box[data-v-561c0438]{margin:.5rem 0;max-height:30px;text-align:left;font-size:12px;color:#888;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-all}#category #carcontent2 .goodsList .goods-info .info-class .info_a .goods-label-box .goods-label[data-v-561c0438]{margin-right:6px}#category #carcontent2 .goodsList .goods-info .info-class .info_b[data-v-561c0438]{color:#999;font-size:.625rem}#category #carcontent2 .goodsList .goods-info .info-class .info_c[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;height:1.25rem;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#category #carcontent2 .goodsList .goods-info .info-class .info_c .price[data-v-561c0438]{color:#f15353;font-size:.75rem;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:700;line-height:1.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#category #carcontent2 .goodsList .goods-info .info-class .info_c .price small[data-v-561c0438]{font-size:.625rem}#category #carcontent2 .goodsList .goods-info .info-class .info_c .standard button[data-v-561c0438]{height:1.25rem;width:2.5rem;background-color:#f15353;border:none;border-radius:.75rem;color:#fff}#category #carcontent2 .goodsList .goods-info .info-class .info_c .select[data-v-561c0438]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#category #carcontent2 .goodsList .goods-info .info-class .info_c .select input[data-v-561c0438],#category #carcontent2 .goodsList .goods-info .info-class .info_c .select span[data-v-561c0438]{outline:none;border:none;display:inline-block;width:1.25rem;height:1.25rem;line-height:1.25rem;font-size:14px;text-align:center}#category #carcontent2 .goodsList .goods-info .info-class .info_c .select i[data-v-561c0438]:first-child{background-color:#ccc}#category #carcontent2 .goodsList .goods-info .info-class .info_c .select i[data-v-561c0438]:last-child{background-color:#f15353}#category #carcontent2 .goodsList .goods-info .info-class .info_c .select i[data-v-561c0438]{text-align:center;border-radius:.75rem;color:#fff}#category #carcontent2 .goodsList .goods-info .info-class .info_c .leaseBox[data-v-561c0438]{padding:0 .5rem;background:#f15353;color:#fff;line-height:1.25rem;height:1.25rem;border-radius:1rem;font-size:12px}#category #carcontent2 .goodsList .goods-info .info-class .info_c .leaseBox p[data-v-561c0438]{font-size:.75rem}#category #carcontent2 .goodsList .goods-info .info-class .info_c .optionClass[data-v-561c0438]{position:relative}#category #carcontent2 .goodsList .goods-info .info-class .info_c .optionClass i[data-v-561c0438]{width:1rem;height:1rem;line-height:1rem;font-size:12px;position:absolute;top:-8px;right:-5px;background-color:#ff5d5c!important}.pass_price[data-v-561c0438]{text-align:left;font-size:.625rem;color:#867e7e}',""]),t.exports=e},"1da1":function(t,e,o){"use strict";o.d(e,"a",(function(){return i}));o("d3b7");function a(t,e,o,a,i,s,r){try{var n=t[s](r),c=n.value}catch(l){return void o(l)}n.done?e(c):Promise.resolve(c).then(a,i)}function i(t){return function(){var e=this,o=arguments;return new Promise((function(i,s){var r=t.apply(e,o);function n(t){a(r,i,s,n,c,"next",t)}function c(t){a(r,i,s,n,c,"throw",t)}n(void 0)}))}}},"253a":function(t,e,o){t.exports=o.p+"static/app/img/img_default.a608a24a.png"},3466:function(t,e,o){var a=o("24fb");e=a(!1),e.push([t.i,"#carcontent[data-v-c500aa24]{background:#eee;color:#686868;margin-bottom:3.75rem;margin-top:3%}#carcontent .branch[data-v-c500aa24]{margin:0 3%}#carcontent .parentTitle[data-v-c500aa24]{text-align:left;font-weight:700;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;line-height:.9rem;margin-top:.5rem;margin-left:.5rem;padding-left:.5rem;font-size:.9rem;color:#000;border-left:4px solid #fb4a4a}#carcontent .sote[data-v-c500aa24]{clear:both;overflow:hidden;margin-bottom:.625rem}#carcontent h3[data-v-c500aa24]{text-align:left;font-size:12px;margin-left:3%;margin-bottom:0;padding:.3125rem 0 0;font-weight:700;display:block;clear:both;color:#999}#carcontent h3 a[data-v-c500aa24]{color:#333}#carcontent .fa-bookmark[data-v-c500aa24]:before{margin-right:.375rem}#carcontent a span[data-v-c500aa24]{height:1.875rem;line-height:1.875rem;overflow:hidden;color:#686868;text-overflow:ellipsis;width:100%;display:block;white-space:nowrap;text-align:-webkit-center}#carcontent .branch img[data-v-c500aa24]{width:100%}#carcontent .thumb[data-v-c500aa24]{line-height:22.5vw;width:100%;height:0;padding-bottom:100%;position:relative}#carcontent .thumb[data-v-c500aa24],#carcontent ul[data-v-c500aa24]{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}#carcontent ul[data-v-c500aa24]{width:94%;padding:4% 0 0 4%;margin:0 3% 0;background:#fff;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}#carcontent li[data-v-c500aa24]{width:29%;text-align:center;margin-bottom:.625rem;margin-right:4%;font-size:12px;background:#fff;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}#carcontent li img[data-v-c500aa24]{width:98%;right:0;height:98%;position:absolute}#carcontent li[data-v-c500aa24]:nth-child(3n){margin-right:0}",""]),t.exports=e},"4e00":function(t,e,o){"use strict";o("0c16")},5566:function(t,e,o){var a=o("17de");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("499e").default;i("3824a7a4",a,!0,{sourceMap:!1,shadowMode:!1})},"7c76":function(t,e,o){var a=o("c94a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("499e").default;i("36706fd0",a,!0,{sourceMap:!1,shadowMode:!1})},8798:function(t,e,o){t.exports=o.p+"static/app/img/no-more-product.f4632785.png"},bb0a:function(t,e,o){"use strict";o("e4d4")},c7eb:function(t,e,o){"use strict";o.d(e,"a",(function(){return i}));o("a4d3"),o("e01a"),o("d3b7"),o("d28b"),o("3ca3"),o("ddb0"),o("b636"),o("944a"),o("0c47"),o("23dc"),o("d9e2"),o("3410"),o("159b"),o("b0c0"),o("131a"),o("fb6a");var a=o("53ca");function i(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
i=function(){return t};var t={},e=Object.prototype,o=e.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},r=s.iterator||"@@iterator",n=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function l(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(L){l=function(t,e,o){return t[e]=o}}function d(t,e,o,a){var i=e&&e.prototype instanceof f?e:f,s=Object.create(i.prototype),r=new I(a||[]);return s._invoke=function(t,e,o){var a="suspendedStart";return function(i,s){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===i)throw s;return T()}for(o.method=i,o.arg=s;;){var r=o.delegate;if(r){var n=w(r,o);if(n){if(n===h)continue;return n}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if("suspendedStart"===a)throw a="completed",o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);a="executing";var c=g(t,e,o);if("normal"===c.type){if(a=o.done?"completed":"suspendedYield",c.arg===h)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(a="completed",o.method="throw",o.arg=c.arg)}}}(t,o,r),s}function g(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var h={};function f(){}function p(){}function m(){}var u={};l(u,r,(function(){return this}));var _=Object.getPrototypeOf,v=_&&_(_(S([])));v&&v!==e&&o.call(v,r)&&(u=v);var y=m.prototype=f.prototype=Object.create(u);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function i(s,r,n,c){var l=g(t[s],t,r);if("throw"!==l.type){var d=l.arg,h=d.value;return h&&"object"==Object(a["a"])(h)&&o.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,n,c)}),(function(t){i("throw",t,n,c)})):e.resolve(h).then((function(t){d.value=t,n(d)}),(function(t){return i("throw",t,n,c)}))}c(l.arg)}var s;this._invoke=function(t,o){function a(){return new e((function(e,a){i(t,o,e,a)}))}return s=s?s.then(a,a):a()}}function w(t,e){var o=t.iterator[e.method];if(void 0===o){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,w(t,e),"throw"===e.method))return h;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var a=g(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,h;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function S(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function e(){for(;++a<t.length;)if(o.call(t,a))return e.value=t[a],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return p.prototype=m,l(y,"constructor",m),l(m,"constructor",p),p.displayName=l(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(x.prototype),l(x.prototype,n,(function(){return this})),t.AsyncIterator=x,t.async=function(e,o,a,i,s){void 0===s&&(s=Promise);var r=new x(d(e,o,a,i),s);return t.isGeneratorFunction(o)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},b(y),l(y,c,"Generator"),l(y,r,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var o in t)e.push(o);return e.reverse(),function o(){for(;e.length;){var a=e.pop();if(a in t)return o.value=a,o.done=!1,o}return o.done=!0,o}},t.values=S,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function a(o,a){return r.type="throw",r.arg=t,e.next=o,a&&(e.method="next",e.arg=void 0),!!a}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],r=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var n=o.call(s,"catchLoc"),c=o.call(s,"finallyLoc");if(n&&c){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(n){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(t,e){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var s=i;break}}s&&("break"===t||"continue"===t)&&s.tryLoc<=e&&e<=s.finallyLoc&&(s=null);var r=s?s.completion:{};return r.type=t,r.arg=e,s?(this.method="next",this.next=s.finallyLoc,h):this.complete(r)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),C(o),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var a=o.completion;if("throw"===a.type){var i=a.arg;C(o)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,o){return this.delegate={iterator:S(t),resultName:e,nextLoc:o},"next"===this.method&&(this.arg=void 0),h}},t}},c94a:function(t,e,o){var a=o("24fb");e=a(!1),e.push([t.i,"#category .van-collapse:after{border:none}#category .catagoryBox .van-cell__title{overflow:hidden}#rootlists,.iphoneXStyle #category-content{padding-bottom:24px}#rootlists{overflow:hidden}",""]),t.exports=e},cfd6:function(t,e,o){"use strict";o("5566")},d889:function(t,e,o){var a=o("24fb");e=a(!1),e.push([t.i,"#carcontent[data-v-3c0f6616]{background:#eee;color:#686868}#carcontent .branch[data-v-3c0f6616]{margin:0 3%}#carcontent .sote[data-v-3c0f6616]{clear:both;margin-bottom:.625rem;height:100%}#carcontent h3[data-v-3c0f6616]{text-align:left;font-size:12px;margin-left:3%;margin-bottom:0;padding:.3125rem 0 0;font-weight:700;display:block;clear:both;color:#999}#carcontent h3 a[data-v-3c0f6616]{color:#333}#carcontent .fa-bookmark[data-v-3c0f6616]:before{margin-right:.375rem}#carcontent a span[data-v-3c0f6616]{height:1.875rem;line-height:1.875rem;overflow:hidden;color:#686868;text-overflow:ellipsis;width:100%;display:block;white-space:nowrap;text-align:-webkit-center}#carcontent .branch img[data-v-3c0f6616]{width:100%}#carcontent .thumb[data-v-3c0f6616]{line-height:22.5vw;width:100%;height:0;padding-bottom:100%;position:relative}#carcontent .thumb[data-v-3c0f6616],#carcontent ul[data-v-3c0f6616]{overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box}#carcontent ul[data-v-3c0f6616]{clear:both;width:94%;padding:4% 0 0 4%;margin:3% 3% 0;background:#fff}#carcontent li[data-v-3c0f6616]{width:29%;text-align:center;float:left;margin-bottom:.625rem;margin-right:4%;font-size:12px;background:#fff}#carcontent li img[data-v-3c0f6616]{width:98%;right:0;height:98%;position:absolute}#carcontent li[data-v-3c0f6616]:nth-child(3n){margin-right:0}",""]),t.exports=e},e4d4:function(t,e,o){var a=o("d889");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=o("499e").default;i("6f1ebc5e",a,!0,{sourceMap:!1,shadowMode:!1})},f4ba:function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:[t.fun.isIphoneX()?"iphoneXStyle":""],attrs:{id:"category"}},[a("div",{staticClass:"search-box"},[a("div",{staticClass:"search-content",staticStyle:{height:"4.2vh"},on:{click:t.gotosearch}},[a("i",{staticClass:"iconfont icon-sousuo1"}),t._v(" "+t._s(t.$i18n.t("category.搜索商品"))+" ")])]),t.fun.isTextEmpty(t.list)?t._e():a("div",{ref:"menucontent",style:{overflow:"01"==this.category_template||"04"==t.category_template?"hidden":"scroll"},attrs:{id:"category-content"}},[t.err?a("div",{attrs:{id:"err"}},[t._v(t._s(t.$i18n.t("category.未检测到子分类数据"))+"!")]):t._e(),t.err||"02"!=t.category_template&&"03"!=t.category_template?t._e():a("div",{ref:"goodsWrapper",staticClass:"goodsList",staticStyle:{overflow:"hidden",height:"92vh"}},[a("div",["02"==t.category_template?a("c-carcontent",{attrs:{hide:"true",list:t.contentlist_one}}):t._e(),"03"==t.category_template?a("c-carcontent4",{attrs:{hide:"true",list:t.contentlist_one,parentTitle:t.parentTitle},on:{bindOneCategory:t.bindOneCategory}}):t._e(),a("span",{staticStyle:{display:"inline-block",width:"100%",height:"5rem"},attrs:{id:"loadMore"}})],1)]),t.err||"01"!=t.category_template&&"04"!=t.category_template?t._e():a("div",{attrs:{id:"carcontent2"}},[a("div",{directives:[{name:"show",rawName:"v-show",value:!t.fun.isTextEmpty(t.ADImg),expression:"!fun.isTextEmpty(ADImg)"}],ref:"imgBox",staticClass:"branch"},[a("a",{attrs:{href:t._f("href_filters")(t.ADUrl)}},[a("img",{staticStyle:{width:"100%","max-height":"40vh"},attrs:{src:t.ADImg}})])]),a("div",{staticClass:"catagoryBox"},[a("van-collapse",{attrs:{border:!1},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("van-collapse-item",{attrs:{name:"1"}},[a("div",{staticClass:"activetitle",attrs:{slot:"title"},slot:"title"},[a("dl",{directives:[{name:"show",rawName:"v-show",value:!t.fun.isTextEmpty(t.showTitle),expression:"!fun.isTextEmpty(showTitle)"}]},t._l(t.showTitle,(function(e,o){return a("dt",{key:o,class:e.id==t.secondaryId?"addClass":"removeClass",on:{click:function(o){return o.stopPropagation(),t.clickActive(e)}}},[t._v(t._s(e.name))])})),0),a("span",{directives:[{name:"show",rawName:"v-show",value:t.fun.isTextEmpty(t.showTitle),expression:"fun.isTextEmpty(showTitle)"}]},[t._v(t._s(t.$i18n.t("category.选择分类")))])]),a("div",{staticStyle:{"overflow-y":"scroll","max-height":"32vh"}},[a("dl",[t._l(t.list.recommend,(function(e,o){return a("dt",{key:o,class:e.id==t.secondaryId?"addClass1":"removeClass1",on:{click:function(o){return o.stopPropagation(),t.chooseSecondary(e)}}},[t._v(" "+t._s(e.name)+" ")])})),a("dt",{directives:[{name:"show",rawName:"v-show",value:t.isCategoryMore,expression:"isCategoryMore"}],staticClass:"more-btn-class",on:{click:function(e){return e.stopPropagation(),t.getMoreData_1(0)}}},[t._v("查看更多"),a("i",{staticClass:"iconfont icon-member-bottom"})])],2),"3"!=t.list.set.cat_level||t.fun.isTextEmpty(t.threeInfo)?t._e():[a("p",{staticClass:"threeTitle"},[t._v(t._s(t.$i18n.t("category.三级分类")))]),a("dl",t._l(t.threeInfo,(function(e,o){return a("dt",{key:o,class:e.id==t.threeId?"addClass1":"removeClass1",on:{click:function(o){return t.chooseThree(e.id)}}},[t._v(t._s(e.name))])})),0)]],2),t.fun.isTextEmpty(t.list.recommend)?a("p",[t._v(t._s(t.$i18n.t("category.暂无其他分类")))]):t._e()])],1)],1),a("div",{ref:"goodsWrapper",staticClass:"goodsList",staticStyle:{overflow:"hidden"}},["1"==this.activeName?a("div",{staticClass:"coverLayer",on:{click:t.change}}):t._e(),a("div",[this.fun.isTextEmpty(t.foodInfo)?t._e():a("div",{staticClass:"goodWrapper",style:{backgroundColor:"01"==t.category_template?"#fff":"#f4f4f4"}},[t._l(t.foodInfo,(function(e,o){return a("div",{key:o,staticClass:"list",class:"category_template"+t.category_template,on:{click:function(o){return t.gotoGoods(e.goods_id,e)}}},[a("div",{staticClass:"img"},[a("img",{attrs:{src:e.thumb}})]),a("li",{staticClass:"goods-info"},[a("ul",{staticClass:"info-class"},[a("li",{staticClass:"info_a",staticStyle:{"-webkit-box-orient":"vertical"}},[a("div",{staticClass:"goods-title"},[t._v(t._s(t._f("escapeTitle")(e.title)))]),a("div",{staticClass:"goods-label-box"},t._l(e.label_list,(function(e){return a("span",{key:e.id,staticClass:"goods-label"},[t._v(t._s(e.name))])})),0)]),a("li",{staticClass:"info_b"},[t._v(t._s(t.$i18n.t("category.已售"))+t._s(e.show_sales+e.virtual_sales)+t._s(e.sku))]),a("li",{staticClass:"info_c"},[e.point_goods?[a("span",{staticClass:"price",staticStyle:{color:"#ff9500"}},[a("small",[t._v(t._s(1==e.has_option&&e.point_goods.max_point&&e.point_goods.min_point!=e.point_goods.max_point?e.point_goods.min_point+"-"+e.point_goods.max_point:e.point_goods.min_point))]),a("small",[t._v(t._s(t.integral))])])]:[a("span",{directives:[{name:"show",rawName:"v-show",value:!e.has_option,expression:"!good.has_option"}],staticClass:"price"},[a("small",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(e.vip_level_status&&1==e.vip_level_status.status?e.vip_level_status.word:e.price))]),a("span",{directives:[{name:"show",rawName:"v-show",value:e.has_option&&(!e.vip_level_status||0==e.vip_level_status.status),expression:"good.has_option && (!good.vip_level_status || good.vip_level_status.status == 0)"}],staticClass:"price"},[a("small",[t._v(t._s(t.$i18n.t("money")))]),a("small",[t._v(t._s(e.min_price))])])],e.has_option&&e.vip_level_status&&1==e.vip_level_status.status?a("span",{staticClass:"price"},[a("small",[t._v(t._s(t.$i18n.t("money")))]),t._v(" "+t._s(e.vip_level_status.word)+" ")]):t._e(),"04"!=t.category_template&&1!=e.is_special?[1!=e.has_option&&40!=e.plugin_id?a("div",{staticClass:"select"},[a("transition",{attrs:{name:"fade"}},[t.goodsCarts[e.id]?a("i",{staticClass:"iconfont icon-life-game-sign",on:{click:function(o){return o.stopPropagation(),t.numberLeft(e.id)}}}):t._e()]),t.goodsCarts[e.id]&&!t.goodsCarts[e.id].option_str?a("input",{directives:[{name:"model",rawName:"v-model.lazy",value:t.goodsCartsTotal[e.id].total,expression:"goodsCartsTotal[good.id].total",modifiers:{lazy:!0}}],attrs:{type:"tel",title:"number"},domProps:{value:t.goodsCartsTotal[e.id].total},on:{click:function(t){t.stopPropagation()},focus:function(o){return t.clickCount(t.goodsCartsTotal[e.id].total)},blur:function(o){return t.changeCount(t.goodsCarts[e.id].id,t.goodsCartsTotal[e.id].total,0,e)},change:function(o){return t.$set(t.goodsCartsTotal[e.id],"total",o.target.value)}}}):t._e(),t.goodsCarts[e.id]&&t.goodsCarts[e.id].option_str?a("span",{on:{click:function(t){t.stopPropagation()}}},[t._v(t._s(t.goodsCartsTotal[e.id].total))]):t._e(),a("i",{staticClass:"iconfont icon-life-game-plus",on:{click:function(o){return o.stopPropagation(),t.numberRight(e.id,e.stock,e)}}})],1):t._e(),1==e.has_option&&40!=e.plugin_id&&140!=e.plugin_id?a("div",{staticClass:"select optionClass leaseBox"},[a("p",{on:{click:function(o){return o.stopPropagation(),t.addGood(e)}}},[t._v(t._s(t.$i18n.t("category.选规格")))]),t.fun.isTextEmpty(t.goodsCartsTotal[e.id])?t._e():a("i",[t._v(t._s(t.goodsCartsTotal[e.id].total))])]):t._e(),40==e.plugin_id?a("span",{staticClass:"select leaseBox"},[t._v(" "+t._s(t.$i18n.t("category.去租赁"))+" ")]):t._e()]:t._e(),"04"==t.category_template?[t._m(0,!0)]:t._e()],2),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.is_open_micro,expression:"good.is_open_micro == 1"}],staticClass:"price",staticStyle:{"font-size":"0.75rem"}},[t._v(" "+t._s(t.vip_price_txt)+":"+t._s(t.$i18n.t("money"))+t._s(1==e.price_level?e.vip_price:e.vip_next_price)+" ")]),e.pass_price?a("div",{staticClass:"pass_price"},[t._v(" "+t._s(e.pass_price.name)+":"+t._s(e.pass_price.price)+" ")]):t._e()])])])})),a("div",{staticClass:"space"},[t._v(t._s(t.LoadMoreTest))])],2),this.fun.isTextEmpty(t.foodInfo)?a("div",[a("img",{staticStyle:{width:"5rem","margin-top":"6rem"},attrs:{src:o("8798"),alt:""}})]):t._e(),a("span",{staticStyle:{display:"inline-block",width:"100%",height:"5rem"},attrs:{id:"loadMore"}})])])])]),a("div",{ref:"menu",attrs:{id:"rootlists"}},[t.onelist?a("ul",{attrs:{id:"rootList"}},["0"==t.brandShow?a("li",{on:{click:t.bpfun}},[a("span",[t._v(t._s(t.$i18n.t("category.推荐品牌")))])]):t._e(),"0"==t.categoryShow?a("li",{class:{active:t.active2},on:{click:t.allList}},[a("span",[t._v(t._s(t.$i18n.t("category.推荐分类")))])]):t._e(),t._l(t.onelist,(function(e,o){return a("li",{key:o,class:{active:t.active==o},on:{click:function(a){return t.tabsa(o,e)}}},[a("span",[t._v(t._s(e.name))])])})),a("div",{staticStyle:{height:"3.125rem"}})],2):t._e()]),a("van-popup",{attrs:{round:"",position:"center"},model:{value:t.show2,callback:function(e){t.show2=e},expression:"show2"}},[a("div",{staticClass:"spec_box q5",style:{width:3==t.fun.getPhoneEnv()?"375px":""}},[a("h3",[t._v(" "+t._s(t.popTitle)+" "),a("i",{staticClass:"iconfont icon-close11",on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}})]),a("div",{staticStyle:{height:"2.5rem"}}),a("div",{staticClass:"spec_a"},t._l(t.goodsInfo.has_many_specs,(function(e,o){return a("div",{key:o},[a("h5",[t._v(t._s(e.title)+"")]),a("ul",{staticClass:"option"},t._l(e.has_many_specs_item,(function(e,o){return a("li",{key:o,class:t.specid.indexOf(e.id)>=0?"cur":"",on:{click:function(o){return o.stopPropagation(),t.selectSpecs(e,e.id)}}},[t._v(" "+t._s(e.title)+" ")])})),0)])})),0),a("div",{staticStyle:{height:"3.4375rem"}}),a("div",{staticClass:"add_car"},[a("ul",{staticClass:"car_btn"},[t.goodsInfo.point_goods?a("li",{staticClass:"left"},[t._v(" "+t._s(t.popPrice)),a("span",[t._v(t._s(t.integral))])]):a("li",{staticClass:"left"},[a("div",{staticClass:"good-price"},[a("span",[t._v(t._s(t.$i18n.t("money")))]),t._v(t._s(t.popPrice)+" ")]),t.isMultiSpecs?a("div",{staticClass:"vip-price"},[a("van-loading",{directives:[{name:"show",rawName:"v-show",value:0==t.specsVIPPrc,expression:"specsVIPPrc == 0"}],staticClass:"m-l-w6",attrs:{size:"16",color:"#fdbc2e"}}),a("span",{directives:[{name:"show",rawName:"v-show",value:t.specsVIPPrc,expression:"specsVIPPrc"}],staticClass:"m-l-w6"},[t._v(" "+t._s(t.vip_price_txt)+": "+t._s(t.$i18n.t("money"))+t._s(t.specsVIPPrc)+" ")])],1):t._e()]),a("li",{staticClass:"right"},[a("span",{directives:[{name:"show",rawName:"v-show",value:!t.popNum&&t.popStock>=1,expression:"!popNum && popStock >= 1"}],on:{click:function(e){return e.stopPropagation(),t.submitAction.apply(null,arguments)}}},[t._v(t._s(t.$i18n.t("category.加入购物车")))]),a("span",{directives:[{name:"show",rawName:"v-show",value:t.popStock<=0,expression:"popStock <= 0"}],staticStyle:{background:"#999"}},[t._v("库存不足")])]),a("div",{directives:[{name:"show",rawName:"v-show",value:t.popNum>=1,expression:"popNum >= 1"}],staticClass:"Box"},[a("i",{staticClass:"iconfont icon-store_reduceLine",on:{click:function(e){return e.stopPropagation(),t.changeCount(t.popCard.id,t.popNum-1,-1)}}}),a("label",{staticClass:"show"},[t._v(t._s(t.popNum))]),a("i",{staticClass:"iconfont icon-store_plus",on:{click:function(e){return e.stopPropagation(),t.changeCount(t.popCard.id,t.popNum+1,1)}}})])])])])]),a("div",{staticStyle:{height:"2.8125rem"}})],1)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"select"},[o("i",{staticClass:"iconfont icon-life-game-plus"})])}],s=o("c7eb"),r=o("1da1"),n=o("2909"),c=(o("e7e5"),o("d399")),l=o("5530"),d=(o("b0c0"),o("99af"),o("a9e3"),o("d3b7"),o("159b"),o("4e82"),o("ac1f"),o("1276"),o("a434"),o("6968")),g=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"carcontent"}},[t.list.goo&&t.list.set.cat_adv_img?a("div",{staticClass:"branch"},[a("a",{attrs:{href:t._f("href_filters")(t.list.set.cat_adv_url)}},[a("img",{attrs:{src:t.list.set.cat_adv_img}})])]):t._e(),t.list.goo?a("div",{staticClass:"sote"},[a("ul",t._l(t.list,(function(e,i){return a("li",{key:i},[a("div",{on:{click:function(o){return t.gotoDetails(e.id,1)}}},[e.thumb?a("div",{staticClass:"thumb"},[a("img",{attrs:{src:e.thumb}})]):t._e(),e.thumb?t._e():a("div",{staticClass:"thumb"},[a("img",{attrs:{src:o("253a")}})]),a("span",[t._v(t._s(e.name))])])])})),0)]):t._e(),t._l(t.list.data,(function(e){return a("div",{directives:[{name:"show",rawName:"v-show",value:3==t.list.set.cat_level,expression:"list.set.cat_level == 3"}],key:e.id,staticStyle:{"margin-top":"1rem"}},[e.adv_img?a("div",{staticClass:"branch"},[a("a",{attrs:{href:t._f("href_filters")(e.adv_url)}},[a("img",{attrs:{src:e.adv_img}})])]):t._e(),t.list.data?a("div",{staticClass:"sote"},[e.name?a("h3",{},[a("router-link",{attrs:{to:t.fun.getUrl("catelist",{id:e.id,fromHome:1})}},[t._v(t._s(e.name))])],1):t._e(),e.has_many_children&&e.has_many_children.length>0?a("ul",t._l(e.has_many_children,(function(e){return a("li",{key:e.id},[a("router-link",{attrs:{to:t.fun.getUrl("search",{id:e.id,fromHome:1})}},[e.thumb?a("div",{staticClass:"thumb"},[a("img",{attrs:{src:e.thumb}})]):t._e(),e.thumb?t._e():a("div",{staticClass:"thumb"},[a("img",{attrs:{src:o("253a")}})]),a("span",[t._v(t._s(e.name))])])],1)})),0):t._e()]):t._e()])})),t.list.goo?t._e():[t.list.set?[2==t.list.set.cat_level&&t.$store.state.category.adv_img?a("div",{staticClass:"branch",staticStyle:{"margin-top":"1rem"}},[a("a",{attrs:{href:t._f("href_filters")(t.$store.state.category.adv_url)}},[a("img",{attrs:{src:t.$store.state.category.adv_img}})])]):t._e(),2==t.list.set.cat_level?a("div",{staticClass:"sote"},[a("ul",t._l(t.list.data,(function(e,i){return a("li",{key:i},[a("router-link",{attrs:{to:t.fun.getUrl("search",{id:e.id,fromHome:1})}},[e.thumb?a("div",{staticClass:"thumb"},[a("img",{attrs:{src:e.thumb}})]):t._e(),e.thumb?t._e():a("div",{staticClass:"thumb"},[a("img",{attrs:{src:o("253a")}})]),a("span",[t._v(t._s(e.name))])])],1)})),0)]):t._e()]:t._e()],this.fun.isTextEmpty(t.list.data)?a("div",[a("img",{staticStyle:{width:"5rem","margin-top":"6rem"},attrs:{src:o("8798"),alt:""}})]):t._e()],2)},h=[],f={props:["list"],data:function(){return{allLoaded:!1,topStatus:"",advimg:window.localStorage.adv_img}},activated:function(){},created:function(){window.list=this.list},methods:{gotoDetails:function(t,e){this.$router.push(this.fun.getUrl("search",{id:t,fromHome:e}))}}},p=f,m=(o("bb0a"),o("2877")),u=Object(m["a"])(p,g,h,!1,null,"3c0f6616",null),_=u.exports,v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"carcontent"}},[t.list.goo&&t.list.set.cat_adv_img?a("div",{staticClass:"branch"},[a("a",{attrs:{href:t._f("href_filters")(t.list.set.cat_adv_url)}},[a("img",{attrs:{src:t.list.set.cat_adv_img}})]),a("div",{staticClass:"parentTitle"},[t._v(" "+t._s(t.parentTitle)+" ")])]):t._e(),t.list.goo?a("div",{staticClass:"sote"},[a("ul",t._l(t.list,(function(e,i){return a("li",{key:i},[a("div",{on:{click:function(o){return t.gotoDetails(e,1)}}},[e.thumb?a("div",{staticClass:"thumb"},[a("img",{attrs:{src:e.thumb}})]):t._e(),e.thumb?t._e():a("div",{staticClass:"thumb"},[a("img",{attrs:{src:o("253a")}})]),a("span",[t._v(t._s(e.name))])])])})),0)]):t._e(),a("div",[t.list.data?a("div",{staticClass:"sote"},[t.list.top_img?a("div",{staticClass:"branch"},[a("a",{attrs:{href:t._f("href_filters")(t.list.adv_url)}},[a("img",{attrs:{src:t.list.top_img}})])]):t._e(),a("div",{staticClass:"parentTitle"},[t._v(" "+t._s(t.parentTitle)+" ")]),a("ul",t._l(t.list.data,(function(e){return a("li",{key:e.id},[a("div",{on:{click:function(o){return t.gotoDetails(e,1)}}},[e.thumb?a("div",{staticClass:"thumb"},[a("img",{attrs:{src:e.thumb}})]):t._e(),e.thumb?t._e():a("div",{staticClass:"thumb"},[a("img",{attrs:{src:o("253a")}})]),a("span",[t._v(t._s(e.name))])])])})),0)]):t._e()]),(t.list.goo,t._e()),this.fun.isTextEmpty(t.list.data)?a("div",[a("img",{staticStyle:{width:"5rem","margin-top":"6rem"},attrs:{src:o("8798"),alt:""}})]):t._e()],2)},y=[],b=o("49af"),x={props:["list","parentTitle"],data:function(){return{toi:b["a"].getKey("i"),types:b["a"].getTyep(),allLoaded:!1,topStatus:"",advimg:window.localStorage.adv_img}},activated:function(){},created:function(){window.list=this.list},methods:{gotoDetails:function(t,e){if(1!=t.level)return 2==this.list.set.cat_level?(this.$router.push(this.fun.getUrl("search",{id:t.id,fromHome:e})),!1):void(3==this.list.set.cat_level&&this.$router.push(this.fun.getUrl("category_child",{id:t.id,fromHome:e})));this.$emit("bindOneCategory",t)}}},w=x,k=(o("4e00"),Object(m["a"])(w,v,y,!1,null,"c500aa24",null)),C=k.exports,I=o("1fba"),S=o("5880"),T=[],L="",$=1,P=null,N={home:"goods.category.category-home",children:"goods.category.get-children-category",goods:"goods.category.get-goods-list-by-category-id"},M={data:function(){return{integral:window.localStorage.getItem("integral")||"积分",debounce_timer:null,brandShow:"",categoryShow:"",active:9999,active2:!0,allLoaded:!1,topStatus:"",err:"",turl:"/category",arg:{index:10,item:"pinch"},parentTitle:this.$i18n.t("推荐分类"),onelist:[],contentlist:{},contentlist_one:{},category_template:"01",cartInfo:{},list:[],goodsInfo:{},advimg:window.localStorage.adv_img,carts:[],cartIDs:[],specid:"",goodsCarts:[],goodsCartsTotal:[],activeName:[],secondaryId:"",threeId:"",threeInfo:[],show2:!1,showTitle:"",titleInfo:{},foodInfo:[],popTitle:"",popPrice:"",popNum:0,popStock:"",page:1,isLoadMore:!1,total_page:0,activatId:"",LoadMoreTest:"",scrollMargin:0,isGetCart:!0,ADImg:"",ADUrl:"",isRecommend:!0,isCategoryMore:!1,isCategory_total_page:0,isCategoryPage:1,main_category_page:1,main_category_total:0,isSelfPickCategory:!1,deliverId:0,isMultiSpecs:!1,specsVIPPrc:null}},computed:Object(l["a"])(Object(l["a"])({},Object(S["mapState"])(["category","blurst"])),{},{zoneId:function(){return""==this.$store.state.zoneId&&this.$store.commit("setZoneId",window.localStorage.getItem("zoneId")),this.$store.state.zoneId},vip_price_txt:function(){return this.$store.state.shopLanguage.goods&&this.$store.state.shopLanguage.goods.vip_price||"会员价"}}),beforeRouteEnter:function(t,e,o){"goods"!==e.name&&"grab_group"!==e.name&&"newRetailSalesGood"!==e.name||toGoodListIOS&&toGoodListIOS({body:"toGoodListIOS"}),o()},methods:{clickActive:function(t){this.foodScroll.scrollTo(0,0),this.chooseSecondary(t)},allList:function(){this.parentTitle=this.$i18n.t("category.推荐分类"),this.active2=!0,this.active=9999,this.getCategoryNew()},tabsa:function(t,e){this.parentTitle=e.name+"分类",this.$store.commit("setAdvimg",e),this.active=t,this.active2=!1,this.getContentlist(e.id),"01"!=this.category_template&&"04"!=this.category_template||this.getData(e.id)},bpfun:function(){this.$router.push(this.fun.getUrl("brand"))},debounce:function(){this.debounce_timer&&clearTimeout(this.debounce_timer);var t=this;this.debounce_timer=setTimeout((function(){t.setScorll()}),800)},setScorll:function(){var t=this;if(t.$refs.goodsWrapper){t.foodScroll?t.foodScroll.refresh():t.foodScroll=new I["a"](t.$refs.goodsWrapper,{click:!0,scrollY:!0,probeType:3,swipeBounceTime:500,useTransition:!1,mouseWheel:!0});var e=document.getElementById("loadMore");t.foodScroll.on("scroll",(function(o){e.offsetTop>t.$refs.goodsWrapper.offsetHeight&&e.offsetTop+o.y<t.$refs.goodsWrapper.offsetHeight&&t.isLoadMore&&(t.getMoreData_1(1),setTimeout((function(){t.foodScroll.refresh()}),800))}))}},getMoreData_1:function(t){this.isLoadMore=!1,this.isCategoryMore=!1;var e=this;1==t&&e.page>=e.total_page||0==t&&e.isCategoryPage>=e.isCategory_total_page?Object(c["a"])("没有更多"):(1==t?e.page+=1:e.isCategoryPage+=1,$http.get(N.children,{parent_id:this.activatId,as_id:this.zoneId,page:1==t?e.page:e.isCategoryPage},"").then((function(o){if(1==o.result){var a=o.data.data;if(1==t)return e.isLoadMore=!0,e.contentlist_one.data=e.contentlist_one.data.concat(a),e.contentlist_one;e.isCategoryMore=!(e.isCategoryPage>=e.isCategory_total_page);var i=e.list.recommend.concat(a);e.$delete(e.list,"recommend"),e.$set(e.list,"recommend",i)}else 1==t?(e.page=e.page-1,e.isLoadMore=!1):(e.isCategoryPage=e.isCategoryPage-1,e.isCategoryMore=!1)})).catch((function(t){})))},getContentlist:function(t){var e=this,o=this;this.activatId=t;var a={parent_id:t,as_id:this.zoneId};$http.get(N.children,a,"").then((function(t){1==t.result?(o.isRecommend=!1,o.err=!1,o.contentlist_one.category_template=o.category_template,o.contentlist.top_img=t.data.top_img,"01"==o.category_template||"04"==o.category_template?(o.contentlist.recommend=t.data.data,o.contentlist.set=t.data.set,o.contentlist.member_cart=e.cartInfo,o.list=e.contentlist,o.ADImg=o.$store.state.category.adv_img,o.ADUrl=o.$store.state.category.adv_url,o.setCatagory(e.contentlist),o.total_page=t.data.goods_list.last_page,o.isCategory_total_page=t.data.last_page,o.isCategory_total_page>1?o.isCategoryMore=!0:o.isCategoryMore=!1,o.isCategoryPage=1):(o.total_page=t.data.last_page,o.contentlist_one=t.data,o.contentlist_one.tjfl=!1,o.contentlist_one.set=t.data.set,o.list=e.contentlist_one,o.foodScroll&&o.foodScroll.scrollTo(0,0),o.$nextTick((function(){o.debounce()}))),o.page=1,o.total_page||(o.total_page=0),o.page<o.total_page?o.LoadMoreTest="加载更多":o.LoadMoreTest="没有更多",o.isLoadMore=!0):o.err=!0}))},getMoreCategoryNew:function(){var t=this;this.main_category_page++,$http.get(N.home,{page:this.main_category_page},"loading").then((function(e){1===e.result&&(t.main_category_total=e.data.category.last_page,t.onelist=t.onelist.concat(e.data.category.data),t.$nextTick((function(){t.meunScroll.finishPullUp(),t.meunScroll.refresh()})))}))},getCategoryNew:function(){var t=this,e=this,o={as_id:this.zoneId};$http.get(N.home,o,"loading").then((function(o){1===o.result?(e.category_template=o.data.category_template.names,1!==t.$store.state.temp.item.is_decorate||t.isSelfPickCategory||(0!=t.$store.state.temp.item.ViewSet.category.is_default?e.category_template=t.$store.state.temp.item.ViewSet.category.code.substring(8):e.category_template="01"),e.page=1,e.isLoadMore=!0,e.total_page=o.data.goods_list.last_page,e.total_page||(e.total_page=0),e.page<e.total_page?e.LoadMoreTest="加载更多":e.LoadMoreTest="没有更多",e.isRecommend=!0,e.onelist=o.data.category.data,t.main_category_total=o.data.category.last_page,t.err=!1,o.data.recommend.goo=!0,t.cartInfo=o.data.member_cart,t.foodInfo=o.data.goods_list.data,"01"==e.category_template||"04"==e.category_template?(o.data.set.cat_brand&&o.data.set.cat_brand.length>0&&(t.brandShow=o.data.set.cat_brand),o.data.set.cat_class&&o.data.set.cat_class.length>0&&(t.categoryShow=o.data.set.cat_class,"0"!=t.categoryShow&&e.onelist.length>0&&t.tabsa(0,e.onelist[0])),"0"==t.categoryShow&&(t.contentlist.recommend=o.data.recommend,t.contentlist.set=o.data.set,t.contentlist.member_cart=o.data.member_cart,t.list=t.contentlist,t.ADImg=o.data.set.cat_adv_img,t.ADUrl=o.data.set.cat_adv_url,t.setCatagory(t.contentlist)),t.$nextTick((function(){t._initScroll()}))):("02"==e.category_template&&t.$nextTick((function(){t._initScroll()})),o.data.set.cat_brand&&o.data.set.cat_brand.length>0&&(t.brandShow=o.data.set.cat_brand),o.data.set.cat_class&&o.data.set.cat_class.length>0&&(t.categoryShow=o.data.set.cat_class,"0"!=t.categoryShow&&e.onelist.length>0&&t.tabsa(0,e.onelist[0])),"0"==t.categoryShow&&(t.contentlist_one=o.data.recommend,t.contentlist_one.tjfl=!0,t.contentlist_one.set=o.data.set,t.list=t.contentlist_one),t.isLoadMore=!1,t.foodScroll&&t.foodScroll.scrollTo(0,0),t.$nextTick((function(){e.debounce()})))):t.err=!0}))},getMoreData:function(){this.isLoadMore=!1;var t=this;t.page>=t.total_page?t.LoadMoreTest="没有更多":(t.page+=1,$http.get(N.goods,{goods_page:t.page,category_id:t.activatId},"").then((function(e){if(t.isLoadMore=!0,1==e.result){var o=e.data.data;return t.foodInfo=t.foodInfo.concat(o),t.foodInfo}return t.page=t.page-1,void(t.isLoadMore=!1)})).catch((function(t){})))},_initScroll:function(){var t=this;this.meunScroll?this.meunScroll.refresh():(this.meunScroll=new I["a"](this.$refs.menu,{click:!0,pullUpLoad:!0}),this.meunScroll.on("pullingUp",(function(){t.main_category_page<t.main_category_total&&t.getMoreCategoryNew(),setTimeout((function(){t.meunScroll.finishPullUp()}),2e3)})))},numberLeft:function(t){this.goodsCartsTotal[t].total=Number(this.goodsCartsTotal[t].total)-1,this.goodsCartsTotal[t].total<=0?this.destroyData(this.goodsCarts[t].id):this.changeCount(this.goodsCarts[t].id,this.goodsCartsTotal[t].total)},numberRight:function(t,e,o){var a=this;if(o.vip_level_status&&1==o.vip_level_status.status)return Object(c["a"])(o.vip_level_status.tips),!1;0!=e?!this.fun.isTextEmpty(this.goodsCartsTotal[t])&&this.goodsCartsTotal[t].total>=e?Object(c["a"])("库存不足"):$http.get("member.member-cart.store",{goods_id:t,total:1},"").then((function(e){1===e.result?(a.fun.isTextEmpty(a.goodsCartsTotal[t])||(a.goodsCartsTotal[t].total=Number(a.goodsCartsTotal[t].total)+1),a.$store.commit("setCartNum",e.data.cart_num),a.updateData()):Object(c["a"])(e.msg)}),(function(t){})):Object(c["a"])("库存不足")},clickCount:function(t){P=t},changeCount:function(t,e,o,a){var i=this;if(e<=0)this.destroyData(t);else if(this.fun.isTextEmpty(a)&&e-1>=$)Object(c["a"])("库存不足");else{if(!this.fun.isTextEmpty(a)&&e>=a.stock)return this.$set(i.goodsCartsTotal[a.id],"total",P),void Object(c["a"])("该商品最多购买数量为".concat(a.stock));var s={id:t,num:e};$http.get("member.member-cart.updateNumV2",s,"").then((function(t){if(1===t.result){if(i.updateData(),!i.fun.isTextEmpty(o))switch(o){case-1:i.popNum=i.popNum-1;break;case 1:i.popNum=i.popNum+1;break;default:}}else Object(c["a"])(t.msg)}),(function(t){}))}},updateData:function(){var t=this;$http.get("member.member-cart.index",{}).then((function(e){1===e.result?(t.cartInfo=e.data,t.contentlist.member_cart=e.data,t.getCart(e.data)):Object(c["a"])(e.msg)}))},destroyData:function(t){var e=this;$http.get("member.member-cart.destroy",{ids:t}).then((function(t){1==t.result?(e.popNum=0,e.updateData()):Object(c["a"])(t.msg)}))},change:function(){this.activeName=[]},chooseSecondary:function(t){if(this.isRecommend||(this.ADImg=t.adv_img,this.ADUrl=t.adv_url),this.secondaryId=t.id,this.fun.isTextEmpty(t.has_many_children))this.threeId=null,this.threeInfo=[],this.activatId=t.id,this.getData(t.id);else{this.threeInfo=[];var e=[{name:"全部",id:t.id}],o=[].concat(e,Object(n["a"])(t.has_many_children));this.threeInfo=o,this.threeId=t.id,this.activatId=t.id,this.getData(t.id)}},chooseThree:function(t){this.threeId=t,this.activatId=t,this.getData(t)},getData:function(t){var e=this,o=this,a={category_id:t,goods_page:1};$http.get(N.goods,a,"").then((function(t){1==t.result&&(o.page=1,o.isLoadMore=!0,o.total_page=t.data.last_page,o.total_page||(o.total_page=0),o.page<o.total_page?o.LoadMoreTest="加载更多":o.LoadMoreTest="没有更多",o.foodInfo=t.data.data,setTimeout((function(){o.activeName=[]}),800),e.foodScroll&&e.foodScroll.scrollTo(0,1))}))},getCart:function(t){var e=this;this.carts=t,this.goodsCarts=[],this.cartIDs=[],this.carts.forEach((function(o){e.$set(e.goodsCarts,o.goods_id,o),t&&t.id===o.goods_id&&(t.buyNum=o.total),o.goods_id===e.goodsInfo.id&&o.option_id===L&&(e.popNum=o.total,e.popCard=o),e.cartsNum+=o.total,e.cartsTotal+=o.total*o.goods.price,e.cartIDs.push(o.id)})),this.goodsCartsTotal=this.calculateTotal(this.carts),this.goodsWrapperBScroll()},goodsWrapperBScroll:function(t){var e=this;e.$nextTick((function(){e.foodScroll?(e.foodScroll.refresh(),"toTop"===t&&setTimeout((function(){e.foodScroll.scrollTo(0,0)}),250)):e.foodScroll=new I["a"](e.$refs.goodsWrapper,{click:!0,scrollY:!0,probeType:3,swipeBounceTime:500,useTransition:!1,mouseWheel:!0});var o=document.getElementById("loadMore");e.foodScroll.on("scroll",(function(t){void 0!=e.$refs.imgBox&&(e.Height=e.$refs.imgBox.offsetHeight+8),e.scrollMargin=t.y,o.offsetTop+t.y<e.$refs.goodsWrapper.offsetHeight&&e.isLoadMore&&(e.getMoreData(),setTimeout((function(){e.foodScroll.refresh()}),800))}))}))},calculateTotal:function(t){var e=this,o=[],a={},i=[];for(var s in t){var r=t[s].goods_id;if(a[r]){var n=a[r].goods_id;a[r].goods_id=n,a[r].total=a[r].total+t[s].total}else a[r]={},a[r].goods_id=t[s].goods_id,a[r].total=t[s].total}for(var c in a)o.push(a[c]);return o.forEach((function(t){e.$set(i,t.goods_id,t)})),i},setCatagory:function(t){if(this.fun.isTextEmpty(t.recommend))this.titleInfo=[],this.showTitle=[],this.secondaryId=[],this.threeInfo=[],this.threeId=null,this.goodsWrapperBScroll("toTop");else{var e=t.recommend;this.active2||e.unshift({name:"全部",id:this.activatId,adv_img:this.$store.state.category.adv_img,adv_url:this.$store.state.category.adv_url}),this.titleInfo=e,this.secondaryId=t.recommend[0].id,"3"!=t.set.cat_level||this.fun.isTextEmpty(t.recommend[0].has_many_children)?(this.threeInfo=[],this.threeId=null,this.activatId=this.secondaryId):(this.threeInfo=[],this.threeId=null,this.threeInfo=t.recommend[0].has_many_children,this.threeId=t.recommend[0].has_many_children[0].id,this.activatId=this.threeId,this.ADImg=t.recommend[0].adv_img,this.ADUrl=t.recommend[0].adv_url),this.activeName=[],this.foodScroll&&this.foodScroll.scrollTo(0,0),this.getCart(t.member_cart)}},addGood:function(t){if(t.vip_level_status&&1==t.vip_level_status.status)return Object(c["a"])(t.vip_level_status.tips),!1;this.show2=!0,this.goodsInfo=t,this.initPopView()},initPopView:function(){if(L="",T=[],this.specid="",this.popNum=0,1===this.goodsInfo.has_option){this.isShowMultiSpecsMemPrice(),this.popTitle=this.goodsInfo.title,this.popThumb=this.goodsInfo.thumb,this.popStock=this.goodsInfo.stock,this.popCard={},this.specid.length||(this.goodsInfo.point_goods?this.popPrice=this.goodsInfo.point_goods.min_point+"-"+this.goodsInfo.point_goods.max_point:this.popPrice=this.goodsInfo.min_price+"-"+this.goodsInfo.max_price),this.goodsDescription="请选择";for(var t=0;t<this.goodsInfo.has_many_specs.length;t++)this.goodsDescription+=" "+this.goodsInfo.has_many_specs[t].title;if(!L)for(var e=0;e<this.goodsInfo.has_many_specs.length;e++)if(this.goodsInfo.goods_option_ids&&this.goodsInfo.goods_option_ids.length>=0)for(var o=0;o<this.goodsInfo.has_many_specs[e].has_many_specs_item.length;o++)this.goodsInfo.has_many_specs[e].has_many_specs_item[o].id==Number(this.goodsInfo.goods_option_ids[e])&&this.selectSpecs(this.goodsInfo.has_many_specs[e].has_many_specs_item[o],this.goodsInfo.has_many_specs[e].has_many_specs_item[o].id);else this.selectSpecs(this.goodsInfo.has_many_specs[e].has_many_specs_item[0],this.goodsInfo.has_many_specs[e].has_many_specs_item[0].id)}else this.goodsDescription="",$=this.goodsInfo.stock},isShowMultiSpecsMemPrice:function(){this.goodsInfo.is_open_micro&&1==Number(this.goodsInfo.is_open_micro)&&1==this.goodsInfo.has_option?this.isMultiSpecs=!0:this.isMultiSpecs=!1},selectSpecs:function(t,e){this.manageSpecs(t),this.setGoodsSpecs(t),this.setGoodsSpecsChangeInfo(e),this.getMaxCount()},getMaxCount:function(){T.length==this.goodsInfo.has_many_specs.length&&(0==$&&(this.popNum=0),this.popNum>$&&(this.popNum=$))},setGoodsSpecsChangeInfo:function(t){if(T.sort((function(t,e){return t.id-e.id})),T.length===this.goodsInfo.has_many_specs.length){for(var e="",o=0;o<T.length;o++)e+=T[o].id+"_";e=e.substring(0,e.length-1),this.specid=e;for(var a=0;a<this.goodsInfo.has_many_options.length;a++)if(e===this.setGoodsSpecsBySort(this.goodsInfo.has_many_options[a].specs)){this.popmPrice=this.goodsInfo.has_many_options[a].market_price,this.goodsInfo.point_goods?this.popPrice=this.goodsInfo.point_goods.point_option[a].goods_point:this.popPrice=this.goodsInfo.has_many_options[a].product_price,this.popThumb=this.fun.isTextEmpty(this.goodsInfo.has_many_options[a].thumb)?this.goodsInfo.thumb:this.goodsInfo.has_many_options[a].thumb,this.popStock=this.goodsInfo.has_many_options[a].stock,L=this.goodsInfo.has_many_options[a].id,$=this.goodsInfo.has_many_options[a].stock,$>0&&(this.popNum=0),this.isMultiSpecs&&this.getMemberPrice(L);break}for(var i=0;i<this.carts.length;i++){if(this.carts[i].goods_id===this.goodsInfo.id&&this.carts[i].option_id===L){this.popNum=this.carts[i].total,this.popCard=this.carts[i];break}this.popNum=0,this.popCard={}}}else{for(var s="",r=0;r<T.length;r++)s+=T[r].id+"_";this.specid=s}},setGoodsSpecsBySort:function(t){var e=t.split("_");e.sort((function(t,e){return t-e}));for(var o="",a=0;a<e.length;a++)o+=e[a]+"_";return o=o.substring(0,o.length-1),o},manageSpecs:function(t){var e=new Object;if(e.id=t.id,e.specid=t.specid,e.title=t.title,T.length>0){for(var o=0;o<T.length;o++)T[o].specid==e.specid&&T.splice(o,1);T.push(e)}else T.push(e);if(T.length==this.goodsInfo.has_many_specs.length){for(var a=[],i=0;i<this.goodsInfo.has_many_specs.length;i++)for(var s=0;s<T.length;s++)if(this.goodsInfo.has_many_specs[i].id==T[s].specid){a.push(T[s]);break}T=a}this.setGoodsDescription()},setGoodsDescription:function(){var t="";if(T.length==this.goodsInfo.has_many_specs.length){t="已选择 ";for(var e=0;e<T.length;e++)t+=T[e].title+" ";this.goodsDescription=t}else{t="请选择 ";for(var o=0;o<this.goodsInfo.has_many_specs.length;o++)for(var a=0;a<T.length;a++)if(this.goodsInfo.has_many_specs[o].id!=T[a].specid){t+=this.goodsInfo.has_many_specs[o].title+" ";break}this.goodsDescription=t}},setGoodsSpecs:function(t){for(var e=0;e<this.goodsInfo.has_many_specs.length;e++)t.specid!=this.goodsInfo.has_many_specs[e].id&&this.setGoodsSpecsStatus(this.goodsInfo.has_many_specs[e].has_many_specs_item,t.id)},setGoodsSpecsStatus:function(t,e){for(var o=[],a=0;a<this.goodsInfo.has_many_options.length;a++)for(var i=this.goodsInfo.has_many_options[a].specs.split("_"),s=0;s<i.length;s++)i[s]==e&&o.push(this.goodsInfo.has_many_options[a]);for(var r=0;r<o.length;r++)for(var n=o[r].specs.split("_"),c=0;c<n.length;c++)if(n[c]!=e&&0==o[r].stock)for(var l=0;l<t.length;l++)n[c]==t[l].id&&(t[l].c=!0);else if(n[c]!=e&&o[r].stock>0)for(var d=0;d<t.length;d++)n[c]==t[d].id&&(t[d].c=!1)},submitAction:function(){var t=this,e=this;T.length<this.goodsInfo.has_many_specs.length?Object(c["a"])(this.goodsDescription):0!=$?$http.get("member.member-cart.store",{goods_id:this.goodsInfo.id,total:1,option_id:L},"").then((function(o){1===o.result?(t.$store.commit("setCartNum",o.data.cart_num),Object(c["a"])(o.msg),e.updateData(),e.popNum=e.popNum+1):Object(c["a"])(o.msg)}),(function(t){})):Object(c["a"])("该规格库存不足!")},close:function(){this.show2=!1},gotosearch:function(){this.isSelfPickCategory?this.$router.push(this.fun.getUrl("selfPickSearch",{fromHome:1})):this.$router.push(this.fun.getUrl("search",{fromHome:1}))},gotoGoods:function(t,e){e.category_option_id?this.$router.push(this.fun.getUrl("goods",{id:t,coid:e.category_option_id})):this.$router.push(this.fun.getUrl("goods",{id:t}))},bindOneCategory:function(t){var e=0;this.onelist.forEach((function(o,a){o.id==t.id&&(e=a)})),this.tabsa(e,t)},getNowPackageDeliver:function(){var t=this;return Object(r["a"])(Object(s["a"])().mark((function e(){var o,a,i,r,n,c;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(N={home:"plugin.supplier.frontend.category.category-home",children:"plugin.supplier.frontend.category.get-children-category",goods:"plugin.supplier.frontend.category.get-goods-list-by-category-id"},o=sessionStorage.getItem("deliverId")||null,a=window.location.href,!o){e.next=8;break}return o!=t.deliverId&&(t.deliverId=o,t.getCategoryNew()),e.abrupt("return");case 8:if(!(a.indexOf("deliverId")>-1)){e.next=13;break}n=t.fun.getKey("deliverId"),t.deliverId=n,e.next=15;break;case 13:return e.next=15,t.fun.getLocation("正在定位中,请稍等").then((function(t){i=t.point.lat,r=t.point.lng})).catch((function(t){}));case 15:c={},i&&(c={lng:r||"",lat:i||""}),t.deliverId&&(c.deliver_id=t.deliverId),$http.get("plugin.package-deliver.frontend.decorate-deliver.getNowPackageDeliver",c,".").then((function(e){1===e.result?(t.getCategoryNew(),t.deliverId=e.data.id,window.sessionStorage.setItem("deliverId",e.data.id),t.fun.wxShare()):t.$toast(e.msg)}),(function(t){}));case 19:case"end":return e.stop()}}),e)})))()},getMemberPrice:function(t){var e=this;t&&(this.specsVIPPrc=0,$http.post("goods.other-info.option-vpi-price",{option_id:t},null,!0).then((function(t){1==t.result?e.specsVIPPrc=t.data.vip_price||null:e.specsVIPPrc=null})).catch((function(t){e.specsVIPPrc=null})))}},mounted:function(){this.isset=localStorage.getItem("isset"),localStorage.removeItem("isset"),"selfPickCategory"!=this.$route.name&&(this.isSelfPickCategory=!1,this.getCategoryNew()),this.isGetCart=!1},activated:function(){var t=this;this.isSelfPickCategory="selfPickCategory"==this.$route.name,"selfPickCategory"==this.$route.name&&this.getNowPackageDeliver(),this.isGetCart&&"01"==this.category_template?this.$nextTick((function(){t.updateData()})):this.isGetCart=!0,this.fun.setWXTitle($i18n.t("分类"))},watch:{activeName:function(t){this.showTitle="1"==t?[]:this.titleInfo},scrollMargin:function(t){void 0!=this.$refs.imgBox&&(t<-this.Height?this.$refs.imgBox.style.marginTop="-".concat(this.Height,"px"):this.$refs.imgBox.style.marginTop="".concat(t,"px"))}},components:{cTitle:d["a"],cCarcontent:_,cCarcontent4:C}},E=M,z=E,j=(o("015e"),o("cfd6"),Object(m["a"])(z,a,i,!1,null,"561c0438",null));e["default"]=j.exports}}]);