猎豆优选小程序

pages-subPackages-login-loginPhone.70067044.js 29KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-subPackages-login-loginPhone"],{"06e7":function(e,t,n){var i=n("f483");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("07e28d3e",i,!0,{sourceMap:!1,shadowMode:!1})},"0c75":function(e,t,n){"use strict";n.r(t);var i=n("b055"),a=n("3308");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("c8ba0");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"c95e3e40",null,!1,i["a"],void 0);t["default"]=u.exports},"0d42":function(e,t,n){"use strict";var i=n("2e10"),a=n.n(i);a.a},"2a52":function(e,t,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3"),n("498a");var a=i(n("5ad4")),o={name:"u-input",mixins:[a.default],props:{value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputAlign:{type:String,default:"left"},placeholder:{type:String,default:"请输入内容"},disabled:{type:Boolean,default:!1},maxlength:{type:[Number,String],default:140},placeholderStyle:{type:String,default:"color: #c0c4cc;"},confirmType:{type:String,default:"done"},customStyle:{type:Object,default:function(){return{}}},fixed:{type:Boolean,default:!1},focus:{type:Boolean,default:!1},passwordIcon:{type:Boolean,default:!0},border:{type:Boolean,default:!1},borderColor:{type:String,default:"#dcdfe6"},autoHeight:{type:Boolean,default:!0},selectOpen:{type:Boolean,default:!1},height:{type:[Number,String],default:""},clearable:{type:Boolean,default:!0},cursorSpacing:{type:[Number,String],default:0},selectionStart:{type:[Number,String],default:-1},selectionEnd:{type:[Number,String],default:-1},trim:{type:Boolean,default:!0},showConfirmbar:{type:Boolean,default:!0},adjustPosition:{type:Boolean,default:!0}},data:function(){return{defaultValue:this.value,inputHeight:70,textareaHeight:100,validateState:!1,focused:!1,showPassword:!1,lastValue:""}},watch:{value:function(e,t){this.defaultValue=e,e!=t&&"select"==this.type&&this.handleInput({detail:{value:e}})}},computed:{inputMaxlength:function(){return Number(this.maxlength)},getStyle:function(){var e={};return e.minHeight=this.height?this.height+"rpx":"textarea"==this.type?this.textareaHeight+"rpx":this.inputHeight+"rpx",e=Object.assign(e,this.customStyle),e},getCursorSpacing:function(){return Number(this.cursorSpacing)},uSelectionStart:function(){return String(this.selectionStart)},uSelectionEnd:function(){return String(this.selectionEnd)}},created:function(){this.$on("on-form-item-error",this.onFormItemError)},methods:{handleInput:function(e){var t=this,n=e.detail.value;this.trim&&(n=this.$u.trim(n)),this.$emit("input",n),this.defaultValue=n,setTimeout((function(){t.dispatch("u-form-item","on-form-change",n)}),40)},handleBlur:function(e){var t=this,n=e.detail.value;setTimeout((function(){t.focused=!1}),100),this.$emit("blur",n),setTimeout((function(){t.dispatch("u-form-item","on-form-blur",n)}),40)},onFormItemError:function(e){this.validateState=e},onFocus:function(e){this.focused=!0,this.$emit("focus")},onConfirm:function(e){this.$emit("confirm",e.detail.value)},onClear:function(e){this.$emit("input","")},inputClick:function(){this.$emit("click")}}};t.default=o},"2e10":function(e,t,n){var i=n("aebd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("6c55da50",i,!0,{sourceMap:!1,shadowMode:!1})},"2e72":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.icp-container[data-v-77b45f12]{width:100%;color:#ccc;font-size:%?24?%;line-height:%?40?%;text-align:center;padding:%?40?%}',""]),e.exports=t},3308:function(e,t,n){"use strict";n.r(t);var i=n("2a52"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"4dcc":function(e,t,n){"use strict";n.r(t);var i=n("af8d"),a=n("5b48");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("fc7b");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"5e7aef95",null,!1,i["a"],void 0);t["default"]=u.exports},5522:function(e,t,n){var i=n("2e72");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("624655f7",i,!0,{sourceMap:!1,shadowMode:!1})},"5ad4":function(e,t,n){"use strict";function i(e,t,n){this.$children.map((function(a){e===a.$options.name?a.$emit.apply(a,[t].concat(n)):i.apply(a,[e,t].concat(n))}))}n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("d81d"),n("99af");var a={methods:{dispatch:function(e,t,n){var i=this.$parent||this.$root,a=i.$options.name;while(i&&(!a||a!==e))i=i.$parent,i&&(a=i.$options.name);i&&i.$emit.apply(i,[t].concat(n))},broadcast:function(e,t,n){i.call(this,e,t,n)}}};t.default=a},"5b48":function(e,t,n){"use strict";n.r(t);var i=n("83bb"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"5ebc":function(e,t,n){"use strict";n.r(t);var i=n("ed88"),a=n("6dae");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("0d42");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"400d0bbe",null,!1,i["a"],void 0);t["default"]=u.exports},"6c9d":function(e,t,n){n("99af");function i(e){return f(a(d(e),8*e.length))}function a(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,i=-271733879,a=-1732584194,o=271733878,d=0;d<e.length;d+=16){var f=n,p=i,h=a,v=o;n=r(n,i,a,o,e[d+0],7,-680876936),o=r(o,n,i,a,e[d+1],12,-389564586),a=r(a,o,n,i,e[d+2],17,606105819),i=r(i,a,o,n,e[d+3],22,-1044525330),n=r(n,i,a,o,e[d+4],7,-176418897),o=r(o,n,i,a,e[d+5],12,1200080426),a=r(a,o,n,i,e[d+6],17,-1473231341),i=r(i,a,o,n,e[d+7],22,-45705983),n=r(n,i,a,o,e[d+8],7,1770035416),o=r(o,n,i,a,e[d+9],12,-1958414417),a=r(a,o,n,i,e[d+10],17,-42063),i=r(i,a,o,n,e[d+11],22,-1990404162),n=r(n,i,a,o,e[d+12],7,1804603682),o=r(o,n,i,a,e[d+13],12,-40341101),a=r(a,o,n,i,e[d+14],17,-1502002290),i=r(i,a,o,n,e[d+15],22,1236535329),n=u(n,i,a,o,e[d+1],5,-165796510),o=u(o,n,i,a,e[d+6],9,-1069501632),a=u(a,o,n,i,e[d+11],14,643717713),i=u(i,a,o,n,e[d+0],20,-373897302),n=u(n,i,a,o,e[d+5],5,-701558691),o=u(o,n,i,a,e[d+10],9,38016083),a=u(a,o,n,i,e[d+15],14,-660478335),i=u(i,a,o,n,e[d+4],20,-405537848),n=u(n,i,a,o,e[d+9],5,568446438),o=u(o,n,i,a,e[d+14],9,-1019803690),a=u(a,o,n,i,e[d+3],14,-187363961),i=u(i,a,o,n,e[d+8],20,1163531501),n=u(n,i,a,o,e[d+13],5,-1444681467),o=u(o,n,i,a,e[d+2],9,-51403784),a=u(a,o,n,i,e[d+7],14,1735328473),i=u(i,a,o,n,e[d+12],20,-1926607734),n=s(n,i,a,o,e[d+5],4,-378558),o=s(o,n,i,a,e[d+8],11,-2022574463),a=s(a,o,n,i,e[d+11],16,1839030562),i=s(i,a,o,n,e[d+14],23,-35309556),n=s(n,i,a,o,e[d+1],4,-1530992060),o=s(o,n,i,a,e[d+4],11,1272893353),a=s(a,o,n,i,e[d+7],16,-155497632),i=s(i,a,o,n,e[d+10],23,-1094730640),n=s(n,i,a,o,e[d+13],4,681279174),o=s(o,n,i,a,e[d+0],11,-358537222),a=s(a,o,n,i,e[d+3],16,-722521979),i=s(i,a,o,n,e[d+6],23,76029189),n=s(n,i,a,o,e[d+9],4,-640364487),o=s(o,n,i,a,e[d+12],11,-421815835),a=s(a,o,n,i,e[d+15],16,530742520),i=s(i,a,o,n,e[d+2],23,-995338651),n=c(n,i,a,o,e[d+0],6,-198630844),o=c(o,n,i,a,e[d+7],10,1126891415),a=c(a,o,n,i,e[d+14],15,-1416354905),i=c(i,a,o,n,e[d+5],21,-57434055),n=c(n,i,a,o,e[d+12],6,1700485571),o=c(o,n,i,a,e[d+3],10,-1894986606),a=c(a,o,n,i,e[d+10],15,-1051523),i=c(i,a,o,n,e[d+1],21,-2054922799),n=c(n,i,a,o,e[d+8],6,1873313359),o=c(o,n,i,a,e[d+15],10,-30611744),a=c(a,o,n,i,e[d+6],15,-1560198380),i=c(i,a,o,n,e[d+13],21,1309151649),n=c(n,i,a,o,e[d+4],6,-145523070),o=c(o,n,i,a,e[d+11],10,-1120210379),a=c(a,o,n,i,e[d+2],15,718787259),i=c(i,a,o,n,e[d+9],21,-343485551),n=l(n,f),i=l(i,p),a=l(a,h),o=l(o,v)}return Array(n,i,a,o)}function o(e,t,n,i,a,o){return l(function(e,t){return e<<t|e>>>32-t}(l(l(t,e),l(i,o)),a),n)}function r(e,t,n,i,a,r,u){return o(t&n|~t&i,e,t,a,r,u)}function u(e,t,n,i,a,r,u){return o(t&i|n&~i,e,t,a,r,u)}function s(e,t,n,i,a,r,u){return o(t^n^i,e,t,a,r,u)}function c(e,t,n,i,a,r,u){return o(n^(t|~i),e,t,a,r,u)}function l(e,t){var n=(65535&e)+(65535&t),i=(e>>16)+(t>>16)+(n>>16);return i<<16|65535&n}function d(e){for(var t=Array(),n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t}function f(e){for(var t="0123456789abcdef",n="",i=0;i<4*e.length;i++)n+=t.charAt(e[i>>2]>>i%4*8+4&15)+t.charAt(e[i>>2]>>i%4*8&15);return n}e.exports={hex_md5:i}},"6dae":function(e,t,n){"use strict";n.r(t);var i=n("ffd0"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},"73ba":function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"icp-container"},[t("v-uni-view",[this._v("Copyright © 2015-2025 猎豆优选")]),t("v-uni-view",[this._v("杭州猎豆信息技术有限公司 All rights reserved")]),t("v-uni-view",[this._v("浙ICP备16001297号-1")])],1)},a=[]},"83bb":function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("a9e3"),n("ac1f"),n("5319");var i={name:"u-verification-code",props:{seconds:{type:[String,Number],default:60},startText:{type:String,default:"获取验证码"},changeText:{type:String,default:"X秒重新获取"},endText:{type:String,default:"重新获取"},keepRunning:{type:Boolean,default:!1},uniqueKey:{type:String,default:""}},data:function(){return{secNum:this.seconds,timer:null,canGetCode:!0}},mounted:function(){this.checkKeepRunning()},watch:{seconds:{immediate:!0,handler:function(e){this.secNum=e}}},methods:{checkKeepRunning:function(){var e=Number(uni.getStorageSync(this.uniqueKey+"_$uCountDownTimestamp"));if(!e)return this.changeEvent(this.startText);var t=Math.floor(+new Date/1e3);this.keepRunning&&e&&e>t?(this.secNum=e-t,uni.removeStorageSync(this.uniqueKey+"_$uCountDownTimestamp"),this.start()):this.changeEvent(this.startText)},start:function(){var e=this;this.timer&&(clearInterval(this.timer),this.timer=null),this.$emit("start"),this.canGetCode=!1,this.changeEvent(this.changeText.replace(/x|X/,this.secNum)),this.setTimeToStorage(),this.timer=setInterval((function(){--e.secNum?e.changeEvent(e.changeText.replace(/x|X/,e.secNum)):(clearInterval(e.timer),e.timer=null,e.changeEvent(e.endText),e.secNum=e.seconds,e.$emit("end"),e.canGetCode=!0)}),1e3)},reset:function(){this.canGetCode=!0,clearInterval(this.timer),this.secNum=this.seconds,this.changeEvent(this.endText)},changeEvent:function(e){this.$emit("change",e)},setTimeToStorage:function(){if(this.keepRunning&&this.timer&&this.secNum>0&&this.secNum<=this.seconds){var e=Math.floor(+new Date/1e3);uni.setStorage({key:this.uniqueKey+"_$uCountDownTimestamp",data:e+Number(this.secNum)})}}},beforeDestroy:function(){this.setTimeToStorage(),clearTimeout(this.timer),this.timer=null}};t.default=i},ae7b:function(e,t,n){var i=n("cbf4");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=n("4f06").default;a("dab95af4",i,!0,{sourceMap:!1,shadowMode:!1})},aebd:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.page-wrap[data-v-400d0bbe]{position:relative;min-height:100vh;padding:0 %?30?%}.page-wrap .tips-wrap[data-v-400d0bbe]{margin-top:%?60?%}.page-wrap .tips-wrap .title[data-v-400d0bbe]{font-size:%?48?%;color:#333}.page-wrap .tips-wrap .tips[data-v-400d0bbe]{margin-top:%?30?%;font-size:%?26?%;color:#666}.page-wrap .tips-wrap .tips .link[data-v-400d0bbe]{color:#51a6ef}.page-wrap .form-wrap[data-v-400d0bbe]{margin-top:%?100?%}.page-wrap .form-wrap .form-item[data-v-400d0bbe]{display:flex;align-items:center;border-bottom:%?2?% solid #eee;padding:%?20?% 0}.page-wrap .form-wrap .form-item .item-label[data-v-400d0bbe]{width:%?120?%;font-size:%?30?%;color:#333}.page-wrap .form-wrap .form-item .item-input[data-v-400d0bbe]{flex:1}.page-wrap .form-wrap .form-item .item-input[data-v-400d0bbe] .u-input__input{font-size:%?30?%;color:#333}.page-wrap .form-wrap .form-item .btn-text[data-v-400d0bbe]{padding:0 %?10?% 0 %?20?%;color:#51a6ef}.page-wrap .footer-wrap[data-v-400d0bbe]{margin-top:%?100?%;display:flex;flex-direction:column;align-items:center}.page-wrap .footer-wrap .btn[data-v-400d0bbe]{display:flex;align-items:center;justify-content:center;color:#fff;font-size:%?32?%;width:%?600?%;height:%?84?%;background:linear-gradient(270deg,#ff4040,#ff7e40);border-radius:%?42?%}.page-wrap .footer-wrap .footer-tips[data-v-400d0bbe]{margin-top:%?40?%;font-size:%?28?%;color:#ccc}',""]),e.exports=t},af8d:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){}));var i=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",{staticClass:"u-code-wrap"})},a=[]},b055:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uIcon:n("5fbc").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"u-input",class:{"u-input--border":e.border,"u-input--error":e.validateState},style:{padding:"0 "+(e.border?20:0)+"rpx",borderColor:e.borderColor,textAlign:e.inputAlign},on:{click:function(t){t.stopPropagation(),arguments[0]=t=e.$handleEvent(t),e.inputClick.apply(void 0,arguments)}}},["textarea"==e.type?n("v-uni-textarea",{staticClass:"u-input__input u-input__textarea",style:[e.getStyle],attrs:{value:e.defaultValue,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled,maxlength:e.inputMaxlength,fixed:e.fixed,focus:e.focus,autoHeight:e.autoHeight,"selection-end":e.uSelectionEnd,"selection-start":e.uSelectionStart,"cursor-spacing":e.getCursorSpacing,"show-confirm-bar":e.showConfirmbar,"adjust-position":e.adjustPosition},on:{input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleInput.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.handleBlur.apply(void 0,arguments)},focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}}):n("v-uni-input",{staticClass:"u-input__input",style:[e.getStyle],attrs:{type:"password"==e.type?"text":e.type,value:e.defaultValue,password:"password"==e.type&&!e.showPassword,placeholder:e.placeholder,placeholderStyle:e.placeholderStyle,disabled:e.disabled||"select"===e.type,maxlength:e.inputMaxlength,focus:e.focus,confirmType:e.confirmType,"cursor-spacing":e.getCursorSpacing,"selection-end":e.uSelectionEnd,"selection-start":e.uSelectionStart,"show-confirm-bar":e.showConfirmbar,"adjust-position":e.adjustPosition},on:{focus:function(t){arguments[0]=t=e.$handleEvent(t),e.onFocus.apply(void 0,arguments)},blur:function(t){arguments[0]=t=e.$handleEvent(t),e.handleBlur.apply(void 0,arguments)},input:function(t){arguments[0]=t=e.$handleEvent(t),e.handleInput.apply(void 0,arguments)},confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.onConfirm.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"u-input__right-icon u-flex"},[e.clearable&&""!=e.value&&e.focused?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClear.apply(void 0,arguments)}}},[n("u-icon",{attrs:{size:"32",name:"close-circle-fill",color:"#c0c4cc"}})],1):e._e(),e.passwordIcon&&"password"==e.type?n("v-uni-view",{staticClass:"u-input__right-icon__clear u-input__right-icon__item"},[n("u-icon",{attrs:{size:"32",name:e.showPassword?"eye-fill":"eye",color:"#c0c4cc"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showPassword=!e.showPassword}}})],1):e._e(),"select"==e.type?n("v-uni-view",{staticClass:"u-input__right-icon--select u-input__right-icon__item",class:{"u-input__right-icon--select--reverse":e.selectOpen}},[n("u-icon",{attrs:{name:"arrow-down-fill",size:"26",color:"#c0c4cc"}})],1):e._e()],1)],1)},o=[]},b9f0:function(e,t,n){"use strict";n.r(t);var i=n("73ba"),a=n("c220");for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);n("fe73");var r=n("f0c5"),u=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"77b45f12",null,!1,i["a"],void 0);t["default"]=u.exports},c220:function(e,t,n){"use strict";n.r(t);var i=n("d501"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=a.a},c8ba0:function(e,t,n){"use strict";var i=n("ae7b"),a=n.n(i);a.a},cbf4:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-input[data-v-c95e3e40]{position:relative;flex:1;display:flex;flex-direction:row}.u-input__input[data-v-c95e3e40]{font-size:%?28?%;color:#303133;flex:1}.u-input__textarea[data-v-c95e3e40]{width:auto;font-size:%?28?%;color:#303133;padding:%?10?% 0;line-height:normal;flex:1}.u-input--border[data-v-c95e3e40]{border-radius:%?6?%;border-radius:4px;border:1px solid #dcdfe6}.u-input--error[data-v-c95e3e40]{border-color:#fa3534!important}.u-input__right-icon__item[data-v-c95e3e40]{margin-left:%?10?%}.u-input__right-icon--select[data-v-c95e3e40]{transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s}.u-input__right-icon--select--reverse[data-v-c95e3e40]{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}',""]),e.exports=t},d501:function(e,t,n){"use strict";n("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"icp",data:function(){return{}}}},ed88:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uNavbar:n("6103").default,uInput:n("0c75").default,uVerificationCode:n("4dcc").default,icp:n("b9f0").default},a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"page-wrap"},[n("u-navbar",{staticClass:"navbar-wrap",attrs:{title:"登录","title-color":"#fff","title-size":36,"title-bold":!1,"is-back":!0,"back-icon-color":"#fff",background:e.navbarBackground,"custom-back":e.onClickBack}}),n("v-uni-view",{staticClass:"tips-wrap"},[n("v-uni-view",{staticClass:"title"},[e._v("手机快速登录")]),n("v-uni-view",{staticClass:"tips"},[n("v-uni-text",[e._v("登录代表您已阅读并同意")]),n("v-uni-text",{staticClass:"link",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClickAgreement.apply(void 0,arguments)}}},[e._v("《猎豆隐私协议》")])],1)],1),n("v-uni-view",{staticClass:"form-wrap"},[n("v-uni-view",{staticClass:"form-item"},[n("v-uni-text",{staticClass:"item-label"},[e._v("手机号")]),n("u-input",{staticClass:"item-input",attrs:{type:"number",maxlength:"11",border:!1,placeholder:"请输入手机号"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),n("v-uni-view",{staticClass:"form-item"},[n("v-uni-text",{staticClass:"item-label"},[e._v("验证码")]),n("u-input",{staticClass:"item-input",attrs:{type:"text",maxlength:"8",border:!1,placeholder:"请输入验证码"},model:{value:e.form.code,callback:function(t){e.$set(e.form,"code",t)},expression:"form.code"}}),n("v-uni-text",{staticClass:"btn-text",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClickGetCode.apply(void 0,arguments)}}},[e._v(e._s(e.codeTips))])],1)],1),n("u-verification-code",{ref:"uCode",attrs:{seconds:e.waitTime},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.onChangeCodeTips.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"footer-wrap"},[n("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onClickLogin.apply(void 0,arguments)}}},[e._v("登录")]),n("v-uni-view",{staticClass:"footer-tips"},[e._v("未注册的手机号码验证后自动注册")])],1),n("icp",{staticStyle:{position:"fixed",bottom:"100rpx"}})],1)},o=[]},f483:function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-code-wrap[data-v-5e7aef95]{width:0;height:0;position:fixed;z-index:-1}',""]),e.exports=t},fc7b:function(e,t,n){"use strict";var i=n("06e7"),a=n.n(i);a.a},fe73:function(e,t,n){"use strict";var i=n("5522"),a=n.n(i);a.a},ffd0:function(e,t,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("e25e"),n("99af"),n("d3b7"),n("ac1f"),n("00b4");var a=i(n("c7eb")),o=i(n("1da1")),r=n("616c"),u=n("6c9d"),s=getApp(),c=s.globalData.$router,l={data:function(){return{statusBarHeight:s.globalData.statusBarHeight,navbarBackground:{background:"linear-gradient(90deg, #F57C29 0%, #F13641 100%)"},form:{phone:"",code:""},codeTips:"",waitTime:60}},onLoad:function(){s.handleClearUserInfo()},methods:{onClickBack:function(){var e=getCurrentPages();e.length>1?c.navigateBack():c.switchTab({url:"/pages/home/home"})},onChangeCodeTips:function(e){this.codeTips=e},onClickGetCode:function(){var e=this;return(0,o.default)((0,a.default)().mark((function t(){var n,i,o,r,s,c;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.handleCodeValidate();case 3:return n=e.$api.login_sendCode,i=parseInt((new Date).getTime()/1e3),"cNHWj7pqBSXTi2DS4uvxqMTzuXOk5xvL",o=u.hex_md5("phone=".concat(e.form.phone,"&ttl=").concat(i).concat("cNHWj7pqBSXTi2DS4uvxqMTzuXOk5xvL")),r={is_m_regist:1,phone:e.form.phone,ttl:i,sign:o,union_id:uni.getStorageSync("unionid")},uni.showLoading({title:"加载中...",mask:!0}),t.next=11,e.$postJSON(n,r);case 11:s=t.sent,c=s.data,uni.hideLoading(),c&&0==c.errno?(c.rst.success,e.waitTime=c.rst.wait_time||60,e.$u.toast("验证码已发送"),e.$refs.uCode.start()):e.$u.toast(c.err||"操作失败"),t.next=20;break;case 17:t.prev=17,t.t0=t["catch"](0),console.log("error => ",t.t0);case 20:case"end":return t.stop()}}),t,null,[[0,17]])})))()},onClickLogin:function(){var e=this;return(0,o.default)((0,a.default)().mark((function t(){var n,i,o,r,u,l,d,f,p,h,v,m;return(0,a.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.handleFormValidate();case 3:return n=e.$api.login_loginCode,i={phone:e.form.phone,code:e.form.code,union_id:uni.getStorageSync("unionid"),pass:0,is_m_regist:1},uni.showLoading({title:"加载中...",mask:!0}),t.next=8,e.$postJSON(n,i);case 8:if(o=t.sent,r=o.data,uni.hideLoading(),!r||0!=r.errno){t.next=29;break}if(u=r.rst||{},l=u.is_binded_code,d=u.nickname,f=u.sex,p=u.token,h=u.user_id,v=u.default_invite_code,uni.setStorageSync("nickname",d||""),uni.setStorageSync("sex",f),uni.setStorageSync("token",p||""),uni.setStorageSync("user_id",h||""),uni.setStorageSync("default_invite_code",v||""),1!=l){t.next=25;break}return t.next=21,s.handleGetUserInfo();case 21:e.$u.toast("登录成功"),setTimeout((function(){c.switchTab({url:"/pages/home/home"})}),1e3),t.next=27;break;case 25:m=uni.getStorageSync("share_invite_code"),m?e.handleBind():c.navigateTo({url:"/pages/subPackages/login/bindInviteCode"});case 27:t.next=31;break;case 29:e.$u.toast(r.err||"操作失败"),uni.hideLoading();case 31:t.next=37;break;case 33:t.prev=33,t.t0=t["catch"](0),console.log("error => ",t.t0),uni.hideLoading();case 37:case"end":return t.stop()}}),t,null,[[0,33]])})))()},handleBind:function(){var e=arguments,t=this;return(0,o.default)((0,a.default)().mark((function n(){var i,o,r,u,l,d,f,p,h,v,m,g;return(0,a.default)().wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.length>0&&void 0!==e[0]?e[0]:{},n.prev=1,i=t.$api.login_mbindingInvitationCode,o={code:uni.getStorageSync("share_invite_code"),user_id:uni.getStorageSync("user_id")},uni.showLoading({title:"加载中...",mask:!0}),n.next=7,t.$postJSON(i,o);case 7:if(r=n.sent,u=r.data,uni.hideLoading(),!u||0!=u.errno){n.next=26;break}if(l=u.rst||{},d=l.data,f=d.flag,p=d.info,h=d.token,v=d.sex,m=d.nickname,g=d.up_user_id,1!=f){n.next=23;break}return uni.setStorageSync("token",h||""),uni.setStorageSync("sex",v),uni.setStorageSync("nickname",m||""),uni.setStorageSync("up_user_id",g||""),n.next=19,s.handleGetUserInfo();case 19:t.$u.toast("登录成功"),setTimeout((function(){c.switchTab({url:"/pages/home/home"})}),1e3),n.next=24;break;case 23:t.$u.toast(p||"操作失败");case 24:n.next=27;break;case 26:t.$u.toast(u.err||"操作失败");case 27:n.next=32;break;case 29:n.prev=29,n.t0=n["catch"](1),console.log("error => ",n.t0);case 32:case"end":return n.stop()}}),n,null,[[1,29]])})))()},handleCodeValidate:function(){var e=this;return new Promise((function(t,n){e.$refs.uCode.canGetCode?e.form.phone?e.$u.test.mobile(e.form.phone)?t("表单校验通过"):(e.$u.toast("手机号格式错误"),n("手机号格式错误")):(e.$u.toast("请输入手机号"),n("请输入手机号")):(e.$u.toast("倒计时结束后再次发送"),n("倒计时结束后再次发送"))}))},handleFormValidate:function(){var e=this;return new Promise((function(t,n){var i=e.form,a=i.phone,o=i.code;a?e.$u.test.mobile(a)?o?t("表单校验通过"):(e.$u.toast("请输入验证码"),n("表单校验未通过")):(e.$u.toast("手机号格式错误"),n("表单校验未通过")):(e.$u.toast("请输入手机号"),n("表单校验未通过"))}))},onClickAgreement:function(){uni.navigateTo({url:"/pages/subPackages/commonPages/agreement?type=".concat(r.agreementTypes.login)})}}};t.default=l}}]);