1 |
- {"version":3,"sources":["webpack:///./node_modules/_vue-ydui@1.2.6@vue-ydui/dist/lib.rem/cityselect/index.js","webpack:///./node_modules/_@babel_runtime@7.8.4@@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///./src/views/user/address/AddAddress.vue?4639","webpack:///src/views/user/address/AddAddress.vue","webpack:///./src/views/user/address/AddAddress.vue?98f6","webpack:///./src/views/user/address/AddAddress.vue","webpack:///./src/utils/validate.js","webpack:///./node_modules/_regenerator-runtime@0.13.3@regenerator-runtime/runtime.js"],"names":["t","e","module","exports","this","n","i","o","id","loaded","call","m","c","p","0","__esModule","default","Object","defineProperty","value","CitySelect","s","1","a","r","options","render","staticRenderFns","_scopeId","computed","keys","forEach","esModule","2","toString","length","push","join","3","u","refs","parts","document","createElement","type","d","appendChild","querySelector","h","parentNode","removeChild","v","f","bind","css","media","sourceMap","styleSheet","cssText","y","createTextNode","childNodes","insertBefore","setAttribute","sources","btoa","unescape","encodeURIComponent","JSON","stringify","firstChild","l","head","getElementsByTagName","navigator","test","userAgent","toLowerCase","filter","Boolean","4","5","preventDefault","stopPropagation","lock","addEventListener","unlock","removeEventListener","body","window","match","tagName","nodeType","defaultView","getComputedStyle","overflowY","offsetHeight","getBoundingClientRect","top","replace","RegExp","className","indexOf","scrollTo","scrollTop","requestAnimationFrame","arguments","webkitRequestAnimationFrame","mozRequestAnimationFrame","msRequestAnimationFrame","setTimeout","Math","abs","ceil","pageScroll","preventScroll","isIOS","isColor","getScrollview","checkInview","addClass","removeClass","8","9","10","$createElement","_self","_c","staticClass","style","styles","_t","11","locals","12","name","data","show","props","bgcolor","String","zindex","opacity","animated","watch","scrollView","mounted","$el","beforeDestroy","55","82","181","ref","attrs","maskerOpacity","nativeOn","click","close","model","callback","expression","_v","class","on","touchstart","_s","title","directives","rawName","ready","_l","columnNum","nav","key","navIndex","href","navEvent","_e","xmlns","viewBox","preserveAspectRatio","stroke","fill","transform","attributeName","calcMode","values","keyTimes","dur","begin","repeatCount","activeClasses","refInFor","columnsObj","currentClass","itemEvent","233","263","components","txt1","chooseTitle","txt2","txt3","active","itemHeight","provance","city","area","Function","items","Array","required","columns","validator","$refs","mask","init","methods","isArray","getColumsNum","columnItems1","$nextTick","setDefalutValue","$on","backoffView","returnValue","forwardView","clearNavTxt","constructor","every","$emit","asyncGeneratorStep","gen","resolve","reject","_next","_throw","arg","info","error","done","Promise","then","_asyncToGenerator","fn","self","args","apply","err","undefined","_vm","_h","userAddress","domProps","$event","target","composing","$set","show2","slot","model2","result2","district","$$v","is_default","ChangeIsDefault","submit","isWechat","getAddress","address","getUserAddress","getCityList","real_name","userInfo","userName","phone","telNumber","province","provinceName","cityName","countryName","detail","detailInfo","post_code","postalCode","ret","itemName1","itemName2","itemName3","city_id","itemValue2","component","bindMessage","message","field","opt","url","email","alpha","pattern","alpha_dash","alpha_num","num","chs","chs_alpha","chs_alpha_num","chs_dash","chs_phone","baseAttr","min","max","range","reduce","attr","_attr","runtime","Op","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","makeInvokeMethod","tryCatch","obj","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","Gp","defineIteratorMethods","method","AsyncIterator","invoke","record","result","__await","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","displayName","isGeneratorFunction","genFun","ctor","mark","setPrototypeOf","__proto__","awrap","async","iter","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootEntry","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode"],"mappings":";;CACC,SAASA,EAAEC,GAAqDC,EAAOC,QAAQF,IAA/E,CAA4LG,GAAK,WAAW,OAAO,SAASJ,GAAG,SAASC,EAAEI,GAAG,GAAGC,EAAED,GAAG,OAAOC,EAAED,GAAGF,QAAQ,IAAII,EAAED,EAAED,GAAG,CAACF,QAAQ,GAAGK,GAAGH,EAAEI,QAAO,GAAI,OAAOT,EAAEK,GAAGK,KAAKH,EAAEJ,QAAQI,EAAEA,EAAEJ,QAAQF,GAAGM,EAAEE,QAAO,EAAGF,EAAEJ,QAAQ,IAAIG,EAAE,GAAG,OAAOL,EAAEU,EAAEX,EAAEC,EAAEW,EAAEN,EAAEL,EAAEY,EAAE,SAASZ,EAAE,GAAxM,CAA4M,CAACa,EAAE,SAASd,EAAEC,EAAEK,GAAG,aAAa,SAASD,EAAEL,GAAG,OAAOA,GAAGA,EAAEe,WAAWf,EAAE,CAACgB,QAAQhB,GAAGiB,OAAOC,eAAejB,EAAE,aAAa,CAACkB,OAAM,IAAKlB,EAAEmB,gBAAW,EAAO,IAAIb,EAAED,EAAE,IAAIe,EAAEhB,EAAEE,GAAGN,EAAEmB,WAAWC,EAAEL,SAASM,EAAE,SAAStB,EAAEC,GAAGD,EAAEG,QAAQ,SAASH,EAAEC,EAAEK,EAAED,GAAG,IAAIE,EAAEc,EAAErB,EAAEA,GAAG,GAAGuB,SAASvB,EAAEgB,QAAQ,WAAWO,GAAG,aAAaA,IAAIhB,EAAEP,EAAEqB,EAAErB,EAAEgB,SAAS,IAAIQ,EAAE,mBAAmBH,EAAEA,EAAEI,QAAQJ,EAAE,GAAGpB,IAAIuB,EAAEE,OAAOzB,EAAEyB,OAAOF,EAAEG,gBAAgB1B,EAAE0B,iBAAiBrB,IAAIkB,EAAEI,SAAStB,GAAGD,EAAE,CAAC,IAA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D,cAAe,SAASlC,EAAUd,EAAYE,GAa5C,OAZAtX,KAAK4W,SAAW,CACd7C,SAAUzI,EAAO4M,GACjBd,WAAYA,EACZE,QAASA,GAGS,SAAhBtX,KAAK+V,SAGP/V,KAAKyO,IAAMY,GAGNiG,IAQJvV,EAvrBK,CA8rBiBD,EAAOC,SAGtC,IACEsa,mBAAqB9G,EACrB,MAAO+G,GAUP1N,SAAS,IAAK,yBAAdA,CAAwC2G","file":"h5/js/chunk-2922fa8f.3f68750f.js","sourcesContent":["/*! vue-ydui v1.2.6 by YDCSS (c) 2018 Licensed MIT */\n!function(t,e){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define([],e):\"object\"==typeof exports?exports.ydui=e():t.ydui=e()}(this,function(){return function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p=\"/dist/\",e(0)}({0:function(t,e,i){\"use strict\";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,\"__esModule\",{value:!0}),e.CitySelect=void 0;var o=i(82),s=n(o);e.CitySelect=s.default},1:function(t,e){t.exports=function(t,e,i,n){var o,s=t=t||{},a=typeof t.default;\"object\"!==a&&\"function\"!==a||(o=t,s=t.default);var r=\"function\"==typeof s?s.options:s;if(e&&(r.render=e.render,r.staticRenderFns=e.staticRenderFns),i&&(r._scopeId=i),n){var c=r.computed||(r.computed={});Object.keys(n).forEach(function(t){var e=n[t];c[t]=function(){return e}})}return{esModule:o,exports:s,options:r}}},2:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push(\"@media \"+i[2]+\"{\"+i[1]+\"}\"):t.push(i[1])}return t.join(\"\")},t.i=function(e,i){\"string\"==typeof e&&(e=[[null,e,\"\"]]);for(var n={},o=0;o<this.length;o++){var s=this[o][0];\"number\"==typeof s&&(n[s]=!0)}for(o=0;o<e.length;o++){var a=e[o];\"number\"==typeof a[0]&&n[a[0]]||(i&&!a[2]?a[2]=i:i&&(a[2]=\"(\"+a[2]+\") and (\"+i+\")\"),t.push(a))}},t}},3:function(t,e,i){function n(t){for(var e=0;e<t.length;e++){var i=t[e],n=u[i.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](i.parts[o]);for(;o<i.parts.length;o++)n.parts.push(s(i.parts[o]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{for(var a=[],o=0;o<i.parts.length;o++)a.push(s(i.parts[o]));u[i.id]={id:i.id,refs:1,parts:a}}}}function o(){var t=document.createElement(\"style\");return t.type=\"text/css\",d.appendChild(t),t}function s(t){var e,i,n=document.querySelector('style[data-vue-ssr-id~=\"'+t.id+'\"]');if(n){if(p)return h;n.parentNode.removeChild(n)}if(v){var s=m++;n=f||(f=o()),e=a.bind(null,n,s,!1),i=a.bind(null,n,s,!0)}else n=o(),e=r.bind(null,n),i=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else i()}}function a(t,e,i,n){var o=i?\"\":n.css;if(t.styleSheet)t.styleSheet.cssText=y(e,o);else{var s=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(s,a[e]):t.appendChild(s)}}function r(t,e){var i=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute(\"media\",n),o&&(i+=\"\\n/*# sourceURL=\"+o.sources[0]+\" */\",i+=\"\\n/*# sourceMappingURL=data:application/json;base64,\"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+\" */\"),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var c=\"undefined\"!=typeof document,l=i(4),u={},d=c&&(document.head||document.getElementsByTagName(\"head\")[0]),f=null,m=0,p=!1,h=function(){},v=\"undefined\"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,i){p=i;var o=l(t,e);return n(o),function(e){for(var i=[],s=0;s<o.length;s++){var a=o[s],r=u[a.id];r.refs--,i.push(r)}e?(o=l(t,e),n(o)):o=[];for(var s=0;s<i.length;s++){var r=i[s];if(0===r.refs){for(var c=0;c<r.parts.length;c++)r.parts[c]();delete u[r.id]}}}};var y=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join(\"\\n\")}}()},4:function(t,e){t.exports=function(t,e){for(var i=[],n={},o=0;o<e.length;o++){var s=e[o],a=s[0],r=s[1],c=s[2],l=s[3],u={id:t+\":\"+o,css:r,media:c,sourceMap:l};n[a]?n[a].parts.push(u):i.push(n[a]={id:a,parts:[u]})}return i}},5:function(t,e){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var i=function(){var t=function(t){t.preventDefault(),t.stopPropagation()},e=!1;return{lock:function(i){e||(e=!0,(i||document).addEventListener(\"touchmove\",t))},unlock:function(i){e=!1,(i||document).removeEventListener(\"touchmove\",t)}}}(),n=function(){return{lock:function(t){o&&l(t||document.body,\"g-fix-ios-prevent-scroll\")},unlock:function(t){o&&u(t||document.body,\"g-fix-ios-prevent-scroll\")}}}(),o=!!(window.navigator&&window.navigator.userAgent||\"\").match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/),s=function(t){var e=/^#([a-fA-F0-9]){3}(([a-fA-F0-9]){3})?$/,i=/^[rR][gG][bB][aA]\\(\\s*((25[0-5]|2[0-4]\\d|1?\\d{1,2})\\s*,\\s*){3}\\s*(\\.|\\d+\\.)?\\d+\\s*\\)$/,n=/^[rR][gG][bB]\\(\\s*((25[0-5]|2[0-4]\\d|1?\\d{1,2})\\s*,\\s*){2}(25[0-5]|2[0-4]\\d|1?\\d{1,2})\\s*\\)$/;return e.test(t)||i.test(t)||n.test(t)},a=function(t){for(var e=t;e&&\"HTML\"!==e.tagName&&\"BODY\"!==e.tagName&&1===e.nodeType;){var i=document.defaultView.getComputedStyle(e).overflowY;if(\"scroll\"===i||\"auto\"===i)return e;e=e.parentNode}return window},r=function(t,e){var i=t===window?document.body.offsetHeight:t.offsetHeight,n=t===window?0:t.getBoundingClientRect().top,o=e.getBoundingClientRect().top-n,s=o+e.offsetHeight;return o>=0&&o<i||s>0&&s<=i},c=function(t,e){return e=e||\"\",!(0===e.replace(/\\s/g,\"\").length||!t)&&new RegExp(\" \"+e+\" \").test(\" \"+t.className+\" \")},l=function(t,e){c(t,e)||(t.className=\"\"===t.className?e:t.className+\" \"+e)},u=function(t,e){if(c(t,e)){for(var i=\" \"+t.className.replace(/[\\t\\r\\n]/g,\"\")+\" \";i.indexOf(\" \"+e+\" \")>=0;)i=i.replace(\" \"+e+\" \",\" \");t.className=i.replace(/^\\s+|\\s+$/g,\"\")}},d=function(t){function e(i,n,o){if(i===n)return void(\"function\"==typeof s&&s());var a=i+o>n?n:i+o;i>n&&(a=i-o<n?n:i-o),t===window?window.scrollTo(a,a):t.scrollTop=a,window.requestAnimationFrame(function(){return e(a,n,o)})}var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,s=arguments[4];window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)});var a=Math.abs(i-n),r=Math.ceil(a/o*50);e(i,n,r)};e.pageScroll=i,e.preventScroll=n,e.isIOS=o,e.isColor=s,e.getScrollview=a,e.checkInview=r,e.addClass=l,e.removeClass=u,e.scrollTop=d},8:function(t,e,i){e=t.exports=i(2)(),e.push([t.id,\".yd-mask{position:fixed;bottom:0;right:0;left:0;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;pointer-events:none;-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in;opacity:0}\",\"\"])},9:function(t,e,i){i(11);var n=i(1)(i(12),i(10),null,null);t.exports=n.exports},10:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(\"div\",{staticClass:\"yd-mask\",style:t.styles},[t._t(\"default\")],2)},staticRenderFns:[]}},11:function(t,e,i){var n=i(8);\"string\"==typeof n&&(n=[[t.id,n,\"\"]]),n.locals&&(t.exports=n.locals);i(3)(\"c753dac2\",n,!0)},12:function(t,e,i){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var n=i(5);e.default={name:\"yd-mask\",data:function(){return{show:this.value}},props:{value:{type:Boolean,default:!1},bgcolor:{type:String,default:\"#000\"},zindex:{default:1500},opacity:{default:.5},animated:{type:Boolean,default:!0}},watch:{value:function(t){var e=this;this.show=t,n.isIOS&&(t?(0,n.addClass)(this.scrollView,\"g-fix-ios-overflow-scrolling-bug\"):setTimeout(function(){(0,n.removeClass)(e.scrollView,\"g-fix-ios-overflow-scrolling-bug\")},200))}},computed:{styles:function(){var t={\"z-index\":this.zindex,\"background-color\":this.bgcolor};return this.show&&(t.opacity=this.opacity,t[\"pointer-events\"]=\"auto\"),t}},mounted:function(){this.scrollView=(0,n.getScrollview)(this.$el)},beforeDestroy:function(){n.isIOS&&(0,n.removeClass)(this.scrollView,\"g-fix-ios-overflow-scrolling-bug\")}}},55:function(t,e,i){e=t.exports=i(2)(),e.push([t.id,'.yd-cityselect{position:fixed;bottom:0;left:0;width:100%;height:75%;background-color:#fff;z-index:1502;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.yd-cityselect-active{-webkit-transform:translate(0);transform:translate(0)}.yd-cityselect-move-animate{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.yd-cityselect-next{-webkit-transform:translate(-50%);transform:translate(-50%)}.yd-cityselect-prev{-webkit-transform:translate(0);transform:translate(0)}.yd-cityselect-header{position:absolute;top:0;left:0;width:100%;z-index:1}.yd-cityselect-header:after{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:\"\";width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}.yd-cityselect-title{width:100%;font-size:.3rem;text-align:center;height:45px;line-height:45px;position:relative}.yd-cityselect-title:after{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:\"\";width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}.yd-cityselect-nav{width:100%;padding-left:10px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.yd-cityselect-nav>a{font-size:13px;color:#222;display:block;height:40px;line-height:46px;padding:0 8px;position:relative;margin-right:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:40%}.yd-cityselect-nav-active{color:#f23030!important}.yd-cityselect-nav-active:after{content:\"\";width:100%;height:2px;background-color:#f23030;position:absolute;bottom:1px;left:0;z-index:2}.yd-cityselect-content{height:100%;padding-top:85px;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.yd-cityselect-item{display:block;height:inherit;width:50%;-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;overflow-y:auto;-webkit-overflow-scrolling:touch;background-color:#fff}.yd-cityselect-item::-webkit-scrollbar{width:0}.yd-cityselect-item:nth-child(2n){background-color:#f5f5f5}.yd-cityselect-item-active{color:#f23030!important}.yd-cityselect-item-active:after{display:block;content:\"\\\\E600\";font-family:YDUI-INLAY}.yd-cityselect-item-box{width:100%;height:inherit;display:block;padding:0 20px}.yd-cityselect-item-box>a{color:#333;font-size:13px;height:40px;line-height:40px;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;position:relative;z-index:1}.yd-cityselect-item-box>a:before{height:1px;position:absolute;z-index:0;bottom:0;left:0;content:\"\";width:100%;background-image:-webkit-linear-gradient(bottom,#ececec 50%,transparent 0);background-image:linear-gradient(0deg,#ececec 50%,transparent 0)}.yd-cityselect-item-box>a:active{background:none}.yd-cityselect-item-box>a span{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:block;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;text-overflow:ellipsis;line-height:16px;max-height:32.2px;font-size:13px}.yd-cityselect-loading{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-size:.26rem;color:#999}.yd-cityselect-loading svg{width:36px;height:36px}',\"\"])},82:function(t,e,i){i(233);var n=i(1)(i(263),i(181),null,null);t.exports=n.exports},181:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i(\"div\",[i(\"yd-mask\",{ref:\"mask\",attrs:{opacity:t.maskerOpacity},nativeOn:{click:function(e){t.close(e)}},model:{value:t.show,callback:function(e){t.show=e},expression:\"show\"}}),t._v(\" \"),i(\"div\",{staticClass:\"yd-cityselect\",class:t.show?\"yd-cityselect-active\":\"\"},[i(\"div\",{staticClass:\"yd-cityselect-header\"},[i(\"p\",{staticClass:\"yd-cityselect-title\",on:{touchstart:function(t){t.stopPropagation(),t.preventDefault()}}},[t._v(t._s(t.title))]),t._v(\" \"),i(\"div\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.ready,expression:\"ready\"}],staticClass:\"yd-cityselect-nav\"},t._l(t.columnNum,function(e,n){return i(\"a\",{directives:[{name:\"show\",rawName:\"v-show\",value:!!t.nav[\"txt\"+e],expression:\"!!nav['txt' + index]\"}],key:n,class:e==t.navIndex?\"yd-cityselect-nav-active\":\"\",attrs:{href:\"javascript:;\"},on:{click:function(i){i.stopPropagation(),t.navEvent(e)}}},[t._v(t._s(t.nav[\"txt\"+e]))])}))]),t._v(\" \"),t.ready?t._e():i(\"div\",{staticClass:\"yd-cityselect-loading\"},[i(\"svg\",{attrs:{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 100 100\",preserveAspectRatio:\"xMidYMid\"}},[i(\"path\",{attrs:{stroke:\"none\",d:\"M3 50A47 47 0 0 0 97 50A47 49 0 0 1 3 50\",fill:\"#bababa\",transform:\"rotate(317.143 50 51)\"}},[i(\"animateTransform\",{attrs:{attributeName:\"transform\",type:\"rotate\",calcMode:\"linear\",values:\"0 50 51;360 50 51\",keyTimes:\"0;1\",dur:\"0.6s\",begin:\"0s\",repeatCount:\"indefinite\"}})],1)])]),t._v(\" \"),i(\"ul\",{directives:[{name:\"show\",rawName:\"v-show\",value:t.ready,expression:\"ready\"}],staticClass:\"yd-cityselect-content\",class:t.activeClasses},t._l(t.columnNum,function(e,n){return i(\"li\",{key:n,ref:\"itemBox\"+e,refInFor:!0,staticClass:\"yd-cityselect-item\"},[t.columnsObj[\"columnItems\"+e]&&t.columnsObj[\"columnItems\"+e].length>0?[i(\"div\",{staticClass:\"yd-cityselect-item-box\"},t._l(t.columnsObj[\"columnItems\"+e],function(n,o){return i(\"a\",{key:o,class:t.currentClass(n.v,n.n,e),attrs:{href:\"javascript:;\"},on:{click:function(i){i.stopPropagation(),t.itemEvent(e,n.n,n.v,n.c)}}},[i(\"span\",[t._v(t._s(n.n))])])}))]:[i(\"div\",{staticClass:\"yd-cityselect-item-box\",on:{touchstart:function(t){t.stopPropagation(),t.preventDefault()}}})]],2)}))])],1)},staticRenderFns:[]}},233:function(t,e,i){var n=i(55);\"string\"==typeof n&&(n=[[t.id,n,\"\"]]),n.locals&&(t.exports=n.locals);i(3)(\"2f0daec1\",n,!0)},263:function(t,e,i){\"use strict\";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,\"__esModule\",{value:!0});var o=i(5),s=i(9),a=n(s);e.default={name:\"yd-cityselect\",components:{\"yd-mask\":a.default},data:function(){return{show:this.value,navIndex:1,nav:{txt1:this.chooseTitle,txt2:\"\",txt3:\"\"},columnsObj:{},active:{},activeClasses:\"\",itemHeight:40,columnNum:1}},props:{ready:{type:Boolean,default:!0},provance:String,city:String,area:String,callback:Function,title:{type:String,default:\"所在地区\"},chooseTitle:{type:String,default:\"请选择\"},value:{type:Boolean,default:!1},items:{type:Array,required:!0},columns:{validator:function(t){return/^\\d*$/.test(t)}},maskerOpacity:{validator:function(t){return/^([0]|[1-9]\\d*)?(\\.\\d*)?$/.test(t)},default:.5}},watch:{value:function(t){o.isIOS&&(t?o.pageScroll.lock(this.$refs.mask.$el):o.pageScroll.unlock(this.$refs.mask.$el)),this.show=t},ready:function(t){t&&this.init()}},methods:{init:function(){var t=this;this.ready&&this.items&&this.items[0]&&this.isArray(this.items)&&(this.columns&&~~this.columns>1?this.columnNum=~~this.columns:this.getColumsNum(this.items[0]),this.columnsObj.columnItems1=this.items,this.provance&&this.$nextTick(function(){t.setDefalutValue(t.items,\"provance\",1)}),this.$on(\"ydui.cityselect.reset\",function(){for(var e=1;e<=t.columnNum;e++)t.active[\"itemValue\"+e]=\"\",t.active[\"itemName\"+e]=\"\",e-1===0?(t.navIndex=e,t.nav[\"txt\"+e]=t.chooseTitle,t.$refs[\"itemBox\"+e][0].scrollTop=0,t.backoffView(!1)):(t.nav[\"txt\"+e]=\"\",t.columnsObj[\"columnItems\"+e]=[]),e===t.columnNum&&t.returnValue()}))},navEvent:function(t){this.columnNum>2&&(t>=this.columnNum?this.forwardView(!0):this.backoffView(!0)),this.navIndex=t},itemEvent:function(t,e,i,n){if(this.active[\"itemValue\"+t]=i,this.active[\"itemName\"+t]=e,this.nav[\"txt\"+t]=e,this.columnsObj[\"columnItems\"+(t+1)]=n,t>1&&n&&n.length>0&&this.columnNum>2&&this.forwardView(!0),this.clearNavTxt(t),t===this.columnNum||n.length<=0){if(t!==this.columnNum)for(var o=this.columnNum;o>=0;o--)o>t&&(this.active[\"itemValue\"+o]=\"\",this.active[\"itemName\"+o]=\"\",this.nav[\"txt\"+o]=\"\");this.navIndex=t,this.returnValue()}else this.navIndex=t+1,this.nav[\"txt\"+(t+1)]=this.chooseTitle},currentClass:function(t,e,i){return t&&t==this.active[\"itemValue\"+i]||e&&e===this.active[\"itemName\"+i]?\"yd-cityselect-item-active\":\"\"},clearNavTxt:function(t){for(var e=0;e<=this.columnNum;e++)e>t&&(this.nav[\"txt\"+(e+1)]=\"\",this.active[\"itemValue\"+e]=\"\",this.active[\"itemName\"+e]=\"\")},getColumsNum:function(t){this.isArray(t.c)&&(this.columnNum++,this.getColumsNum(t.c[0]))},isArray:function(t){return t&&t.constructor===Array&&t.length>0},setDefalutValue:function(t,e,i){var n=this;t.every(function(t,o){if(t.v==n[e]||t.n===n[e]){var s=n.columnsObj[\"columnItems\"+(i+1)]=t.c,a=n.$refs[\"itemBox\"+i][0];return a.scrollTop=o*n.itemHeight-a.offsetHeight/3,n.active[\"itemValue\"+i]=t.v,n.active[\"itemName\"+i]=t.n,n.nav[\"txt\"+i]=t.n,n.navIndex=i,++i,i>=n.columnNum&&n.columnNum>2&&n.forwardView(!1),n.isArray(s)&&n.setDefalutValue(s,[\"\",\"provance\",\"city\",\"area\"][i],i),!1}return!0})},returnValue:function(){this.callback&&this.callback(this.active),this.close()},close:function(){this.$emit(\"input\",!1),this.show=!1},backoffView:function(t){this.activeClasses=(t?\"yd-cityselect-move-animate\":\"\")+\" yd-cityselect-prev\"},forwardView:function(t){this.activeClasses=(t?\"yd-cityselect-move-animate\":\"\")+\" yd-cityselect-next\"}},mounted:function(){this.init()},beforeDestroy:function(){this.close()}}}})});","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"addAddress absolute\"},[_c('div',{staticClass:\"list\"},[_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"姓名\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userAddress.real_name),expression:\"userAddress.real_name\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入姓名\",\"required\":\"\"},domProps:{\"value\":(_vm.userAddress.real_name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userAddress, \"real_name\", $event.target.value)}}})]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"联系电话\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userAddress.phone),expression:\"userAddress.phone\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请输入联系电话\",\"required\":\"\"},domProps:{\"value\":(_vm.userAddress.phone)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userAddress, \"phone\", $event.target.value)}}})]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"所在地区\")]),_c('div',{staticClass:\"picker acea-row row-between-wrapper select-value form-control\"},[_c('div',{staticClass:\"address\"},[_c('div',{attrs:{\"slot\":\"right\"},on:{\"click\":function($event){$event.stopPropagation();_vm.show2 = true}},slot:\"right\"},[_vm._v(\"\\n \"+_vm._s(_vm.model2 || \"请选择收货地址\")+\"\\n \")]),_c('CitySelect',{ref:\"cityselect\",attrs:{\"callback\":_vm.result2,\"items\":_vm.district,\"ready\":_vm.ready,\"provance\":\"\",\"city\":\"\",\"area\":\"\"},model:{value:(_vm.show2),callback:function ($$v) {_vm.show2=$$v},expression:\"show2\"}})],1),_c('div',{staticClass:\"iconfont icon-dizhi font-color-red\"})])]),_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"name\"},[_vm._v(\"详细地址\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userAddress.detail),expression:\"userAddress.detail\"}],attrs:{\"type\":\"text\",\"placeholder\":\"请填写具体地址\",\"required\":\"\"},domProps:{\"value\":(_vm.userAddress.detail)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.userAddress, \"detail\", $event.target.value)}}})])]),_c('div',{staticClass:\"default acea-row row-middle\"},[_c('div',{staticClass:\"select-btn\"},[_c('div',{staticClass:\"checkbox-wrapper\"},[_c('label',{staticClass:\"well-check\"},[_c('input',{attrs:{\"type\":\"checkbox\",\"name\":\"\",\"value\":\"\"},domProps:{\"checked\":_vm.userAddress.is_default ? true : false},on:{\"click\":_vm.ChangeIsDefault}}),_c('i',{staticClass:\"icon\"}),_c('span',{staticClass:\"def\"},[_vm._v(\"设置为默认地址\")])])])])]),_c('div'),_c('div',{staticClass:\"keepBnt bg-color-red\",on:{\"click\":_vm.submit}},[_vm._v(\"立即保存\")]),(_vm.isWechat && !_vm.id)?_c('div',{staticClass:\"wechatAddress\",on:{\"click\":_vm.getAddress}},[_vm._v(\"\\n 导入微信地址\\n \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"addAddress absolute\">\r\n <div class=\"list\">\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div class=\"name\">姓名</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"请输入姓名\"\r\n v-model=\"userAddress.real_name\"\r\n required\r\n />\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div class=\"name\">联系电话</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"请输入联系电话\"\r\n v-model=\"userAddress.phone\"\r\n required\r\n />\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div class=\"name\">所在地区</div>\r\n <div\r\n class=\"picker acea-row row-between-wrapper select-value form-control\"\r\n >\r\n <div class=\"address\">\r\n <div slot=\"right\" @click.stop=\"show2 = true\">\r\n {{ model2 || \"请选择收货地址\" }}\r\n </div>\r\n <CitySelect\r\n ref=\"cityselect\"\r\n v-model=\"show2\"\r\n :callback=\"result2\"\r\n :items=\"district\"\r\n :ready=\"ready\"\r\n provance=\"\"\r\n city=\"\"\r\n area=\"\"\r\n ></CitySelect>\r\n </div>\r\n <div class=\"iconfont icon-dizhi font-color-red\"></div>\r\n </div>\r\n </div>\r\n <div class=\"item acea-row row-between-wrapper\">\r\n <div class=\"name\">详细地址</div>\r\n <input\r\n type=\"text\"\r\n placeholder=\"请填写具体地址\"\r\n v-model=\"userAddress.detail\"\r\n required\r\n />\r\n </div>\r\n </div>\r\n <div class=\"default acea-row row-middle\">\r\n <div class=\"select-btn\">\r\n <div class=\"checkbox-wrapper\">\r\n <label class=\"well-check\"\r\n ><input\r\n type=\"checkbox\"\r\n name=\"\"\r\n value=\"\"\r\n @click=\"ChangeIsDefault\"\r\n :checked=\"userAddress.is_default ? true : false\"\r\n /><i class=\"icon\"></i><span class=\"def\">设置为默认地址</span></label\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n <div></div>\r\n <div class=\"keepBnt bg-color-red\" @click=\"submit\">立即保存</div>\r\n <div class=\"wechatAddress\" v-if=\"isWechat && !id\" @click=\"getAddress\">\r\n 导入微信地址\r\n </div>\r\n </div>\r\n</template>\r\n<script type=\"text/babel\">\r\nimport { CitySelect } from \"vue-ydui/dist/lib.rem/cityselect\";\r\nimport { getAddress, postAddress } from \"@api/user\";\r\nimport { getCity } from \"@api/public\";\r\nimport attrs, { required, chs_phone } from \"@utils/validate\";\r\nimport { validatorDefaultCatch } from \"@utils/dialog\";\r\nimport { openAddress } from \"@libs/wechat\";\r\nimport { isWeixin } from \"@utils\";\r\n\r\nexport default {\r\n components: {\r\n CitySelect\r\n },\r\n data() {\r\n return {\r\n show2: false,\r\n model2: \"\",\r\n district: [],\r\n id: 0,\r\n userAddress: { is_default: 0 },\r\n address: {},\r\n isWechat: isWeixin(),\r\n ready: false\r\n };\r\n },\r\n mounted: function() {\r\n let id = this.$route.params.id;\r\n this.id = id;\r\n document.title = !id ? \"添加地址\" : \"修改地址\";\r\n this.getUserAddress();\r\n this.getCityList();\r\n },\r\n methods: {\r\n getCityList: function() {\r\n let that = this;\r\n getCity()\r\n .then(res => {\r\n that.district = res.data;\r\n that.ready = true;\r\n })\r\n .catch(err => {\r\n that.$dialog.error(err.msg);\r\n });\r\n },\r\n getUserAddress: function() {\r\n if (!this.id) return false;\r\n let that = this;\r\n getAddress(that.id)\r\n .then(res => {\r\n that.userAddress = res.data;\r\n that.model2 =\r\n res.data.province + \" \" + res.data.city + \" \" + res.data.district;\r\n that.address.province = res.data.province;\r\n that.address.city = res.data.city;\r\n that.address.city_id = res.data.city_id;\r\n })\r\n .catch(err => {\r\n that.$dialog.error(err.msg);\r\n });\r\n },\r\n getAddress() {\r\n openAddress().then(userInfo => {\r\n this.$dialog.loading.open();\r\n postAddress({\r\n id: this.id,\r\n real_name: userInfo.userName,\r\n phone: userInfo.telNumber,\r\n address: {\r\n province: userInfo.provinceName,\r\n city: userInfo.cityName,\r\n district: userInfo.countryName\r\n },\r\n detail: userInfo.detailInfo,\r\n is_default: 1,\r\n post_code: userInfo.postalCode,\r\n type: 1\r\n })\r\n .then(() => {\r\n this.$dialog.loading.close();\r\n this.$dialog.toast({ mes: \"添加成功\" });\r\n this.$router.go(-1);\r\n })\r\n .catch(err => {\r\n this.$dialog.loading.close();\r\n this.$dialog.error(err.msg || \"添加失败\");\r\n });\r\n });\r\n },\r\n async submit() {\r\n let name = this.userAddress.real_name,\r\n phone = this.userAddress.phone,\r\n model2 = this.model2,\r\n detail = this.userAddress.detail,\r\n isDefault = this.userAddress.is_default;\r\n try {\r\n await this.$validator({\r\n name: [\r\n required(required.message(\"姓名\")),\r\n attrs.range([2, 16], attrs.range.message(\"姓名\"))\r\n ],\r\n phone: [\r\n required(required.message(\"联系电话\")),\r\n chs_phone(chs_phone.message())\r\n ],\r\n model2: [required(\"请选择地址\")],\r\n detail: [required(required.message(\"具体地址\"))]\r\n }).validate({ name, phone, model2, detail });\r\n } catch (e) {\r\n return validatorDefaultCatch(e);\r\n }\r\n try {\r\n let that = this,\r\n data = {\r\n id: that.id,\r\n real_name: name,\r\n phone: phone,\r\n address: this.address,\r\n detail: detail,\r\n is_default: isDefault,\r\n post_code: \"\"\r\n };\r\n postAddress(data)\r\n .then(function() {\r\n if (that.id) that.$dialog.toast({ mes: \"修改成功\" });\r\n else that.$dialog.toast({ mes: \"添加成功\" });\r\n that.$router.go(-1);\r\n })\r\n .catch(err => {\r\n that.$dialog.error(err.msg);\r\n });\r\n } catch (e) {\r\n this.$dialog.error(e.msg);\r\n }\r\n },\r\n ChangeIsDefault: function() {\r\n this.userAddress.is_default = !this.userAddress.is_default;\r\n },\r\n result2(ret) {\r\n this.model2 = ret.itemName1 + \" \" + ret.itemName2 + \" \" + ret.itemName3;\r\n this.address.province = ret.itemName1;\r\n this.address.city = ret.itemName2;\r\n this.address.city_id = ret.itemValue2;\r\n this.address.district = ret.itemName3;\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./AddAddress.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./AddAddress.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddAddress.vue?vue&type=template&id=b1dac964&\"\nimport script from \"./AddAddress.vue?vue&type=script&lang=js&\"\nexport * from \"./AddAddress.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","const bindMessage = (fn, message) => {\r\n fn.message = field => message.replace(\"%s\", field || \"\");\r\n};\r\n\r\nexport function required(message, opt = {}) {\r\n return {\r\n required: true,\r\n message,\r\n type: \"string\",\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(required, \"请输入%s\");\r\n\r\nexport function url(message, opt = {}) {\r\n return {\r\n type: \"url\",\r\n message,\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(url, \"请输入正确的链接\");\r\n\r\nexport function email(message, opt = {}) {\r\n return {\r\n type: \"email\",\r\n message,\r\n ...opt\r\n };\r\n}\r\n\r\nbindMessage(email, \"请输入正确的邮箱地址\");\r\n\r\n/**\r\n * 验证字段必须完全由字母构成。\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha(message) {\r\n return attrs.pattern(/^[\\w]+$/, message);\r\n}\r\n\r\nbindMessage(alpha, \"%s必须是字母\");\r\n\r\n/**\r\n * 只能包含由字母、数字,以及 - 和 _\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha_dash(message) {\r\n return attrs.pattern(/^[\\w\\d_-]+$/, message);\r\n}\r\n\r\nbindMessage(alpha_dash, \"%s只能包含由字母、数字,以及 - 和 _\");\r\n\r\n/**\r\n * 必须是完全是字母、数字\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function alpha_num(message) {\r\n return attrs.pattern(/^[\\w\\d]+$/, message);\r\n}\r\n\r\nbindMessage(alpha_num, \"%s只能包含字母、数字\");\r\n/**\r\n * 正确的金额\r\n *\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function num(message) {\r\n return attrs.pattern(\r\n /(^[1-9]([0-9]+)?(\\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\\.[0-9]([0-9])?$)/,\r\n message\r\n );\r\n}\r\n\r\nbindMessage(num, \"%s格式不正确\");\r\n\r\n/**\r\n * 只能是汉字\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5]+$/, message);\r\n}\r\n\r\nbindMessage(chs, \"%s只能是汉字\");\r\n\r\n/**\r\n * 只能包含汉字、字母\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_alpha(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w]+$/, message);\r\n}\r\n\r\nbindMessage(chs_alpha, \"%s只能包含汉字、字母\");\r\n\r\n/**\r\n * 只能包含汉字、字母和数字\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_alpha_num(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w\\d]+$/, message);\r\n}\r\n\r\nbindMessage(chs_alpha_num, \"%s只能包含汉字、字母和数字\");\r\n\r\n/**\r\n * 只能包含由汉字、字母、数字,以及 - 和 _\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_dash(message) {\r\n return attrs.pattern(/^[\\u4e00-\\u9fa5\\w\\d-_]+$/, message);\r\n}\r\n\r\nbindMessage(chs_dash, \"%s只能包含由汉字、字母、数字,以及 - 和 _\");\r\n\r\n/**\r\n * 手机号验证\r\n * @param message\r\n * @returns {*}\r\n */\r\nexport function chs_phone(message) {\r\n return attrs.pattern(/^1(3|4|5|7|8|9|6)\\d{9}$/i, message);\r\n}\r\nbindMessage(chs_phone, \"请输入正确的手机号码\");\r\n\r\nconst baseAttr = {\r\n min: \"%s最小长度为:min\",\r\n max: \"%s最大长度为:max\",\r\n length: \"%s长度必须为:length\",\r\n range: \"%s长度为:range\",\r\n pattern: \"$s格式错误\"\r\n};\r\n\r\nconst attrs = Object.keys(baseAttr).reduce((attrs, key) => {\r\n attrs[key] = (attr, message = \"\", opt = {}) => {\r\n const _attr =\r\n key === \"range\" ? { min: attr[0], max: attr[1] } : { [key]: attr };\r\n\r\n return {\r\n message: message.replace(\r\n `:${key}`,\r\n key === \"range\" ? `${attr[0]}-${attr[1]}` : attr\r\n ),\r\n type: \"string\",\r\n ..._attr,\r\n ...opt\r\n };\r\n };\r\n bindMessage(attrs[key], baseAttr[key]);\r\n return attrs;\r\n}, {});\r\n\r\nexport default attrs;\r\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n"],"sourceRoot":""}
|