王总上门按摩后台代码
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/h5/static/js/user-pages-alipay-account.f...

1 line
7.8 KiB

5 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-alipay-account"],{"03bf":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.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/* 文章场景相关 */.apply-pages .apply-form .item-text[data-v-2cbce867]{width:%?250?%}.apply-pages .bind-btn[data-v-2cbce867]{width:%?600?%;height:%?80?%}.apply-pages .item-image[data-v-2cbce867]{width:%?690?%}',""]),t.exports=e},"045f":function(t,e,a){var i=a("03bf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("03f5564a",i,!0,{sourceMap:!1,shadowMode:!1})},"37b4":function(t,e,a){"use strict";a("7a82");var i=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("d81d");var n=i(a("5530")),r=i(a("c7eb")),s=i(a("1da1")),o=a("26cb"),u={components:{},data:function(){return{isLoad:!1,options:{},form:{alipay_number:"",alipay_name:""},rule:[{name:"alipay_number",checkType:"isNotNull",errorMsg:"请输入您的支付宝账号",regType:2},{name:"alipay_name",checkType:"isNotNull",errorMsg:"请输入您的支付宝账号姓名",regType:2}],lockTap:!1}},computed:(0,o.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo},location:function(t){return t.user.location}}),onLoad:function(t){var e=this;return(0,s.default)((0,r.default)().mark((function a(){return(0,r.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return e.$util.showLoading(),e.options=t,a.next=4,e.initIndex();case 4:e.isLoad=!0;case 5:case"end":return a.stop()}}),a)})))()},methods:(0,n.default)((0,n.default)((0,n.default)({},(0,o.mapActions)(["getConfigInfo","getUserInfo"])),(0,o.mapMutations)(["updateUserItem"])),{},{initIndex:function(){var t=arguments,e=this;return(0,s.default)((0,r.default)().mark((function a(){var i,n,s,o,u,l;return(0,r.default)().wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i=t.length>0&&void 0!==t[0]&&t[0],i||!e.$jweixin.isWechat()){a.next=5;break}return a.next=4,e.$jweixin.initJssdk();case 4:e.$jweixin.wxReady((function(){e.$jweixin.hideOptionMenu()}));case 5:n=e.userInfo,s=n.alipay_number,o=void 0===s?"":s,u=n.alipay_name,l=void 0===u?"":u,e.form.alipay_number=o,e.form.alipay_name=l,e.$util.hideAll(),e.$util.setNavigationBarColor({bg:e.primaryColor});case 10:case"end":return a.stop()}}),a)})))()},initRefresh:function(){this.initIndex(!0)},toRest:function(t){var e=this;this.$nextTick((function(){e.form[t]=""}))},validate:function(t){var e=new this.$util.Validate;this.rule.map((function(a){var i=a.name;e.add(t[i],a)}));var a=e.start();return a},submit:function(){var t=this;return(0,s.default)((0,r.default)().mark((function e(){var a,i;return(0,r.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(a=t.$util.deepCopy(t.form),i=t.validate(a),!i){e.next=5;break}return t.$util.showToast({title:i}),e.abrupt("return");case 5:if(!t.lockTap){e.next=7;break}return e.abrupt("return");case 7:return t.lockTap=!0,t.$