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/mobile/static/js/pages-account-address-creat...

1 line
12 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-account-address-create~pages-account-address-edit~pages-account-address-list~pages-account-set~bb2ea641"],{"259f":function(t,e,o){"use strict";o.r(e);var r=o("cd0c"),n=o.n(r);for(var a in r)"default"!==a&&function(t){o.d(e,t,(function(){return r[t]}))}(a);e["default"]=n.a},2789:function(t,e,o){var r=o("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 透明度 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-view[data-v-8d43a062], uni-scroll-view[data-v-8d43a062], uni-swiper-item[data-v-8d43a062]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon[data-v-8d43a062]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-8d43a062]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-8d43a062]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;-webkit-animation:u-rotate-data-v-8d43a062 1s linear infinite;animation:u-rotate-data-v-8d43a062 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-8d43a062]{border-width:2px;border-color:transparent;border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-8d43a062]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-8d43a062]{flex-direction:column}[data-v-8d43a062]:host{font-size:0;line-height:1}.u-loading-icon__spinner--spinner[data-v-8d43a062]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.u-loading-icon__text[data-v-8d43a062]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-8d43a062]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-8d43a062]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-8d43a062]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-8d43a062]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes u-rotate-data-v-8d43a062{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-rotate-data-v-8d43a062{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},3057:function(t,e,o){"use strict";var r=o("e612"),n=o.n(r);n.a},"41ba":function(t,e,o){"use strict";o("ac1f"),o("466d"),Object.defineProperty(e,"__esModule",{value:!0}),e.IsDouble=e.IsInteger=e.IsNumber=e.IsPhone=e.Debounce=e.ToAsyncAwait=void 0;var r=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?t.then((function(t){return{error:null,result:t}})).catch((function(t){return{error:t,result:null}})):t};e.ToAsyncAwait=r;var n=function(t,e){var o;return function(){var r=this,n=arguments;o&&clearTimeout(o),o=setTimeout((function(){t.apply(r,n)}),e)}};e.Debounce=n;var a=function(t){return/^(1[3-9]\d{9})$/.test(t)};e.IsPhone=a;var i=function(t){return!(!isDouble(t)&&!isInteger(t))};e.IsNumber=i;var d=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+$/);return null!=e};e.IsInteger=d;var u=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+(\.\d+)?$/);return null!=e};e.IsDouble=u},5767:function(t,e,o){"use strict";var r=o("dbce"),n=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0});var a={};e.default=void 0;var i=n(o("5530")),d=r(o("41ba"));Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var u=r(o("d071"));Object.keys(u).forEach((function(t){"default"!==t&&"__esModule"!==t&&(Object.prototype.hasOwnProperty.call(a,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))}));var s=(0,i.default)((0,i.default)({},d),{},{requset:u});e.default=s},"891e":function(t,e,o){"use strict";o.r(e);var r=o("b6e5"),n=o("259f");for(var a in n)"default"!==a&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("3057");var i,d=o("f0c5"),u=Object(d["a"])(n["default"],r["b"],r["c"],!1,null,"8d43a062",null,!1,r["a"],i);e["default"]=u.exports},b6e5:function(t,e,o){"use strict";var r;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return r}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return t.show?o("v-uni-view",{staticClass:"u-loading-icon",class:[t.vertical&&"u-loading-icon--vertical"],style:[t.$u.addStyle(t.customStyle)]},[t.webviewHide?t._e():o("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+t.mode],style:{color:t.color,width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size),borderTopColor:t.color,borderBottomColor:t.otherBorderColor,borderLeftColor:t.otherBorderColor,borderRightColor:t.otherBorderColor,"animation-duration":t.duration+"ms","animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}},["spinner"===t.mode?t._l(t.array12,(function(t,e){return o("v-uni-view",{key:e,staticClass:"u-loading-icon__dot"})})):t._e()],2),t.text?o("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:t.$u.addUnit(t.textSize),color:t.textColor}},[t._v(t._s(t.text))]):t._e()],1):t._e()},a=[]},cd0c:function(t,e,o){"use strict";var r=o("4ea4");o("a630"),o("3ca3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(o("d569")),a={name:"u-loading-icon",mixins:[uni.$u.mpMixin,uni.$u.mixin,n.default],data:function(){return{array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}},computed:{otherBorderColor:function(){var t=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show:function(t){}},mounted:function(){this.init()},methods:{init:function(){setTimeout((function(){}),20)},addEventListenerToWebview:function(){var t=this,e=getCurrentPages(),o=e[e.length-1],r=o.$getAppWebview();r.addEventListener("hide",(function(){t.webviewHide=!0})),r.addEventListener("show",(function(){t.webviewHide=!1}))}}};e.default=a},d071:function(t,e,o){"use strict";var r=o("4ea4");o("d3b7"),o("ac1f"),o("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.MsbRequestTk=e.MsbRequest=void 0;var n=r(o("5530")),a=r(o("fda4")),i=r(o("4308")),d="test",u={test:"",release:"",prod:""},s=function(t){if(200===t.statusCode){var e=t.data;return"SUCCESS"===e.code?e.data:"TOKEN_EXPIRE"===e.code?(uni.navigateTo({url:"/login"}),e):Promise.reject(e)}return t},c=function(t){return{message:t.errMsg,code:t.statusCode}},l=new a.default;e.MsbRequest=l,l.baseUrl=u[d],l.use("request",(function(t){return t})),l.use("success",s),l.use("error",c);var f=new a.default;e.MsbRequestTk=f,f.baseUrl=u[d],f.use("request",(function(t){var e=i.default.state.token;if(e)return t.header=(0,n.default)((0,n.default)({},t.header),{},{Authorization:i.default.state.token}),t;var o=getCurrentPages(),r=o[o.length-1];return r.$Router.replace({path:"/login",query:{h:r.__page__.path}}),Promise.reject({message:"要先登录才能操作哦~"})})),f.use("success",s),f.use("error",c)},d569:function(t,e,o){"use strict";o("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{show:{type:Boolean,default:uni.$u.props.loadingIcon.show},color:{type:String,default:uni.$u.props.loadingIcon.color},textColor:{type:String,default:uni.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:uni.$u.props.loadingIcon.vertical},mode:{type:String,default:uni.$u.props.loadingIcon.mode},size:{type:[String,Number],default:uni.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:uni.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:uni.$u.props.loadingIcon.text},timingFunction:{type:String,default:uni.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:uni.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:uni.$u.props.loadingIcon.inactiveColor}}};e.default=r},e612:function(t,e,o){var r=o("2789");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=o("4f06").default;n("21c1138a",r,!0,{sourceMap:!1,shadowMode:!1})},fda4:function(t,e,o){"use strict";var r=o("4ea4");o("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(o("d4ec")),a=r(o("bee2")),i=function(){function t(e){(0,n.default)(this,t),this.baseUrl="",this.hook={request:null,success:null,error:null}}return(0,a.default)(t,[{key:"method",value:function(t){var e=this;if(t.url=this.baseUrl+t.url,this.hook.request&&!t.header&&(t=this.hook.request(t)),!t)throw new Error("没有请求配置或是request拦截未做return");return t.constructor===Promise?t:new Promise((function(o,r){uni.request(t).then((function(t){var n=t[1];if(n.statusCode>=200&&n.statusCode<400)return o(e.hook.success?e.hook.success(n):n),!1;r(e.hook.error?e.hook.error(n):n)})).catch((function(t){r(e.hook.error?e.hook.error(t):t)}))}))}},{key:"use",value:function(t,e){this.hook[t]=e}},{key:"get",value:function(t,e,o){return this.method({method:"GET",url:t,data:e,header:o})}},{key:"post",value:function(t,e,o){return this.method({method:"POST",url:t,data:e,header:o})}},{key:"put",value:function(t,e,o){return this.method({method:"PUT",url:t,data:e,header:o})}},{key:"delete",value:function(t,e,o){return this.method({method:"DELETE",url:t,data:e,header:o})}}]),t}(),d=i;e.default=d}}]);