.
This commit is contained in:
@@ -195,6 +195,40 @@ const adaptTemplate = async (appTemplate, templateId) => {
|
||||
// appTemplate.basic.tabbar.badgeStyle = {
|
||||
// backgroundColor: '#882222',
|
||||
// }
|
||||
|
||||
appTemplate.basic.tabbar.items = [
|
||||
{
|
||||
activeIconUrl: "https://3d.aidigitalfield.com/imgs/home.png",
|
||||
iconUrl: "https://3d.aidigitalfield.com/imgs/home.png",
|
||||
text: "首页",
|
||||
url: "/pages/index/index",
|
||||
},
|
||||
{
|
||||
activeIconUrl: "https://3d.aidigitalfield.com/imgs/list.png",
|
||||
iconUrl: "https://3d.aidigitalfield.com/imgs/list.png",
|
||||
text: "商品列表",
|
||||
url: "/pages/index/list",
|
||||
},
|
||||
{
|
||||
activeIconUrl: "https://3d.aidigitalfield.com/imgs/room.png",
|
||||
iconUrl: "https://3d.aidigitalfield.com/imgs/room.png",
|
||||
text: "试衣间",
|
||||
url: "/pages/index/room",
|
||||
},
|
||||
{
|
||||
activeIconUrl: "https://3d.aidigitalfield.com/imgs/chat.png",
|
||||
iconUrl: "https://3d.aidigitalfield.com/imgs/chat.png",
|
||||
text: "聊天",
|
||||
url: "/pages/index/chat",
|
||||
},
|
||||
{
|
||||
activeIconUrl: "https://3d.aidigitalfield.com/imgs/my.png",
|
||||
iconUrl: "https://3d.aidigitalfield.com/imgs/my.png",
|
||||
text: "我的",
|
||||
url: "/pages/index/user",
|
||||
},
|
||||
];
|
||||
|
||||
if (tabBar?.theme) {
|
||||
appTemplate.basic.theme = tabBar?.theme;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user