UNPKG

@xysfe/actui

Version:

A fantastic mobile ui lib implement by Vue

1 lines 131 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PrizeLayer=e():t.PrizeLayer=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../lib",e(e.s=1699)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var f;if(a?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=f):o&&(f=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(u.functional){u._injectStyles=f;var l=u.render;u.render=function(t,e){return f.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,f):[f]}return{exports:t,options:u}}e.a=r},10:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},100:function(t,e,n){t.exports={default:n(101),__esModule:!0}},101:function(t,e,n){n(55),t.exports=n(0).Object.getOwnPropertySymbols},102:function(t,e,n){"use strict";function r(t){var e={},n={},r={};for(var c in t)if(t.hasOwnProperty(c))if(-1!==s.indexOf(c))e[c]=t[c];else if(a.test(c)){var u=a.exec(c)[1];u=Object(i.a)(u),r[u]=t[c]}else n[c]=t[c];return e.on=Object(o.a)(r,e.on),e.props=Object(o.a)(n,e.props),e}e.a=r;var o=n(62),i=n(103),a=new RegExp(/^on(.+)/),s=["class","style","attrs","props","domProps","on","nativeOn","directives","scopedSlots","slot","key","ref","refInFor"]},103:function(t,e,n){"use strict";function r(t,e){var n=c(t,e);return n.charAt(0).toLowerCase()+n.slice(1)}e.a=r;var o=n(28),i=n.n(o),a=n(4),s=function(t){for(var e=!1,n=!1,r=!1,o=0;o<t.length;o++){var i=t[o];e&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(t=t.slice(0,o)+"-"+t.slice(o),e=!1,r=n,n=!0,o++):n&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(t=t.slice(0,o-1)+"-"+t.slice(o-1),r=n,n=!1,e=!0):(e=i.toLowerCase()===i&&i.toUpperCase()!==i,r=n,n=i.toUpperCase()===i&&i.toLowerCase()!==i)}return t},c=function(t,e){if("string"!=typeof t&&!Object(a.p)(t))throw new TypeError("Expected the input to be `string | string[]`");e=i()({pascalCase:!1},e);return t=Array.isArray(t)?t.map(function(t){return t.trim()}).filter(function(t){return t.length}).join("-"):t.trim(),0===t.length?"":1===t.length?e.pascalCase?t.toUpperCase():t.toLowerCase():(t!==t.toLowerCase()&&(t=s(t)),t=t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}).replace(/\d+(\w|$)/g,function(t){return t.toUpperCase()}),function(t){return e.pascalCase?t.charAt(0).toUpperCase()+t.slice(1):t}(t))}},104:function(t,e,n){"use strict";function r(t,e,n,r){var i=void 0,a=void 0,s=new t({render:function(t){var n=a&&a(t);return n&&!Object(o.p)(n)&&(n=[n]),t(e,i,n||[])},methods:{init:function(){document.body.appendChild(this.$el)},destroy:function(){this.$destroy(),document.body.removeChild(this.$el)}}});return s.updateRenderData=function(t,e){i=t,a=e},s.updateRenderData(n,r),s.$mount(),s.init(),s.$children[0]}e.a=r;var o=n(4)},1045:function(t,e,n){"use strict";function r(t){s||n(1051)}var o=n(942),i=n(1052),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-a275e3e0",null);u.options.__file="src\\components\\common\\layer.vue",e.a=u.exports},105:function(t,e,n){"use strict";var r=n(20),o=n(64);e.a={name:"ActPopup",mixins:[r.a,o.a],props:{type:{type:String,default:""},mask:{type:Boolean,default:!0},content:{type:String,default:""},center:{type:Boolean,default:!0},opacity:{type:[Number,String],default:.7},pointerEvent:{type:String,default:""},zIndex:{type:[String,Number],default:"999"},topBorderRadius:{type:Boolean,default:!1}},computed:{typeClass:function(){return this.type?"act-"+this.type:""},maskBgColor:function(){return"rgba(0, 0, 0, "+this.opacity+")"}},methods:{maskClick:function(t){this.$emit("mask-click",t)}}}},1051:function(t,e){},1052:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("act-popup",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],attrs:{zIndex:t.zIndex,opacity:t.opacity},scopedSlots:t._u([{key:"mask",fn:function(){return[r("div",{staticClass:"act-layer",class:"act-layer-"+t.type,style:{fontSize:t._fontSize}},["img"===t.type?[r("div",{ref:"headImg",staticClass:"head-img",style:{backgroundColor:t.headImgColor}},[r("img",{attrs:{src:t.headImg},on:{load:t.headLoaded}})]),t._v(" "),r("div",{staticClass:"act-layer-content fix-gap",style:{backgroundColor:t._contentBgColor}},[r("div",[t._t("content")],2)])]:r("div",{staticClass:"layer-wrap",style:{backgroundColor:t._contentBgColor}},[t.showHead?r("div",{staticClass:"act-layer-header",style:{color:t._headerBgColor,backgroundColor:t._headerBgColor}},[t._t("header")],2):t._e(),t._v(" "),r("div",{staticClass:"act-layer-content"},[t._t("content")],2)]),t._v(" "),t.showClose?r("div",{staticClass:"act-layer-close"},[r("img",{attrs:{src:n(1053)},on:{click:t.hideLayer}})]):t._e()],2)]},proxy:!0}],null,!0)})},o=[];r._withStripped=!0},1053:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAMAAABG8BK2AAAArlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8tivQqAAAAOXRSTlMABPQInehQ+O/hzuRLuisvVdGzHAzd2XJtZQ93F9Q7fWnsycChgV6la8WtkotINSIeJY5aFJhDh0AywUFaAAAEeklEQVRYw52YCXOiQBCFh2GG+1ZBRUCCiufGeCR5//+PLWZ3WRMYPF6lKjrVfk4/erqnJCLJY8fLmO3rOaW57tuzueeMZfKgnON8VoQ5amlhMZsfnUcYvV28NgGYvr0u2fnMyrVtfC2s413vXoh10AFuBNvRzpnIXxlOnN1oGxgc0A/WPaB+yjRQM4hcWSLfJMluFJgUGkv7tyiv81DF4COdyK2+T9KPAdRw/toJkbxAwyBLJ+KQSZoNoAWe1BES+aBMGZNOjRVG4Uc9YUIfGpJ4T25qHyfQPgSJOWdQ2yN3ybMpzq1F5M6gMpfcKZepmLVEv51VbFv2KXRgC/X81qi5g6ZuBBQBZ6Nqhx8+SzFXWcV+RG9MzWPpu2UDBC55UG6AgfftIa1gWORhWQZWzlXZbVU6JU9oStXt5D+VYzN5BjPZgFu1VyWSlDylNEH578ksNDXqP4fpR6q2+FsyM7xUxOf09oJZ789mdC3uP4vpx5r5tR1pA6NxyE7vrtTSjtz3U2M7BjaX0F8FmPwzXkkMq61OEuUnXWYoflX/Ik1fND6w43ixGpQX8F0jtPIkkkl/Brt5JE9LveI0KPrw1DyiNmZ98lbg3NaVhxVn922DF0pboz+jeCNKokaklWPC2En1250Bc9jaxyM1UUjGQ4W0cpYm/Irzl+LDXLZSiBLymDDV/iUoiSmHYdVnmU8FxfXLpmdiX6pQwBlVeX1tVakyGjUp9SkIiI+DLLycTCuflYpSuTsVRvUPMIiOeb3Q/ryUC6VyV6g5BiRHTDo4ywEdVH+Vu2LF4IRiSLq05ABfdoZE0G5ijiZgHm9iNERdIcqKahpdKeRGUjqyLoqBMIpCGF2crLI4wVYWGmwZ0KeETHUYltBkeQufFGATISWpKFL1ouIkQs6EwSalKhqXVe+COZK+Xo5MVB1LNDwpI/PcF8xLz4e5+JuwvDDhe4LZ6fM5OYZ0KXJXH8m1ASNd5POShsfL+D4IKIORdJXiaCDgHC6DfFxi3fS4r/g15YrjK/2mw2uUYyJntKVvpSH0mlJzdIRpS9eimUykdwMHqXE/5rymXHE49xqhBxjv1WKfYbVvXFkX1rjlRmwtmpErsK9MhzkfNQq5sRXBsjzi2p+z7QSwe+RJ9ez6tjdU6UJ+jiIvqDqsWzsK9zmMW6AeLNKRIhs/QxlnoEfpakSY3jMYz7weT1Ka1Ht7RJUbSSpdDxIOtn+Usmfg3wfPeEO1+ekxymmu0c0PS51SzePTQ5Q4V0unkecaeXR6gBLlWLf4+WmDz3t3V++cw/5sOy6fAXKW3kdJWY7gU2p/fqUK2xvfUXWeDbUUVoizMaHHrtQNkdxYh7lxOr5m6asoFnu54zDuFwXUZNm5aTllFFqxfBX1m9dpoYGyVL5VmscAMFcbb9IyH73NygSC4/6ewz9cUyBcb6eW2/s37nquNd2uQ4Cuh/c2FWfKXihA/YBts2g5jLMtC/zLygubOuR+9d+zchVyilpqHq7K7F1wHb31E5kx4JrGB37R/RPZb5gTet/KpkbHAAAAAElFTkSuQmCC"},1054:function(t,e,n){"use strict";var r=n(20);e.a={name:"ActButton",mixins:[r.a],data:function(){return{}},props:{buttondata:{type:Object,default:function(){return{}}},type:{type:String,default:"default"},round:{type:[Boolean,String],default:"2em"}},watch:{buttondata:{deep:!0,immediate:!0,handler:function(t){this.setBtnBgColor(t)}}},methods:{btnClick:function(t){this.$emit("button-click",t)},setBtnBgColor:function(t){if(this.$refs.actbtn)if(t.btnbg){if(t.btnbg.match(/^#/)||t.btnbg.match(/^rgb/i))this.$refs.actbtn.style.background=t.btnbg;else if(t.btnbg.match(/linear-gradient/)){var e=t.btnbg.match(/(linear-gradient)\((.*)\)/);e&&e.length>=3&&(this.$refs.actbtn.style.background=e[1]+"("+e[2]+")",this.$refs.actbtn.style.background="-webkit-"+e[1]+"("+e[2]+")")}}else this.$refs.actbtn.background=""}}}},107:function(t,e,n){var r=n(26),o=n(3)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),o))?n:i?r(e):"Object"==(s=r(e))&&"function"==typeof e.callee?"Arguments":s}},108:function(t,e,n){"use strict";function r(t){s||n(120)}var o=n(105),i=n(121),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,null,null);u.options.__file="src\\components\\common\\popup.vue",e.a=u.exports},11:function(t,e,n){var r=n(47),o=n(29);t.exports=function(t){return r(o(t))}},110:function(t,e,n){var r=n(9),o=n(40),i=n(3)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},111:function(t,e,n){var r,o,i,a=n(38),s=n(146),c=n(60),u=n(41),f=n(2),l=f.process,d=f.setImmediate,p=f.clearImmediate,h=f.MessageChannel,m=f.Dispatch,v=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},w=function(t){y.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},p=function(t){delete g[t]},"process"==n(26)(l)?r=function(t){l.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",w,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:d,clear:p}},112:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},113:function(t,e,n){var r=n(9),o=n(10),i=n(68);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},114:function(t,e,n){"use strict";function r(t){t.interceptors.response.use(function(t){return t},function(t){var e={403:"请求被拒绝,请联系客服处理",404:"您访问的资源不可用,请联系客服处理",502:"服务器网关出错,请稍后重试",503:"服务器维护中,请稍后重试",504:"服务器请求超时,请稍后重试"},n="";return n=t&&t.response&&t.response.status?e[t.response.status]?e[t.response.status]+"("+t.response.status+")":"请求失败,请稍后重试("+t.response.status+")":t&&t.message&&/timeout/i.test(t.message)?"请求超时,请稍后重试":"请求失败,请稍后重试",s.a.reject(new Error(n))})}function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new s.a(function(o,i){var a=u.a.create();r(a),a.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest"}}).then(function(t){o(t)}).catch(function(t){i(t)})})}function i(t){return u.a.get(t).then(function(t){return s.a.resolve(t.data)})}e.a=r,e.d=o,e.c=i;var a=n(52),s=n.n(a),c=n(164),u=n.n(c);e.b=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return new s.a(function(o,i){var a=u.a.create();r(a),a.request({method:"post",url:t,data:e,timeout:n,withCredentials:!0,headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(t){function e(t,e){var n=0,r=t.length;if(void 0===r||"[object Function]"===Object.prototype.toString.call(t)){for(var o in t)if(!1===e.call(t[o],o,t[o]))break}else for(var i=t[0];n<r&&!1!==e.call(i,n,i);i=t[++n]);return t}function n(t,r,o){var i=void 0,a="[object Array]"===Object.prototype.toString.call(r),s="[object Object]"===Object.prototype.toString.call(r);e(r,function(e,r){i=Object.prototype.toString.call(r),o&&(e=o+"["+(s||"[object Object]"===i||"[object Array]"===i?e:"")+"]"),!o&&a?t.add(r.name,r.value):"[object Array]"===i||"[object Object]"===i?n(t,r,e):t.add(e,r)})}if(t){return function(t){var e=[];return e.add=function(t,e){"[object Function]"===Object.prototype.toString.call(e)&&(e=e()),null==e&&(e=""),this.push(encodeURIComponent(t)+"="+encodeURIComponent(e))},n(e,t),e.join("&").replace(/%20/g,"+")}(t)}}]}).then(function(t){o(t)}).catch(function(t){i(t)})})}},115:function(t,e,n){var r=n(107),o=n(3)("iterator"),i=n(18);t.exports=n(0).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},116:function(t,e,n){"use strict";function r(t){t.preventDefault()}var o={watch:{isVisible:function(t){t?document.body.addEventListener("touchmove",r,{passive:!1}):document.body.removeEventListener("touchmove",r,{passive:!1})}},beforeDestroy:function(){document.body.removeEventListener("touchmove",r,{passive:!1})}};e.a=o},117:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},120:function(t,e){},1207:function(t,e,n){"use strict";e.a={data:function(){return{FixedToHtmlScrollY:""}},watch:{isVisible:function(t){t?this.addFixedToHtml():this.removeFixedToHtml()}},mounted:function(){/ip(hone|od).*(micromessenger|mqqbrowser)/i.test(navigator.userAgent)&&window.addEventListener("focusout",this.focusoutWindow,!1)},methods:{focusoutWindow:function(t){t.target&&/(input|select|textarea)/i.test(t.target.tagName)&&window.scrollTo(window.scrollX,window.scrollY)},addFixedToHtml:function(){var t=navigator.userAgent.toLocaleLowerCase().match(/.*os (\d+)_(\d+)_?(\d+)? like.*/);if(t&&t[1]&&t[1]<12&&t[2]&&t[2]<4){console.log("under 11.3.0");var e=document.querySelector("html").className;this.FixedToHtmlScrollY=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop||window.scrollY||0,-1===e.indexOf("given_layer_html_fix")&&(document.querySelector("html").className=e+"given_layer_html_fix")}},removeFixedToHtml:function(){var t=document.querySelector("html").className;-1!==t.indexOf("given_layer_html_fix")&&(document.querySelector("html").className=t.replace("given_layer_html_fix",""),window.scrollTo(0,this.FixedToHtmlScrollY))}},destoryed:function(){window.removeEventListener("focusout",this.focusoutWindow,!1)}}},1208:function(t,e,n){"use strict";var r=n(96);e.a={name:"ActInput",components:{svgIcon:r.a},props:{value:{type:String,default:""},showdel:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},tips:{type:String,default:""},tipscolor:{type:String,default:""},inputstyle:{type:String,default:""},type:{type:String,default:"text"}},computed:{delIsShow:function(){return this.showdel&&Boolean(this.value)&&this.focused}},data:function(){return{focused:!1,scrollY:0,openShake:!1}},model:{prop:"value",event:"change"},methods:{focus:function(){this.$refs.input.focus()},blur:function(){this.$refs.input.blur()},handlerInput:function(t){var e=t.target.value;this.setCurrentValue(e)},delValue:function(){this.setCurrentValue(""),this.$emit("clear",this.value),this.focus()},handlerChange:function(t){var e=t.target.value;this.$emit("change",e)},handlerBlur:function(t){this.focused=!1,this.$emit("blur",t)},handlerFocus:function(t){this.focused=!0,this.$emit("focus",t)},setCurrentValue:function(t){this.$emit("input",t),t!==this.value&&this.$emit("change",t)},addShake:function(){var t=this;this.openShake=!0,setTimeout(function(){t.openShake=!1},1200)}},watch:{tips:function(t){t&&this.addShake()}}}},121:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.isVisible,expression:"isVisible"}],staticClass:"act-popup",class:t.typeClass,style:{pointerEvents:t.pointerEvent,zIndex:t.zIndex}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mask,expression:"mask"}],staticClass:"act-popup-mask act-row act-middle",style:{backgroundColor:t.maskBgColor},on:{click:t.maskClick}},[t._t("mask")],2),t._v(" "),n("div",{staticClass:"act-popup-container",class:{"act-popup-center":t.center}},[t.$slots.default?n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius}},[t._t("default")],2):n("div",{class:{"act-popup-content":!0,"act-popup-top-radius":t.topBorderRadius},domProps:{innerHTML:t._s(t.content)}})])])},o=[];r._withStripped=!0},1211:function(t,e,n){"use strict";function r(t,e){return Object.prototype.toString.call(t)==="[object "+e+"]"}Object.defineProperty(e,"__esModule",{value:!0});var o=n(124),i=n.n(o),a=n(214),s=n.n(a),c={isString:function(t){return r(t,"String")},isNumber:function(t){return r(t,"Number")},isObject:function(t){return r(t,"Object")},isArray:function(t){return r(t,"Array")},isBoolean:function(t){return r(t,"Boolean")},isEmail:function(t){return/^([a-zA-Z0-9]+[_|_|.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|_|.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/.test(t)},isName:function(t){return!(t.length>30)&&(!!/^[a-z][a-z|.|\s]*[a-z]$/gi.test(t)||!(!/^[\u4e00-\u9fa5][\u4e00-\u9fa5|·]*[\u4e00-\u9fa5]$/g.test(t)||t.match(/([\u4e00-\u9fa5])\1{2,}/g)))},isMobile:function(t){return!!/^1\d{10}$/.test(t)},eq:function(t,e){return t===e},isIdCard:function(t){var e={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外 "};if(!t||!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/.test(t))return!1;if(!e[t.substr(0,2)])return!1;if(18===t.length){t=t.split("");for(var n=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],r=["1","0","X","9","8","7","6","5","4","3","2"],o=0,i=0,a=0,s=0;s<17;s++)i=t[s],a=n[s],o+=i*a;if(r[o%11]!==t[17].toUpperCase())return!1}return!0},required:function(t){return!(""===t||void 0===t||null===t||r(t,"Number")&&isNaN(t))},min:function(t,e){return t.length>=e},max:function(t,e){return t.length<=e}},u={};for(var f in c)u[f.toLowerCase()]=f;var l=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";s()(this,t),this.curData=e,this.rules=[]}return t.prototype.data=function(t){return this.curData=t,this},t.prototype.add=function(){var t=this,e=arguments,n=arguments[0],o=Array.prototype.slice.call(arguments,1),a=this.curData,s=[];r(n,"Array")?s=n:s.push(n);for(var f=s,l=Array.isArray(f),d=0,f=l?f:i()(f);;){var p;if(l){if(d>=f.length)break;p=f[d++]}else{if(d=f.next(),d.done)break;p=d.value}var h=p;!function(n){r(n,"String")?t.rules.push(function(){var t=c[u[n.toLowerCase()]];return t.call.apply(t,[c,a].concat(o))}):r(n,"Function")?t.rules.push(function(){return n.apply(void 0,[a].concat(o))}):r(n,"RegExp")?t.rules.push(function(){return n.test(a)}):console.error("非法的strategy,已忽略此策略:",e)}(h)}return this},t.prototype.error=function(t){return c.required(t)||r(t,"String")||(console.warn("validator error api need a string param"),t="校验未通过,请检查后重试"),this.rules.push(t),this},t.prototype.start=function(){for(var t="";;){if(void 0===(t=this.rules.shift()))break;if(r(t,"Function")){var e=t();if(!0!==e){if(!1===e){do{if(t=this.rules.shift(),r(t,"String"))return this.clear(),t}while(t);return"校验失败"}return console.warn("Strategy function must return a boolean value"),this.clear(),"Strategy function must return a boolean value"}}}return!0},t.prototype.clear=function(){this.curData="",this.rules=[]},t}();e.default=l},1216:function(t,e,n){"use strict";function r(t){s||n(1219)}var o=n(1054),i=n(1220),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-44b52f03",null);u.options.__file="src\\components\\common\\button.vue",e.a=u.exports},1218:function(t,e,n){"use strict";var r=n(58),o=n.n(r),i=n(62),a=n(1211);e.a={data:function(){return{pageData:{}}},props:{content:{type:Object,default:function(){return{}}}},watch:{content:{deep:!0,immediate:!0,handler:function(t){this.refresh(t)}}},methods:{refresh:function(t){this.pageData=JSON.parse(o()(Object(i.a)({},t)))},errTips:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.pageData.form[t].tipscolor=this.pageData.tipsColor?this.pageData.tipsColor:this.titleBack?this.titleBack:"red",this.pageData.form[t].isShowTips=!0,this.pageData.form[t].isEmpty=e,this.pageData.form[t].tips=n,this.refresh(this.pageData)},getMobile:function(){if(this.pageData.form&&this.pageData.form.length)for(var t=0;t<this.pageData.form.length;++t){var e=this.pageData.form[t];if("mobile"===e.type)return this.checkInput(e.type,e.value)?[t,e.value,!0]:[t,e.value,!1]}return[-1,"",!1]},checkFormInput:function(){var t=this,e=this.pageData,n={};if(!e.form||e.form.length<=0)return[!0,n];var r="",o=!1,i=!0;return e.form.map(function(a,s){a.isEmpty=!1,a.isShowTips=!1,a.tips="",a.tipscolor=e.tipsColor?e.tipsColor:t.titleBack?t.titleBack:"red",a.value=a.value?a.value:"",r="",o=!1,t.checkInput(a.type,a.value)||(r=s),""===a.value.replace(/^\s+|\s+$/g,"")&&(o=!0,r=s),""!==r&&(i=!1,a.isEmpty=o,a.isShowTips=!0),n[a.type]=a.value}),this.refresh(e),[i,n]},checkInput:function(t,e){var n={user:["isString","required"],mobile:["isString","required","isMobile"],idcard:["isString","required","isIdCard"],address:["isString","required"],verifycode:["isString","required"]};return!0===(new a.default).data(e).add(n[t]).start()},returnData:function(t,e,n){return{ret:t,errmsg:e,data:n}}}}},1219:function(t,e){},1220:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"actbtn",staticClass:"act-button",class:[t.type?"act-button--"+t.type:""],style:{border:t.buttondata.btnborder,borderRadius:!0===t.round?"2em":t.round},on:{click:t.btnClick}},[t.$slots.default?n("span",{style:{color:t.buttondata.btncolor}},[t._t("default")],2):t._e()])},o=[];r._withStripped=!0},1229:function(t,e,n){"use strict";var r=n(1207),o=n(1),i=Object(o.a)(r.a,void 0,void 0,!1,null,null,null);i.options.__file="src\\mixins\\fixed-input.vue",e.a=i.exports},123:function(t,e,n){var r=n(38),o=n(136),i=n(137),a=n(9),s=n(59),c=n(115),u={},f={},e=t.exports=function(t,e,n,l,d){var p,h,m,v,g=d?function(){return t}:c(t),y=r(n,l,e?2:1),w=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(i(g)){for(p=s(t.length);p>w;w++)if((v=e?y(a(h=t[w])[0],h[1]):y(t[w]))===u||v===f)return v}else for(m=g.call(t);!(h=m.next()).done;)if((v=o(m,y,h.value,e))===u||v===f)return v};e.BREAK=u,e.RETURN=f},1230:function(t,e,n){"use strict";function r(t){s||n(1234)}var o=n(1208),i=n(1235),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-77b8ac09",null);u.options.__file="src\\components\\common\\input.vue",e.a=u.exports},1234:function(t,e){},1235:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"act-input"},[n("div",{staticClass:"act-input-box act-row act-middle",style:t.inputstyle},[t._t("left"),t._v(" "),n("div",{staticClass:"act-input-content act-row act-middle act-col"},[n("div",{staticClass:"act-input-wrap act-row act-middle"},[t.disabled?n("input",{ref:"input",staticClass:"act-col disabled",attrs:{disabled:"",placeholder:t.placeholder,type:t.type},domProps:{value:t.value}}):n("input",{ref:"input",staticClass:"act-col",class:{paddingR:t.delIsShow,shake:t.openShake},attrs:{type:t.type,placeholder:t.placeholder},domProps:{value:t.value},on:{input:t.handlerInput,change:t.handlerChange,focus:t.handlerFocus,blur:t.handlerBlur}})]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.delIsShow,expression:"delIsShow"}],staticClass:"act-input-del act-row",on:{click:t.delValue,mousedown:function(t){t.preventDefault()}}},[n("svg-icon",{attrs:{iconClass:"del",className:"del-icon"}})],1),t._v(" "),n("div",{staticClass:"act-input-tips",style:{color:t.tipscolor}},[n("span",[t._v(t._s(t.tips))])])]),t._v(" "),t._t("right")],2)])},o=[];r._withStripped=!0},124:function(t,e,n){t.exports={default:n(186),__esModule:!0}},125:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},1255:function(t,e,n){"use strict";var r=n(1230),o=n(96);e.a={name:"ActFormInput",components:{svgIcon:o.a,ActInput:r.a},props:{content:{type:Array,default:function(){return[]}},verifyColor:{type:String,default:"#f9433d"}},data:function(){return{seconds:0,form:{user:{type:"text",placeholder:"请输入姓名",emptyTips:"*姓名不可为空",errTips:"*请输入正确的姓名"},mobile:{type:"tel",placeholder:"请输入手机号",emptyTips:"*手机号不可为空",errTips:"*请输入正确的手机号"},idcard:{type:"text",placeholder:"请输入身份证号",emptyTips:"*身份证号不可为空",errTips:"*请输入正确的身份证号"},address:{type:"text",placeholder:"请输入收件人地址",emptyTips:"*收件人地址不可为空",errTips:"*请输入正确的收件人地址"},verifycode:{type:"number",placeholder:"请输入验证码",emptyTips:"*验证码不可为空",errTips:"*请输入正确的验证码"}}}},mounted:function(){this.$on("startcountdown",this.startCountDown)},methods:{getInfoCode:function(t){this.seconds||this.$emit("getcode",{index:t})},getInputType:function(t){return this.form[t.type]?this.form[t.type].type:"text"},getErrTips:function(t){return t.isShowTips&&t.tips?t.tips:t.isShowTips&&this.form[t.type]?t.isEmpty?this.form[t.type].emptyTips:this.form[t.type].errTips:""},startCountDown:function(){this.seconds=60,this.clearTimer(),this.freshTime()},freshTime:function(){var t=this;this.timer=setInterval(function(){t.seconds>0?t.seconds--:t.clearTimer()},1e3)},clearTimer:function(){this.timer&&clearInterval(this.timer)}}}},126:function(t,e,n){"use strict";function r(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var o=n(17);t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(o.isURLSearchParams(e))i=e.toString();else{var a=[];o.forEach(e,function(t,e){null!==t&&void 0!==t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),a.push(r(e)+"="+r(t))}))}),i=a.join("&")}if(i){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},1261:function(t,e,n){"use strict";var r=n(1218),o=n(1),i=Object(o.a)(r.a,void 0,void 0,!1,null,null,null);i.options.__file="src\\mixins\\form-input.vue",e.a=i.exports},127:function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},128:function(t,e,n){"use strict";(function(e){function r(t,e){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var o=n(17),i=n(170),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=n(129):void 0!==e&&"[object process]"===Object.prototype.toString.call(e)&&(t=n(129)),t}(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(r(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(r(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],function(t){s.headers[t]={}}),o.forEach(["post","put","patch"],function(t){s.headers[t]=o.merge(a)}),t.exports=s}).call(e,n(153))},129:function(t,e,n){"use strict";var r=n(17),o=n(171),i=n(126),a=n(173),s=n(176),c=n(177),u=n(130);t.exports=function(t){return new Promise(function(e,f){var l=t.data,d=t.headers;r.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",m=t.auth.password||"";d.Authorization="Basic "+btoa(h+":"+m)}var v=a(t.baseURL,t.url);if(p.open(t.method.toUpperCase(),i(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?s(p.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?p.response:p.responseText,i={data:r,status:p.status,statusText:p.statusText,headers:n,config:t,request:p};o(e,f,i),p=null}},p.onabort=function(){p&&(f(u("Request aborted",t,"ECONNABORTED",p)),p=null)},p.onerror=function(){f(u("Network Error",t,null,p)),p=null},p.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),f(u(e,t,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var g=n(178),y=(t.withCredentials||c(v))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;y&&(d[t.xsrfHeaderName]=y)}if("setRequestHeader"in p&&r.forEach(d,function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete d[e]:p.setRequestHeader(e,t)}),r.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),t.responseType)try{p.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&p.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){p&&(p.abort(),f(t),p=null)}),void 0===l&&(l=null),p.send(l)})}},1293:function(t,e,n){"use strict";function r(t){s||n(1294)}var o=n(1255),i=n(1295),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-74871045",null);u.options.__file="src\\components\\common\\forminput.vue",e.a=u.exports},1294:function(t,e){},1295:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",t._l(t.content,function(e,r){return n("div",{key:r},[n("act-input",{attrs:{showdel:e.showdel,disabled:e.disabled,type:t.getInputType(e),tipscolor:e.tipscolor,placeholder:t.form[e.type]&&t.form[e.type].placeholder,tips:t.getErrTips(e)},scopedSlots:t._u(["verifycode"!==e.type?{key:"left",fn:function(){return[n("div",{staticClass:"act-given-content-formicon",class:e.type},[n("svg-icon",{attrs:{iconClass:e.type}})],1)]},proxy:!0}:{key:"right",fn:function(){return[t.seconds?n("div",{staticClass:"act-mobile-word",style:{color:t.verifyColor}},[t._v("\n 剩余"+t._s(t.seconds)+"秒\n ")]):n("div",{staticClass:"act-mobile-word",style:{color:t.verifyColor},on:{click:function(e){return t.getInfoCode(r)}}},[t._v("\n "+t._s(e.text?e.text:"发送验证码")+"\n ")])]},proxy:!0}],null,!0),model:{value:e.value,callback:function(n){t.$set(e,"value","string"==typeof n?n.trim():n)},expression:"item.value"}})],1)}),0)},o=[];r._withStripped=!0},13:function(t,e,n){var r=n(2),o=n(0),i=n(38),a=n(7),s=n(6),c=function(t,e,n){var u,f,l,d=t&c.F,p=t&c.G,h=t&c.S,m=t&c.P,v=t&c.B,g=t&c.W,y=p?o:o[e]||(o[e]={}),w=y.prototype,A=p?r:h?r[e]:(r[e]||{}).prototype;p&&(n=e);for(u in n)(f=!d&&A&&void 0!==A[u])&&s(y,u)||(l=f?A[u]:n[u],y[u]=p&&"function"!=typeof A[u]?n[u]:v&&f?i(l,r):g&&A[u]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):m&&"function"==typeof l?i(Function.call,l):l,m&&((y.virtual||(y.virtual={}))[u]=l,t&c.R&&w&&!w[u]&&a(w,u,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},130:function(t,e,n){"use strict";var r=n(172);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},131:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e){e=e||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,function(t){void 0!==e[t]&&(n[t]=e[t])}),r.forEach(i,function(o){r.isObject(e[o])?n[o]=r.deepMerge(t[o],e[o]):void 0!==e[o]?n[o]=e[o]:r.isObject(t[o])?n[o]=r.deepMerge(t[o]):void 0!==t[o]&&(n[o]=t[o])}),r.forEach(a,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])});var s=o.concat(i).concat(a),c=Object.keys(e).filter(function(t){return-1===s.indexOf(t)});return r.forEach(c,function(r){void 0!==e[r]?n[r]=e[r]:void 0!==t[r]&&(n[r]=t[r])}),n}},132:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},136:function(t,e,n){var r=n(9);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},137:function(t,e,n){var r=n(18),o=n(3)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},139:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},14:function(t,e,n){"use strict";function r(t,e){return function(n,r){var a=this,s=Object(o.a)(n),c=Object(i.a)(e,t,s,r),u=c.$parent,f=c.remove,l=c.show,d=c.hide;return c.remove=function(){c.$removed=!0,f&&f.call(this),u.destroy()},c.show=function(){return l&&l.call.apply(l,[this].concat(Array.prototype.slice.call(arguments))),this},c.hide=function(){return d&&d.call.apply(d,[this].concat(Array.prototype.slice.call(arguments))),this},a&&a._isVue&&a.$once("hook:beforeDestroy",function(){c.$removed||c.remove()}),c}}e.a=r;var o=n(102),i=n(104)},140:function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},141:function(t,e,n){var r=n(3)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},142:function(t,e,n){"use strict";var r=n(2),o=n(0),i=n(8),a=n(5),s=n(3)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];a&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},144:function(t,e,n){n(61),n(53),n(56),n(145),n(149),n(150),t.exports=n(0).Promise},145:function(t,e,n){"use strict";var r,o,i,a,s=n(16),c=n(2),u=n(38),f=n(107),l=n(13),d=n(10),p=n(40),h=n(139),m=n(123),v=n(110),g=n(111).set,y=n(147)(),w=n(68),A=n(112),b=n(148),x=n(113),C=c.TypeError,S=c.process,_=S&&S.versions,O=_&&_.v8||"",E=c.Promise,j="process"==f(S),k=function(){},T=o=w.f,B=!!function(){try{var t=E.resolve(1),e=(t.constructor={})[n(3)("species")]=function(t){t(k,k)};return(j||"function"==typeof PromiseRejectionEvent)&&t.then(k)instanceof e&&0!==O.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),M=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},L=function(t,e){if(!t._n){t._n=!0;var n=t._c;y(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,a,s=o?e.ok:e.fail,c=e.resolve,u=e.reject,f=e.domain;try{s?(o||(2==t._h&&I(t),t._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),a=!0)),n===e.promise?u(C("Promise-chain cycle")):(i=M(n))?i.call(n,c,u):c(n)):u(r)}catch(t){f&&!a&&f.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&N(t)})}},N=function(t){g.call(c,function(){var e,n,r,o=t._v,i=R(t);if(i&&(e=A(function(){j?S.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=j||R(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},I=function(t){g.call(c,function(){var e;j?S.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},P=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),L(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=M(t))?y(function(){var r={_w:n,_d:!1};try{e.call(t,u(D,r,1),u(P,r,1))}catch(t){P.call(r,t)}}):(n._v=t,n._s=1,L(n,!1))}catch(t){P.call({_w:n,_d:!1},t)}}};B||(E=function(t){h(this,E,"Promise","_h"),p(t),r.call(this);try{t(u(D,this,1),u(P,this,1))}catch(t){P.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(140)(E.prototype,{then:function(t,e){var n=T(v(this,E));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=j?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&L(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(D,t,1),this.reject=u(P,t,1)},w.f=T=function(t){return t===E||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!B,{Promise:E}),n(27)(E,"Promise"),n(142)("Promise"),a=n(0).Promise,l(l.S+l.F*!B,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(s||!B),"Promise",{resolve:function(t){return x(s&&this===a?E:this,t)}}),l(l.S+l.F*!(B&&n(141)(function(t){E.all(t).catch(k)})),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=A(function(){var n=[],i=0,a=1;m(t,!1,function(t){var s=i++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=A(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},146:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},147:function(t,e,n){var r=n(2),o=n(111).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(26)(a);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(u)}}else n=function(){o.call(r,u)};else{var l=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},1478:function(t,e,n){"use strict";function r(t){return t}var o=n(4),i=n(20),a=n(116),s=n(1229),c=n(1261),u=n(1045),f=n(1293),l=n(1216),d=n(96),p=n(114);e.a={name:"ActPrizeLayer",mixins:[i.a,a.a,s.a,c.a],data:function(){return{isSelected:!1,isChecking:!1}},props:{id:{type:[String,Number],default:""},url:{type:String,default:""},hbgColor:{type:String,default:"#f7debb"},cbgColor:{type:String,default:"#f9443c"},showClose:{type:Boolean,default:!0},submit:{type:Function,default:r},intercept:{type:Function,default:r}},methods:{btnClick:function(){var t=this;if(!this.isChecking){this.isChecking=!0;var e=this.checkFormInput(),n=e[0],r=e[1];if(this.id&&(r.id=this.id),!n)return void this.emitSubmitCb(this.returnData(10001,"表单校验有误,请检查~",[r]));if(this.pageData.additionText&&this.pageData.additionText.isSelected&&!this.isSelected)return void this.emitSubmitCb(this.returnData(1e4,"请勾选相关协议~",[r]));this.intercept&&"function"==typeof this.intercept&&(r=this.intercept(r)),this.url?Object(p.b)(this.url,r).then(function(e){try{200===e.status&&Object(o.A)(e.data)&&0===e.data.ret?t.emitSubmitCb(t.returnData(0,"表单提交成功",[r,e.data])):t.emitSubmitCb(t.returnData(10003,"请求失败",[r,e.data]))}catch(t){console.error(t)}}).catch(function(e){t.emitSubmitCb(t.returnData(10002,e.message?e.message:e,[r]))}):this.emitSubmitCb(this.returnData(0,"表单校验成功",[r]))}},txtClick:function(){this.$emit("txtClick")},hideLayer:function(){this.hide(),this.$emit("hidelayer")},emitSubmitCb:function(t){"function"==typeof this.submit&&this.submit(t),this.isChecking=!1},handleUserContactInfo:function(t){var e=this,n={name:t.name||"",mobile:t.mobile||"",address:t.address||""};this.pageData.form.forEach(function(t){"user"===t.type&&!t.value&&n.name&&e.$set(t,"value",n.name),"mobile"===t.type&&!t.value&&n.mobile&&e.$set(t,"value",n.mobile),"address"===t.type&&!t.value&&n.address&&e.$set(t,"value",n.address)})}},watch:{"pageData.isNeedPreFetchInfo":{immediate:!0,handler:function(t,e){var n=this;t&&Object(p.b)("/Activity/Act/getUserContactInfo").then(function(t){if(!t.data.ret){var e=t.data.data;n.handleUserContactInfo(e)}}).catch(function(t){console.log("getUserContactInfo e",t)})}}},components:{ActLayer:u.a,ActButton:l.a,ActFormInput:f.a,svgIcon:d.a}}},148:function(t,e,n){var r=n(2),o=r.navigator;t.exports=o&&o.userAgent||""},149:function(t,e,n){"use strict";var r=n(13),o=n(0),i=n(2),a=n(110),s=n(113);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},15:function(t,e,n){var r=n(50),o=n(33);t.exports=Object.keys||function(t){return r(t,o)}},150:function(t,e,n){"use strict";var r=n(13),o=n(68),i=n(112);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},153:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function i(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function a(){m&&p&&(m=!1,p.length?h=p.concat(h):v=-1,h.length&&s())}function s(){if(!m){var t=o(a);m=!0;for(var e=h.length;e;){for(p=h,h=[];++v<e;)p&&p[v].run();v=-1,e=h.length}p=null,m=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var f,l,d=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var p,h=[],m=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];h.push(new c(t,e)),1!==h.length||m||o(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},16:function(t,e){t.exports=!0},163:function(t,e,n){"use strict";var r=n(219);!function(t){t.keys().map(t)}(r),e.a={name:"SvgIcon",props:{iconClass:{type:String,required:!0,default:""},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}},mounted:function(){}}},164:function(t,e,n){t.exports=n(165)},165:function(t,e,n){"use strict";function r(t){var e=new a(t),n=i(a.prototype.request,e);return o.extend(n,a.prototype,e),o.extend(n,e),n}var o=n(17),i=n(125),a=n(166),s=n(131),c=n(128),u=r(c);u.Axios=a,u.create=function(t){return r(s(u.defaults,t))},u.Cancel=n(132),u.CancelToken=n(179),u.isCancel=n(127),u.all=function(t){return Promise.all(t)},u.spread=n(180),t.exports=u,t.exports.default=u},166:function(t,e,n){"use strict";function r(t){this.defaults=t,this.interceptors={request:new a,response:new a}}var o=n(17),i=n(126),a=n(167),s=n(168),c=n(131);r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=c(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[s,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},r.prototype.getUri=function(t){return t=c(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],function(t){r.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){r.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=r},167:function(t,e,n){"use strict";function r(){this.handlers=[]}var o=n(17);r.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){o.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=r},168:function(t,e,n){"use strict";function r(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var o=n(17),i=n(169),a=n(127),s=n(128);t.exports=function(t){return r(t),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||s.adapter)(t).then(function(e){return r(t),e.data=i(e.data,e.headers,t.transformResponse),e},function(e){return a(e)||(r(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},169:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},1699:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(14),o=n(1700);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createPrizeLayer=Object(r.a)(o.a,t)},e.default=o.a},17:function(t,e,n){"use strict";function r(t){return"[object Array]"===_.call(t)}function o(t){return void 0===t}function i(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function a(t){return"[object ArrayBuffer]"===_.call(t)}function s(t){return"undefined"!=typeof FormData&&t instanceof FormData}function c(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer}function u(t){return"string"==typeof t}function f(t){return"number"==typeof t}function l(t){return null!==t&&"object"==typeof t}function d(t){return"[object Date]"===_.call(t)}function p(t){return"[object File]"===_.call(t)}function h(t){return"[object Blob]"===_.call(t)}function m(t){return"[object Function]"===_.call(t)}function v(t){return l(t)&&m(t.pipe)}function g(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams}function y(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function w(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function A(t,e){if(null!==t&&void 0!==t)if("object"!=typeof t&&(t=[t]),r(t))for(var n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function b(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=b(e[n],t):e[n]=t}for(var e={},n=0,r=arguments.length;n<r;n++)A(arguments[n],t);return e}function x(){function t(t,n){"object"==typeof e[n]&&"object"==typeof t?e[n]=x(e[n],t):e[n]="object"==typeof t?x({},t):t}for(var e={},n=0,r=arguments.length;n<r;n++)A(arguments[n],t);return e}function C(t,e,n){return A(e,function(e,r){t[r]=n&&"function"==typeof e?S(e,n):e}),t}var S=n(125),_=Object.prototype.toString;t.exports={isArray:r,isArrayBuffer:a,isBuffer:i,isFormData:s,isArrayBufferView:c,isString:u,isNumber:f,isObject:l,isUndefined:o,isDate:d,isFile:p,isBlob:h,isFunction:m,isStream:v,isURLSearchParams:g,isStandardBrowserEnv:w,forEach:A,merge:b,deepMerge:x,extend:C,trim:y}},170:function(t,e,n){"use strict";var r=n(17);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},1700:function(t,e,n){"use strict";function r(t){s||n(1701)}var o=n(1478),i=n(1702),a=n(1),s=!1,c=r,u=Object(a.a)(o.a,i.a,i.b,!1,c,"data-v-34c0f5a6",null);u.options.__file="src\\components\\PrizeLayer\\src\\index.vue",e.a=u.exports},1701:function(t,e){},1702:function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o});var r=function(){var t=this,e=t.$createE