多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
96 KiB

  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-tabbar-user-index"],{"07d0":function(t,e,n){var i,r,o,a=n("7037").default;n("14d9"),function(c,s){"object"===a(e)?t.exports=e=s(n("9c52")):(r=[n("9c52")],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))}(0,(function(t){return function(){var e=t,n=e.lib,i=n.WordArray,r=e.enc;r.Utf16=r.Utf16BE={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r+=2){var o=e[r>>>2]>>>16-r%4*8&65535;i.push(String.fromCharCode(o))}return i.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>1]|=t.charCodeAt(r)<<16-r%2*16;return i.create(n,2*e)}};function o(t){return t<<8&4278255360|t>>>8&16711935}r.Utf16LE={stringify:function(t){for(var e=t.words,n=t.sigBytes,i=[],r=0;r<n;r+=2){var a=o(e[r>>>2]>>>16-r%4*8&65535);i.push(String.fromCharCode(a))}return i.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r<e;r++)n[r>>>1]|=o(t.charCodeAt(r)<<16-r%2*16);return i.create(n,2*e)}}}(),t.enc.Utf16}))},"0d6e":function(t,e,n){var i,r,o,a=n("7037").default;n("14d9"),n("c975"),function(c,s){"object"===a(e)?t.exports=e=s(n("9c52")):(r=[n("9c52")],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))}(0,(function(t){return function(){var e=t,n=e.lib,i=n.WordArray,r=e.enc;r.Base64={stringify:function(t){var e=t.words,n=t.sigBytes,i=this._map;t.clamp();for(var r=[],o=0;o<n;o+=3)for(var a=e[o>>>2]>>>24-o%4*8&255,c=e[o+1>>>2]>>>24-(o+1)%4*8&255,s=e[o+2>>>2]>>>24-(o+2)%4*8&255,f=a<<16|c<<8|s,u=0;u<4&&o+.75*u<n;u++)r.push(i.charAt(f>>>6*(3-u)&63));var l=i.charAt(64);if(l)while(r.length%4)r.push(l);return r.join("")},parse:function(t){var e=t.length,n=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o<n.length;o++)r[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var c=t.indexOf(a);-1!==c&&(e=c)}return function(t,e,n){for(var r=[],o=0,a=0;a<e;a++)if(a%4){var c=n[t.charCodeAt(a-1)]<<a%4*2,s=n[t.charCodeAt(a)]>>>6-a%4*2,f=c|s;r[o>>>2]|=f<<24-o%4*8,o++}return i.create(r,o)}(t,e,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),t.enc.Base64}))},"0f4f":function(t,e,n){var i,r,o,a=n("7037").default;n("fb6a"),n("14d9"),n("99af"),n("d401"),n("d3b7"),n("25f0"),n("a434"),function(c,s,f){"object"===a(e)?t.exports=e=s(n("9c52"),n("5ce4")):(r=[n("9c52"),n("5ce4")],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))}(0,(function(t){t.lib.Cipher||function(e){var n=t,i=n.lib,r=i.Base,o=i.WordArray,a=i.BufferedBlockAlgorithm,c=n.enc,s=(c.Utf8,c.Base64),f=n.algo,u=f.EvpKDF,l=i.Cipher=a.extend({cfg:r.extend(),createEncryptor:function(t,e){return this.create(this._ENC_XFORM_MODE,t,e)},createDecryptor:function(t,e){return this.create(this._DEC_XFORM_MODE,t,e)},init:function(t,e,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=e,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){t&&this._append(t);var e=this._doFinalize();return e},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?w:m}return function(e){return{encrypt:function(n,i,r){return t(i).encrypt(e,n,i,r)},decrypt:function(n,i,r){return t(i).decrypt(e,n,i,r)}}}}()}),d=(i.StreamCipher=l.extend({_doFinalize:function(){var t=this._process(!0);return t},blockSize:1}),n.mode={}),p=i.BlockCipherMode=r.extend({createEncryptor:function(t,e){return this.Encryptor.create(t,e)},createDecryptor:function(t,e){return this.Decryptor.create(t,e)},init:function(t,e){this._cipher=t,this._iv=e}}),h=d.CBC=function(){var t=p.extend();function e(t,e,n){var i,r=this._iv;r?(i=r,this._iv=void 0):i=this._prevBlock;for(var o=0;o<n;o++)t[e+o]^=i[o]}return t.Encryptor=t.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize;e.call(this,t,n,r),i.encryptBlock(t,n),this._prevBlock=t.slice(n,n+r)}}),t.Decryptor=t.extend({processBlock:function(t,n){var i=this._cipher,r=i.blockSize,o=t.slice(n,n+r);i.decryptBlock(t,n),e.call(this,t,n,r),this._prevBlock=o}}),t}(),g=n.pad={},
  2. /** @preserve
  3. (c) 2012 by Cédric Mesnil. All rights reserved.
  4. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
  5. - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  6. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  7. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  8. */
  9. return function(e){var n=t,i=n.lib,r=i.WordArray,o=i.Hasher,a=n.algo,c=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),s=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),f=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),u=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),l=r.create([0,1518500249,1859775393,2400959708,2840853838]),d=r.create([1352829926,1548603684,1836072691,2053994217,0]),p=a.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,e){for(var n=0;n<16;n++){var i=e+n,r=t[i];t[i]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var o,a,p,m,k,x,w,B,S,C,z,A=this._hash.words,H=l.words,j=d.words,M=c.words,R=s.words,E=f.words,I=u.words;x=o=A[0],w=a=A[1],B=p=A[2],S=m=A[3],C=k=A[4];for(n=0;n<80;n+=1)z=o+t[e+M[n]]|0,z+=n<16?h(a,p,m)+H[0]:n<32?g(a,p,m)+H[1]:n<48?v(a,p,m)+H[2]:n<64?y(a,p,m)+H[3]:_(a,p,m)+H[4],z|=0,z=b(z,E[n]),z=z+k|0,o=k,k=m,m=b(p,10),p=a,a=z,z=x+t[e+R[n]]|0,z+=n<16?_(w,B,S)+j[0]:n<32?y(w,B,S)+j[1]:n<48?v(w,B,S)+j[2]:n<64?g(w,B,S)+j[3]:h(w,B,S)+j[4],z|=0,z=b(z,I[n]),z=z+C|0,x=C,C=S,S=b(B,10),B=w,w=z;z=A[1]+p+S|0,A[1]=A[2]+m+C|0,A[2]=A[3]+k+x|0,A[3]=A[4]+o+w|0,A[4]=A[0]+a+B|0,A[0]=z},_doFinalize:function(){var t=this._data,e=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;e[i>>>5]|=128<<24-i%32,e[14+(i+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),t.sigBytes=4*(e.length+1),this._process();for(var r=this._hash,o=r.words,a=0;a<5;a++){var c=o[a];o[a]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return r},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});function h(t,e,n){return t^e^n}function g(t,e,n){return t&e|~t&n}function v(t,e,n){return(t|~e)^n}function y(t,e,n){return t&n|e&~n}function _(t,e,n){return t^(e|~n)}function b(t,e){return t<<e|t>>>32-e}n.RIPEMD160=o._createHelper(p),n.HmacRIPEMD160=o._createHmacHelper(p)}(Math),t.RIPEMD160}))},"98f8":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.Services=function(t){var e=null,n=null,i=function(){var i=(0,o.default)((0,r.default)().mark((function i(){var o,s,f,u;return(0,r.default)().wrap((function(i){while(1)switch(i.prev=i.next){case 0:return uni.showLoading({title:"加载中..."}),o=uni.getStorageSync("service_shopids")||[],s=uni.getStorageSync("service_corpIds")||[],f=uni.getStorageSync("service_urls")||[],i.prev=4,i.next=7,a.request(c.CustomerService,{},"get");case 7:u=i.sent,""===u.code&&u.data.corpId&&u.data.url&&(o.push(t),s.push(u.data.corpId),f.push(u.data.url),uni.setStorageSync("service_shopids",o),uni.setStorageSync("service_corpIds",s),uni.setStorageSync("service_urls",f),e=u.data.corpId,n=u.data.url);case 9:return i.prev=9,uni.hideLoading(),i.finish(9);case 12:case"end":return i.stop()}}),i,null,[[4,,9,12]])})));return function(){return i.apply(this,arguments)}}(),s=function(){if(!n||!e)return uni.showToast({icon:"none",title:"暂无客服~"});window.location.href=n};return i().then((function(t){return{flyToService:s}}))},n("14d9");var r=i(n("c7eb")),o=i(n("1da1")),a=n("f9e6"),c=n("bf85")},"9c52":function(t,e,n){(function(i){var r,o,a,c=n("7037").default;n("6c57"),n("ace4"),n("d3b7"),n("fb2c"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n(
  10. /** @preserve
  11. * Counter block mode compatible with Dr Brian Gladman fileenc.c
  12. * derived from CryptoJS.mode.CTR
  13. * Jan Hruby jhruby.web@gmail.com
  14. */
  15. return t.mode.CTRGladman=function(){var e=t.lib.BlockCipherMode.extend();function n(t){if(255===(t>>24&255)){var e=t>>16&255,n=t>>8&255,i=255&t;255===e?(e=0,255===n?(n=0,255===i?i=0:++i):++n):++e,t=0,t+=e<<16,t+=n<<8,t+=i}else t+=1<<24;return t}var i=e.Encryptor=e.extend({processBlock:function(t,e){var i=this._cipher,r=i.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),function(t){0===(t[0]=n(t[0]))&&(t[1]=n(t[1]))}(a);var c=a.slice(0);i.encryptBlock(c,0);for(var s=0;s<r;s++)t[e+s]^=c[s]}});return e.Decryptor=i,e}(),t.mode.CTRGladman}))},f659:function(t,e,n){var i,r,o,a=n("7037").default;(function(c,s,f){"object"===a(e)?t.exports=e=s(n("9c52"),n("0d6e"),n("50cf"),n("5ce4"),n("0f4f")):(r=[n("9c52"),n("0d6e"),n("50cf"),n("5ce4"),n("0f4f")],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))})(0,(function(t){return function(){var e=t,n=e.lib,i=n.BlockCipher,r=e.algo,o=[],a=[],c=[],s=[],f=[],u=[],l=[],d=[],p=[],h=[];(function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var n=0,i=0;for(e=0;e<256;e++){var r=i^i<<1^i<<2^i<<3^i<<4;r=r>>>8^255&r^99,o[n]=r,a[r]=n;var g=t[n],v=t[g],y=t[v],_=257*t[r]^16843008*r;c[n]=_<<24|_>>>8,s[n]=_<<16|_>>>16,f[n]=_<<8|_>>>24,u[n]=_;_=16843009*y^65537*v^257*g^16843008*n;l[r]=_<<24|_>>>8,d[r]=_<<16|_>>>16,p[r]=_<<8|_>>>24,h[r]=_,n?(n=g^t[t[t[y^g]]],i^=t[t[i]]):n=i=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],v=r.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,n=t.sigBytes/4,i=this._nRounds=n+6,r=4*(i+1),a=this._keySchedule=[],c=0;c<r;c++)c<n?a[c]=e[c]:(u=a[c-1],c%n?n>6&&c%n==4&&(u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u]):(u=u<<8|u>>>24,u=o[u>>>24]<<24|o[u>>>16&255]<<16|o[u>>>8&255]<<8|o[255&u],u^=g[c/n|0]<<24),a[c]=a[c-n]^u);for(var s=this._invKeySchedule=[],f=0;f<r;f++){c=r-f;if(f%4)var u=a[c];else u=a[c-4];s[f]=f<4||c<=4?u:l[o[u>>>24]]^d[o[u>>>16&255]]^p[o[u>>>8&255]]^h[o[255&u]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,c,s,f,u,o)},decryptBlock:function(t,e){var n=t[e+1];t[e+1]=t[e+3],t[e+3]=n,this._doCryptBlock(t,e,this._invKeySchedule,l,d,p,h,a);n=t[e+1];t[e+1]=t[e+3],t[e+3]=n},_doCryptBlock:function(t,e,n,i,r,o,a,c){for(var s=this._nRounds,f=t[e]^n[0],u=t[e+1]^n[1],l=t[e+2]^n[2],d=t[e+3]^n[3],p=4,h=1;h<s;h++){var g=i[f>>>24]^r[u>>>16&255]^o[l>>>8&255]^a[255&d]^n[p++],v=i[u>>>24]^r[l>>>16&255]^o[d>>>8&255]^a[255&f]^n[p++],y=i[l>>>24]^r[d>>>16&255]^o[f>>>8&255]^a[255&u]^n[p++],_=i[d>>>24]^r[f>>>16&255]^o[u>>>8&255]^a[255&l]^n[p++];f=g,u=v,l=y,d=_}g=(c[f>>>24]<<24|c[u>>>16&255]<<16|c[l>>>8&255]<<8|c[255&d])^n[p++],v=(c[u>>>24]<<24|c[l>>>16&255]<<16|c[d>>>8&255]<<8|c[255&f])^n[p++],y=(c[l>>>24]<<24|c[d>>>16&255]<<16|c[f>>>8&255]<<8|c[255&u])^n[p++],_=(c[d>>>24]<<24|c[f>>>16&255]<<16|c[u>>>8&255]<<8|c[255&l])^n[p++];t[e]=g,t[e+1]=v,t[e+2]=y,t[e+3]=_},keySize:8});e.AES=i._createHelper(v)}(),t.AES}))},f996:function(t,e,n){var i,r,o,a=n("7037").default;n("c19f"),n("ace4"),n("d3b7"),n("5cc6"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("b39a"),n("72f7"),n("fd87"),n("8a59"),n("8b09"),n("84c3"),n("143c"),n("fb2c"),n("cfc3"),n("4a9b"),function(c,s){"object"===a(e)?t.exports=e=s(n("9c52")):(r=[n("9c52")],i=s,o="function"===typeof i?i.apply(e,r):i,void 0===o||(t.exports=o))}(0,(function(t){return function(){if("function"==typeof ArrayBuffer){var e=t,n=e.lib,i=n.WordArray,r=i.init,o=i.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var e=t.byteLength,n=[],i=0;i<e;i++)n[i>>>2]|