pages-profile-newphone.2229a196.js 8.9 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-profile-newphone"],{"2af3":function(t,a,o){"use strict";var r=o("5528"),e=o.n(r);e.a},5528:function(t,a,o){var r=o("cf39");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var e=o("4f06").default;e("0b1ac61c",r,!0,{sourceMap:!1,shadowMode:!1})},"767d":function(t,a,o){"use strict";o("7a82"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r={data:function(){return{tips:"获取验证码",s:60,time:null}},methods:{next:function(){uni.navigateTo({url:"newphone"})},send:function(){var t=this;if(60!=this.s)return uni.showToast({title:"请稍后再试",duration:2e3,icon:"none"}),!1;if(!this.tel)return uni.showToast({title:"请输入手机号",duration:2e3,icon:"none"}),!1;uni.showLoading({mask:!0,title:"请稍后"});var a={};a.phone=this.tel,a.event="register",this.$u.post("/api/Sms/send",a).then((function(a){uni.hideLoading(),uni.showToast({title:a.msg,duration:2e3,icon:"none"}),1==a.code&&(t.time=setInterval((function(){t.s--,t.tips="".concat(t.s,"s"),0==t.s&&(t.s=60,t.tips="重新发送",clearInterval(t.time))}),1e3))}))}}};a.default=r},b631:function(t,a,o){"use strict";o.r(a);var r=o("767d"),e=o.n(r);for(var d in r)["default"].indexOf(d)<0&&function(t){o.d(a,t,(function(){return r[t]}))}(d);a["default"]=e.a},b85d:function(t,a,o){"use strict";o.d(a,"b",(function(){return r})),o.d(a,"c",(function(){return e})),o.d(a,"a",(function(){}));var r=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("v-uni-view",{staticClass:"index"},[o("v-uni-view",{},[o("v-uni-view",{staticClass:"title"},[t._v("新手机号")]),o("v-uni-view",{staticClass:"phone u-flex"},[o("v-uni-input",{attrs:{type:"number",placeholder:"请输入手机号"}})],1),o("v-uni-view",{staticClass:"phone u-flex"},[o("v-uni-input",{attrs:{type:"number",placeholder:"请输入短信验证码"}}),o("v-uni-text",{staticClass:"code",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.send.apply(void 0,arguments)}}},[t._v(t._s(t.tips))])],1),o("v-uni-view",{staticClass:"publish",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.next.apply(void 0,arguments)}}},[t._v("提交")])],1)],1)},e=[]},c89e:function(t,a,o){"use strict";o.r(a);var r=o("b85d"),e=o("b631");for(var d in e)["default"].indexOf(d)<0&&function(t){o.d(a,t,(function(){return e[t]}))}(d);o("2af3");var i=o("f0c5"),n=Object(i["a"])(e["default"],r["b"],r["c"],!1,null,"12966db5",null,!1,r["a"],void 0);a["default"]=n.exports},cf39:function(t,a,o){var r=o("24fb");a=r(!1),a.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */.u-line-1[data-v-12966db5]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:1;-webkit-box-orient:vertical!important}.u-line-2[data-v-12966db5]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:2;-webkit-box-orient:vertical!important}.u-line-3[data-v-12966db5]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical!important}.u-line-4[data-v-12966db5]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical!important}.u-line-5[data-v-12966db5]{display:-webkit-box!important;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:5;-webkit-box-orient:vertical!important}.u-border[data-v-12966db5]{border-width:.5px!important;border-color:#dadbde!important;border-style:solid}.u-border-top[data-v-12966db5]{border-top-width:.5px!important;border-color:#dadbde!important;border-top-style:solid}.u-border-left[data-v-12966db5]{border-left-width:.5px!important;border-color:#dadbde!important;border-left-style:solid}.u-border-right[data-v-12966db5]{border-right-width:.5px!important;border-color:#dadbde!important;border-right-style:solid}.u-border-bottom[data-v-12966db5]{border-bottom-width:.5px!important;border-color:#dadbde!important;border-bottom-style:solid}.u-border-top-bottom[data-v-12966db5]{border-top-width:.5px!important;border-bottom-width:.5px!important;border-color:#dadbde!important;border-top-style:solid;border-bottom-style:solid}.u-reset-button[data-v-12966db5]{padding:0;background-color:initial;font-size:inherit;line-height:inherit;color:inherit}.u-reset-button[data-v-12966db5]::after{border:none}.u-hover-class[data-v-12966db5]{opacity:.7}.u-primary-light[data-v-12966db5]{color:#ecf5ff}.u-warning-light[data-v-12966db5]{color:#fdf6ec}.u-success-light[data-v-12966db5]{color:#f5fff0}.u-error-light[data-v-12966db5]{color:#fef0f0}.u-info-light[data-v-12966db5]{color:#f4f4f5}.u-primary-light-bg[data-v-12966db5]{background-color:#ecf5ff}.u-warning-light-bg[data-v-12966db5]{background-color:#fdf6ec}.u-success-light-bg[data-v-12966db5]{background-color:#f5fff0}.u-error-light-bg[data-v-12966db5]{background-color:#fef0f0}.u-info-light-bg[data-v-12966db5]{background-color:#f4f4f5}.u-primary-dark[data-v-12966db5]{color:#398ade}.u-warning-dark[data-v-12966db5]{color:#f1a532}.u-success-dark[data-v-12966db5]{color:#53c21d}.u-error-dark[data-v-12966db5]{color:#e45656}.u-info-dark[data-v-12966db5]{color:#767a82}.u-primary-dark-bg[data-v-12966db5]{background-color:#398ade}.u-warning-dark-bg[data-v-12966db5]{background-color:#f1a532}.u-success-dark-bg[data-v-12966db5]{background-color:#53c21d}.u-error-dark-bg[data-v-12966db5]{background-color:#e45656}.u-info-dark-bg[data-v-12966db5]{background-color:#767a82}.u-primary-disabled[data-v-12966db5]{color:#9acafc}.u-warning-disabled[data-v-12966db5]{color:#f9d39b}.u-success-disabled[data-v-12966db5]{color:#a9e08f}.u-error-disabled[data-v-12966db5]{color:#f7b2b2}.u-info-disabled[data-v-12966db5]{color:#c4c6c9}.u-primary[data-v-12966db5]{color:#3c9cff}.u-warning[data-v-12966db5]{color:#f9ae3d}.u-success[data-v-12966db5]{color:#5ac725}.u-error[data-v-12966db5]{color:#f56c6c}.u-info[data-v-12966db5]{color:#909399}.u-primary-bg[data-v-12966db5]{background-color:#3c9cff}.u-warning-bg[data-v-12966db5]{background-color:#f9ae3d}.u-success-bg[data-v-12966db5]{background-color:#5ac725}.u-error-bg[data-v-12966db5]{background-color:#f56c6c}.u-info-bg[data-v-12966db5]{background-color:#909399}.u-main-color[data-v-12966db5]{color:#303133}.u-content-color[data-v-12966db5]{color:#606266}.u-tips-color[data-v-12966db5]{color:#909193}.u-light-color[data-v-12966db5]{color:#c0c4cc}.u-safe-area-inset-top[data-v-12966db5]{padding-top:0;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.u-safe-area-inset-right[data-v-12966db5]{padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right)}.u-safe-area-inset-bottom[data-v-12966db5]{padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.u-safe-area-inset-left[data-v-12966db5]{padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left)}uni-toast[data-v-12966db5]{z-index:10090}uni-toast .uni-toast[data-v-12966db5]{z-index:10090}[data-v-12966db5]::-webkit-scrollbar{display:none;width:0!important;height:0!important;-webkit-appearance:none;background:transparent}\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.publish[data-v-12966db5]{margin:%?128?% auto;width:%?650?%;height:%?104?%;line-height:%?104?%;text-align:center;background:linear-gradient(270deg,#a890fe,#ffaeae);border-radius:%?52?%;font-size:%?36?%;color:#fff}.index[data-v-12966db5]{padding:%?70?% %?60?% 0;color:#222}.index .title[data-v-12966db5]{font-size:%?44?%;font-weight:600;margin-bottom:%?50?%}.index .phone[data-v-12966db5]{height:%?128?%;line-height:%?128?%;border-bottom:%?2?% solid #f2f2f2}.index .phone uni-input[data-v-12966db5]{flex:1}.index .phone .code[data-v-12966db5]{font-size:%?32?%;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#999;background:linear-gradient(270deg,#a890fe,#ffaeae);-webkit-background-clip:text;-webkit-text-fill-color:transparent}',""]),t.exports=a}}]);