pagesA-profile-editPassword.bdf2d5d8.js 4.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pagesA-profile-editPassword"],{"020c":function(t,e,i){var s=i("7fc6");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var o=i("967d").default;o("5e906d42",s,!0,{sourceMap:!1,shadowMode:!1})},"0b00":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=i("e360"),o={data:function(){return{noClick:!0,oldpassword:"",newpassword:"",renewpassword:""}},methods:{subSave:function(){if(this.oldpassword)if(this.newpassword)if(this.renewpassword){var t={oldpassword:this.oldpassword,newpassword:this.newpassword,renewpassword:this.renewpassword};(0,s.netEditPassword)(t).then((function(t){uni.showToast({title:t.msg,icon:"none"}),setTimeout((function(){uni.redirectTo({url:"/pages/profile/profile"})}),2e3)}))}else uni.showToast({title:"请确认新密码",icon:"none"});else uni.showToast({title:"请输入新密码",icon:"none"});else uni.showToast({title:"请输入旧密码",icon:"none"})}}};e.default=o},"1b6e":function(t,e,i){"use strict";var s=i("020c"),o=i.n(s);o.a},"2a07":function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",[t._v("*")]),t._v("旧密码")],1),i("v-uni-view",{staticClass:"form_right"},[i("v-uni-input",{staticClass:"rightinput",class:t.oldpassword?"valueActive":"",attrs:{type:"password",placeholder:"请输入旧密码"},model:{value:t.oldpassword,callback:function(e){t.oldpassword=e},expression:"oldpassword"}}),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",[t._v("*")]),t._v("新密码")],1),i("v-uni-view",{staticClass:"form_right"},[i("v-uni-input",{staticClass:"rightinput",class:t.newpassword?"valueActive":"",attrs:{type:"password",placeholder:"请输入新密码"},model:{value:t.newpassword,callback:function(e){t.newpassword=e},expression:"newpassword"}}),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),i("v-uni-view",{staticClass:"fllow_form"},[i("v-uni-view",[i("v-uni-text",[t._v("*")]),t._v("确认新密码")],1),i("v-uni-view",{staticClass:"form_right"},[i("v-uni-input",{staticClass:"rightinput",class:t.renewpassword?"valueActive":"",attrs:{type:"password",placeholder:"请确认新密码"},model:{value:t.renewpassword,callback:function(e){t.renewpassword=e},expression:"renewpassword"}}),i("v-uni-view",{staticClass:"iconfont icon-arrows_right"})],1)],1),i("v-uni-view",{staticClass:"btn_g bg-blue button-hover round",attrs:{id:"btn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$noMultipleClicks(t.subSave)}}},[t._v("保存")])],1)},o=[]},"79a4":function(t,e,i){"use strict";i.r(e);var s=i("0b00"),o=i.n(s);for(var n in s)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(n);e["default"]=o.a},"7fc6":function(t,e,i){var s=i("c86c");e=s(!1),e.push([t.i,'@charset "UTF-8";\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 基本颜色 */.fllow_form[data-v-8f2ef054]{display:flex;justify-content:space-between;align-items:center;background-color:#fff;border-bottom:%?1?% solid #eaeaea;padding:%?30?% %?20?%;color:#999;font-size:%?32?%}.fllow_form .form_right[data-v-8f2ef054]{display:flex;align-items:center;color:#999}.fllow_form .form_right[data-v-8f2ef054] :first-child{width:%?450?%;text-align:right}.fllow_form .form_right uni-image[data-v-8f2ef054]{width:%?40?%;height:%?40?%;margin:%?28?% %?5?% 0 0}.fllow_form .theme[data-v-8f2ef054]{color:#5ca9fe}.fllow_form uni-text[data-v-8f2ef054]{color:red;margin-left:%?10?%}.fllow_form .form_input uni-input[data-v-8f2ef054]{text-align:right;margin-right:%?10?%}',""]),t.exports=e},"8ef5":function(t,e,i){"use strict";i.r(e);var s=i("2a07"),o=i("79a4");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("1b6e");var a=i("828b"),r=Object(a["a"])(o["default"],s["b"],s["c"],!1,null,"8f2ef054",null,!1,s["a"],void 0);e["default"]=r.exports}}]);