import { View, Image } from '@tarojs/components' import './index.less' import ColorPicker from "@/components/color-picker"; import { useEffect, useState } from 'react'; import history from "../../assets/history.png"; export default function Index() { const list = ['', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',] const [open, setOpen] = useState(false) const handleColorPicker = (e) => { setOpen(false) } useEffect(() => { }, []) return ( 像素跳动 历史记录 {list.map((item, index) => )} setOpen(true)}> setOpen(true)}>#EDEDED *请选取喜欢的颜色,再点击小方格填入颜色; 传输画面到音响屏幕 ) }