/* empty css */ /* empty css */ /* empty css */ import { C as e } from "./index-d1f6d69a.js"; import "./index-325f2a5d.js"; import { F as s } from "./index-8da36b2b.js"; import { _ as a } from "./customI18nMenu.vue_vue_type_style_index_0_scoped_65795db4_lang-9d88fb9d.js"; import { _ as l, a as r, b as t } from "./service-b5de88db.js"; import { _ as o, a as d } from "./fis-0c75affb.js"; import { _ as i } from "./wash-7c0edfd9.js"; /* empty css */ /* empty css */ import { _ as m, a as n, b as c, d as u, u as p, s as A, j as v, e as g, f, v as x, p as j, t as w, az as I, aA as y, G as U, o as C, h, R as E, y as b, A as J, B as k, } from "./index-476be0bb.js"; import { F as S } from "./index-34aa487b.js"; import { B as V } from "./index-97676c1f.js"; import "./use-route-126c4f06.js"; import "./use-id-50eda0ee.js"; const B = (e) => (J("data-v-88338670"), (e = e()), k(), e), Q = { class: "bg-#DBDAFC h-screen overflow-auto" }, N = B(() => f( "div", { class: "text-center mt-50" }, [ f("img", { class: "logo2", src: a }), f("div", { class: "font-bold text-22 mt-5" }, "V8 JOB"), ], -1 ) ), D = { class: "p-15" }, Y = { class: "rounded-10 overflow-hidden pt-20 login" }, _ = { class: "new_input" }, q = B(() => f("img", { src: l }, null, -1)), R = { class: "new_input" }, z = B(() => f("img", { src: r }, null, -1)), G = { class: "flex justify-between items-center mt-5 px-10" }, Z = { class: "flex items-center" }, O = { class: "text-14 text-main" }, T = { class: "mt-20 mb-40" }, F = B(() => f("div", { class: "text-center text-#ccc mt-20 mb-20" }, "———— or ————", -1) ), K = B(() => f( "div", { class: "text-center" }, [ f("div", { class: "disblock" }, [f("img", { src: o })]), f("div", { class: "disblock" }, [f("img", { src: i })]), f("div", { class: "disblock" }, [ f("img", { src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANzSURBVHgBvVfNaxNBFP/Npi31Fj1ZEVlverAf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bwUfUmUkqGiIgn2OWNmQVXuWbvmmCeritfO6yZRCSkpB4MlRBSP2uGHv9KJPup0mZCwAAAAAElFTkSuQmCC", }), ]), f("div", { class: "disblock" }, [f("img", { src: d })]), ], -1 ) ), W = { class: "flex justify-center w-full mt-30" }, M = { class: "flex-col items-center text-13 text-center pl-20" }, P = B(() => f("img", { class: "vertical-middle mr-5 w-18", src: t }, null, -1) ), L = { class: "mt-10 text-#666" }, X = B(() => f("img", { class: "w-full", src: "/jpg/name-64e93f6a.jpg" }, null, -1) ), H = m( { __name: "login", setup(a) { const { t: l } = n(), r = c(), t = u(), o = p(), d = A("ws-checked", !1), i = v({ username: "", password: "" }); t.query.username ? ((i.value.username = t.query.username), (i.value.password = "")) : ((i.value.username = localStorage.getItem("username")), (i.value.password = localStorage.getItem("password"))); const m = () => { I({ forbidClick: !0, duration: 0 }), y({ username: i.value.username, password: i.value.password }).then( (e) => { const { code: s, data: a } = e; 1 === s && (localStorage.setItem("username", i.value.username), localStorage.setItem("password", i.value.password), U(l("登录成功!")), o.setUserInfo(a.userinfo), o.changeUserInfo(), r.replace("/")); } ); }; return (a, l) => { const r = s, t = e, o = V, n = S; return ( C(), g("div", Q, [ N, f("div", D, [ x( n, { onSubmit: m, class: "bg_form rounded-10 overflow-hidden" }, { default: j(() => [ f("div", Y, [ f("div", _, [ x( r, { class: "!py-14 rounded-10", modelValue: h(i).username, "onUpdate:modelValue": l[0] || (l[0] = (e) => (h(i).username = e)), type: "number", onInput: l[1] || (l[1] = (e) => { return ( (s = h(i).username), void ( 0 == /^\d+$/.test(s) && (i.value.username = s.slice( 0, s.length - 1 )) ) ); var s; }), placeholder: a.$t("输入手机号"), rules: [ { required: !0, message: a.$t("请输入手机号") }, ], }, null, 8, ["modelValue", "placeholder", "rules"] ), q, ]), f("div", R, [ x( r, { class: "!py-14 rounded-10", modelValue: h(i).password, "onUpdate:modelValue": l[2] || (l[2] = (e) => (h(i).password = e)), type: "password", placeholder: a.$t("输入密码"), rules: [ { required: !0, message: a.$t("请输入密码") }, ], }, null, 8, ["modelValue", "placeholder", "rules"] ), z, ]), ]), f("div", G, [ f("div", Z, [ x( t, { shape: "square", modelValue: h(d), "onUpdate:modelValue": l[3] || (l[3] = (e) => (E(d) ? (d.value = e) : null)), "checked-color": "#5A58C7", }, { default: j(() => [ f("span", O, w(a.$t("记住密码")), 1), ]), _: 1, }, 8, ["modelValue"] ), ]), ]), f("div", T, [ x( o, { round: "", block: "", color: "#5A58C7", type: "primary", "native-type": "submit", }, { default: j(() => [b(w(a.$t("登录")), 1)]), _: 1 } ), x( o, { plain: "", class: "!mt-20", round: "", block: "", type: "primary", onClick: l[4] || (l[4] = (e) => a.$router.push( a.$route.query.i ? "/reg?i=" + a.$route.query.i : "/reg" )), }, { default: j(() => [ f("div", null, w(a.$t("注册")), 1), ]), _: 1, } ), F, K, ]), ]), _: 1, } ), f("div", W, [ f("div", M, [P, f("span", L, w(a.$t("在线客服")), 1)]), ]), ]), X, ]) ); }; }, }, [["__scopeId", "data-v-88338670"]] ); export { H as default };