|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
import {FC, useCallback, useEffect, useRef, useState} from "react"; |
|
|
|
|
import {Button, Form, Image, Input, View} from "@tarojs/components"; |
|
|
|
|
import { Form, Image, Input, View} from "@tarojs/components"; |
|
|
|
|
import {Profile} from "@/store"; |
|
|
|
|
import {userApi} from "@/api"; |
|
|
|
|
import Taro from "@tarojs/taro"; |
|
|
|
@ -7,6 +7,7 @@ import {regexTel} from "@/utils/regu"; |
|
|
|
|
import styles from './check.module.scss' |
|
|
|
|
import code from '@/static/img/vCode.png' |
|
|
|
|
import tel from '@/static/img/tel.png' |
|
|
|
|
import MyButton from "@/components/button/MyButton"; |
|
|
|
|
|
|
|
|
|
const Bing: FC = () => { |
|
|
|
|
const form = useRef<HTMLFormElement | null>(null) |
|
|
|
@ -66,7 +67,7 @@ const Bing: FC = () => { |
|
|
|
|
}, [codeTime, phone_number]) |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<View className='h-10 pt-6 px-3 bg-white'> |
|
|
|
|
<View className='px-3 bg-white h-10'> |
|
|
|
|
<Form onSubmit={Submit} ref={form}> |
|
|
|
|
|
|
|
|
|
<View className={styles.formItem}> |
|
|
|
@ -94,14 +95,14 @@ const Bing: FC = () => { |
|
|
|
|
</View> |
|
|
|
|
</View> |
|
|
|
|
|
|
|
|
|
<Button |
|
|
|
|
className={'button ' + styles.submit} |
|
|
|
|
<MyButton |
|
|
|
|
className={styles.submit} |
|
|
|
|
style={{margin: '30px auto'}} |
|
|
|
|
formType='submit' |
|
|
|
|
disabled={loading} |
|
|
|
|
> |
|
|
|
|
提交 |
|
|
|
|
</Button> |
|
|
|
|
</MyButton> |
|
|
|
|
</Form> |
|
|
|
|
</View> |
|
|
|
|
) |
|
|
|
|