From 63de118f5c1166b4b06056c2e3d11348525eaa1b Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Sat, 27 Dec 2025 11:29:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=A0=87=E9=A2=98=E4=B8=BA=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/vendor.js | 2 +- pages/goods/category.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/vendor.js b/common/vendor.js index b029454..28aabb2 100644 --- a/common/vendor.js +++ b/common/vendor.js @@ -4,7 +4,7 @@ import site from "../site.js";(global["webpackJsonp"]=global["webpackJsonp"]||[] * (c) 2014-2024 Evan You * Released under the MIT License. */ -var o=Object.freeze({});function i(e){return void 0===e||null===e}function n(e){return void 0!==e&&null!==e}function r(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return n(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var o=Object.create(null),i=e.split(","),n=0;n-1)return e.splice(o,1)}}var _=Object.prototype.hasOwnProperty;function v(e,t){return _.call(e,t)}function y(e){var t=Object.create(null);return function(o){var i=t[o];return i||(t[o]=e(o))}}var b=/-(\w)/g,w=y((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),S=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,x=y((function(e){return e.replace(k,"-$1").toLowerCase()}));var D=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function o(o){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,o):e.call(t)}return o._length=e.length,o};function P(e,t){t=t||0;var o=e.length-t,i=new Array(o);while(o--)i[o]=e[o+t];return i}function C(e,t){for(var o in t)e[o]=t[o];return e}function O(e){for(var t={},o=0;o0),Y=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===H),K=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(G)try{var Q={};Object.defineProperty(Q,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Q)}catch(Lo){}var Z=function(){return void 0===z&&(z=!G&&!q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),z},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var oe,ie="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);oe="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ne=$,re=0,ae=function(){this.id=re++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){m(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,o=e.length;t-1)if(r&&!v(n,"default"))a=!1;else if(""===a||a===x(e)){var c=Ee(String,n.type);(c<0||s0&&(c=e(c,(o||"")+"_"+s),it(c[0])&&it(u)&&(d[l]=fe(u.text+c[0].text),c.shift()),d.push.apply(d,c)):a(c)?it(u)?d[l]=fe(u.text+c):""!==c&&d.push(fe(c)):it(c)&&it(u)?d[l]=fe(u.text+c.text):(r(t._isVList)&&n(c.tag)&&i(c.key)&&n(o)&&(c.key="__vlist"+o+"_"+s+"__"),d.push(c)));return d}(e):void 0}function it(e){return n(e)&&n(e.text)&&function(e){return!1===e}(e.isComment)}function nt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function rt(e){var t=at(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((function(o){we(e,o,t[o])})),_e(!0))}function at(e,t){if(e){for(var o=Object.create(null),i=ie?Reflect.ownKeys(e):Object.keys(e),n=0;n0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&i&&i!==o&&s===i.$key&&!r&&!i.$hasNormal)return i;for(var c in n={},e)e[c]&&"$"!==c[0]&&(n[c]=ut(t,c,e[c]))}else n={};for(var l in t)l in n||(n[l]=dt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=n),U(n,"$stable",a),U(n,"$key",s),U(n,"$hasNormal",r),n}function ut(e,t,o){var i=function(){var e=arguments.length?o.apply(null,arguments):o({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:ot(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return o.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function dt(e,t){return function(){return e[t]}}function ft(e,t){var o,i,r,a,c;if(Array.isArray(e)||"string"===typeof e)for(o=new Array(e.length),i=0,r=e.length;idocument.createEvent("Event").timeStamp&&(Zt=function(){return eo.now()})}function to(){var e,t;for(Zt(),Kt=!0,Wt.sort((function(e,t){return e.id-t.id})),Qt=0;QtQt&&Wt[o].id>e.id)o--;Wt.splice(o+1,0,e)}else Wt.push(e);Yt||(Yt=!0,Je(to))}}(this)},io.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Lo){Le(Lo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},io.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},io.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},io.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var no={enumerable:!0,configurable:!0,get:$,set:$};function ro(e,t,o){no.get=function(){return this[t][o]},no.set=function(e){this[t][o]=e},Object.defineProperty(e,o,no)}function ao(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var o=e.$options.propsData||{},i=e._props={},n=e.$options._propKeys=[],r=!e.$parent;r||_e(!1);var a=function(r){n.push(r);var a=Te(r,t,o,e);we(i,r,a),r in e||ro(e,"_props",r)};for(var s in t)a(s);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var o in t)e[o]="function"!==typeof t[o]?$:D(t[o],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Lo){return Le(Lo,t,"data()"),{}}finally{ce()}}(t,e):t||{},l(t)||(t={});var o=Object.keys(t),i=e.$options.props,n=(e.$options.methods,o.length);while(n--){var r=o[n];0,i&&v(i,r)||N(r)||ro(e,"_data",r)}be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var o=e._computedWatchers=Object.create(null),i=Z();for(var n in t){var r=t[n],a="function"===typeof r?r:r.get;0,i||(o[n]=new io(e,a||$,$,so)),n in e||co(e,n,r)}}(e,t.computed),t.watch&&t.watch!==K&&function(e,t){for(var o in t){var i=t[o];if(Array.isArray(i))for(var n=0;n-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function yo(e,t){var o=e.cache,i=e.keys,n=e._vnode;for(var r in o){var a=o[r];if(a){var s=_o(a.componentOptions);s&&!t(s)&&bo(o,r,i,n)}}}function bo(e,t,o,i){var n=e[t];!n||i&&n.tag===i.tag||n.componentInstance.$destroy(),e[t]=null,m(o,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=po++,t._isVue=!0,e&&e._isComponent?function(e,t){var o=e.$options=Object.create(e.constructor.options),i=t._parentVnode;o.parent=t.parent,o._parentVnode=i;var n=i.componentOptions;o.propsData=n.propsData,o._parentListeners=n.listeners,o._renderChildren=n.children,o._componentTag=n.tag,t.render&&(o.render=t.render,o.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Me(ho(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,o=t.parent;if(o&&!t.abstract){while(o.$options.abstract&&o.$parent)o=o.$parent;o.$children.push(e)}e.$parent=o,e.$root=o?o.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&zt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,i=e.$vnode=t._parentVnode,n=i&&i.context;e.$slots=st(t._renderChildren,n),e.$scopedSlots=o,e._c=function(t,o,i,n){return It(e,t,o,i,n,!1)},e.$createElement=function(t,o,i,n){return It(e,t,o,i,n,!0)};var r=i&&i.data;we(e,"$attrs",r&&r.attrs||o,null,!0),we(e,"$listeners",t._parentListeners||o,null,!0)}(t),Ht(t,"beforeCreate"),!t._$fallback&&rt(t),ao(t),!t._$fallback&&nt(t),!t._$fallback&&Ht(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(go),function(e){var t={get:function(){return this._data}},o={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",o),e.prototype.$set=Se,e.prototype.$delete=ke,e.prototype.$watch=function(e,t,o){if(l(t))return fo(this,e,t,o);o=o||{},o.user=!0;var i=new io(this,e,t,o);if(o.immediate)try{t.call(this,i.value)}catch(n){Le(n,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(go),function(e){var t=/^hook:/;e.prototype.$on=function(e,o){var i=this;if(Array.isArray(e))for(var n=0,r=e.length;n1?P(o):o;for(var i=P(arguments,1),n='event handler for "'+e+'"',r=0,a=o.length;rparseInt(this.max)&&bo(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},ko={KeepAlive:So};(function(e){var t={get:function(){return L}};Object.defineProperty(e,"config",t),e.util={warn:ne,extend:C,mergeOptions:Me,defineReactive:we},e.set=Se,e.delete=ke,e.nextTick=Je,e.observable=function(e){return be(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,C(e.options.components,ko),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var o=P(arguments,1);return o.unshift(this),"function"===typeof e.install?e.install.apply(e,o):"function"===typeof e&&e.apply(null,o),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Me(this.options,e),this}}(e),mo(e),function(e){F.forEach((function(t){e[t]=function(e,o){return o?("component"===t&&l(o)&&(o.name=o.name||e,o=this.options._base.extend(o)),"directive"===t&&"function"===typeof o&&(o={bind:o,update:o}),this.options[t+"s"][e]=o,o):this.options[t+"s"][e]}}))}(e)})(go),Object.defineProperty(go.prototype,"$isServer",{get:Z}),Object.defineProperty(go.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(go,"FunctionalRenderContext",{value:Ct}),go.version="2.6.11";var xo="[object Array]",Do="[object Object]";function Po(e,t){var o={};return function e(t,o){if(t===o)return;var i=Oo(t),n=Oo(o);if(i==Do&&n==Do){if(Object.keys(t).length>=Object.keys(o).length)for(var r in o){var a=t[r];void 0===a?t[r]=null:e(a,o[r])}}else i==xo&&n==xo&&t.length>=o.length&&o.forEach((function(o,i){e(t[i],o)}))}(e,t),function e(t,o,i,n){if(t===o)return;var r=Oo(t),a=Oo(o);if(r==Do)if(a!=Do||Object.keys(t).length1&&(t[i[0].trim()]=i[1].trim())}})),t}));var Fo=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Eo=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];go.prototype.__patch__=function(e,t){var o=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var i=this.$scope,n=Object.create(null);try{n=function(e){var t=Object.create(null),o=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));o.reduce((function(t,o){return t[o]=e[o],t}),t);var i=e.__composition_api_state__||e.__secret_vfa_state__,n=i&&i.rawBindings;return n&&Object.keys(n).forEach((function(o){t[o]=e[o]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Mo))}(this)}catch(s){console.error(s)}n.__webviewId__=i.data.__webviewId__;var r=Object.create(null);Object.keys(n).forEach((function(e){r[e]=i.data[e]}));var a=!1===this.$shouldDiffData?n:Po(n,r);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"lucky_weapp",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(i.is||i.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,i.setData(a,(function(){o.__next_tick_pending=!1,$o(o)}))):$o(this)}},go.prototype.$mount=function(e,t){return function(e,t,o){return e.mpType?("app"===e.mpType&&(e.$options.render=Ao),e.$options.render||(e.$options.render=Ao),!e._$fallback&&Ht(e,"beforeMount"),new io(e,(function(){e._update(e._render(),o)}),$,{before:function(){e._isMounted&&!e._isDestroyed&&Ht(e,"beforeUpdate")}},!0),o=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var o=e.methods;return o&&Object.keys(o).forEach((function(t){-1!==Eo.indexOf(t)&&(e[t]=o[t],delete o[t])})),t.call(this,e)};var o=e.config.optionMergeStrategies,i=o.created;Eo.forEach((function(e){o[e]=i})),e.prototype.__lifecycle_hooks__=Eo}(go),function(e){e.config.errorHandler=function(t,o,i){e.util.warn("Error in "+i+': "'+t.toString()+'"',o),console.error(t);var n="function"===typeof getApp&&getApp();n&&n.onError&&n.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var o=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(o)try{o.call(this.$scope,e,{__args__:P(arguments,1)})}catch(i){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return jo(this,e)},Fo.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=nt,e.prototype.__init_injections=rt,e.prototype.__call_hook=function(e,t){var o=this;se();var i,n=o.$options[e],r=e+" hook";if(n)for(var a=0,s=n.length;a0||this.invalidGoods.length>0}},methods:{initNum:function(e){var t=e.max_buy>0&&e.max_buyt?t:e.num},getCartData:function(){var e=this;this.$api.sendRequest({url:"/api/cart/goodslists",success:function(t){t.code>=0&&(t.data.length?e.handleCartData(t.data):e.cartData=[]),e.refresherTriggered=!1,e.$refs.loadingCover&&e.$refs.loadingCover.hide()},fail:function(t){e.$refs.loadingCover&&e.$refs.loadingCover.hide()}})},handleCartData:function(e){var t=this;this.invalidGoods=[],this.cartData=[];var o={};e.forEach((function(e,i){1==e.goods_state?void 0!=e.store_goods_status&&1!=e.store_goods_status||e.min_buy>0&&e.min_buy>e.stock?t.invalidGoods.push(e):(e.checked=!0,e.edit=!1,void 0!=o["site_"+e.site_id]?o["site_"+e.site_id].cartList.push(e):o["site_"+e.site_id]={siteId:e.site_id,siteName:e.site_name,edit:!1,checked:!0,cartList:[e]}):t.invalidGoods.push(e)})),this.cartData=[],Object.keys(o).forEach((function(e){t.cartData.push(o[e])})),this.calculationTotalPrice(),this.cartData.length&&this.cartData[0].cartList.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]})),this.invalidGoods.length&&this.invalidGoods.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]}))},singleElection:function(e,t){this.cartData[e].cartList[t].checked=!this.cartData[e].cartList[t].checked,this.calculationTotalPrice()},siteAllElection:function(e,t){this.cartData[t].checked=e,this.cartData[t].cartList.forEach((function(t){t.checked=e})),this.calculationTotalPrice()},allElection:function(e){var t=this;this.checkAll="boolean"==typeof e?e:!this.checkAll,this.cartData.length&&this.cartData.forEach((function(e){e.checked=t.checkAll,e.cartList.forEach((function(e){e.checked=t.checkAll}))})),this.calculationTotalPrice()},calculationTotalPrice:function(){if(this.cartData.length){var e=0,t=0,o=0;this.cartData.forEach((function(i){var n=0;i.cartList.forEach((function(o){o.checked&&(n+=1,t+=parseInt(o.num),Number(o.member_price)>0&&Number(o.member_price)1?"确定要删除这些商品吗?":"确定要删除该商品吗?",success:function(e){e.confirm&&(r=r.toString(),n.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:r},success:function(e){if(e.code>=0){if("all"==t){for(var r=0;r0&&i.max_buy0?i.min_buy:1;e>n&&(e=n),e=0){var n=o.cartData[t.siteIndex].cartList[t.cartIndex],r=n.goods_id,a=n.sku_id;n.num=e,o.cartList["goods_"+r]["sku_"+a].num=e,o.$store.dispatch("cartCalculate"),o.resetEditStatus(),o.calculationTotalPrice()}else o.$util.showToast({title:i.message})}})}),800)}},settlement:function(){var t=this;if(this.totalCount>0){var o=[];if(this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&o.push(e.cart_id)}))})),this.discount.coupon_info&&"wait"==this.discount.coupon_info.receive_type&&this.receiveCoupon(this.discount.coupon_info.coupon_type_id,!1),this.isSub)return;this.isSub=!0,e.removeStorageSync("delivery"),e.setStorage({key:"orderCreateData",data:{cart_ids:o.toString()},success:function(){t.$util.redirectTo("/pages/order/payment"),t.isSub=!1}})}},clearInvalidGoods:function(){var t=this;e.showModal({title:"提示",content:"确定要清空这些商品吗?",success:function(e){if(e.confirm){var o=[];t.invalidGoods.forEach((function(e){o.push(e.cart_id)})),o.length&&t.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:o.toString()},success:function(e){e.code>=0?(t.invalidGoods=[],t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}}})},imageError:function(e,t){this.cartData[e].cartList[t].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},toGoodsDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{sku_id:e.sku_id})},refreshCartNumber:function(){this.storeToken&&(this.$store.dispatch("getCartNumber"),this.resetEditStatus())},goodsLimit:function(e,t){var o=this.cartData[t.siteIndex].cartList[t.cartIndex];"plus"==e.type?o.max_buy>0&&o.max_buy=0?(t.invalidGoods=[],t.getCartData(),t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}),t.goodsSkuDetail)}))},toggleDiscountPopup:function(){this.$refs.discountPopup.showPopup?this.$refs.discountPopup.close():this.$refs.discountPopup.open(),this.discountPopupShow=!this.discountPopupShow},discountCalculate:function(){var e=this;if(0!=this.cartData.length){var t=[];this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&t.push({sku_id:e.sku_id,num:e.num})}))})),0!=t.length?this.$api.sendRequest({url:"/api/cartcalculate/calculate",data:{sku_ids:JSON.stringify(t)},success:function(t){if(t.code>=0&&t.data&&(t.data.coupon_money>0||t.data.promotion_money>0)){e.discount=t.data;var o={};t.data.goods_list.forEach((function(e){e.promotion&&e.promotion.manjian&&(o["sku_"+e.sku_id]=JSON.parse(e.promotion.manjian.rule_json))})),Object.assign(e.manjian,o),e.refresherTriggered=!1}else e.discount={}}}):this.discount={}}},receiveCoupon:function(e){var t=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.receiveSub||(this.receiveSub=!0,this.$api.sendRequest({url:"/coupon/api/coupon/receive",data:{coupon_type_id:e,get_type:2},success:function(e){0==e.code?t.$set(t.discount.coupon_info,"receive_type",""):(o&&t.$util.showToast({title:e.message}),t.receiveSub=!1)}}))},touchS:function(e){this.startX=e.touches[0].clientX},touchE:function(e,t){this.endX=e.changedTouches[0].clientX;var o=this.startX-this.endX;o>50?t.edit=!0:o<0&&(t.edit=!1),this.$forceUpdate()},moneyFormat:function(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)},refreshSkuDetail:function(e){this.goodsSkuDetail=e},onRefresh:function(e){this.refresherTriggered=!0,this.storeToken?(this.getCartData(),this.refreshCartNumber()):(this.cartData=[],this.invalidGoods=[],this.calculationTotalPrice())}}};t.default=o}).call(this,o("df3c")["default"])},"36a6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"预售专区"}},"36f8":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分明细",emptyTpis:"您暂时还没有积分记录哦!",pointExplain:"积分说明"}},"3a02":function(e,t,o){"use strict";(function(e){var i=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o("af34")),r={data:function(){return{listStyle:"",loadingType:"loading",orderType:"",priceOrder:"desc",categoryList:[],goodsList:[],order:"",sort:"desc",showScreen:!1,keyword:"",categoryId:0,minPrice:"",maxPrice:"",isFreeShipping:!1,isIphoneX:!1,coupon:0,emptyShow:!1,isList:!0,share_title:"",count:0,category_title:"",coupon_name:"",listHeight:[],listPosition:[],debounce:null,brandId:0,brandList:[],config:{fontWeight:!1,padding:0,cartEvent:"detail",text:"购买",textColor:"#FFFFFF",theme:"default",aroundRadius:25,control:!0,bgColor:"#FF6A00",style:"button",iconDiy:{iconType:"icon",icon:"",style:{fontSize:"60",iconBgColor:[],iconBgColorDeg:0,iconBgImg:"",bgRadius:0,iconColor:["#000000"],iconColorDeg:0}}},langstatus:0,lang:e.getStorageSync("lang")}},onLoad:function(t){var o=this;if(console.log(this.lang),this.$api.sendRequest({url:"/api/lucky/status",data:{},success:function(t){console.log(t),o.langstatus=t.status,1==o.langstatus&&e.setNavigationBarTitle({title:"en-us"==e.getStorageSync("lang")?"Goods List":"商品列表"})}}),this.categoryId=t.category_id||0,this.keyword=t.keyword||"",this.coupon=t.coupon||0,this.goods_id_arr=t.goods_id_arr||0,this.brandId=t.brand_id||0,this.loadCategoryList(this.categoryId),this.getBrandList(),this.isIphoneX=this.$util.uniappIsIPhoneX(),t.source_member&&e.setStorageSync("source_member",t.source_member),t.scene){var i=decodeURIComponent(t.scene);i=i.split("&"),i.length&&i.forEach((function(t){-1!=t.indexOf("sku_id")&&(o.skuId=t.split("-")[1]),-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&e.setStorageSync("is_test",1)}))}e.onWindowResize((function(e){o.debounce&&clearTimeout(o.debounce),o.waterfallflow(0)}))},onShow:function(){this.storeToken&&e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member"))},onShareAppMessage:function(e){var t="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",o=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),i=o.path;return{title:t,path:i,success:function(e){},fail:function(e){}}},onShareTimeline:function(){var e="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",t=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),o=t.query;return{title:e,query:o,imageUrl:""}},methods:{couponInfo:function(e){var t=this;return new Promise((function(o){t.$api.sendRequest({url:"/coupon/api/coupon/typeinfo",data:{coupon_type_id:e},success:function(e){e.code>=0&&o(e.data.coupon_name)}})}))},share_select:function(e,t){return new Promise((function(o){e.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.child_list.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.forEach((function(e){e.category_id==t&&o(e.category_name)}))}))}))}))},loadCategoryList:function(e,t){var o=this;this.$api.sendRequest({url:"/api/goodscategory/tree",data:{},success:function(e){null!=e.data&&(o.categoryList=e.data)}})},getGoodsList:function(e){var t=this;this.$api.sendRequest({url:"/api/goodssku/page",data:{page:e.num,page_size:e.size,keyword:this.keyword,category_id:this.categoryId,brand_id:this.brandId,min_price:this.minPrice,max_price:this.maxPrice,is_free_shipping:this.isFreeShipping?1:0,order:this.order,sort:this.sort,coupon:this.coupon,goods_id_arr:this.goods_id_arr},success:function(o){var i=[],n=o.message;0==o.code&&o.data?(t.count=o.data.count,0==o.data.page_count&&(t.emptyShow=!0),i=o.data.list,i=i.map((function(e){return e.id=t.genNonDuplicate(),e}))):t.$util.showToast({title:n}),t.category_title="",t.coupon_name="",o.data.config&&(t.config=o.data.config),t.categoryId&&t.share_select(t.categoryList,t.categoryId).then((function(e){t.category_title=e})),t.coupon&&t.couponInfo(t.coupon).then((function(e){t.coupon_name=e})),e.endSuccess(i.length),1==e.num&&(t.goodsList=[]),t.goodsList=t.goodsList.concat(i),t.$refs.loadingCover&&t.$refs.loadingCover.hide(),t.waterfallflow(10*(e.num-1))},fail:function(o){e.endErr(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},changeListStyle:function(){this.isList=!this.isList,this.waterfallflow(0)},sortTabClick:function(e){if("sale_num"==e)this.order="sale_num",this.sort="desc";else if("discount_price"==e)this.order="discount_price",this.sort="desc";else{if("screen"==e)return void(this.showScreen=!0);this.order="",this.sort=""}this.orderType===e&&"discount_price"!==e||(this.orderType=e,"discount_price"===e?(this.priceOrder="asc"===this.priceOrder?"desc":"asc",this.sort=this.priceOrder):this.priceOrder="",this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh())},toDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{goods_id:e.goods_id})},search:function(){this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh()},selectedCategory:function(e){this.categoryId=e},screenData:function(){if(""!=this.minPrice||""!=this.maxPrice){if(!Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"请输入最高价"});if(Number(this.minPrice)<0||Number(this.maxPrice)<0)return void this.$util.showToast({title:"筛选价格不能小于0"});if(""!=this.minPrice&&Number(this.minPrice)>Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"最低价不能大于最高价"});if(""!=this.maxPrice&&Number(this.maxPrice)0)return e.market_price;if(parseFloat(e.price)>parseFloat(t))return e.price}return""},goodsTag:function(e){return e.label_name||""},waterfallflow:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.isList||this.$nextTick((function(){setTimeout((function(){var i=[],r=[];0!=o&&(i=t.listHeight,r=t.listPosition);var a=e.createSelectorQuery().in(t);a.selectAll(".double-column .goods-item").boundingClientRect((function(a){for(var s=o;s0&&void 0!==arguments[0]?arguments[0]:6;return Number(Math.random().toString().substr(3,e)+Date.now()).toString(36)}}};t.default=r}).call(this,o("df3c")["default"])},"3b2d":function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"3b90":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},4191:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"秒杀专区"}},4406:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺笔记"}},"44bc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品评价"}},"46b3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"拼团分享"}},"46f4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},4779:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账单"}},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"47e7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销明细"}},"4d7a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的预售",emptyTips:"暂无相关预售订单",update:"释放刷新",updateIng:"加载中..."}},"4e31":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"支付结果",paymentSuccess:"支付成功",paymentFail:"支付失败",goHome:"回到首页",memberCenter:"会员中心",payMoney:"支付金额",unit:"元"}},"4ff4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑账户",name:"姓名",namePlaceholder:"请输入真实姓名",mobilePhone:"手机号码",mobilePhonePlaceholder:"请输入手机号",accountType:"账号类型",bankInfo:"支行信息",bankInfoPlaceholder:"请输入支行信息",withdrawalAccount:"提现账号",withdrawalAccountPlaceholder:"请输入提现账号",save:"保存"}},"51f3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"52c5":function(e,t,o){"use strict";var i=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o("7ca3"));function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function a(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:"gcj02",n=a(t,e,i);r(n[1],n[0],o)}};t.default=s}).call(this,o("df3c")["default"])},6090:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的拼单"}},"60d7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员中心",login:"登录/注册",loginTpis:"点击登录 享受更多精彩信息",memberLevel:"会员等级",moreAuthority:"更多权限",allOrders:"全部订单",seeAllOrders:"查看全部订单",waitPay:"待付款",readyDelivery:"待发货",waitDelivery:"待收货",refunding:"退款",sign:"签到",personInfo:"个人资料",receivingAddress:"收货地址",accountList:"账户列表",couponList:"优惠券",mySpellList:"我的拼单",myBargain:"我的砍价",virtualCode:"虚拟码",winningRecord:"我的礼品",myCollection:"我的关注",myTracks:"我的足迹",pintuanOrder:"拼团订单",yushouOrder:"预售订单",verification:"核销台",message:"我的消息",exchangeOrder:"积分兑换",waitpay:"待付款",waitsend:"待发货",waitconfirm:"待收货",activist:"售后",completed:"已完成",balance:"余额",point:"积分",coupon:"优惠券",memberRecommend:"邀请有礼",myPresale:"我的预售",myGiftcard:"我的礼品卡",myDivideticket:"我的瓜分券",myRebate:"拼团返利",myHongbao:"我的红包列表",myBlindBox:"我的盲盒"}},6208:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"兑换结果",exchangeSuccess:"兑换成功",see:"查看兑换记录",goHome:"回到首页"}},6381:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑收货地址",consignee:"姓名",consigneePlaceholder:"收货人姓名",mobile:"手机",mobilePlaceholder:"收货人手机号",telephone:"电话",telephonePlaceholder:"收货人固定电话(选填)",receivingCity:"地区",address:"详细地址",addressPlaceholder:"小区、街道、写字楼",save:"保存"}},6382:function(e,t,o){var i=o("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return i(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"641c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"品牌专区"}},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),c(e.data)},fail:function(t){t.errMsg&&"request:fail url not in domain list"==t.errMsg?e.showToast({title:n.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):l(t)},complete:function(t){t.errMsg&&"request:ok"!=t.errMsg||t.statusCode&&-1==[200,500].indexOf(t.statusCode)?e.showToast({title:n.default.baseUrl+"请求失败",icon:"none",duration:1e4}):l(t.data)}})}));e.request({url:i,method:o,data:s,header:t.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:t.dataType||"json",responseType:t.responseType||"text",success:function(e){if(-3==e.data.code&&a.default.state.siteState>0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),"function"==typeof t.success&&t.success(e.data)},fail:function(o){o.errMsg&&"request:fail url not in domain list"==o.errMsg?e.showToast({title:n.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):"function"==typeof t.fail&&t.fail(o)},complete:function(o){o.errMsg&&"request:ok"!=o.errMsg||o.statusCode&&-1==[200,500].indexOf(o.statusCode)?e.showToast({title:n.default.baseUrl+"请求失败",icon:"none",duration:1e4}):"function"==typeof t.complete&&t.complete(o.data)}})}else e.showToast({title:"未配置请求域名",icon:"none",duration:1e4})},uploadBase64:function(t){e.request({url:n.default.baseUrl+"/api/upload/headimgBase64",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",images:t.base64},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},pullImage:function(t){e.request({url:n.default.baseUrl+"/api/upload/headimgPull",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",path:t.path},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},upload:function(t){e.uploadFile({url:n.default.baseUrl+t.url,filePath:t.filePath,name:t.name||"file",fileType:t.fileType||"image",formData:{app_type:"weapp",app_type_name:"微信小程序"},header:{"content-type":"application/x-www-form-urlencoded;application/json"},success:function(e){"function"==typeof t.success&&t.success(JSON.parse(e.data))},fail:function(e){"function"==typeof t.fail&&t.fail(e)}})}};t.default=s}).call(this,o("df3c")["default"])},7172:function(e,t){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i,n,r,a,s=[],c=!0,l=!1;try{if(r=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(i=r.call(o)).done)&&(s.push(i.value),s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=o["return"]&&(a=o["return"](),Object(a)!==a))return}finally{if(l)throw n}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},7307:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销记录",emptyTips:"暂无记录"}},"755e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},7647:function(e,t){function o(t,i){return e.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t,i)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"769e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"退款详情"}},7749:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销台"}},7780:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"邀请好友"}},"78b8":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"申请退款"}},"7c49":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"团购专区"}},"7c5d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"7c64":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={tabBar:{home:"首页",category:"分类",cart:"购物车",member:"个人中心"},common:{name:"中文",mescrollTextInOffset:"下拉刷新",mescrollTextOutOffset:"释放更新",mescrollEmpty:"暂无相关数据",goodsRecommendTitle:"猜你喜欢",currencySymbol:"¥",submit:"提交"}}},"7ca3":function(e,t,o){var i=o("d551");e.exports=function(e,t,o){return t=i(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"7d44":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺打烊"}},"7e77":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分中心"}},"7eb4":function(e,t,o){var i=o("9fc1")();e.exports=i},"823e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"砍价详情"}},"828b":function(e,t,o){"use strict";function i(e,t,o,i,n,r,a,s,c,l){var u,d="function"===typeof e?e.options:e;if(c){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var p in c)f.call(c,p)&&!f.call(d.components,p)&&(d.components[p]=c[p])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),i&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):n&&(u=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),u)if(d.functional){d._injectStyles=u;var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,u):[u]}return{exports:e,options:d}}o.d(t,"a",(function(){return i}))},"834a":function(e,t,o){"use strict";(function(e,o){function i(e,t){var o="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e))||t&&e&&"number"===typeof e.length){o&&(e=o);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(c)throw a}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur",foreignobject:"foreignObject"}},a={},s=e.getSystemInfoSync(),c=s.windowWidth,l=s.system,u=f(" ,\r,\n,\t,\f"),d=0;function f(e){for(var t=Object.create(null),o=e.split(","),i=o.length;i--;)t[o[i]]=!0;return t}function p(e,t){var o=e.indexOf("&");while(-1!==o){var i=e.indexOf(";",o+3),n=void 0;if(-1===i)break;"#"===e[o+1]?(n=parseInt(("x"===e[o+2]?"0":"")+e.substring(o+2,i)),isNaN(n)||(e=e.substr(0,o)+String.fromCharCode(n)+e.substr(i+1))):(n=e.substring(o+1,i),(r.entities[n]||"amp"===n&&t)&&(e=e.substr(0,o)+(r.entities[n]||"&")+e.substr(i+1))),o=e.indexOf("&",o+1)}return e}function h(e){for(var t=e.length-1,o=t;o>=-1;o--)(-1===o||e[o].c||!e[o].name||"div"!==e[o].name&&"p"!==e[o].name&&"h"!==e[o].name[0]||(e[o].attrs.style||"").includes("inline"))&&(t-o>=5&&e.splice(o+1,t-o,{name:"div",attrs:{},children:e.slice(o+1,t+1)}),t=o-1)}function g(e){this.options=e||{},this.tagStyle=Object.assign({},r.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.imgList._unloadimgs=0,this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function m(e){this.handler=e}g.prototype.parse=function(e){for(var t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,r)||e);new m(this).parse(e);while(this.stack.length)this.popNode();return this.nodes.length>50&&h(this.nodes),this.nodes},g.prototype.expose=function(){for(var e=this.stack.length;e--;){var t=this.stack[e];if(t.c||"a"===t.name||"video"===t.name||"audio"===t.name)return;t.c=1}},g.prototype.hook=function(e){for(var t=this.plugins.length;t--;)if(this.plugins[t].onParse&&!1===this.plugins[t].onParse(e,this))return!1;return!0},g.prototype.getUrl=function(e){var t=this.options.domain;return"/"===e[0]?"/"===e[1]?e=(t?t.split("://")[0]:"http")+":"+e:t&&(e=t+e):e.includes("data:")||e.includes("://")||t&&(e=t+"/"+e),e},g.prototype.parseStyle=function(e){var t=e.attrs,o=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),i={},n="";t.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==e.name&&"a"!==e.name&&"video"!==e.name&&"audio"!==e.name&&(t.id=void 0)),t.width&&(i.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(i.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(var r=0,a=o.length;r0||d.includes("safe"))n+=";".concat(l,":").concat(d);else if(!i[l]||d.includes("import")||!i[l].includes("import")){if(d.includes("url")){var f=d.indexOf("(")+1;if(f){while('"'===d[f]||"'"===d[f]||u[d[f]])f++;d=d.substr(0,f)+this.getUrl(d.substr(f))}}else d.includes("rpx")&&(d=d.replace(/[0-9.]+\s*rpx/g,(function(e){return parseFloat(e)*c/750+"px"})));i[l]=d}}}return e.attrs.style=n,i},g.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1,r.ignoreTags.style=void 0)},g.prototype.onAttrName=function(e){e=this.xml?e:e.toLowerCase(),"data-"===e.substr(0,5)?"data-src"!==e||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},g.prototype.onAttrVal=function(e){var t=this.attrName||"";"style"===t||"href"===t?this.attrs[t]=p(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(p(e,!0)):t&&(this.attrs[t]=e)},g.prototype.onOpenTag=function(e){var t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.options.nodes.length&&(t.type="node"),this.attrs=Object.create(null);var o=t.attrs,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes,s=this.xml?e:r.voidTags[t.name];if(a[t.name]&&(o.class=a[t.name]+(o.class?" "+o.class:"")),"embed"===t.name){var l=o.src||"";l.includes(".mp4")||l.includes(".3gp")||l.includes(".m3u8")||(o.type||"").includes("video")?t.name="video":(l.includes(".mp3")||l.includes(".wav")||l.includes(".aac")||l.includes(".m4a")||(o.type||"").includes("audio"))&&(t.name="audio"),o.autostart&&(o.autoplay="T"),o.controls="T"}if("video"!==t.name&&"audio"!==t.name||("video"!==t.name||o.id||(o.id="v"+d++),o.controls||o.autoplay||(o.controls="T"),t.src=[],o.src&&(t.src.push(o.src),o.src=void 0),this.expose()),s){if(!this.hook(t)||r.ignoreTags[t.name])return void("base"!==t.name||this.options.domain?"source"===t.name&&i&&("video"===i.name||"audio"===i.name)&&o.src&&i.src.push(o.src):this.options.domain=o.href);var u=this.parseStyle(t);if("img"===t.name){if(o.src&&(o.src.includes("webp")&&(t.webp="T"),o.src.includes("data:")&&"all"!==this.options.previewImg&&!o["original-src"]&&(o.ignore="T"),!o.ignore||t.webp||o.src.includes("cloud://"))){for(var f=this.stack.length;f--;){var p=this.stack[f];"a"===p.name&&(t.a=p.attrs),"table"!==p.name||t.webp||o.src.includes("cloud://")||(!u.display||u.display.includes("inline")?t.t="inline-block":t.t=u.display,u.display=void 0);var h=p.attrs.style||"";if(!h.includes("flex:")||h.includes("flex:0")||h.includes("flex: 0")||u.width&&!(parseInt(u.width)>100))if(h.includes("flex")&&"100%"===u.width)for(var g=f+1;g.5?v[y].toUpperCase():v[y]}b+=v.substr(y),v=b}}this.imgList.push(v),t.t||(this.imgList._unloadimgs+=1)}"inline"===u.display&&(u.display=""),o.ignore&&(u["max-width"]=u["max-width"]||"100%",o.style+=";-webkit-touch-callout:none"),parseInt(u.width)>c&&(u.height=void 0),isNaN(parseInt(u.width))||(t.w="T"),!isNaN(parseInt(u.height))&&(!u.height.includes("%")||i&&(i.attrs.style||"").includes("height"))&&(t.h="T"),t.w&&t.h&&u["object-fit"]&&("contain"===u["object-fit"]?t.m="aspectFit":"cover"===u["object-fit"]&&(t.m="aspectFill"))}else if("svg"===t.name)return n.push(t),this.stack.push(t),void this.popNode();for(var w in u)u[w]&&(o.style+=";".concat(w,":").concat(u[w].replace(" !important","")));o.style=o.style.substr(1)||void 0}else("pre"===t.name||(o.style||"").includes("white-space")&&o.style.includes("pre"))&&2!==this.pre&&(this.pre=t.pre=1),t.children=[],this.stack.push(t);n.push(t)},g.prototype.onCloseTag=function(e){var t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--;)if(this.stack[t].name===e)break;if(-1!==t)while(this.stack.length>t)this.popNode();else if("p"===e||"br"===e){var o=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;o.push({name:e,attrs:{class:a[e]||"",style:this.tagStyle[e]||""}})}},g.prototype.popNode=function(){var t=this.stack.pop(),n=t.attrs,a=t.children,s=this.stack[this.stack.length-1],l=s?s.children:this.nodes;if(!this.hook(t)||r.ignoreTags[t.name])return"title"===t.name&&a.length&&"text"===a[0].type&&this.options.setTitle&&e.setNavigationBarTitle({title:a[0].text}),void l.pop();if(t.pre&&2!==this.pre){this.pre=t.pre=void 0;for(var u=this.stack.length;u--;)this.stack[u].pre&&(this.pre=1)}var d={};if("svg"===t.name){if(this.xml>1)return void this.xml--;var f="",p=n.style;return n.style="",n.xmlns="http://www.w3.org/2000/svg",function e(t){if("text"!==t.type){var o=r.svgDict[t.name]||t.name;if("foreignObject"===o){var n,a=i(t.children||[]);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(s.attrs&&!s.attrs.xmlns){s.attrs.xmlns="http://www.w3.org/1999/xhtml";break}}}catch(d){a.e(d)}finally{a.f()}}for(var c in f+="<"+o,t.attrs){var l=t.attrs[c];l&&(f+=" ".concat(r.svgDict[c]||c,'="').concat(l.replace(/"/g,""),'"'))}if(t.children){f+=">";for(var u=0;u"}else f+="/>"}else f+=t.text}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+f.replace(/#/g,"%23"),style:p,ignore:"T"},t.children=void 0,this.xml=!1,void(r.ignoreTags.style=!0)}if(n.align&&("table"===t.name?"center"===n.align?d["margin-inline-start"]=d["margin-inline-end"]="auto":d.float=n.align:d["text-align"]=n.align,n.align=void 0),n.dir&&(d.direction=n.dir,n.dir=void 0),"font"===t.name&&(n.color&&(d.color=n.color,n.color=void 0),n.face&&(d["font-family"]=n.face,n.face=void 0),n.size)){var g=parseInt(n.size);isNaN(g)||(g<1?g=1:g>7&&(g=7),d["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][g-1]),n.size=void 0}if((n.class||"").includes("align-center")&&(d["text-align"]="center"),Object.assign(d,this.parseStyle(t)),"table"!==t.name&&parseInt(d.width)>c&&(d["max-width"]="100%",d["box-sizing"]="border-box"),r.blockTags[t.name]?t.name="div":r.trustTags[t.name]||this.xml||(t.name="span"),"a"===t.name||"ad"===t.name)this.expose();else if("video"===t.name)(d.height||"").includes("auto")&&(d.height=void 0);else if("ul"!==t.name&&"ol"!==t.name||!t.c)if("table"===t.name){var m=parseFloat(n.cellpadding),_=parseFloat(n.cellspacing),v=parseFloat(n.border),y=d["border-color"],b=d["border-style"];if(t.c&&(isNaN(m)&&(m=2),isNaN(_)&&(_=2)),v&&(n.style+=";border:".concat(v,"px ").concat(b||"solid"," ").concat(y||"gray")),t.flag&&t.c){d.display="grid","collapse"===d["border-collapse"]&&(d["border-collapse"]=void 0,_=0),_?(d["grid-gap"]=_+"px",d.padding=_+"px"):v&&(n.style+=";border-left:0;border-top:0");var w=[],S=[],k=[],x={};(function e(t){for(var o=0;o=50&&t.c&&!(d.display||"").includes("flex")&&h(a),d)if(d[H]){var W=";".concat(H,":").concat(d[H].replace(" !important",""));q&&(H.includes("flex")&&"flex-direction"!==H||"align-self"===H||H.includes("grid")||"-"===d[H][0]||H.includes("width")&&W.includes("%"))?(t.f+=W,"width"===H&&(n.style+=";width:100%")):n.style+=W}n.style=n.style.substr(1)||void 0},g.prototype.onText=function(t){if(!this.pre){for(var o,i="",n=0,r=t.length;n"===this.content[this.i]||t&&">"===this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"===this.handler.tagName?(this.i=this.content.indexOf("="a"&&e<="z"||e>="A"&&e<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===e||"!"===e||"?"===e){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));var t=this.content[this.i+2];if("/"===e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);var o="--\x3e";"!"===e&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(o=">"),this.i=this.content.indexOf(o,this.i),-1!==this.i&&(this.i+=o.length,this.start=this.i)}else this.i++}else this.start"===e||"/"===e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==e&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};var _=g;t.default=_}).call(this,o("df3c")["default"],o("3223")["default"])},"84c0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"搜索",history:"历史搜索",hot:"热门搜索",find:"搜索发现",hidefind:"当前搜索发现已隐藏",inputPlaceholder:"搜索商品"}},"86fa":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"8c2d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"8ddc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},"8f59":function(e,t,o){"use strict";(function(t){var o="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function n(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var o=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(o)return o.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(o){i[o]=n(e[o],t)})),i}function r(e,t){Object.keys(e).forEach((function(o){return t(e[o],o)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var o=e.state;this.state=("function"===typeof o?o():o)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){r(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&r(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&r(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&r(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,c);var l=function(e){this.register([],e,!1)};l.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},l.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,o){return t=t.getChild(o),e+(t.namespaced?o+"/":"")}),"")},l.prototype.update=function(e){(function e(t,o,i){0;if(o.update(i),i.modules)for(var n in i.modules){if(!o.getChild(n))return void 0;e(t.concat(n),o.getChild(n),i.modules[n])}})([],this.root,e)},l.prototype.register=function(e,t,o){var i=this;void 0===o&&(o=!0);var n=new s(t,o);if(0===e.length)this.root=n;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],n)}t.modules&&r(t.modules,(function(t,n){i.register(e.concat(n),t,o)}))},l.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1],i=t.getChild(o);i&&i.runtime&&t.removeChild(o)},l.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1];return!!t&&t.hasChild(o)};var u;var d=function(e){var t=this;void 0===e&&(e={}),!u&&"undefined"!==typeof window&&window.Vue&&y(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var r=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(r,e,t)},this.commit=function(e,t,o){return s.call(r,e,t,o)},this.strict=n;var c=this._modules.root.state;m(this,c,[],this._modules.root),g(this,c),o.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:u.config.devtools;d&&function(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(e,t,o){return t.indexOf(e)<0&&(o&&o.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var o=e.state;m(e,o,[],e._modules.root,!0),g(e,o,t)}function g(e,t,o){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var n=e._wrappedGetters,a={};r(n,(function(t,o){a[o]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,e._vm=new u({data:{$$state:t},computed:a}),u.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),i&&(o&&e._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function m(e,t,o,i,n){var r=!o.length,a=e._modules.getNamespace(o);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!r&&!n){var s=_(t,o.slice(0,-1)),c=o[o.length-1];e._withCommit((function(){u.set(s,c,i.state)}))}var l=i.context=function(e,t,o){var i=""===t,n={dispatch:i?e.dispatch:function(o,i,n){var r=v(o,i,n),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:i?e.commit:function(o,i,n){var r=v(o,i,n),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(n,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var o={},i=t.length;Object.keys(e.getters).forEach((function(n){if(n.slice(0,i)===t){var r=n.slice(i);Object.defineProperty(o,r,{get:function(){return e.getters[n]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return _(e.state,o)}}}),n}(e,a,o);i.forEachMutation((function(t,o){var i=a+o;(function(e,t,o,i){var n=e._mutations[t]||(e._mutations[t]=[]);n.push((function(t){o.call(e,i.state,t)}))})(e,i,t,l)})),i.forEachAction((function(t,o){var i=t.root?o:a+o,n=t.handler||t;(function(e,t,o,i){var n=e._actions[t]||(e._actions[t]=[]);n.push((function(t){var n=o.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(n)||(n=Promise.resolve(n)),e._devtoolHook?n.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):n}))})(e,i,n,l)})),i.forEachGetter((function(t,o){var i=a+o;(function(e,t,o,i){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return o(i.state,i.getters,e.state,e.getters)}})(e,i,t,l)})),i.forEachChild((function(i,r){m(e,t,o.concat(r),i,n)}))}function _(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,o){return a(e)&&e.type&&(o=t,t=e,e=e.type),{type:e,payload:t,options:o}}function y(e){u&&e===u||(u=e, +var o=Object.freeze({});function i(e){return void 0===e||null===e}function n(e){return void 0!==e&&null!==e}function r(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function u(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return n(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function f(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var o=Object.create(null),i=e.split(","),n=0;n-1)return e.splice(o,1)}}var _=Object.prototype.hasOwnProperty;function v(e,t){return _.call(e,t)}function y(e){var t=Object.create(null);return function(o){var i=t[o];return i||(t[o]=e(o))}}var b=/-(\w)/g,w=y((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),S=y((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),k=/\B([A-Z])/g,x=y((function(e){return e.replace(k,"-$1").toLowerCase()}));var D=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function o(o){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,o):e.call(t)}return o._length=e.length,o};function P(e,t){t=t||0;var o=e.length-t,i=new Array(o);while(o--)i[o]=e[o+t];return i}function C(e,t){for(var o in t)e[o]=t[o];return e}function O(e){for(var t={},o=0;o0),Y=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===H),K=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/),{}.watch);if(G)try{var Q={};Object.defineProperty(Q,"passive",{get:function(){}}),window.addEventListener("test-passive",null,Q)}catch(Lo){}var Z=function(){return void 0===z&&(z=!G&&!q&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),z},ee=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var oe,ie="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);oe="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ne=$,re=0,ae=function(){this.id=re++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ce(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){m(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,o=e.length;t-1)if(r&&!v(n,"default"))a=!1;else if(""===a||a===x(e)){var c=Ee(String,n.type);(c<0||s0&&(c=e(c,(o||"")+"_"+s),it(c[0])&&it(u)&&(d[l]=fe(u.text+c[0].text),c.shift()),d.push.apply(d,c)):a(c)?it(u)?d[l]=fe(u.text+c):""!==c&&d.push(fe(c)):it(c)&&it(u)?d[l]=fe(u.text+c.text):(r(t._isVList)&&n(c.tag)&&i(c.key)&&n(o)&&(c.key="__vlist"+o+"_"+s+"__"),d.push(c)));return d}(e):void 0}function it(e){return n(e)&&n(e.text)&&function(e){return!1===e}(e.isComment)}function nt(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function rt(e){var t=at(e.$options.inject,e);t&&(_e(!1),Object.keys(t).forEach((function(o){we(e,o,t[o])})),_e(!0))}function at(e,t){if(e){for(var o=Object.create(null),i=ie?Reflect.ownKeys(e):Object.keys(e),n=0;n0,a=e?!!e.$stable:!r,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&i&&i!==o&&s===i.$key&&!r&&!i.$hasNormal)return i;for(var c in n={},e)e[c]&&"$"!==c[0]&&(n[c]=ut(t,c,e[c]))}else n={};for(var l in t)l in n||(n[l]=dt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=n),U(n,"$stable",a),U(n,"$key",s),U(n,"$hasNormal",r),n}function ut(e,t,o){var i=function(){var e=arguments.length?o.apply(null,arguments):o({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:ot(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return o.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function dt(e,t){return function(){return e[t]}}function ft(e,t){var o,i,r,a,c;if(Array.isArray(e)||"string"===typeof e)for(o=new Array(e.length),i=0,r=e.length;idocument.createEvent("Event").timeStamp&&(Zt=function(){return eo.now()})}function to(){var e,t;for(Zt(),Kt=!0,Wt.sort((function(e,t){return e.id-t.id})),Qt=0;QtQt&&Wt[o].id>e.id)o--;Wt.splice(o+1,0,e)}else Wt.push(e);Yt||(Yt=!0,Je(to))}}(this)},io.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Lo){Le(Lo,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},io.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},io.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},io.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var no={enumerable:!0,configurable:!0,get:$,set:$};function ro(e,t,o){no.get=function(){return this[t][o]},no.set=function(e){this[t][o]=e},Object.defineProperty(e,o,no)}function ao(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var o=e.$options.propsData||{},i=e._props={},n=e.$options._propKeys=[],r=!e.$parent;r||_e(!1);var a=function(r){n.push(r);var a=Te(r,t,o,e);we(i,r,a),r in e||ro(e,"_props",r)};for(var s in t)a(s);_e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var o in t)e[o]="function"!==typeof t[o]?$:D(t[o],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Lo){return Le(Lo,t,"data()"),{}}finally{ce()}}(t,e):t||{},l(t)||(t={});var o=Object.keys(t),i=e.$options.props,n=(e.$options.methods,o.length);while(n--){var r=o[n];0,i&&v(i,r)||N(r)||ro(e,"_data",r)}be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var o=e._computedWatchers=Object.create(null),i=Z();for(var n in t){var r=t[n],a="function"===typeof r?r:r.get;0,i||(o[n]=new io(e,a||$,$,so)),n in e||co(e,n,r)}}(e,t.computed),t.watch&&t.watch!==K&&function(e,t){for(var o in t){var i=t[o];if(Array.isArray(i))for(var n=0;n-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===c.call(e)}(e)&&e.test(t)}function yo(e,t){var o=e.cache,i=e.keys,n=e._vnode;for(var r in o){var a=o[r];if(a){var s=_o(a.componentOptions);s&&!t(s)&&bo(o,r,i,n)}}}function bo(e,t,o,i){var n=e[t];!n||i&&n.tag===i.tag||n.componentInstance.$destroy(),e[t]=null,m(o,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=po++,t._isVue=!0,e&&e._isComponent?function(e,t){var o=e.$options=Object.create(e.constructor.options),i=t._parentVnode;o.parent=t.parent,o._parentVnode=i;var n=i.componentOptions;o.propsData=n.propsData,o._parentListeners=n.listeners,o._renderChildren=n.children,o._componentTag=n.tag,t.render&&(o.render=t.render,o.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Me(ho(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,o=t.parent;if(o&&!t.abstract){while(o.$options.abstract&&o.$parent)o=o.$parent;o.$children.push(e)}e.$parent=o,e.$root=o?o.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&zt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,i=e.$vnode=t._parentVnode,n=i&&i.context;e.$slots=st(t._renderChildren,n),e.$scopedSlots=o,e._c=function(t,o,i,n){return It(e,t,o,i,n,!1)},e.$createElement=function(t,o,i,n){return It(e,t,o,i,n,!0)};var r=i&&i.data;we(e,"$attrs",r&&r.attrs||o,null,!0),we(e,"$listeners",t._parentListeners||o,null,!0)}(t),Ht(t,"beforeCreate"),!t._$fallback&&rt(t),ao(t),!t._$fallback&&nt(t),!t._$fallback&&Ht(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(go),function(e){var t={get:function(){return this._data}},o={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",o),e.prototype.$set=Se,e.prototype.$delete=ke,e.prototype.$watch=function(e,t,o){if(l(t))return fo(this,e,t,o);o=o||{},o.user=!0;var i=new io(this,e,t,o);if(o.immediate)try{t.call(this,i.value)}catch(n){Le(n,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(go),function(e){var t=/^hook:/;e.prototype.$on=function(e,o){var i=this;if(Array.isArray(e))for(var n=0,r=e.length;n1?P(o):o;for(var i=P(arguments,1),n='event handler for "'+e+'"',r=0,a=o.length;rparseInt(this.max)&&bo(s,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},ko={KeepAlive:So};(function(e){var t={get:function(){return L}};Object.defineProperty(e,"config",t),e.util={warn:ne,extend:C,mergeOptions:Me,defineReactive:we},e.set=Se,e.delete=ke,e.nextTick=Je,e.observable=function(e){return be(e),e},e.options=Object.create(null),F.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,C(e.options.components,ko),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var o=P(arguments,1);return o.unshift(this),"function"===typeof e.install?e.install.apply(e,o):"function"===typeof e&&e.apply(null,o),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Me(this.options,e),this}}(e),mo(e),function(e){F.forEach((function(t){e[t]=function(e,o){return o?("component"===t&&l(o)&&(o.name=o.name||e,o=this.options._base.extend(o)),"directive"===t&&"function"===typeof o&&(o={bind:o,update:o}),this.options[t+"s"][e]=o,o):this.options[t+"s"][e]}}))}(e)})(go),Object.defineProperty(go.prototype,"$isServer",{get:Z}),Object.defineProperty(go.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(go,"FunctionalRenderContext",{value:Ct}),go.version="2.6.11";var xo="[object Array]",Do="[object Object]";function Po(e,t){var o={};return function e(t,o){if(t===o)return;var i=Oo(t),n=Oo(o);if(i==Do&&n==Do){if(Object.keys(t).length>=Object.keys(o).length)for(var r in o){var a=t[r];void 0===a?t[r]=null:e(a,o[r])}}else i==xo&&n==xo&&t.length>=o.length&&o.forEach((function(o,i){e(t[i],o)}))}(e,t),function e(t,o,i,n){if(t===o)return;var r=Oo(t),a=Oo(o);if(r==Do)if(a!=Do||Object.keys(t).length1&&(t[i[0].trim()]=i[1].trim())}})),t}));var Fo=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Eo=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];go.prototype.__patch__=function(e,t){var o=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var i=this.$scope,n=Object.create(null);try{n=function(e){var t=Object.create(null),o=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));o.reduce((function(t,o){return t[o]=e[o],t}),t);var i=e.__composition_api_state__||e.__secret_vfa_state__,n=i&&i.rawBindings;return n&&Object.keys(n).forEach((function(o){t[o]=e[o]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Mo))}(this)}catch(s){console.error(s)}n.__webviewId__=i.data.__webviewId__;var r=Object.create(null);Object.keys(n).forEach((function(e){r[e]=i.data[e]}));var a=!1===this.$shouldDiffData?n:Po(n,r);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"lucky_weapp",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(i.is||i.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,i.setData(a,(function(){o.__next_tick_pending=!1,$o(o)}))):$o(this)}},go.prototype.$mount=function(e,t){return function(e,t,o){return e.mpType?("app"===e.mpType&&(e.$options.render=Ao),e.$options.render||(e.$options.render=Ao),!e._$fallback&&Ht(e,"beforeMount"),new io(e,(function(){e._update(e._render(),o)}),$,{before:function(){e._isMounted&&!e._isDestroyed&&Ht(e,"beforeUpdate")}},!0),o=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var o=e.methods;return o&&Object.keys(o).forEach((function(t){-1!==Eo.indexOf(t)&&(e[t]=o[t],delete o[t])})),t.call(this,e)};var o=e.config.optionMergeStrategies,i=o.created;Eo.forEach((function(e){o[e]=i})),e.prototype.__lifecycle_hooks__=Eo}(go),function(e){e.config.errorHandler=function(t,o,i){e.util.warn("Error in "+i+': "'+t.toString()+'"',o),console.error(t);var n="function"===typeof getApp&&getApp();n&&n.onError&&n.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var o=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(o)try{o.call(this.$scope,e,{__args__:P(arguments,1)})}catch(i){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return jo(this,e)},Fo.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=nt,e.prototype.__init_injections=rt,e.prototype.__call_hook=function(e,t){var o=this;se();var i,n=o.$options[e],r=e+" hook";if(n)for(var a=0,s=n.length;a0||this.invalidGoods.length>0}},methods:{initNum:function(e){var t=e.max_buy>0&&e.max_buyt?t:e.num},getCartData:function(){var e=this;this.$api.sendRequest({url:"/api/cart/goodslists",success:function(t){t.code>=0&&(t.data.length?e.handleCartData(t.data):e.cartData=[]),e.refresherTriggered=!1,e.$refs.loadingCover&&e.$refs.loadingCover.hide()},fail:function(t){e.$refs.loadingCover&&e.$refs.loadingCover.hide()}})},handleCartData:function(e){var t=this;this.invalidGoods=[],this.cartData=[];var o={};e.forEach((function(e,i){1==e.goods_state?void 0!=e.store_goods_status&&1!=e.store_goods_status||e.min_buy>0&&e.min_buy>e.stock?t.invalidGoods.push(e):(e.checked=!0,e.edit=!1,void 0!=o["site_"+e.site_id]?o["site_"+e.site_id].cartList.push(e):o["site_"+e.site_id]={siteId:e.site_id,siteName:e.site_name,edit:!1,checked:!0,cartList:[e]}):t.invalidGoods.push(e)})),this.cartData=[],Object.keys(o).forEach((function(e){t.cartData.push(o[e])})),this.calculationTotalPrice(),this.cartData.length&&this.cartData[0].cartList.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]})),this.invalidGoods.length&&this.invalidGoods.forEach((function(e){e.sku_spec_format?e.sku_spec_format=JSON.parse(e.sku_spec_format):e.sku_spec_format=[]}))},singleElection:function(e,t){this.cartData[e].cartList[t].checked=!this.cartData[e].cartList[t].checked,this.calculationTotalPrice()},siteAllElection:function(e,t){this.cartData[t].checked=e,this.cartData[t].cartList.forEach((function(t){t.checked=e})),this.calculationTotalPrice()},allElection:function(e){var t=this;this.checkAll="boolean"==typeof e?e:!this.checkAll,this.cartData.length&&this.cartData.forEach((function(e){e.checked=t.checkAll,e.cartList.forEach((function(e){e.checked=t.checkAll}))})),this.calculationTotalPrice()},calculationTotalPrice:function(){if(this.cartData.length){var e=0,t=0,o=0;this.cartData.forEach((function(i){var n=0;i.cartList.forEach((function(o){o.checked&&(n+=1,t+=parseInt(o.num),Number(o.member_price)>0&&Number(o.member_price)1?"确定要删除这些商品吗?":"确定要删除该商品吗?",success:function(e){e.confirm&&(r=r.toString(),n.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:r},success:function(e){if(e.code>=0){if("all"==t){for(var r=0;r0&&i.max_buy0?i.min_buy:1;e>n&&(e=n),e=0){var n=o.cartData[t.siteIndex].cartList[t.cartIndex],r=n.goods_id,a=n.sku_id;n.num=e,o.cartList["goods_"+r]["sku_"+a].num=e,o.$store.dispatch("cartCalculate"),o.resetEditStatus(),o.calculationTotalPrice()}else o.$util.showToast({title:i.message})}})}),800)}},settlement:function(){var t=this;if(this.totalCount>0){var o=[];if(this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&o.push(e.cart_id)}))})),this.discount.coupon_info&&"wait"==this.discount.coupon_info.receive_type&&this.receiveCoupon(this.discount.coupon_info.coupon_type_id,!1),this.isSub)return;this.isSub=!0,e.removeStorageSync("delivery"),e.setStorage({key:"orderCreateData",data:{cart_ids:o.toString()},success:function(){t.$util.redirectTo("/pages/order/payment"),t.isSub=!1}})}},clearInvalidGoods:function(){var t=this;e.showModal({title:"提示",content:"确定要清空这些商品吗?",success:function(e){if(e.confirm){var o=[];t.invalidGoods.forEach((function(e){o.push(e.cart_id)})),o.length&&t.$api.sendRequest({url:"/api/cart/delete",data:{cart_id:o.toString()},success:function(e){e.code>=0?(t.invalidGoods=[],t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}}})},imageError:function(e,t){this.cartData[e].cartList[t].sku_image=this.$util.getDefaultImage().goods,this.$forceUpdate()},toGoodsDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{sku_id:e.sku_id})},refreshCartNumber:function(){this.storeToken&&(this.$store.dispatch("getCartNumber"),this.resetEditStatus())},goodsLimit:function(e,t){var o=this.cartData[t.siteIndex].cartList[t.cartIndex];"plus"==e.type?o.max_buy>0&&o.max_buy=0?(t.invalidGoods=[],t.getCartData(),t.refreshCartNumber()):t.$util.showToast({title:e.message})}})}),t.goodsSkuDetail)}))},toggleDiscountPopup:function(){this.$refs.discountPopup.showPopup?this.$refs.discountPopup.close():this.$refs.discountPopup.open(),this.discountPopupShow=!this.discountPopupShow},discountCalculate:function(){var e=this;if(0!=this.cartData.length){var t=[];this.cartData.forEach((function(e){e.cartList.forEach((function(e){e.checked&&t.push({sku_id:e.sku_id,num:e.num})}))})),0!=t.length?this.$api.sendRequest({url:"/api/cartcalculate/calculate",data:{sku_ids:JSON.stringify(t)},success:function(t){if(t.code>=0&&t.data&&(t.data.coupon_money>0||t.data.promotion_money>0)){e.discount=t.data;var o={};t.data.goods_list.forEach((function(e){e.promotion&&e.promotion.manjian&&(o["sku_"+e.sku_id]=JSON.parse(e.promotion.manjian.rule_json))})),Object.assign(e.manjian,o),e.refresherTriggered=!1}else e.discount={}}}):this.discount={}}},receiveCoupon:function(e){var t=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.receiveSub||(this.receiveSub=!0,this.$api.sendRequest({url:"/coupon/api/coupon/receive",data:{coupon_type_id:e,get_type:2},success:function(e){0==e.code?t.$set(t.discount.coupon_info,"receive_type",""):(o&&t.$util.showToast({title:e.message}),t.receiveSub=!1)}}))},touchS:function(e){this.startX=e.touches[0].clientX},touchE:function(e,t){this.endX=e.changedTouches[0].clientX;var o=this.startX-this.endX;o>50?t.edit=!0:o<0&&(t.edit=!1),this.$forceUpdate()},moneyFormat:function(e){return isNaN(parseFloat(e))?e:parseFloat(e).toFixed(2)},refreshSkuDetail:function(e){this.goodsSkuDetail=e},onRefresh:function(e){this.refresherTriggered=!0,this.storeToken?(this.getCartData(),this.refreshCartNumber()):(this.cartData=[],this.invalidGoods=[],this.calculationTotalPrice())}}};t.default=o}).call(this,o("df3c")["default"])},"36a6":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"预售专区"}},"36f8":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分明细",emptyTpis:"您暂时还没有积分记录哦!",pointExplain:"积分说明"}},"3a02":function(e,t,o){"use strict";(function(e){var i=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o("af34")),r={data:function(){return{listStyle:"",loadingType:"loading",orderType:"",priceOrder:"desc",categoryList:[],goodsList:[],order:"",sort:"desc",showScreen:!1,keyword:"",categoryId:0,minPrice:"",maxPrice:"",isFreeShipping:!1,isIphoneX:!1,coupon:0,emptyShow:!1,isList:!0,share_title:"",count:0,category_title:"",coupon_name:"",listHeight:[],listPosition:[],debounce:null,brandId:0,brandList:[],config:{fontWeight:!1,padding:0,cartEvent:"detail",text:"购买",textColor:"#FFFFFF",theme:"default",aroundRadius:25,control:!0,bgColor:"#FF6A00",style:"button",iconDiy:{iconType:"icon",icon:"",style:{fontSize:"60",iconBgColor:[],iconBgColorDeg:0,iconBgImg:"",bgRadius:0,iconColor:["#000000"],iconColorDeg:0}}},langstatus:0,lang:e.getStorageSync("lang")}},onLoad:function(t){var o=this;if(console.log(this.lang),this.$api.sendRequest({url:"/api/lucky/status",data:{},success:function(t){console.log(t),o.langstatus=t.status,1==o.langstatus&&e.setNavigationBarTitle({title:"en-us"==e.getStorageSync("lang")?"Goods List":"商品列表"})}}),this.categoryId=t.category_id||0,this.keyword=t.keyword||"",this.coupon=t.coupon||0,this.goods_id_arr=t.goods_id_arr||0,this.brandId=t.brand_id||0,this.loadCategoryList(this.categoryId),this.getBrandList(),this.isIphoneX=this.$util.uniappIsIPhoneX(),t.source_member&&e.setStorageSync("source_member",t.source_member),t.scene){var i=decodeURIComponent(t.scene);i=i.split("&"),i.length&&i.forEach((function(t){-1!=t.indexOf("sku_id")&&(o.skuId=t.split("-")[1]),-1!=t.indexOf("m")&&e.setStorageSync("source_member",t.split("-")[1]),-1!=t.indexOf("is_test")&&e.setStorageSync("is_test",1)}))}e.onWindowResize((function(e){o.debounce&&clearTimeout(o.debounce),o.waterfallflow(0)}))},onShow:function(){this.storeToken&&e.getStorageSync("source_member")&&this.$util.onSourceMember(e.getStorageSync("source_member"))},onShareAppMessage:function(e){var t="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",o=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),i=o.path;return{title:t,path:i,success:function(e){},fail:function(e){}}},onShareTimeline:function(){var e="搜索到"+this.count+"件“"+this.keyword+this.category_title+this.coupon_name+"”相关的优质商品",t=this.$util.getCurrentShareRoute(this.memberInfo?this.memberInfo.member_id:0),o=t.query;return{title:e,query:o,imageUrl:""}},methods:{couponInfo:function(e){var t=this;return new Promise((function(o){t.$api.sendRequest({url:"/coupon/api/coupon/typeinfo",data:{coupon_type_id:e},success:function(e){e.code>=0&&o(e.data.coupon_name)}})}))},share_select:function(e,t){return new Promise((function(o){e.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.child_list.forEach((function(e){e.category_id==t&&o(e.category_name),e.child_list&&e.child_list.length>0&&e.forEach((function(e){e.category_id==t&&o(e.category_name)}))}))}))}))},loadCategoryList:function(e,t){var o=this;this.$api.sendRequest({url:"/api/goodscategory/tree",data:{},success:function(e){null!=e.data&&(o.categoryList=e.data)}})},getGoodsList:function(e){var t=this;this.$api.sendRequest({url:"/api/goodssku/page",data:{page:e.num,page_size:e.size,keyword:this.keyword,category_id:this.categoryId,brand_id:this.brandId,min_price:this.minPrice,max_price:this.maxPrice,is_free_shipping:this.isFreeShipping?1:0,order:this.order,sort:this.sort,coupon:this.coupon,goods_id_arr:this.goods_id_arr},success:function(o){var i=[],n=o.message;0==o.code&&o.data?(t.count=o.data.count,0==o.data.page_count&&(t.emptyShow=!0),i=o.data.list,i=i.map((function(e){return e.id=t.genNonDuplicate(),e}))):t.$util.showToast({title:n}),t.category_title="",t.coupon_name="",o.data.config&&(t.config=o.data.config),t.categoryId&&t.share_select(t.categoryList,t.categoryId).then((function(e){t.category_title=e})),t.coupon&&t.couponInfo(t.coupon).then((function(e){t.coupon_name=e})),e.endSuccess(i.length),1==e.num&&(t.goodsList=[]),t.goodsList=t.goodsList.concat(i),t.$refs.loadingCover&&t.$refs.loadingCover.hide(),t.waterfallflow(10*(e.num-1))},fail:function(o){e.endErr(),t.$refs.loadingCover&&t.$refs.loadingCover.hide()}})},changeListStyle:function(){this.isList=!this.isList,this.waterfallflow(0)},sortTabClick:function(e){if("sale_num"==e)this.order="sale_num",this.sort="desc";else if("discount_price"==e)this.order="discount_price",this.sort="desc";else{if("screen"==e)return void(this.showScreen=!0);this.order="",this.sort=""}this.orderType===e&&"discount_price"!==e||(this.orderType=e,"discount_price"===e?(this.priceOrder="asc"===this.priceOrder?"desc":"asc",this.sort=this.priceOrder):this.priceOrder="",this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh())},toDetail:function(e){this.$util.redirectTo("/pages/goods/detail",{goods_id:e.goods_id})},search:function(){this.emptyShow=!1,this.goodsList=[],this.$refs.mescroll.refresh()},selectedCategory:function(e){this.categoryId=e},screenData:function(){if(""!=this.minPrice||""!=this.maxPrice){if(!Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"请输入最高价"});if(Number(this.minPrice)<0||Number(this.maxPrice)<0)return void this.$util.showToast({title:"筛选价格不能小于0"});if(""!=this.minPrice&&Number(this.minPrice)>Number(this.maxPrice)&&this.maxPrice)return void this.$util.showToast({title:"最低价不能大于最高价"});if(""!=this.maxPrice&&Number(this.maxPrice)0)return e.market_price;if(parseFloat(e.price)>parseFloat(t))return e.price}return""},goodsTag:function(e){return e.label_name||""},waterfallflow:function(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.isList||this.$nextTick((function(){setTimeout((function(){var i=[],r=[];0!=o&&(i=t.listHeight,r=t.listPosition);var a=e.createSelectorQuery().in(t);a.selectAll(".double-column .goods-item").boundingClientRect((function(a){for(var s=o;s0&&void 0!==arguments[0]?arguments[0]:6;return Number(Math.random().toString().substr(3,e)+Date.now()).toString(36)}}};t.default=r}).call(this,o("df3c")["default"])},"3b2d":function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"3b90":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},4191:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"秒杀专区"}},4406:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺笔记"}},"44bc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"商品评价"}},"46b3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"拼团分享"}},"46f4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},4779:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账单"}},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"47e7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销明细"}},"4d7a":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的预售",emptyTips:"暂无相关预售订单",update:"释放刷新",updateIng:"加载中..."}},"4e31":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"支付结果",paymentSuccess:"支付成功",paymentFail:"支付失败",goHome:"回到首页",memberCenter:"会员中心",payMoney:"支付金额",unit:"元"}},"4ff4":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑账户",name:"姓名",namePlaceholder:"请输入真实姓名",mobilePhone:"手机号码",mobilePhonePlaceholder:"请输入手机号",accountType:"账号类型",bankInfo:"支行信息",bankInfoPlaceholder:"请输入支行信息",withdrawalAccount:"提现账号",withdrawalAccountPlaceholder:"请输入提现账号",save:"保存"}},"51f3":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:""}},"52c5":function(e,t,o){"use strict";var i=o("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(o("7ca3"));function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function a(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:"gcj02",n=a(t,e,i);r(n[1],n[0],o)}};t.default=s}).call(this,o("df3c")["default"])},6090:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"我的拼单"}},"60d7":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"会员中心",login:"登录/注册",loginTpis:"点击登录 享受更多精彩信息",memberLevel:"会员等级",moreAuthority:"更多权限",allOrders:"全部订单",seeAllOrders:"查看全部订单",waitPay:"待付款",readyDelivery:"待发货",waitDelivery:"待收货",refunding:"退款",sign:"签到",personInfo:"个人资料",receivingAddress:"收货地址",accountList:"账户列表",couponList:"优惠券",mySpellList:"我的拼单",myBargain:"我的砍价",virtualCode:"虚拟码",winningRecord:"我的礼品",myCollection:"我的关注",myTracks:"我的足迹",pintuanOrder:"拼团订单",yushouOrder:"预售订单",verification:"核销台",message:"我的消息",exchangeOrder:"积分兑换",waitpay:"待付款",waitsend:"待发货",waitconfirm:"待收货",activist:"售后",completed:"已完成",balance:"余额",point:"积分",coupon:"优惠券",memberRecommend:"邀请有礼",myPresale:"我的预售",myGiftcard:"我的礼品卡",myDivideticket:"我的瓜分券",myRebate:"拼团返利",myHongbao:"我的红包列表",myBlindBox:"我的盲盒"}},6208:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"兑换结果",exchangeSuccess:"兑换成功",see:"查看兑换记录",goHome:"回到首页"}},6381:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"编辑收货地址",consignee:"姓名",consigneePlaceholder:"收货人姓名",mobile:"手机",mobilePlaceholder:"收货人手机号",telephone:"电话",telephonePlaceholder:"收货人固定电话(选填)",receivingCity:"地区",address:"详细地址",addressPlaceholder:"小区、街道、写字楼",save:"保存"}},6382:function(e,t,o){var i=o("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return i(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"641c":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"品牌专区"}},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),c(e.data)},fail:function(t){t.errMsg&&"request:fail url not in domain list"==t.errMsg?e.showToast({title:n.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):l(t)},complete:function(t){t.errMsg&&"request:ok"!=t.errMsg||t.statusCode&&-1==[200,500].indexOf(t.statusCode)?e.showToast({title:n.default.baseUrl+"请求失败",icon:"none",duration:1e4}):l(t.data)}})}));e.request({url:i,method:o,data:s,header:t.header||{"content-type":"application/x-www-form-urlencoded;application/json"},dataType:t.dataType||"json",responseType:t.responseType||"text",success:function(e){if(-3==e.data.code&&a.default.state.siteState>0)return a.default.commit("setSiteState",-3),void r.default.redirectTo("/pages_tool/storeclose/storeclose",{},"reLaunch");e.data.refreshtoken&&a.default.commit("setToken",e.data.refreshtoken),-10009!=e.data.code&&-10010!=e.data.code||(a.default.commit("setToken",""),a.default.commit("setMemberInfo","")),"function"==typeof t.success&&t.success(e.data)},fail:function(o){o.errMsg&&"request:fail url not in domain list"==o.errMsg?e.showToast({title:n.default.baseUrl+"不在request 合法域名列表中",icon:"none",duration:1e4}):"function"==typeof t.fail&&t.fail(o)},complete:function(o){o.errMsg&&"request:ok"!=o.errMsg||o.statusCode&&-1==[200,500].indexOf(o.statusCode)?e.showToast({title:n.default.baseUrl+"请求失败",icon:"none",duration:1e4}):"function"==typeof t.complete&&t.complete(o.data)}})}else e.showToast({title:"未配置请求域名",icon:"none",duration:1e4})},uploadBase64:function(t){e.request({url:n.default.baseUrl+"/api/upload/headimgBase64",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",images:t.base64},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},pullImage:function(t){e.request({url:n.default.baseUrl+"/api/upload/headimgPull",method:"POST",header:{"content-type":"application/x-www-form-urlencoded;application/json"},data:{app_type:"weapp",app_type_name:"微信小程序",path:t.path},dataType:"json",responseType:"text",success:function(e){"function"==typeof t.success&&t.success(e.data)},fail:function(){"function"==typeof t.fail&&t.fail(res)}})},upload:function(t){e.uploadFile({url:n.default.baseUrl+t.url,filePath:t.filePath,name:t.name||"file",fileType:t.fileType||"image",formData:{app_type:"weapp",app_type_name:"微信小程序"},header:{"content-type":"application/x-www-form-urlencoded;application/json"},success:function(e){"function"==typeof t.success&&t.success(JSON.parse(e.data))},fail:function(e){"function"==typeof t.fail&&t.fail(e)}})}};t.default=s}).call(this,o("df3c")["default"])},7172:function(e,t){e.exports=function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i,n,r,a,s=[],c=!0,l=!1;try{if(r=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(i=r.call(o)).done)&&(s.push(i.value),s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{if(!c&&null!=o["return"]&&(a=o["return"](),Object(a)!==a))return}finally{if(l)throw n}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},7307:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销记录",emptyTips:"暂无记录"}},"755e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},7647:function(e,t){function o(t,i){return e.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,o(t,i)}e.exports=o,e.exports.__esModule=!0,e.exports["default"]=e.exports},"769e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"退款详情"}},7749:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"核销台"}},7780:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"邀请好友"}},"78b8":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"申请退款"}},"7c49":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"团购专区"}},"7c5d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"7c64":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={tabBar:{home:"首页",category:"分类",cart:"购物车",member:"个人中心"},common:{name:"中文",mescrollTextInOffset:"下拉刷新",mescrollTextOutOffset:"释放更新",mescrollEmpty:"暂无相关数据",goodsRecommendTitle:"猜你喜欢",currencySymbol:"¥",submit:"提交"}}},"7ca3":function(e,t,o){var i=o("d551");e.exports=function(e,t,o){return t=i(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"7d44":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"店铺打烊"}},"7e77":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"积分中心"}},"7eb4":function(e,t,o){var i=o("9fc1")();e.exports=i},"823e":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"砍价详情"}},"828b":function(e,t,o){"use strict";function i(e,t,o,i,n,r,a,s,c,l){var u,d="function"===typeof e?e.options:e;if(c){d.components||(d.components={});var f=Object.prototype.hasOwnProperty;for(var p in c)f.call(c,p)&&!f.call(d.components,p)&&(d.components[p]=c[p])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),i&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=u):n&&(u=s?function(){n.call(this,this.$root.$options.shadowRoot)}:n),u)if(d.functional){d._injectStyles=u;var h=d.render;d.render=function(e,t){return u.call(t),h(e,t)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,u):[u]}return{exports:e,options:d}}o.d(t,"a",(function(){return i}))},"834a":function(e,t,o){"use strict";(function(e,o){function i(e,t){var o="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!o){if(Array.isArray(e)||(o=function(e,t){if(!e)return;if("string"===typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e))||t&&e&&"number"===typeof e.length){o&&(e=o);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){o=o.call(e)},n:function(){var e=o.next();return s=e.done,e},e:function(e){c=!0,a=e},f:function(){try{s||null==o.return||o.return()}finally{if(c)throw a}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,i=new Array(t);o",quot:'"',apos:"'",ensp:" ",emsp:" ",nbsp:" ",semi:";",ndash:"–",mdash:"—",middot:"·",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",hellip:"…",larr:"←",uarr:"↑",rarr:"→",darr:"↓"},tagStyle:{address:"font-style:italic",big:"display:inline;font-size:1.2em",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",mark:"background-color:yellow",pre:"font-family:monospace;white-space:pre",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",strike:"text-decoration:line-through",u:"text-decoration:underline"},svgDict:{animatetransform:"animateTransform",lineargradient:"linearGradient",viewbox:"viewBox",attributename:"attributeName",repeatcount:"repeatCount",repeatdur:"repeatDur",foreignobject:"foreignObject"}},a={},s=e.getSystemInfoSync(),c=s.windowWidth,l=s.system,u=f(" ,\r,\n,\t,\f"),d=0;function f(e){for(var t=Object.create(null),o=e.split(","),i=o.length;i--;)t[o[i]]=!0;return t}function p(e,t){var o=e.indexOf("&");while(-1!==o){var i=e.indexOf(";",o+3),n=void 0;if(-1===i)break;"#"===e[o+1]?(n=parseInt(("x"===e[o+2]?"0":"")+e.substring(o+2,i)),isNaN(n)||(e=e.substr(0,o)+String.fromCharCode(n)+e.substr(i+1))):(n=e.substring(o+1,i),(r.entities[n]||"amp"===n&&t)&&(e=e.substr(0,o)+(r.entities[n]||"&")+e.substr(i+1))),o=e.indexOf("&",o+1)}return e}function h(e){for(var t=e.length-1,o=t;o>=-1;o--)(-1===o||e[o].c||!e[o].name||"div"!==e[o].name&&"p"!==e[o].name&&"h"!==e[o].name[0]||(e[o].attrs.style||"").includes("inline"))&&(t-o>=5&&e.splice(o+1,t-o,{name:"div",attrs:{},children:e.slice(o+1,t+1)}),t=o-1)}function g(e){this.options=e||{},this.tagStyle=Object.assign({},r.tagStyle,this.options.tagStyle),this.imgList=e.imgList||[],this.imgList._unloadimgs=0,this.plugins=e.plugins||[],this.attrs=Object.create(null),this.stack=[],this.nodes=[],this.pre=(this.options.containerStyle||"").includes("white-space")&&this.options.containerStyle.includes("pre")?2:0}function m(e){this.handler=e}g.prototype.parse=function(e){for(var t=this.plugins.length;t--;)this.plugins[t].onUpdate&&(e=this.plugins[t].onUpdate(e,r)||e);new m(this).parse(e);while(this.stack.length)this.popNode();return this.nodes.length>50&&h(this.nodes),this.nodes},g.prototype.expose=function(){for(var e=this.stack.length;e--;){var t=this.stack[e];if(t.c||"a"===t.name||"video"===t.name||"audio"===t.name)return;t.c=1}},g.prototype.hook=function(e){for(var t=this.plugins.length;t--;)if(this.plugins[t].onParse&&!1===this.plugins[t].onParse(e,this))return!1;return!0},g.prototype.getUrl=function(e){var t=this.options.domain;return"/"===e[0]?"/"===e[1]?e=(t?t.split("://")[0]:"http")+":"+e:t&&(e=t+e):e.includes("data:")||e.includes("://")||t&&(e=t+"/"+e),e},g.prototype.parseStyle=function(e){var t=e.attrs,o=(this.tagStyle[e.name]||"").split(";").concat((t.style||"").split(";")),i={},n="";t.id&&!this.xml&&(this.options.useAnchor?this.expose():"img"!==e.name&&"a"!==e.name&&"video"!==e.name&&"audio"!==e.name&&(t.id=void 0)),t.width&&(i.width=parseFloat(t.width)+(t.width.includes("%")?"%":"px"),t.width=void 0),t.height&&(i.height=parseFloat(t.height)+(t.height.includes("%")?"%":"px"),t.height=void 0);for(var r=0,a=o.length;r0||d.includes("safe"))n+=";".concat(l,":").concat(d);else if(!i[l]||d.includes("import")||!i[l].includes("import")){if(d.includes("url")){var f=d.indexOf("(")+1;if(f){while('"'===d[f]||"'"===d[f]||u[d[f]])f++;d=d.substr(0,f)+this.getUrl(d.substr(f))}}else d.includes("rpx")&&(d=d.replace(/[0-9.]+\s*rpx/g,(function(e){return parseFloat(e)*c/750+"px"})));i[l]=d}}}return e.attrs.style=n,i},g.prototype.onTagName=function(e){this.tagName=this.xml?e:e.toLowerCase(),"svg"===this.tagName&&(this.xml=(this.xml||0)+1,r.ignoreTags.style=void 0)},g.prototype.onAttrName=function(e){e=this.xml?e:e.toLowerCase(),"data-"===e.substr(0,5)?"data-src"!==e||this.attrs.src?"img"===this.tagName||"a"===this.tagName?this.attrName=e:this.attrName=void 0:this.attrName="src":(this.attrName=e,this.attrs[e]="T")},g.prototype.onAttrVal=function(e){var t=this.attrName||"";"style"===t||"href"===t?this.attrs[t]=p(e,!0):t.includes("src")?this.attrs[t]=this.getUrl(p(e,!0)):t&&(this.attrs[t]=e)},g.prototype.onOpenTag=function(e){var t=Object.create(null);t.name=this.tagName,t.attrs=this.attrs,this.options.nodes.length&&(t.type="node"),this.attrs=Object.create(null);var o=t.attrs,i=this.stack[this.stack.length-1],n=i?i.children:this.nodes,s=this.xml?e:r.voidTags[t.name];if(a[t.name]&&(o.class=a[t.name]+(o.class?" "+o.class:"")),"embed"===t.name){var l=o.src||"";l.includes(".mp4")||l.includes(".3gp")||l.includes(".m3u8")||(o.type||"").includes("video")?t.name="video":(l.includes(".mp3")||l.includes(".wav")||l.includes(".aac")||l.includes(".m4a")||(o.type||"").includes("audio"))&&(t.name="audio"),o.autostart&&(o.autoplay="T"),o.controls="T"}if("video"!==t.name&&"audio"!==t.name||("video"!==t.name||o.id||(o.id="v"+d++),o.controls||o.autoplay||(o.controls="T"),t.src=[],o.src&&(t.src.push(o.src),o.src=void 0),this.expose()),s){if(!this.hook(t)||r.ignoreTags[t.name])return void("base"!==t.name||this.options.domain?"source"===t.name&&i&&("video"===i.name||"audio"===i.name)&&o.src&&i.src.push(o.src):this.options.domain=o.href);var u=this.parseStyle(t);if("img"===t.name){if(o.src&&(o.src.includes("webp")&&(t.webp="T"),o.src.includes("data:")&&"all"!==this.options.previewImg&&!o["original-src"]&&(o.ignore="T"),!o.ignore||t.webp||o.src.includes("cloud://"))){for(var f=this.stack.length;f--;){var p=this.stack[f];"a"===p.name&&(t.a=p.attrs),"table"!==p.name||t.webp||o.src.includes("cloud://")||(!u.display||u.display.includes("inline")?t.t="inline-block":t.t=u.display,u.display=void 0);var h=p.attrs.style||"";if(!h.includes("flex:")||h.includes("flex:0")||h.includes("flex: 0")||u.width&&!(parseInt(u.width)>100))if(h.includes("flex")&&"100%"===u.width)for(var g=f+1;g.5?v[y].toUpperCase():v[y]}b+=v.substr(y),v=b}}this.imgList.push(v),t.t||(this.imgList._unloadimgs+=1)}"inline"===u.display&&(u.display=""),o.ignore&&(u["max-width"]=u["max-width"]||"100%",o.style+=";-webkit-touch-callout:none"),parseInt(u.width)>c&&(u.height=void 0),isNaN(parseInt(u.width))||(t.w="T"),!isNaN(parseInt(u.height))&&(!u.height.includes("%")||i&&(i.attrs.style||"").includes("height"))&&(t.h="T"),t.w&&t.h&&u["object-fit"]&&("contain"===u["object-fit"]?t.m="aspectFit":"cover"===u["object-fit"]&&(t.m="aspectFill"))}else if("svg"===t.name)return n.push(t),this.stack.push(t),void this.popNode();for(var w in u)u[w]&&(o.style+=";".concat(w,":").concat(u[w].replace(" !important","")));o.style=o.style.substr(1)||void 0}else("pre"===t.name||(o.style||"").includes("white-space")&&o.style.includes("pre"))&&2!==this.pre&&(this.pre=t.pre=1),t.children=[],this.stack.push(t);n.push(t)},g.prototype.onCloseTag=function(e){var t;for(e=this.xml?e:e.toLowerCase(),t=this.stack.length;t--;)if(this.stack[t].name===e)break;if(-1!==t)while(this.stack.length>t)this.popNode();else if("p"===e||"br"===e){var o=this.stack.length?this.stack[this.stack.length-1].children:this.nodes;o.push({name:e,attrs:{class:a[e]||"",style:this.tagStyle[e]||""}})}},g.prototype.popNode=function(){var t=this.stack.pop(),n=t.attrs,a=t.children,s=this.stack[this.stack.length-1],l=s?s.children:this.nodes;if(!this.hook(t)||r.ignoreTags[t.name])return"title"===t.name&&a.length&&"text"===a[0].type&&this.options.setTitle&&e.setNavigationBarTitle({title:a[0].text}),void l.pop();if(t.pre&&2!==this.pre){this.pre=t.pre=void 0;for(var u=this.stack.length;u--;)this.stack[u].pre&&(this.pre=1)}var d={};if("svg"===t.name){if(this.xml>1)return void this.xml--;var f="",p=n.style;return n.style="",n.xmlns="http://www.w3.org/2000/svg",function e(t){if("text"!==t.type){var o=r.svgDict[t.name]||t.name;if("foreignObject"===o){var n,a=i(t.children||[]);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(s.attrs&&!s.attrs.xmlns){s.attrs.xmlns="http://www.w3.org/1999/xhtml";break}}}catch(d){a.e(d)}finally{a.f()}}for(var c in f+="<"+o,t.attrs){var l=t.attrs[c];l&&(f+=" ".concat(r.svgDict[c]||c,'="').concat(l.replace(/"/g,""),'"'))}if(t.children){f+=">";for(var u=0;u"}else f+="/>"}else f+=t.text}(t),t.name="img",t.attrs={src:"data:image/svg+xml;utf8,"+f.replace(/#/g,"%23"),style:p,ignore:"T"},t.children=void 0,this.xml=!1,void(r.ignoreTags.style=!0)}if(n.align&&("table"===t.name?"center"===n.align?d["margin-inline-start"]=d["margin-inline-end"]="auto":d.float=n.align:d["text-align"]=n.align,n.align=void 0),n.dir&&(d.direction=n.dir,n.dir=void 0),"font"===t.name&&(n.color&&(d.color=n.color,n.color=void 0),n.face&&(d["font-family"]=n.face,n.face=void 0),n.size)){var g=parseInt(n.size);isNaN(g)||(g<1?g=1:g>7&&(g=7),d["font-size"]=["x-small","small","medium","large","x-large","xx-large","xxx-large"][g-1]),n.size=void 0}if((n.class||"").includes("align-center")&&(d["text-align"]="center"),Object.assign(d,this.parseStyle(t)),"table"!==t.name&&parseInt(d.width)>c&&(d["max-width"]="100%",d["box-sizing"]="border-box"),r.blockTags[t.name]?t.name="div":r.trustTags[t.name]||this.xml||(t.name="span"),"a"===t.name||"ad"===t.name)this.expose();else if("video"===t.name)(d.height||"").includes("auto")&&(d.height=void 0);else if("ul"!==t.name&&"ol"!==t.name||!t.c)if("table"===t.name){var m=parseFloat(n.cellpadding),_=parseFloat(n.cellspacing),v=parseFloat(n.border),y=d["border-color"],b=d["border-style"];if(t.c&&(isNaN(m)&&(m=2),isNaN(_)&&(_=2)),v&&(n.style+=";border:".concat(v,"px ").concat(b||"solid"," ").concat(y||"gray")),t.flag&&t.c){d.display="grid","collapse"===d["border-collapse"]&&(d["border-collapse"]=void 0,_=0),_?(d["grid-gap"]=_+"px",d.padding=_+"px"):v&&(n.style+=";border-left:0;border-top:0");var w=[],S=[],k=[],x={};(function e(t){for(var o=0;o=50&&t.c&&!(d.display||"").includes("flex")&&h(a),d)if(d[H]){var W=";".concat(H,":").concat(d[H].replace(" !important",""));q&&(H.includes("flex")&&"flex-direction"!==H||"align-self"===H||H.includes("grid")||"-"===d[H][0]||H.includes("width")&&W.includes("%"))?(t.f+=W,"width"===H&&(n.style+=";width:100%")):n.style+=W}n.style=n.style.substr(1)||void 0},g.prototype.onText=function(t){if(!this.pre){for(var o,i="",n=0,r=t.length;n"===this.content[this.i]||t&&">"===this.content[this.i+1])&&(e&&this.handler[e](this.content.substring(this.start,this.i)),this.i+=t?2:1,this.start=this.i,this.handler.onOpenTag(t),"script"===this.handler.tagName?(this.i=this.content.indexOf("="a"&&e<="z"||e>="A"&&e<="Z")this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i)),this.start=++this.i,this.state=this.tagName;else if("/"===e||"!"===e||"?"===e){this.start!==this.i&&this.handler.onText(this.content.substring(this.start,this.i));var t=this.content[this.i+2];if("/"===e&&(t>="a"&&t<="z"||t>="A"&&t<="Z"))return this.i+=2,this.start=this.i,void(this.state=this.endTag);var o="--\x3e";"!"===e&&"-"===this.content[this.i+2]&&"-"===this.content[this.i+3]||(o=">"),this.i=this.content.indexOf(o,this.i),-1!==this.i&&(this.i+=o.length,this.start=this.i)}else this.i++}else this.start"===e||"/"===e){if(this.handler.onCloseTag(this.content.substring(this.start,this.i)),">"!==e&&(this.i=this.content.indexOf(">",this.i),-1===this.i))return;this.start=++this.i,this.state=this.text}else this.i++};var _=g;t.default=_}).call(this,o("df3c")["default"],o("3223")["default"])},"84c0":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"搜索",history:"历史搜索",hot:"热门搜索",find:"搜索发现",hidefind:"当前搜索发现已隐藏",inputPlaceholder:"搜索商品"}},"86fa":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"",select:"选择",params:"参数",service:"商品服务",allGoods:"全部商品",image:"图片",video:"视频"}},"8c2d":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"账号注销"}},"8ddc":function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lang=void 0;t.lang={title:"订单详情"}},"8f59":function(e,t,o){"use strict";(function(t){var o="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function n(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var o=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(o)return o.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(o){i[o]=n(e[o],t)})),i}function r(e,t){Object.keys(e).forEach((function(o){return t(e[o],o)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var o=e.state;this.state=("function"===typeof o?o():o)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){r(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&r(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&r(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&r(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,c);var l=function(e){this.register([],e,!1)};l.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},l.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,o){return t=t.getChild(o),e+(t.namespaced?o+"/":"")}),"")},l.prototype.update=function(e){(function e(t,o,i){0;if(o.update(i),i.modules)for(var n in i.modules){if(!o.getChild(n))return void 0;e(t.concat(n),o.getChild(n),i.modules[n])}})([],this.root,e)},l.prototype.register=function(e,t,o){var i=this;void 0===o&&(o=!0);var n=new s(t,o);if(0===e.length)this.root=n;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],n)}t.modules&&r(t.modules,(function(t,n){i.register(e.concat(n),t,o)}))},l.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1],i=t.getChild(o);i&&i.runtime&&t.removeChild(o)},l.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),o=e[e.length-1];return!!t&&t.hasChild(o)};var u;var d=function(e){var t=this;void 0===e&&(e={}),!u&&"undefined"!==typeof window&&window.Vue&&y(window.Vue);var o=e.plugins;void 0===o&&(o=[]);var n=e.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var r=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(r,e,t)},this.commit=function(e,t,o){return s.call(r,e,t,o)},this.strict=n;var c=this._modules.root.state;m(this,c,[],this._modules.root),g(this,c),o.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:u.config.devtools;d&&function(e){i&&(e._devtoolHook=i,i.emit("vuex:init",e),i.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){i.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){i.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function p(e,t,o){return t.indexOf(e)<0&&(o&&o.prepend?t.unshift(e):t.push(e)),function(){var o=t.indexOf(e);o>-1&&t.splice(o,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var o=e.state;m(e,o,[],e._modules.root,!0),g(e,o,t)}function g(e,t,o){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var n=e._wrappedGetters,a={};r(n,(function(t,o){a[o]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,o,{get:function(){return e._vm[o]},enumerable:!0})}));var s=u.config.silent;u.config.silent=!0,e._vm=new u({data:{$$state:t},computed:a}),u.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),i&&(o&&e._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function m(e,t,o,i,n){var r=!o.length,a=e._modules.getNamespace(o);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!r&&!n){var s=_(t,o.slice(0,-1)),c=o[o.length-1];e._withCommit((function(){u.set(s,c,i.state)}))}var l=i.context=function(e,t,o){var i=""===t,n={dispatch:i?e.dispatch:function(o,i,n){var r=v(o,i,n),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=t+c),e.dispatch(c,a)},commit:i?e.commit:function(o,i,n){var r=v(o,i,n),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=t+c),e.commit(c,a,s)}};return Object.defineProperties(n,{getters:{get:i?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var o={},i=t.length;Object.keys(e.getters).forEach((function(n){if(n.slice(0,i)===t){var r=n.slice(i);Object.defineProperty(o,r,{get:function(){return e.getters[n]},enumerable:!0})}})),e._makeLocalGettersCache[t]=o}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return _(e.state,o)}}}),n}(e,a,o);i.forEachMutation((function(t,o){var i=a+o;(function(e,t,o,i){var n=e._mutations[t]||(e._mutations[t]=[]);n.push((function(t){o.call(e,i.state,t)}))})(e,i,t,l)})),i.forEachAction((function(t,o){var i=t.root?o:a+o,n=t.handler||t;(function(e,t,o,i){var n=e._actions[t]||(e._actions[t]=[]);n.push((function(t){var n=o.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(n)||(n=Promise.resolve(n)),e._devtoolHook?n.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):n}))})(e,i,n,l)})),i.forEachGetter((function(t,o){var i=a+o;(function(e,t,o,i){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return o(i.state,i.getters,e.state,e.getters)}})(e,i,t,l)})),i.forEachChild((function(i,r){m(e,t,o.concat(r),i,n)}))}function _(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,o){return a(e)&&e.type&&(o=t,t=e,e=e.type),{type:e,payload:t,options:o}}function y(e){u&&e===u||(u=e, /*! * vuex v3.6.2 * (c) 2021 Evan You diff --git a/pages/goods/category.js b/pages/goods/category.js index b944bf7..3192173 100644 --- a/pages/goods/category.js +++ b/pages/goods/category.js @@ -1 +1 @@ -(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/category"],{2741:function(n,e,t){"use strict";t.r(e);var o=t("93c6"),i=t("3c19");for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("afed");var r=t("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports},"3c19":function(n,e,t){"use strict";t.r(e);var o=t("7f22"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},"7f22":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={components:{},data:function(){return{diyData:null}},onLoad:function(){this.$langConfig.refresh(),n.hideTabBar(),this.getDiyInfo()},onShow:function(){this.$refs.category&&this.$refs.category[0].pageShow()},onUnload:function(){!this.storeToken&&this.$refs.login&&this.$refs.login.cancelCompleteInfo()},methods:{getDiyInfo:function(){var e=this;this.$api.sendRequest({url:"/api/diyview/info",data:{name:"DIY_VIEW_GOODS_CATEGORY"},success:function(t){0==t.code&&t.data&&(e.diyData=t.data,e.diyData.value&&(e.diyData=JSON.parse(e.diyData.value),e.$refs.loadingCover&&e.$refs.loadingCover.hide()),n.stopPullDownRefresh())}})},toLogin:function(){this.$refs.login.open("/pages/goods/category")}},onPullDownRefresh:function(){n.hideTabBar(),this.getDiyInfo()}};e.default=t}).call(this,t("df3c")["default"])},"93c6":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return o}));var o={diyCategory:function(){return t.e("components/diy-components/diy-category").then(t.bind(null,"ab27"))},nsLogin:function(){return Promise.all([t.e("common/vendor"),t.e("components/ns-login/ns-login")]).then(t.bind(null,"17d0"))},loadingCover:function(){return t.e("components/loading-cover/loading-cover").then(t.bind(null,"0773"))},diyBottomNav:function(){return t.e("components/diy-components/diy-bottom-nav").then(t.bind(null,"e526"))}},i=function(){var n=this.$createElement;this._self._c},a=[]},afed:function(n,e,t){"use strict";var o=t("e939"),i=t.n(o);i.a},bb44:function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("1dee");o(t("3240"));var i=o(t("2741"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},e939:function(n,e,t){}},[["bb44","common/runtime","common/vendor"]]]); \ No newline at end of file +(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/category"],{2741:function(n,e,t){"use strict";t.r(e);var o=t("93c6"),i=t("3c19");for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("afed");var r=t("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports},"3c19":function(n,e,t){"use strict";t.r(e);var o=t("7f22"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},"7f22":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={components:{},data:function(){return{diyData:null}},onLoad:function(){this.$langConfig.refresh(),n.hideTabBar(),this.getDiyInfo(),this.$langConfig.title('产品中心')},onShow:function(){this.$refs.category&&this.$refs.category[0].pageShow()},onUnload:function(){!this.storeToken&&this.$refs.login&&this.$refs.login.cancelCompleteInfo()},methods:{getDiyInfo:function(){var e=this;this.$api.sendRequest({url:"/api/diyview/info",data:{name:"DIY_VIEW_GOODS_CATEGORY"},success:function(t){0==t.code&&t.data&&(e.diyData=t.data,e.diyData.value&&(e.diyData=JSON.parse(e.diyData.value),e.diyData.global.title='产品中心',console.log('diyData=', e.diyData),e.$refs.loadingCover&&e.$refs.loadingCover.hide()),n.stopPullDownRefresh())}})},toLogin:function(){this.$refs.login.open("/pages/goods/category")}},onPullDownRefresh:function(){n.hideTabBar(),this.getDiyInfo()}};e.default=t}).call(this,t("df3c")["default"])},"93c6":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return o}));var o={diyCategory:function(){return t.e("components/diy-components/diy-category").then(t.bind(null,"ab27"))},nsLogin:function(){return Promise.all([t.e("common/vendor"),t.e("components/ns-login/ns-login")]).then(t.bind(null,"17d0"))},loadingCover:function(){return t.e("components/loading-cover/loading-cover").then(t.bind(null,"0773"))},diyBottomNav:function(){return t.e("components/diy-components/diy-bottom-nav").then(t.bind(null,"e526"))}},i=function(){var n=this.$createElement;this._self._c},a=[]},afed:function(n,e,t){"use strict";var o=t("e939"),i=t.n(o);i.a},bb44:function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("1dee");o(t("3240"));var i=o(t("2741"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},e939:function(n,e,t){}},[["bb44","common/runtime","common/vendor"]]]); \ No newline at end of file