公司小程序
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.

2 lines
5.0 KiB

3 years ago
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/MineCenter/MineCenter"],{16:function(e,n,t){"use strict";t.r(n);var o=t(17),i=t.n(o);for(var r in o)"default"!==r&&function(e){t.d(n,e,(function(){return o[e]}))}(r);n["default"]=i.a},17:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={mounted:function(){this.$refs.form1.setRules(this.rules)},data:function(){var e=this;return{player:this.$Define.Player,isDateSelectShowing:!1,rules:{headUrl:{type:"string",title:"头像",message:"",enableInput:!1,getValue:function(e){return""==e.headUrl?"../../static/images/wode/touxiang_6.png":e.headUrl},validator:function(e){}},name:{type:"string",title:"昵称",key:"name",message:"",enableInput:!1,getValue:function(e){return""==e.nickName?"没有获取到昵称":e.nickName},validator:function(e){}},sex:{type:"string",title:"性别",key:"sex",message:"",enableInput:!1,getValue:function(e){return 0==e.sex?"女":"男"},validator:function(e){}},phone:{type:"string",title:"手机号码",key:"phone",message:"",enableInput:!1,getValue:function(e){return""==e.phone?"没有获取到电话号码":e.phone},validator:function(e){}},birthday:{type:"string",title:"生日",key:"birthday",message:"未选择",enableInput:!1,getValue:function(e){return e.birthday},validator:function(e){}},profession:{type:"string",title:"职业",key:"profession",message:"未填写",enableInput:!0,trigger:"blur",getValue:function(e){return e.profession},validator:function(n){e.player.profession=n.detail.value}}},form_tile_title:{width:"170rpx",height:"37rpx",fontSize:26,fontWeight:500,color:"black"},startTime:[1900,1,1],endTime:2022,currentTime:this.getCurrentDateSelectTime()}},methods:{getCurrentDateSelectTime:function(){var e=this.$Define.Player;if(""==e.birthday)return null;var n=e.birthday,t=n.split("-");return[parseInt(t[0]),parseInt(t[1]),parseInt(t[2])]},onOpenDateSelect:function(){this.isDateSelectShowing=!0},onDateSelectConfirm:function(e){console.log(e),this.isDateSelectShowing=!1;var n=parseInt(e.a),t=parseInt(e.b),o=parseInt(e.c),i=n+"-"+t+"-"+o;this.player.birthday=i,this.currentTime=[n,t,o]},onDateSelectCanceled:function(){this.isDateSelectShowing=!1},onTouchOneItem:function(e){console.log(e),"birthday"!=e||(this.isDateSelectShowing=!0)},onBlurCallback:function(e,n){var t=this.rules[e];null!=t&&t.validator(n)},onEditPlayerIntro:function(e){console.log(e),this.player.intro=e.detail.value},doConfirm:function(){console.log("You just confirmed!")},doLoginOut:function(){console.log("You just loginout!")}}};n.default=o},18:function(e,n,t){},181:function(e,n,t){"use strict";(function(e){t(3);o(t(2));var n=o(t(182));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t(0)["createPage"])},182:function(e,n,t){"use strict";t.r(n);var o=t(33),i=t(16);for(var r in i)"default"!==r&&function(e){t.d(n,e,(function(){return i[e]}))}(r);t(183);var u,a=t(1),l=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"048f3646",null,!1,o["a"],u);l.options.__file="pages/MineCenter/MineCenter.vue",n["default"]=l.exports},183:function(e,n,t){"use strict";var o=t(18),i=t.n(o);i.a},33:function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return o}));try{o={uNavbar:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-navbar/u-navbar")]).then(t.bind(null,452))},uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,457))},uForm:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form/u-form")]).then(t.bind(null,458))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,459))},uGap:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(t.bind(null,453))},minPicker:function(){return t.e("components/min-
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/MineCenter/MineCenter.js.map