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.
shop-app/h5/static/js/pages-account-setting-setNa...

1 line
17 KiB

3 years ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-setting-setName"],{2129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiPutUser=t.ApiGetCurrentUser=void 0;var r=n("5767"),a="/uc",u=function(){return(0,r.ToAsyncAwait)(r.MsbRequestTk.get("".concat(a,"/user/current")))};t.ApiGetCurrentUser=u;var i=function(e){return(0,r.ToAsyncAwait)(r.MsbRequestTk.put("".concat(a,"/user/"),e))};t.ApiPutUser=i},"24e3":function(e,t,n){"use strict";var r;n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return r}));var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-uni-view",{staticClass:"ui-cell",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("click")}}},[e._t("icon"),r("v-uni-view",{staticClass:"ui-cell--left"},[r("v-uni-text",{staticClass:"ui-cell--title"},[e._v(e._s(e.title))]),e.label?r("v-uni-text",{staticClass:"ui-cell--label"},[e._v(e._s(e.label))]):e._e()],1),e._t("value",[r("v-uni-text",{staticClass:"ui-cell--value"},[e._v(e._s(e.value))])]),e.rightIcon?e._t("right-icon",[r("v-uni-image",{staticClass:"ui-cell--rightIcon",attrs:{src:n("6eb6")}})]):e._e()],2)},u=[]},2702:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disable:{type:Boolean,default:!1}},methods:{click:function(){!this.disable&&this.$emit("click")}}};t.default=r},"359f":function(e,t,n){"use strict";n.r(t);var r=n("7f16"),a=n("a5d5");for(var u in a)"default"!==u&&function(e){n.d(t,e,(function(){return a[e]}))}(u);n("9f0b");var i,o=n("f0c5"),s=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"4c357d64",null,!1,r["a"],i);t["default"]=s.exports},"41ba":function(e,t,n){"use strict";n("99af"),n("d3b7"),n("4d63"),n("ac1f"),n("25f0"),n("466d"),n("5319"),n("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.createUUID=t.formatDate=t.IsDouble=t.IsInteger=t.IsNumber=t.IsPhone=t.Debounce=t.ToAsyncAwait=void 0;var r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?e.then((function(e){return{error:null,result:e}})).catch((function(e){return{error:e,result:null}})):e};t.ToAsyncAwait=r;var a=function(e,t){var n;return function(){var r=this,a=arguments;n&&clearTimeout(n),n=setTimeout((function(){e.apply(r,a)}),t)}};t.Debounce=a;var u=function(e){return/^(1[3-9]\d{9})$/.test(e)};t.IsPhone=u;var i=function(e){return!(!isDouble(e)&&!isInteger(e))};t.IsNumber=i;var o=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+$/);return null!=t};t.IsInteger=o;var s=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+(\.\d+)?$/);return null!=t};t.IsDouble=s;var c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy/mm/dd";if(e.constructor===String){e=e.replace(/\D+/gi,"/");var n=e.split("/");if(n.length>3){var r=" ".concat(n[3],":").concat(n[4],":").concat(n[5]);n.length=3,e=n.join("/")+r}}try{e=e?e.constructor===Date?e:new Date(e):new Date}catch(o){throw new Error("不能识别的时间格式")}var a={"m+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"i+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"l+":e.getMilliseconds()};for(var u in/(y+)/i.test(t)&&(t=t.replace(RegExp.$1,e.getFullYear().toString().substr(4-RegExp.$1.length))),a)if(new RegExp("(".concat(u,")"),"i").test(t)){var i=a[u].toString();t=t.replace(RegExp.$1,1===RegExp.$1.length?i:"0".concat(i).substr(i.length-1))}return t};t.formatDate=c;var l=function(e,t){var n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[],a=0;if(t=t||n.length,e)for(a=0;a<e;a++)r[a]=n[0|Math.random()*t];else{var u=0;for(r[8]=r[13]=r[18]=r[23]="-",r[14]="4",a=0;a<36;a++)r[a]||(u=0|16*Math.random(),r[a]=n[19==a?3&u|8:u])}return r.join("")};t.createUUID=l},"4a8b":function(e,t,n){"use strict";var r=n("d3ef"),a=n.n(r);a.a},5767:function(e,t,n){"use strict";var r=n("dbce"),a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0});var u={};t.def