|
[开发工具]
apicloud studio 3 实时预览时不显示tabbar底部导航栏
[复制链接]
apicloud studio 3 实时预览时不显示tabbar底部导航栏,但在apploader里可以正常显示,如何才能让其正常显示。项目为通用模板:线上服饰,通过config.json 配置的tabbar
- {
- "name": "root",
- "tabBar": {
- "scrollEnabled": false,
- "background": "#fff",
- "shadow": "#f1f1f1",
- "color": "#aaa",
- "selectedColor": "#FF7037",
- "preload": 0,
- "frames": [{
- "name": "page1",
- "url": "pages/main/main.stml",
- "title": "首页"
- }, {
- "name": "page2",
- "url": "pages/sort/sort.stml",
- "title": "分类1"
- }, {
- "name": "page3",
- "url": "pages/cart/cart.stml",
- "title": "购物车"
- }, {
- "name": "page4",
- "url": "pages/user/user.stml",
- "title": "我的"
- }],
- "list": [{
- "text": "首页",
- "iconPath": "images/common/main1_1.png",
- "selectedIconPath": "images/common/main1.png"
- }, {
- "text": "分类1",
- "iconPath": "images/common/main2_1.png",
- "selectedIconPath": "images/common/main2.png"
- }, {
- "text": "购物车",
- "iconPath": "images/common/main3_1.png",
- "selectedIconPath": "images/common/main3.png"
- }, {
- "text": "我的",
- "iconPath": "images/common/main4_1.png",
- "selectedIconPath": "images/common/main4.png"
- }]
- }
- }
-
复制代码
|
|