Merge pull request '修改tabbar报错' (#6) from dengjie into dev

Reviewed-on: http://git.hchyun.com/feashow/pupil/pulls/6
This commit is contained in:
odjbin
2022-12-07 09:09:16 +00:00
2 changed files with 36 additions and 12 deletions

View File

@@ -51,32 +51,32 @@
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabbar/sy_icon_syh.png",
"selectedIconPath": "static/tabbar/sy_icon_sy(1).png"
"iconPath": "static/tabBar/sy_icon_syh.png",
"selectedIconPath": "static/tabBar/sy_icon_sy(1).png"
},
{
"pagePath": "pages/report/report",
"text": "行业报告",
"iconPath": "static/tabbar/sy_icon_hyh.png",
"selectedIconPath": "static/tabbar/sy_icon_sy.png"
"iconPath": "static/tabBar/sy_icon_hyh.png",
"selectedIconPath": "static/tabBar/sy_icon_sy.png"
},
{
"pagePath": "pages/ideasAndNeeds/ideasAndNeeds",
"text": "创意&需求",
"iconPath": "static/tabbar/sy_icon_cyh.png",
"selectedIconPath": "static/tabbar/sy_icon_cy.png"
"iconPath": "static/tabBar/sy_icon_cyh.png",
"selectedIconPath": "static/tabBar/sy_icon_cy.png"
},
{
"pagePath": "pages/product/product",
"text": "产品分类",
"iconPath": "static/tabbar/sy_icon_cph.png",
"selectedIconPath": "static/tabbar/sy_icon_cp.png"
"iconPath": "static/tabBar/sy_icon_cph.png",
"selectedIconPath": "static/tabBar/sy_icon_cp.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/tabbar/sy_icon_wdh.png",
"selectedIconPath": "static/tabbar/sy_icon_wd.png"
"iconPath": "static/tabBar/sy_icon_wdh.png",
"selectedIconPath": "static/tabBar/sy_icon_wd.png"
}
]
},
@@ -86,5 +86,13 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
"uniIdRouter": {},
"condition": { //模式配置,仅开发期间生效
"current": 0, //当前激活的模式(list 的索引项)
"list": [{
"name": "", //模式名称
"path": "", //启动页面,必选
"query": "" //启动参数在页面的onLoad函数里面得到
}]
}
}

View File

@@ -1,6 +1,22 @@
<!-- 首页 -->
<template>
<view>
首页
首页1111
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>