chore:配置工具箱tabbar (暂时影藏)
This commit is contained in:
@@ -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",
|
||||
});
|
||||
|
||||
@@ -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="描述信息"
|
||||
|
||||
Reference in New Issue
Block a user