import Taro from "@tarojs/taro" import { Icon, View } from "@tarojs/components" import { useEffect, useState } from "react" import CustomNav from '@/components/CustomNav' import withLayout from '@/layouts' import './style.less' export default (props) => { const { ico, textNext } = props const YES = 'https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/RandomIIcon/YES.png' const No = 'https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/RandomIIcon/No.png' const [imageOne, setImageOne] = useState(false) const [imageTow, setImageTow] = useState(false) const handleYES = () => { setImageOne(true) setImageTow(false) } const handleNo = () => { setImageOne(false) setImageTow(true) } return ( 2 / 5 你是单身吗? YES No ) }