2 lines
4.8 KiB
JavaScript
2 lines
4.8 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/mine/edit-info"],{273:function(n,e,o){"use strict";(function(n,e){var t=o(4);o(26);t(o(25));var i=t(o(274));n.__webpack_require_UNI_MP_PLUGIN__=o,e(i.default)}).call(this,o(1)["default"],o(2)["createPage"])},274:function(n,e,o){"use strict";o.r(e);var t=o(275),i=o(277);for(var u in i)["default"].indexOf(u)<0&&function(n){o.d(e,n,(function(){return i[n]}))}(u);o(279);var r,c=o(32),s=Object(c["default"])(i["default"],t["render"],t["staticRenderFns"],!1,null,"70118be4",null,!1,t["components"],r);s.options.__file="pages/mine/edit-info.vue",e["default"]=s.exports},275:function(n,e,o){"use strict";o.r(e);var t=o(276);o.d(e,"render",(function(){return t["render"]})),o.d(e,"staticRenderFns",(function(){return t["staticRenderFns"]})),o.d(e,"recyclableRender",(function(){return t["recyclableRender"]})),o.d(e,"components",(function(){return t["components"]}))},276:function(n,e,o){"use strict";var t;o.r(e),o.d(e,"render",(function(){return i})),o.d(e,"staticRenderFns",(function(){return r})),o.d(e,"recyclableRender",(function(){return u})),o.d(e,"components",(function(){return t}));try{t={uCellGroup:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-cell-group/u-cell-group")]).then(o.bind(null,508))},uCell:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-cell/u-cell")]).then(o.bind(null,516))},uIcon:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-icon/u-icon")]).then(o.bind(null,361))},uniDatetimePicker:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker")]).then(o.bind(null,545))},uButton:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uview-ui/components/u-button/u-button")]).then(o.bind(null,422))},uniPopup:function(){return o.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(o.bind(null,556))},uniPopupDialog:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog")]).then(o.bind(null,563))},cityPicker:function(){return Promise.all([o.e("common/vendor"),o.e("components/city-picker/city-picker")]).then(o.bind(null,575))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement;n._self._c},u=!1,r=[];i._withStripped=!0},277:function(n,e,o){"use strict";o.r(e);var t=o(278),i=o.n(t);for(var u in t)["default"].indexOf(u)<0&&function(n){o.d(e,n,(function(){return t[n]}))}(u);e["default"]=i.a},278:function(n,e,o){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o={data:function(){return{form:{avatar:"/static/img/header/a.svg",username:"MrThinco",sex:0,emotion:1,job:0,birth:"2020-10-10",city:"四川成都"},sexList:["男","女","保密"],emoList:["未婚","已婚","离异","保密"],jobList:["软件工程师","维修工程师","运维工程师","测试工程师"],cityDefault:[0,0,1],btnStyle:{width:"90%",height:"75rpx",background:"linear-gradient(-45deg,#01906c,#34D399)",color:"#FFFFFF",fontSize:"30rpx"}}},methods:{handleHeader:function(){n.chooseImage({count:1,sizeType:["original","compressed"],sourceType:["album","camera"],success:function(n){this.form.avatar=n.tempFilePaths[0]}})},handleName:function(){this.$refs.inputDialog.open()},nameConfirm:function(n){this.form.username=n},handleSex:function(){var e=this;n.showActionSheet({itemList:this.sexList,success:function(n){e.form.sex=n.tapIndex},fail:function(n){console.log(n.errMsg)}})},handleBirth:function(){this.$refs.birth.show()},handleEmotion:function(){var e=this;n.showActionSheet({itemList:this.emoList,success:function(n){e.form.emotion=n.tapIndex},fail:function(n){console.log(n.errMsg)}})},handleJob:function(){var e=this;n.showActionSheet({itemList:this.jobList,success:function(n){e.form.job=n.tapIndex},fail:function(n){console.log(n.errMsg)}})},confirmCity:function(n){console.log("e",n),this.form.city=n.label},showCity:function(){this.$refs.cityPicker.show()},submit:function(){}}};e.default=o}).call(this,o(2)["default"])},279:function(n,e,o){"use strict";o.r(e);var t=o(280),i=o.n(t);for(var u in t)["default"].indexOf(u)<0&&function(n){o.d(e,n,(function(){return t[n]}))}(u);e["default"]=i.a},280:function(n,e,o){}},[[273,"common/runtime","common/vendor"]]]);
|
||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/mine/edit-info.js.map
|