function anonymous( ) { const _Vue = Vue const { createElementVNode: _createElementVNode, createTextVNode: _createTextVNode } = _Vue const _hoisted_1 = ["onClick"] const _hoisted_2 = { class: "modal-card" } const _hoisted_3 = { class: "modal-card-head" } const _hoisted_4 = /*#__PURE__*/_createElementVNode("p", { class: "modal-card-title" }, "注册", -1) const _hoisted_5 = ["onClick"] const _hoisted_6 = { class: "modal-card-body" } const _hoisted_7 = { class: "register-form" } const _hoisted_8 = { class: "field" } const _hoisted_9 = { class: "control has-icons-left" } const _hoisted_10 = ["onUpdate:modelValue"] const _hoisted_11 = /*#__PURE__*/_createElementVNode("span", { class: "icon is-small is-left" }, [/*#__PURE__*/_createElementVNode("i", { class: "fas fa-user" })], -1) const _hoisted_12 = { class: "help is-danger" } const _hoisted_13 = { class: "field" } const _hoisted_14 = { class: "control has-icons-left" } const _hoisted_15 = ["onUpdate:modelValue"] const _hoisted_16 = /*#__PURE__*/_createElementVNode("span", { class: "icon is-small is-left" }, [/*#__PURE__*/_createElementVNode("i", { class: "fas fa-lock" })], -1) const _hoisted_17 = { class: "help is-danger" } const _hoisted_18 = { class: "field" } const _hoisted_19 = { class: "control has-icons-left" } const _hoisted_20 = ["onUpdate:modelValue"] const _hoisted_21 = /*#__PURE__*/_createElementVNode("span", { class: "icon is-small is-left" }, [/*#__PURE__*/_createElementVNode("i", { class: "fas fa-lock" })], -1) const _hoisted_22 = { class: "help is-danger" } const _hoisted_23 = { class: "field" } const _hoisted_24 = { class: "control has-icons-left" } const _hoisted_25 = ["onUpdate:modelValue"] const _hoisted_26 = /*#__PURE__*/_createElementVNode("span", { class: "icon is-small is-left" }, [/*#__PURE__*/_createElementVNode("i", { class: "fas fa-user-tag" })], -1) const _hoisted_27 = { class: "help is-danger" } const _hoisted_28 = { class: "modal-card-foot" } const _hoisted_29 = ["onClick"] const _hoisted_30 = { class: "ml-2" } const _hoisted_31 = ["onClick"] const _hoisted_32 = ["onClick"] const _hoisted_33 = ["onClick"] return function render(_ctx, _cache) { with (_ctx) { const { createElementVNode: _createElementVNode, vModelText: _vModelText, normalizeClass: _normalizeClass, withDirectives: _withDirectives, toDisplayString: _toDisplayString, createTextVNode: _createTextVNode, openBlock: _openBlock, createElementBlock: _createElementBlock } = _Vue return (_openBlock(), _createElementBlock("div", { class: _normalizeClass(["modal", {'is-active': visible}]) }, [_createElementVNode("div", { class: "modal-background", onClick: hide }, null, 8, _hoisted_1), _createElementVNode("div", _hoisted_2, [_createElementVNode("header", _hoisted_3, [_hoisted_4, _createElementVNode("button", { class: "delete", "aria-label": "close", onClick: hide }, null, 8, _hoisted_5)]), _createElementVNode("section", _hoisted_6, [_createElementVNode("form", _hoisted_7, [ _createElementVNode("div", _hoisted_8, [_createElementVNode("p", _hoisted_9, [_withDirectives(_createElementVNode("input", { class: _normalizeClass(["input", {'is-danger':error.username}]), type: "text", name: "name", "onUpdate:modelValue": $event => ((form.username) = $event), placeholder: "输入用户名(4+ 字符)" }, null, 10, _hoisted_10), [[_vModelText, form.username]]), _hoisted_11]), _createElementVNode("p", _hoisted_12, _toDisplayString(error.username), 1)]), _createElementVNode("div", _hoisted_13, [_createElementVNode("p", _hoisted_14, [_withDirectives(_createElementVNode("input", { class: _normalizeClass(["input", {'is-danger':error.password}]), type: "password", name: "password", "onUpdate:modelValue": $event => ((form.password) = $event), placeholder: "输入密码(6+ 字符)" }, null, 10, _hoisted_15), [[_vModelText, form.password]]), _hoisted_16]), _createElementVNode("p", _hoisted_17, _toDisplayString(error.password), 1)]), _createElementVNode("div", _hoisted_18, [_createElementVNode("p", _hoisted_19, [_withDirectives(_createElementVNode("input", { class: _normalizeClass(["input", {'is-danger':error.repassword}]), type: "password", name: "passwordnot", "onUpdate:modelValue": $event => ((form.repassword) = $event), placeholder: "确认密码(6+ 字符)" }, null, 10, _hoisted_20), [[_vModelText, form.repassword]]), _hoisted_21]), _createElementVNode("p", _hoisted_22, _toDisplayString(error.repassword), 1)]), _createElementVNode("div", _hoisted_23, [_createElementVNode("p", _hoisted_24, [_withDirectives(_createElementVNode("input", { class: _normalizeClass(["input", {'is-danger':error.code}]), type: "text", name: "name", "onUpdate:modelValue": $event => ((form.code) = $event), placeholder: "输入邀请码" }, null, 10, _hoisted_25), [[_vModelText, form.code]]), _hoisted_26]), _createElementVNode("p", _hoisted_27, _toDisplayString(error.code), 1)]) ])]), _createElementVNode("footer", _hoisted_28, [_createElementVNode("button", { type: "button", onClick: submit, class: "button is-danger" }, "注册", 8, _hoisted_29), _createElementVNode("small", _hoisted_30, [ _createTextVNode(" 或 "), _createElementVNode("a", { href: "#", class: "has-text-danger", onClick: $event => ($emit('login')) }, "登录", 8, _hoisted_31), _createTextVNode(" 没有 "), _createElementVNode("a", { href: "#", class: "has-text-danger", onClick: $event => ($emit('pay')) }, "邀请码?", 8, _hoisted_32), _createTextVNode(" 点这里 "), _createElementVNode("a", { href: "#", class: "has-text-danger", onClick: $event => ($emit('pay')) }, "查看", 8, _hoisted_33) ])])])], 2)) } } }