王总上门按摩后台代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
shangmenanmo/public/h6/static/js/user-pages-phone.11553732.js

1 lines
5.1 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-phone"],{2958:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("fd3c");var r=a(n("9b1b")),o=a(n("2634")),i=a(n("2fdc")),u=n("8f59"),s={data:function(){return{isLoad:!1,options:{},subForm:{phone:""},rule:[{name:"phone",checkType:"isMobile",errorMsg:"请输入手机号",regText:"手机号"}],lockTap:!1}},computed:(0,u.mapState)({primaryColor:function(e){return e.config.configInfo.primaryColor},subColor:function(e){return e.config.configInfo.subColor}}),onLoad:function(e){var t=this;return(0,i.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.$util.setNavigationBarColor({bg:t.primaryColor});case 1:case"end":return e.stop()}}),e)})))()},methods:(0,r.default)((0,r.default)((0,r.default)({},(0,u.mapActions)(["getUserInfo"])),(0,u.mapMutations)(["updateUserItem"])),{},{initIndex:function(){return(0,i.default)((0,o.default)().mark((function e(){return(0,o.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))()},validate:function(e){var t=new this.$util.Validate;this.rule.map((function(n){var a=n.name;t.add(e[a],n)}));var n=t.start();return n},submit:function(){var e=this;return(0,i.default)((0,o.default)().mark((function t(){var n,a;return(0,o.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.$util.deepCopy(e.subForm),a=e.validate(n),!a){t.next=5;break}return e.$util.showToast({title:a}),t.abrupt("return");case 5:if(!e.lockTap){t.next=7;break}return t.abrupt("return");case 7:return e.lockTap=!0,e.$util.showLoading(),t.prev=9,t.next=12,e.$api.user.sendShortMsg(n);case 12:e.$util.hideAll(),e.lockTap=!1,setTimeout((function(){e.$util.goUrl({url:"/user/pages/phone-code?phone=".concat(n.phone)})}),1e3),t.next=20;break;case 17:t.prev=17,t.t0=t["catch"](9),setTimeout((function(){e.lockTap=!1,e.$util.hideAll()}),2e3);case 20:case"end":return t.stop()}}),t,null,[[9,17]])})))()}})};t.default=s},"316f":function(e,t,n){var a=n("713c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=n("967d").default;r("86dda4f8",a,!0,{sourceMap:!1,shadowMode:!1})},5686:function(e,t,n){"use strict";var a=n("316f"),r=n.n(a);r.a},"713c":function(e,t,n){var a=n("c86c");t=a(!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/* 文章场景相关 */uni-page-body[data-v-787b876a]{background:#fff}body.?%PAGE?%[data-v-787b876a]{background:#fff}.mine-pages-phone .title[data-v-787b876a]{font-size:%?54?%;margin:%?80?% 0}.mine-pages-phone .confirm-btn[data-v-787b876a]{width:%?630?%;height:%?110?%;background:#f7f7f7;margin-top:%?40?%}.mine-pages-phone .confirm-btn .item-input[data-v-787b876a]{height:%?110?%}',""]),e.exports=t},8709:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"mine-pages-phone flex-center flex-column"},[n("v-uni-view",{staticClass:"title c-black"},[e._v("请输入手机号")]),n("v-uni-view",{staticClass:"confirm-btn radius-16"},[n("v-uni-input",{staticClass:"item-input flex-y-center pl-lg pr-lg f-sm-title c-title",attrs:{type:"number","placeholder-class":"c-placeholder",placeholder:e.rule[0].errorMsg},model:{value:e.subForm.phone,callback:function(t){e.$set(e.subForm,"phone",t)},expression:"subForm.phone"}})],1),n("v-uni-view",{staticClass:"confirm-btn flex-center f-sm-title text-bold c-base radius-16",style:{background:e.subForm.phone.length>0?e.primaryColor:"#CCE9DD"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("下一步")])],1)},r=[]},a489:function(e,t,n){"use strict";n.r(t);var a=n("8709"),r=n("f24b");for(var o in r)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(o);n("5686");var i=n("828b"),u=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,"787b876a",null,!1,a["a"],void 0);t["default"]=u.exports},f24b:function(e,t,n){"use strict";n.r(t);var a=n("2958"),r=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=r.a}}]);