|
@@ -26,8 +26,7 @@ function Page() {
|
|
|
});
|
|
});
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, {
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, {
|
|
|
style: {
|
|
style: {
|
|
|
- backgroundColor: '#000',
|
|
|
|
|
- height: '100vh'
|
|
|
|
|
|
|
+ backgroundColor: '#000'
|
|
|
},
|
|
},
|
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_features_auth_components_Auth__WEBPACK_IMPORTED_MODULE_1__["default"], {})
|
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_features_auth_components_Auth__WEBPACK_IMPORTED_MODULE_1__["default"], {})
|
|
|
});
|
|
});
|
|
@@ -68,7 +67,7 @@ function Component(props) {
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
/* harmony export */ "default": function() { return /* binding */ Component; }
|
|
/* harmony export */ "default": function() { return /* binding */ Component; }
|
|
|
/* harmony export */ });
|
|
/* harmony export */ });
|
|
|
-/* harmony import */ var _Users_Work_taro_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
|
|
|
|
|
|
|
+/* harmony import */ var _Users_Work_hola2_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js */ "./node_modules/@babel/runtime/helpers/esm/slicedToArray.js");
|
|
|
/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
|
|
/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
|
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "webpack/container/remote/react");
|
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -81,7 +80,7 @@ function Component(props) {
|
|
|
|
|
|
|
|
function Component(props) {
|
|
function Component(props) {
|
|
|
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),
|
|
|
- _useState2 = (0,_Users_Work_taro_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState, 2),
|
|
|
|
|
|
|
+ _useState2 = (0,_Users_Work_hola2_node_modules_babel_runtime_helpers_esm_slicedToArray_js__WEBPACK_IMPORTED_MODULE_2__["default"])(_useState, 2),
|
|
|
isFocus = _useState2[0],
|
|
isFocus = _useState2[0],
|
|
|
setIsFocus = _useState2[1];
|
|
setIsFocus = _useState2[1];
|
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, {
|
|
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_3__.View, {
|
|
@@ -150,13 +149,18 @@ function Component(props) {
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
/* harmony export */ "default": function() { return /* binding */ Auth; }
|
|
/* harmony export */ "default": function() { return /* binding */ Auth; }
|
|
|
/* harmony export */ });
|
|
/* harmony export */ });
|
|
|
-/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
|
|
|
|
|
-/* harmony import */ var _components_Texts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../components/Texts */ "./src/components/Texts.tsx");
|
|
|
|
|
|
|
+/* harmony import */ var _tarojs_components__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @tarojs/components */ "./node_modules/@tarojs/plugin-platform-weapp/dist/components-react.js");
|
|
|
|
|
+/* harmony import */ var _components_Texts__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @components/Texts */ "./src/components/Texts.tsx");
|
|
|
/* harmony import */ var _utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utils/types */ "./src/utils/types.ts");
|
|
/* harmony import */ var _utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../utils/types */ "./src/utils/types.ts");
|
|
|
-/* harmony import */ var _components_Box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../components/Box */ "./src/components/Box.tsx");
|
|
|
|
|
-/* harmony import */ var _components_Inputs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../components/Inputs */ "./src/components/Inputs.tsx");
|
|
|
|
|
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
|
|
|
|
|
-/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
|
|
|
|
|
|
|
+/* harmony import */ var _components_Box__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @components/Box */ "./src/components/Box.tsx");
|
|
|
|
|
+/* harmony import */ var _components_Inputs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @components/Inputs */ "./src/components/Inputs.tsx");
|
|
|
|
|
+/* harmony import */ var _components_Buttons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @components/Buttons */ "./src/components/Buttons.tsx");
|
|
|
|
|
+/* harmony import */ var _assets_svg_check_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @assets/svg/check.svg */ "./src/assets/svg/check.svg");
|
|
|
|
|
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react/jsx-runtime */ "webpack/container/remote/react/jsx-runtime");
|
|
|
|
|
+/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__);
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -166,34 +170,66 @@ function Component(props) {
|
|
|
|
|
|
|
|
function Auth() {
|
|
function Auth() {
|
|
|
function loginComponent() {
|
|
function loginComponent() {
|
|
|
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_5__.View, {
|
|
|
|
|
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_Inputs__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
|
|
|
|
|
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
|
|
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Inputs__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
|
placeholder: "Username"
|
|
placeholder: "Username"
|
|
|
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_5__.View, {
|
|
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
style: {
|
|
style: {
|
|
|
height: 20
|
|
height: 20
|
|
|
}
|
|
}
|
|
|
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_Inputs__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Inputs__WEBPACK_IMPORTED_MODULE_3__["default"], {
|
|
|
placeholder: "Password"
|
|
placeholder: "Password"
|
|
|
})]
|
|
})]
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
function register() {}
|
|
function register() {}
|
|
|
- return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_5__.View, {
|
|
|
|
|
|
|
+ return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
style: {
|
|
style: {
|
|
|
backgroundColor: '#000',
|
|
backgroundColor: '#000',
|
|
|
flex: 1,
|
|
flex: 1,
|
|
|
flexDirection: 'column',
|
|
flexDirection: 'column',
|
|
|
- display: 'flex'
|
|
|
|
|
|
|
+ display: 'flex',
|
|
|
|
|
+ height: '100vh'
|
|
|
},
|
|
},
|
|
|
- children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_Texts__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
|
|
|
|
|
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Texts__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
|
text: "Create account",
|
|
text: "Create account",
|
|
|
type: _utils_types__WEBPACK_IMPORTED_MODULE_1__.TextType.primary
|
|
type: _utils_types__WEBPACK_IMPORTED_MODULE_1__.TextType.primary
|
|
|
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_Texts__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Texts__WEBPACK_IMPORTED_MODULE_0__["default"], {
|
|
|
text: "Claim your username now!",
|
|
text: "Claim your username now!",
|
|
|
type: _utils_types__WEBPACK_IMPORTED_MODULE_1__.TextType.secondary
|
|
type: _utils_types__WEBPACK_IMPORTED_MODULE_1__.TextType.secondary
|
|
|
- }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(_components_Box__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Box__WEBPACK_IMPORTED_MODULE_2__["default"], {
|
|
|
child: loginComponent()
|
|
child: loginComponent()
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_components_Buttons__WEBPACK_IMPORTED_MODULE_4__["default"], {
|
|
|
|
|
+ title: "Next",
|
|
|
|
|
+ style: {
|
|
|
|
|
+ marginLeft: 23,
|
|
|
|
|
+ marginRight: 23,
|
|
|
|
|
+ marginTop: 20,
|
|
|
|
|
+ marginBottom: 20
|
|
|
|
|
+ },
|
|
|
|
|
+ status: _utils_types__WEBPACK_IMPORTED_MODULE_1__.ComponentStatus.disable
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
|
|
+ className: "agree_view",
|
|
|
|
|
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.Image, {
|
|
|
|
|
+ style: "width:12px;height:12px;",
|
|
|
|
|
+ src: _assets_svg_check_svg__WEBPACK_IMPORTED_MODULE_5__
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.Text, {
|
|
|
|
|
+ className: "agree_text",
|
|
|
|
|
+ children: "I agree to the Terms of Service and Privacy Policy."
|
|
|
|
|
+ })]
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
|
|
+ style: {
|
|
|
|
|
+ flex: 1
|
|
|
|
|
+ }
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsxs)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.View, {
|
|
|
|
|
+ className: "footer",
|
|
|
|
|
+ children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.Text, {
|
|
|
|
|
+ className: "have_account",
|
|
|
|
|
+ children: "Already have an account?"
|
|
|
|
|
+ }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_tarojs_components__WEBPACK_IMPORTED_MODULE_7__.Text, {
|
|
|
|
|
+ className: "login",
|
|
|
|
|
+ children: "Login"
|
|
|
|
|
+ })]
|
|
|
})]
|
|
})]
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|