1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-me-modifyPassword-modifyPassword"],{"132f":function(t,a,e){"use strict";var i=e("581a"),n=e.n(i);n.a},"15f1":function(t,a,e){"use strict";e.r(a);var i=e("a6f0"),n=e("19d9");for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);e("132f");var r,s=e("f0c5"),d=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"6aafea90",null,!1,i["a"],r);a["default"]=d.exports},"19d9":function(t,a,e){"use strict";e.r(a);var i=e("7ae7"),n=e.n(i);for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);a["default"]=n.a},"3edd":function(t,a,e){var i=e("24fb");a=i(!1),a.push([t.i,".body[data-v-6aafea90]{border-top:solid 1px #dbdbda;padding:0 %?40?%}.face-wapper[data-v-6aafea90]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin-top:%?120?%;margin-bottom:%?120?%}.face[data-v-6aafea90]{width:%?160?%;height:%?160?%}.info-wapper[data-v-6aafea90]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;border-bottom:solid 1px #dbdbda;padding-bottom:%?20?%}.words-lbl[data-v-6aafea90]{color:grey}.input[data-v-6aafea90]{width:%?500?%;margin-left:%?40?%}.graywords[data-v-6aafea90]{color:#eaeaea}",""]),t.exports=a},"581a":function(t,a,e){var i=e("3edd");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=e("4f06").default;n("3e9c8f66",i,!0,{sourceMap:!1,shadowMode:!1})},"7ae7":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var i={data:function(){return{username:"",password:""}},onLoad:function(){var t=this,a=uni.getStorageSync("g_username");t.username=a},methods:{formSubmit:function(t){var a=this,e=t.detail.value.username,i=t.detail.value.password,n="/authdata/GetDataByName",o={name:"updatePwd",parammaps:{username:e,password:i}};a.ajax(n,o,"POST",a.get_edit_status)},get_edit_status:function(t){if(console.log("保存状态:",t),"ok"==t.msg)uni.showToast({title:"保存成功",duration:500,icon:"none",success:function(t){setTimeout((function(){uni.switchTab({url:"/pages/me/me"})}),1e3)}});else{var a=t.data;uni.showToast({title:"保存失败"+a,duration:2e3,icon:"none"})}}}};a.default=i},a6f0:function(t,a,e){"use strict";var i;e.d(a,"b",(function(){return n})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return i}));var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"body"},[e("v-uni-form",{on:{submit:function(a){arguments[0]=a=t.$handleEvent(a),t.formSubmit.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"face-wapper"}),e("v-uni-view",{staticClass:"info-wapper"},[e("v-uni-label",{staticClass:"words-lbl"},[t._v("账号:")]),e("v-uni-input",{staticClass:"input",attrs:{name:"username",type:"text",value:t.username,"placeholder-class":"graywords",disabled:!0}})],1),e("v-uni-view",{staticClass:"info-wapper",staticStyle:{"margin-top":"40upx"}},[e("v-uni-label",{staticClass:"words-lbl"},[t._v("新密码:")]),e("v-uni-input",{staticClass:"input",attrs:{name:"password",type:"text",value:t.password,password:"true",placeholder:"请输入新密码","placeholder-class":"graywords"}})],1),e("v-uni-button",{staticStyle:{"margin-top":"60upx",width:"90%"},attrs:{type:"primary","form-type":"submit"}},[t._v("确认修改")])],1)],1)},o=[]}}]);
|