feat: 首页优化

This commit is contained in:
eric
2023-12-02 16:14:00 +08:00
parent 3d6d6901b8
commit a336c930dc
7 changed files with 202 additions and 74 deletions

View File

@@ -11,7 +11,7 @@ import Taro from '@tarojs/taro'
// export default class Index extends Component {
const Index = () => {
const My = () => {
const [current, setcurrent] = useState(2);
const handleClick = (value) => {
console.log('value',value)
@@ -25,10 +25,14 @@ const Index = () => {
Taro.redirectTo({
url: "/pages/index/index",
});
}else{
Taro.redirectTo({
url: "/pages/meetup/index",
});
}
};
return (
<View className="index">
<View className="my">
{/* <Text>Hello world!</Text> */}
my
<View className="indexTablebar">
@@ -46,4 +50,4 @@ const Index = () => {
);
};
export default Index;
export default My;

View File

@@ -0,0 +1,10 @@
.my{
.indexTablebar {
position: fixed;
bottom: 0;
width: 100%;
}
}