You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
20 KiB
1 line
20 KiB
8 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-user-infoFilling~subPackages-user-userInfo"],{"14db":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isShow?n("v-uni-view",{ref:"ani",class:t.customClass,style:t.transformStyles,attrs:{animation:t.animationData},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t._t("default")],2):t._e()},o=[]},"30f7":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},n("7a76"),n("c9b5")},"3df4":function(t,e,n){"use strict";var i=n("8a25"),o=n.n(i);o.a},4435:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.base64ToPath=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){t=t.split(",");var i=t[0].match(/:(.*?);/)[1],r=atob(t[1]),u=r.length,c=new Uint8Array(u);while(u--)c[u]=r.charCodeAt(u);return e((window.URL||window.webkitURL).createObjectURL(new Blob([c],{type:i})))}var l=t.split(",")[0].match(/data\:\S+\/(\S+);/);l?l=l[1]:n(new Error("base64 error"));var f=function(){return Date.now()+String(s++)}()+"."+l;if("object"!==("undefined"===typeof plus?"undefined":(0,o.default)(plus)))if("object"===("undefined"===typeof wx?"undefined":(0,o.default)(wx))&&wx.canIUse("getFileSystemManager")){d=wx.env.USER_DATA_PATH+"/"+f;wx.getFileSystemManager().writeFile({filePath:d,data:a(t),encoding:"base64",success:function(){e(d)},fail:function(t){n(t)}})}else n(new Error("not support"));else{var d="_doc/uniapp_temp/"+f;if(!function(t,e){for(var n=t.split("."),i=e.split("."),o=!1,a=0;a<i.length;a++){var s=n[a]-i[a];if(0!==s){o=s>0;break}}return o}("Android"===plus.os.name?"1.9.9.80627":"1.9.9.80472",plus.runtime.innerVersion))return void plus.io.resolveLocalFileSystemURL("_doc",(function(i){i.getDirectory("uniapp_temp",{create:!0,exclusive:!1},(function(i){i.getFile(f,{create:!0,exclusive:!1},(function(i){i.createWriter((function(i){i.onwrite=function(){e(d)},i.onerror=n,i.seek(0),i.writeAsBinary(a(t))}),n)}),n)}),n)}),n);var p=new plus.nativeObj.Bitmap(f);p.loadBase64Data(t,(function(){p.save(d,{},(function(){p.clear(),e(d)}),(function(t){p.clear(),n(t)}))}),(function(t){p.clear(),n(t)}))}}))},e.pathToBase64=function(t){return new Promise((function(e,n){if("object"===("undefined"===typeof window?"undefined":(0,o.default)(window))&&"document"in window){if("function"===typeof FileReader){var i=new XMLHttpRequest;return i.open("GET",t,!0),i.responseType="blob",i.onload=function(){if(200===this.status){var t=new FileReader;t.onload=function(t){e(t.target.result)},t.onerror=n,t.readAsDataURL(this.response)}},i.onerror=n,void i.send()}var a=document.createElement("canvas"),s=a.getContext("2d"),r=new Image;return r.onload=function(){a.width=r.width,a.height=r.height,s.drawImage(r,0,0),e(a.toDataURL()),a.height=a.width=0},r.onerror=n,void(r.src=t)}"object"!==("undefined"===typeof plus?"undefined":(0,o.default)(plus))?"object"===("undefined"===typeof wx?"undefined":(0,o.default)(wx))&&wx.canIUse("getFileSystemManager")?wx.getFileSystemManager().readFile({filePath:t,encoding:"base64",success:function(t){e("data:image/png;base64,"+t.data)},fail:function(t){n(t)}}):n(new Error("not support")):plus.io.resolveLocalFileSystemURL(function(t){if(0===t.indexOf("_www")||0===t.indexOf("_doc")||0===t.indexOf("_documents")||0===t.indexOf("_downloads"))return t;if(0===t.indexOf("file://"))return t;if(0===t.indexOf("/storage/emulated/0/"))return t;if(0===t.indexOf("/")){var e=plus.io.convertAbsoluteFileSystem(t);if(e!==t)return e;t=t.substr(1)}return"_www/"+t}(t),(function(t){t.file((function(t){var i=new plus.io.FileReader;i.onload=function(t){e(t.tar
|