chore:配置工具箱tabbar (暂时影藏)

This commit is contained in:
hackrobot
2024-03-25 03:05:07 +08:00
parent a31346f404
commit 58e80feb8a
2 changed files with 18 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ const TabbarCom = (props) => {
<AtTabBar
tabList={[
{ title: "首页", iconType: "home" }, //, text: "new"
// { title: "活动", iconType: "camera" },
// { title: "工具箱", iconType: "star" },
{ title: "我的", iconType: "user" }, //, text: "100", max: 99
]}
onClick={(current) => {
@@ -20,7 +20,13 @@ const TabbarCom = (props) => {
Taro.redirectTo({
url: "/pages/index/index",
});
} else {
}
// else if (current === 1) {
// Taro.redirectTo({
// url: "/pages/index/index",
// });
// }
else {
Taro.redirectTo({
url: "/pages/my/index",
});

View File

@@ -44,7 +44,9 @@ const my = () => {
image={localuserInfo?.smallhead ?? touxiang}
></AtAvatar>
<View>
<AtTag size="small">{localuserInfo?.nickname??"星球新居民"}</AtTag>
<AtTag size="small">
{localuserInfo?.nickname ?? "星球新居民"}
</AtTag>
{/* <AtTag size="small">女</AtTag> */}
</View>
</View>
@@ -68,6 +70,13 @@ const my = () => {
});
}}
/>
<AtListItem
title="常见问题"
// note="描述信息"
// extraText="详细信息"
arrow="right"
thumb="http://img12.360buyimg.com/jdphoto/s72x72_jfs/t10660/330/203667368/1672/801735d7/59c85643N31e68303.png"
/>
<AtListItem
title="联系客服"
// note="描述信息"