import { View, Text, Image, Button, Icon } from "@tarojs/components"; import { useLoad } from "@tarojs/taro"; import Taro from "@tarojs/taro"; import { AtAvatar, AtTag, AtIcon, AtTabBar, AtButton, AtAccordion, AtList, AtListItem, } from "taro-ui"; import "./index.scss"; import beijing from "@/images/city/beijing.jpg"; import guangzhou from "@/images/city/guangzhou.jpg"; import shanghai from "@/images/city/shanghai.jpg"; import shenzhen from "@/images/city/shenzhen.jpg"; import touxiang from "@/images/index/touxiang.jpg"; import TabbarCom from "@/componments/TabbarCom"; import { useEffect, useState } from "react"; const my = () => { const [open, setopen] = useState(false); const handleClick = (value) => { setopen(true); }; return ( {/* 头像 */} 昵称 {/* 列表 */} {/* 个人客服 */} {/* */} {/* 底部tabbar */} {/* { console.log("current", current); if (current !== 1) { Taro.redirectTo({ url: "/pages/index/index", }); } }} current={1} /> */} ); }; export default my;