123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- {
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/login",
- "style": {
- "navigationBarTitleText": "",
- "componentPlaceholder": {
- "uni-badge": "view" // 使用 view 组件临时占位
- }
- }
- },
- {
- "path": "pages/index/index",
- "style": {
- "navigationStyle": "custom",
- "componentPlaceholder": {
- "uni-badge": "view",
- "uni-grid-item": "view" ,// 添加这一行
- "uni-grid":"view",
- "uni-card":"view",
- "custom-navbar":"view",
- "kaoshixuzhi":"view"
- }
- }
- },
- {
- "path": "pages/exam/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/my/index",
- "style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/my/mesList",
- "style": {
- "navigationBarTitleText": "消息"
- }
- },
- {
- "path": "pages/my/zhengshu",
- "style": {
- "navigationBarTitleText": "证书"
- }
- },
- {
- "path": "pages/my/setting",
- "style": {
- "navigationBarTitleText": "设置"
- }
- },
- {
- "path": "pages/demo/index",
- "style": {
- "navigationBarTitleText": "demo"
- }
- },
- {
- "path": "pages/course/index",
- "style": {
- "navigationBarTitleText": "课程"
- }
- },
- {
- "path": "pages/course/kechengInfo",
- "style": {
- "navigationBarTitleText": "课程详情"
- }
- },
- {
- "path": "pages/score/index",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/score/kaoshiChengjiInfo",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/exam/exam",
- "style": {
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/lianxi/index",
- "style": {
- "navigationBarTitleText": "练习"
- }
- },
- {
- "path": "pages/lianxi/lianxi",
- "style": {
- "navigationBarTitleText": ""
- }
- },
- {
- "path": "pages/baoming/index",
- "style": {
- "navigationBarTitleText": "报名"
- }
- },
- {
- "path": "pages/cuoti/index",
- "style": {
- "navigationBarTitleText": "错题"
- }
- },
- {
- "path": "pages/cuoti/cuoti",
- "style": {
- "navigationBarTitleText": "错题答案"
- }
- },
- {
- "path": "pages/my/mesPage",
- "style": {
- "navigationBarTitleText": "消息详情"
- }
- },
- {
- "path": "pages/my/credit",
- "style": {
- "navigationBarTitleText": "学分"
- }
- }
- ],
- "subPackages": [
- // 声明 uni_modules 分包
- {
- "root": "uni_modules", // 将 uni_modules 作为分包根目录
- "name": "uni-components",
- "pages": [] // 此分包通常不包含页面,仅存放组件
- },
- {
- "root": "components", // 将 components 作为分包根目录
- "name": "cus-components",
- "pages": [] // 此分包通常不包含页面,仅存放组件
- },
- {
- "root": "subpack", // 将 uni_modules 作为分包根目录
- "name": "copy-modules",
- "pages": [] // 此分包通常不包含页面,仅存放组件
- }
- ],
- "easycom": {
- "autoscan": true,
- "custom": {
- // 为符合 easycom 规则的 uni_modules 组件配置路径
- // 请根据你的组件实际路径结构调整 `@/subpackages/uni-modules/uni_modules/` 后的路径
- "^uni-(.*)$": "@/uni_modules/uni-$1/components/uni-$1/uni-$1.vue"
- }
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "麦塔软件",
- "navigationBarBackgroundColor": "#fff"
- },
- "tabBar": {
- "color": "#565656",
- "selectedColor": "#0856E6",
- "borderStyle": "black",
- "backgroundColor": "#ffffff",
- "fontSize": "13px",
- "iconWidth": "28px",
- "spacing": "0px",
- "list": [{
- "pagePath": "pages/index/index",
- "iconPath": "static/images/tabbar/unselect/index-sj.png",
- "selectedIconPath": "static/images/tabbar/select/index-sj.png",
- "text": "首页"
- }, {
- "pagePath": "pages/exam/index",
- "iconPath": "static/images/tabbar/unselect/exam-sj.png",
- "selectedIconPath": "static/images/tabbar/select/exam-sj.png",
- "text": "考试"
- },
- {
- "pagePath": "pages/score/index",
- "iconPath": "static/images/tabbar/unselect/score-sj.png",
- "selectedIconPath": "static/images/tabbar/select/score-sj.png",
- "text": "成绩"
- }, {
- "pagePath": "pages/my/index",
- "iconPath": "static/images/tabbar/unselect/my-sj.png",
- "selectedIconPath": "static/images/tabbar/select/my-sj.png",
- "text": "我的"
- }
- ]
- },
- "uniIdRouter": {}
- }
|