|
|
@@ -0,0 +1,214 @@
|
|
|
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["pages-public-forget"], {
|
|
|
+ "2b9a": function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ var a = n("4ea4");
|
|
|
+ Object.defineProperty(i, "__esModule", {value: !0}), i.login = o, i.register = s, i.verify = r, i.getUserInfo = c, i.loginMobile = u, i.bangding = d;
|
|
|
+ var e = a(n("13b0"));
|
|
|
+
|
|
|
+ function o(t) {
|
|
|
+ return (0, e.default)({url: "/api/login", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function s(t) {
|
|
|
+ return (0, e.default)({url: "/api/register", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function r(t) {
|
|
|
+ return (0, e.default)({url: "/api/register/verify", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function c(t) {
|
|
|
+ return (0, e.default)({url: "/api/userinfo", method: "get", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function u(t) {
|
|
|
+ return (0, e.default)({url: "/api/login/mobile", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function d(t) {
|
|
|
+ return (0, e.default)({url: "/api/binding", method: "POST", data: t})
|
|
|
+ }
|
|
|
+ }, 3836: function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ var a = n("b03f"), e = n.n(a);
|
|
|
+ e.a
|
|
|
+ }, "590b": function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ var a = n("4ea4");
|
|
|
+ Object.defineProperty(i, "__esModule", {value: !0}), i.userEdit = o, i.logout = s, i.registerReset = r, i.binding = c, i.realName = u, i.is_pas = d, i.transaction = l;
|
|
|
+ var e = a(n("13b0"));
|
|
|
+
|
|
|
+ function o(t) {
|
|
|
+ return (0, e.default)({url: "/api/user/edit", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function s(t) {
|
|
|
+ return (0, e.default)({url: "/api/logout", method: "get", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function r(t) {
|
|
|
+ return (0, e.default)({url: "/api/register/reset", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function c(t) {
|
|
|
+ return (0, e.default)({url: "/api/binding", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function u(t) {
|
|
|
+ return (0, e.default)({url: "/api/rname", method: "post", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function d(t) {
|
|
|
+ return (0, e.default)({url: "/api/is_pas", method: "get", data: t})
|
|
|
+ }
|
|
|
+
|
|
|
+ function l(t) {
|
|
|
+ return (0, e.default)({url: "/api/set_payment", method: "post", data: t})
|
|
|
+ }
|
|
|
+ }, "5bfb": function (t, i, n) {
|
|
|
+ var a = n("24fb");
|
|
|
+ i = a(!1), i.push([t.i, '@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-470dc43c]{min-height:100%;background-color:#fff}uni-page-body .container[data-v-470dc43c]{width:100%;padding:%?60?% %?70?%}.logo-img[data-v-470dc43c]{width:%?161?%;height:%?161?%;margin:auto;margin-top:%?52?%!important;margin-bottom:%?15?%!important;box-shadow:0 %?12?% %?13?% 0 rgba(68,150,157,.47);border-radius:50%}.logo-img uni-image[data-v-470dc43c]{width:%?161?%;height:%?161?%;border-radius:50%}.logo[data-v-470dc43c]{font-size:%?36?%;font-weight:400;color:#5dbc7c;text-align:center}.phone[data-v-470dc43c]{height:%?43?%!important;width:%?27?%!important}.codeimg[data-v-470dc43c]{height:%?39?%!important;width:%?31?%!important}.login_text[data-v-470dc43c]{border-radius:%?20?%;margin-top:%?80?%}.login_text .login_input[data-v-470dc43c]{margin-bottom:%?35?%;padding-bottom:%?60?%}.login_text .login_input .login_img[data-v-470dc43c]{height:%?35?%;width:%?31?%;margin-right:%?20?%}.login_text .login_input .login_img uni-image[data-v-470dc43c]{width:100%;height:100%}.login_text .login_input .uni-input[data-v-470dc43c]{text-align:left;width:%?400?%;font-size:%?32?%!important}.login_text .login_input .login_name[data-v-470dc43c]{color:#333}.login_text .login_input .login_name .code[data-v-470dc43c]{color:#5dbc7c;font-size:%?23?%;border-left:1px solid #eee;width:%?150?%;flex-shrink:0;text-align:center}.login[data-v-470dc43c]{background:#5dbc7c;margin-top:%?96?%;color:#fff;text-align:center;padding:%?26?% %?0?%;border-radius:%?20?%}body.?%PAGE?%[data-v-470dc43c]{background-color:#fff}', ""]), t.exports = i
|
|
|
+ }, "6e16": function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ n.r(i);
|
|
|
+ var a = n("8da0"), e = n.n(a);
|
|
|
+ for (var o in a) "default" !== o && function (t) {
|
|
|
+ n.d(i, t, (function () {
|
|
|
+ return a[t]
|
|
|
+ }))
|
|
|
+ }(o);
|
|
|
+ i["default"] = e.a
|
|
|
+ }, "8da0": function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ Object.defineProperty(i, "__esModule", {value: !0}), i.default = void 0;
|
|
|
+ var a = n("590b"), e = n("2b9a"), o = {
|
|
|
+ data: function () {
|
|
|
+ return {phone: "", code: "", password2: "", password: "", time: "", countDown: 0}
|
|
|
+ }, onLoad: function () {
|
|
|
+ }, watch: {
|
|
|
+ countDown: function (t) {
|
|
|
+ 0 == t && clearInterval(this.time)
|
|
|
+ }
|
|
|
+ }, methods: {
|
|
|
+ updatalogin: function () {
|
|
|
+ var t = this;
|
|
|
+ "" != t.phone ? /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(t.phone) || /(^1[3|4|5|6|7|8|9][0-9]{9}$)/.test(this.phone) ? "" != t.password ? "" != t.password2 ? t.password2 == t.password ? "" != t.code ? (0, a.registerReset)({
|
|
|
+ account: t.phone,
|
|
|
+ password: t.password,
|
|
|
+ password2: t.password2,
|
|
|
+ type: 1,
|
|
|
+ captcha: t.code
|
|
|
+ }).then((function (i) {
|
|
|
+ t.$api.msg(i.msg), uni.navigateTo({url: "/pages/public/login"})
|
|
|
+ })).catch((function (t) {
|
|
|
+ console.log(t)
|
|
|
+ })) : t.$api.msg("请输入验证码") : t.$api.msg("两次密码不正确") : t.$api.msg("请再次输入密码") : t.$api.msg("请输入密码") : t.$api.msg("请输入正确的邮箱或手机") : t.$api.msg("请输入邮箱")
|
|
|
+ }, verification: function () {
|
|
|
+ var t = this;
|
|
|
+ if ("" != this.phone) {
|
|
|
+ if (/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(t.phone) || /(^1[3|4|5|6|7|8|9][0-9]{9}$)/.test(this.phone)) return !(t.countDown > 0) && (t.countDown = 60, t.time = setInterval((function () {
|
|
|
+ t.countDown--
|
|
|
+ }), 1e3), void (0, e.verify)({phone: t.phone, type: "login"}).then((function (t) {
|
|
|
+ t.data;
|
|
|
+ uni.showToast({title: "验证码已发送", duration: 2e3, position: "top", icon: "none"})
|
|
|
+ })).catch((function (t) {
|
|
|
+ console.log(t)
|
|
|
+ })));
|
|
|
+ t.$api.msg("请输入正确的邮箱或手机")
|
|
|
+ } else this.$api.msg("请输入邮箱号码")
|
|
|
+ }
|
|
|
+ }
|
|
|
+ };
|
|
|
+ i.default = o
|
|
|
+ }, "98c9": function (t, i, n) {
|
|
|
+ t.exports = n.p + "static/img/log.34930231.png"
|
|
|
+ }, a62e: function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ n.r(i);
|
|
|
+ var a = n("b1d8"), e = n("6e16");
|
|
|
+ for (var o in e) "default" !== o && function (t) {
|
|
|
+ n.d(i, t, (function () {
|
|
|
+ return e[t]
|
|
|
+ }))
|
|
|
+ }(o);
|
|
|
+ n("3836");
|
|
|
+ var s, r = n("f0c5"),
|
|
|
+ c = Object(r["a"])(e["default"], a["b"], a["c"], !1, null, "470dc43c", null, !1, a["a"], s);
|
|
|
+ i["default"] = c.exports
|
|
|
+ }, b03f: function (t, i, n) {
|
|
|
+ var a = n("5bfb");
|
|
|
+ "string" === typeof a && (a = [[t.i, a, ""]]), a.locals && (t.exports = a.locals);
|
|
|
+ var e = n("4f06").default;
|
|
|
+ e("01a20e48", a, !0, {sourceMap: !1, shadowMode: !1})
|
|
|
+ }, b1d8: function (t, i, n) {
|
|
|
+ "use strict";
|
|
|
+ var a;
|
|
|
+ n.d(i, "b", (function () {
|
|
|
+ return e
|
|
|
+ })), n.d(i, "c", (function () {
|
|
|
+ return o
|
|
|
+ })), n.d(i, "a", (function () {
|
|
|
+ return a
|
|
|
+ }));
|
|
|
+ var e = function () {
|
|
|
+ var t = this, i = t.$createElement, a = t._self._c || i;
|
|
|
+ return a("v-uni-view", {staticClass: "container"}, [a("v-uni-view", {staticClass: "logo-img"}, [a("v-uni-image", {
|
|
|
+ attrs: {
|
|
|
+ src: n("98c9"),
|
|
|
+ mode: ""
|
|
|
+ }
|
|
|
+ })], 1), a("v-uni-view", {staticClass: "logo"}, [t._v("易趣go")]), a("v-uni-view", {staticClass: "login_text"}, [a("v-uni-view", {staticClass: "login_input flex_item"}, [a("v-uni-view", {staticClass: "login_img"}, [a("v-uni-image", {
|
|
|
+ staticClass: "phone",
|
|
|
+ attrs: {src: "/static/img/phone.png"}
|
|
|
+ })], 1), a("v-uni-view", {staticClass: "login_name"}, [a("v-uni-input", {
|
|
|
+ staticClass: "uni-input",
|
|
|
+ attrs: {type: "text", focus: !0, placeholder: "请输入手机"},
|
|
|
+ model: {
|
|
|
+ value: t.phone, callback: function (i) {
|
|
|
+ t.phone = i
|
|
|
+ }, expression: "phone"
|
|
|
+ }
|
|
|
+ })], 1)], 1), a("v-uni-view", {staticClass: "login_input flex_item"}, [a("v-uni-view", {staticClass: "login_img"}, [a("v-uni-image", {attrs: {src: "/static/img/zfpwd.png"}})], 1), a("v-uni-view", {staticClass: "login_name"}, [a("v-uni-input", {
|
|
|
+ staticClass: "uni-input",
|
|
|
+ attrs: {type: "password", focus: !0, placeholder: " 请输入新的不少于6位的密码"},
|
|
|
+ model: {
|
|
|
+ value: t.password, callback: function (i) {
|
|
|
+ t.password = i
|
|
|
+ }, expression: "password"
|
|
|
+ }
|
|
|
+ })], 1)], 1), a("v-uni-view", {staticClass: "login_input flex_item"}, [a("v-uni-view", {staticClass: "login_img"}, [a("v-uni-image", {attrs: {src: "/static/img/zfpwd.png"}})], 1), a("v-uni-view", {staticClass: "login_name"}, [a("v-uni-input", {
|
|
|
+ staticClass: "uni-input",
|
|
|
+ attrs: {type: "password", focus: !0, placeholder: "请重复输入新密码"},
|
|
|
+ model: {
|
|
|
+ value: t.password2, callback: function (i) {
|
|
|
+ t.password2 = i
|
|
|
+ }, expression: "password2"
|
|
|
+ }
|
|
|
+ })], 1)], 1), a("v-uni-view", {staticClass: "login_input flex"}, [a("v-uni-view", {staticClass: "login_img"}, [a("v-uni-image", {
|
|
|
+ staticClass: "codeimg",
|
|
|
+ attrs: {src: "/static/img/yan.png"}
|
|
|
+ })], 1), a("v-uni-view", {staticClass: "login_name flex"}, [a("v-uni-input", {
|
|
|
+ staticClass: "uni-input width",
|
|
|
+ attrs: {type: "number", focus: !0, placeholder: "请输入验证码"},
|
|
|
+ model: {
|
|
|
+ value: t.code, callback: function (i) {
|
|
|
+ t.code = i
|
|
|
+ }, expression: "code"
|
|
|
+ }
|
|
|
+ }), a("v-uni-view", {
|
|
|
+ staticClass: "code", on: {
|
|
|
+ click: function (i) {
|
|
|
+ arguments[0] = i = t.$handleEvent(i), t.verification.apply(void 0, arguments)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, [t._v(t._s(0 == t.countDown ? "发送验证码" : t.countDown))])], 1)], 1)], 1), a("v-uni-view", {
|
|
|
+ staticClass: "login",
|
|
|
+ on: {
|
|
|
+ click: function (i) {
|
|
|
+ arguments[0] = i = t.$handleEvent(i), t.updatalogin.apply(void 0, arguments)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, [t._v("确认修改")])], 1)
|
|
|
+ }, o = []
|
|
|
+ }
|
|
|
+}]);
|