1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-updata-psw-updata-psw"],{"0aac":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-75fd154e]{margin-top:%?10?%}.app-item uni-input[data-v-75fd154e], .app-item uni-picker[data-v-75fd154e], .app-item uni-textarea[data-v-75fd154e]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-75fd154e]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-75fd154e]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-75fd154e]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-75fd154e]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-75fd154e]{color:#fff;background:#f76454}.small-btn[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-75fd154e]{color:#999;border-color:#999}.login-btn[data-v-75fd154e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-75fd154e]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-75fd154e]{margin-right:%?20?%}.border-right[data-v-75fd154e]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-75fd154e]{margin-right:%?6?%}.position-center[data-v-75fd154e]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-75fd154e]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-75fd154e]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-75fd154e]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-75fd154e]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-75fd154e]{color:#f76454}.swiper-nav[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-75fd154e]{color:#f76454}.swiper-nav .moveBar[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-75fd154e]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-75fd154e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-75fd154e]{width:100%;height:100%}.article-header[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-75fd154e]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-75fd154e]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-75fd154e]{color:#f76454}.article-footer[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-75fd154e]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-75fd154e]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-75fd154e]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.updata-psw[data-v-75fd154e]{height:100%;box-sizing:border-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;background:#f2f2f2}.updata-psw .content[data-v-75fd154e]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative;box-sizing:border-box}.updata-psw .content[data-v-75fd154e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding-top:%?98?%}.updata-psw .content uni-input[data-v-75fd154e]{width:%?666?%;height:%?98?%;font-size:%?45?%;text-align:center;background:#fff;border-radius:%?24?%}',""]),e.exports=t},"4cbb":function(e,t,i){"use strict";var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t._API_checkCode=t._API_ChangeBindPhone=t._API_ChangeBindCode=t._API_GetImage=t._API_GzhWebInit=t._API_Logout=t._API_UpdataPsw=t._API_LoginByPsw=t._API_GetVerifyCode=t._API_LoginWX=t._API_Login=t._API_Reg=void 0;var o=n(i("c48d")),a=function(e){return o.default.get("/login/register",e)};t._API_Reg=a;var r=function(e){return o.default.get("/login/login",e)};t._API_Login=r;var c=function(e){return o.default.get("/login/wechat_login",e)};t._API_LoginWX=c;var l=function(e){return o.default.get("/login/judge_login",e)};t._API_GetVerifyCode=l;var d=function(e){return o.default.post("/user/login",e)};t._API_LoginByPsw=d;var f=function(e){return o.default.post("/user/update_pass",e)};t._API_UpdataPsw=f;var b=function(e){return o.default.get("/logout",e)};t._API_Logout=b;var s=function(e){return o.default.get("/wechat/wechat")};t._API_GzhWebInit=s;var w=function(e){return o.default.get("/AddQrCode",e)};t._API_GetImage=w;var u=function(e){return o.default.get("/user/send_code",e)};t._API_ChangeBindCode=u;var x=function(e){return o.default.get("/user/change_num",e)};t._API_ChangeBindPhone=x;var k=function(e){return o.default.get("/login/get_user_openid",e)};t._API_checkCode=k},5986:function(e,t,i){"use strict";var n=i("c956"),o=i.n(n);o.a},"59ad":function(e,t,i){"use strict";(function(e){i("99af"),i("d3b7"),i("25f0"),i("498a"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i("4cbb"),o={data:function(){return{psw1:"",psw2:""}},methods:{updata:function(){if(this.psw1.trim().length==this.psw2.trim().length)if(e.log(this.psw1.trim()===this.$store.state.userinfo.mobile.toString()),this.psw1.trim()!==this.$store.state.userinfo.mobile.toString())if(this.psw1.length>=6&&this.psw1.length<=16){uni.showLoading({mask:!0});var t=this;(0,n._API_UpdataPsw)({password:this.psw1}).then((function(e){(0,n._API_Logout)().then((function(){t.$store.commit("app/LOGOUT"),t.toWxchatLogin("/pages/login-psw/login-psw",null)}))}))}else uni.toast("密码格式错误");else uni.toast("新密码不能与原密码一致");else uni.toast("两次输入的密码不一致,请确认")},toWxchatLogin:function(e,t){var i=this;e=e||"/pages/index/index",t=t||"cli";var n=encodeURIComponent("".concat(this.$config.redirect_uri,"/api/gzh#").concat(e)),o=function(){return window.location.href="".concat(i.$config.wxURL,"?appid=").concat(i.$config.appid,"&redirect_uri=").concat(n,"&response_type=code&scope=snsapi_userinfo&state=").concat(t,"#wechat_redirect")};o()}}};t.default=o}).call(this,i("5a52")["default"])},8673:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"updata-psw"},[i("custom-nav",{ref:"ltm",attrs:{noback:"noback",transparent:"transparent",title:" "}}),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticStyle:{width:"100%","padding-left":"24px"}},[e._v("设置密码:")]),i("v-uni-view",{staticStyle:{height:"12px"}}),i("v-uni-input",{attrs:{type:"text",maxlength:"16",placeholder:"请输入密码"},model:{value:e.psw1,callback:function(t){e.psw1=t},expression:"psw1"}}),i("v-uni-view",{staticStyle:{height:"24px"}}),i("v-uni-view",{staticStyle:{width:"100%","padding-left":"24px"}},[e._v("确认密码:")]),i("v-uni-view",{staticStyle:{height:"12px"}}),i("v-uni-input",{attrs:{type:"text",maxlength:"16",placeholder:"请再次输入密码"},model:{value:e.psw2,callback:function(t){e.psw2=t},expression:"psw2"}}),i("v-uni-view",{staticClass:"big-btn bg",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.updata.apply(void 0,arguments)}}},[e._v("修改密码")]),i("v-uni-view",{staticStyle:{height:"12x"}}),i("v-uni-view",{staticClass:"basecolor"},[e._v("* 密码为6至16位任意数字字母组合")])],1)],1)},a=[]},c956:function(e,t,i){var n=i("0aac");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("b0795fa8",n,!0,{sourceMap:!1,shadowMode:!1})},d572:function(e,t,i){"use strict";i.r(t);var n=i("59ad"),o=i.n(n);for(var a in n)"default"!==a&&function(e){i.d(t,e,(function(){return n[e]}))}(a);t["default"]=o.a},f56c:function(e,t,i){"use strict";i.r(t);var n=i("8673"),o=i("d572");for(var a in o)"default"!==a&&function(e){i.d(t,e,(function(){return o[e]}))}(a);i("5986");var r,c=i("f0c5"),l=Object(c["a"])(o["default"],n["b"],n["c"],!1,null,"75fd154e",null,!1,n["a"],r);t["default"]=l.exports}}]);
|