pages.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/login/login", // 登录
  8. "style": {
  9. "navigationStyle": "custom", // 是否显示导航栏 default显示,custom不显示
  10. "navigationBarTitleText": "登录"
  11. }
  12. },
  13. {
  14. "path": "pages/login/apply-trial", // 申请试用
  15. "style": {
  16. "navigationStyle": "default", // 是否显示导航栏 default显示,custom不显示
  17. "navigationBarTitleText": "申请试用"
  18. }
  19. },
  20. {
  21. "path": "pages/login/forget-pass", // 忘记密码
  22. "style": {
  23. "navigationStyle": "default", // 是否显示导航栏 default显示,custom不显示
  24. "navigationBarTitleText": "忘记密码"
  25. }
  26. },
  27. {
  28. "path": "pages/login/userAuthYs", // 用户隐私政策须知
  29. "style": {
  30. "navigationStyle": "default", // 是否显示导航栏 default显示,custom不显示
  31. "navigationBarTitleText": "用户协议及隐私保护政策"
  32. }
  33. },
  34. {
  35. "path": "pages/index/index",
  36. "style": {
  37. "navigationBarTitleText": "智能巡店"
  38. }
  39. },
  40. {
  41. "path" : "pages/shopTour/shopTour",
  42. "style" : {
  43. "navigationBarTitleText": "远程巡店",
  44. "app-plus": {
  45. "bounce": "none", //关闭窗口回弹效果
  46. "titleNView": {
  47. "buttons": [ //原生标题栏按钮配置,
  48. {
  49. "text": "+考评项" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  50. "fontSize": 16,
  51. "color": "#69C0FF",
  52. "width":"100px"
  53. }
  54. ]
  55. }
  56. }
  57. }
  58. }
  59. ,{
  60. "path" : "pages/work/work",
  61. "style": {
  62. "navigationBarTitleText": "工作台"
  63. }
  64. },
  65. {
  66. "path" : "pages/siteInspection/siteInspection",
  67. "style" : {
  68. "navigationBarTitleText": "现场巡店"
  69. }
  70. },
  71. {
  72. "path" : "pages/signIn/signIn",
  73. "style" : {
  74. "navigationBarTitleText": "拍照签到"
  75. }
  76. },
  77. {
  78. "path" : "pages/shopTourOver/shopTourOver", // 现场巡店结束签字
  79. "style" : {
  80. "navigationBarTitleText": "现场巡店"
  81. }
  82. },
  83. {
  84. "path" : "pages/shopTourCompleted/shopTourCompleted", // 现场巡店-巡店完成
  85. "style" : {
  86. "navigationBarTitleText": "现场巡店"
  87. }
  88. },
  89. {
  90. "path" : "pages/myShopTour/myShopTour", // 我的巡店
  91. "style": {
  92. "navigationStyle": "custom" ,// 隐藏系统导航栏
  93. "navigationBarTextStyle": "white", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  94. "navigationBarTitleText": "预览"
  95. }
  96. },
  97. {
  98. "path" : "pages/userCenter/userCenter",
  99. "style" : {
  100. "navigationBarTitleText": "个人中心"
  101. }
  102. },
  103. {
  104. "path": "pages/userCenter/personInfo", // 我的>员工信息
  105. "style": {
  106. "navigationBarTitleText": "员工信息"
  107. }
  108. },
  109. {
  110. "path": "pages/userCenter/aboutUs", // 我的>关于我们
  111. "style": {
  112. "navigationBarTitleText": "关于我们"
  113. }
  114. },
  115. {
  116. "path": "pages/userCenter/changePwd", // 我的>修改密码
  117. "style": {
  118. "navigationBarTitleText": "修改密码"
  119. }
  120. }
  121. ],
  122. "globalStyle": {
  123. "navigationBarTitleText": "智能巡店",
  124. "navigationBarBackgroundColor":"#0b6ce0",
  125. "navigationBarTextStyle": "white",
  126. "backgroundColor": "#F8F8F8"
  127. },
  128. "tabBar": {
  129. "color": "#7A7E83",
  130. "selectedColor": "#0b6ce0",
  131. "borderStyle": "#eee",
  132. "backgroundColor": "#ffffff",
  133. "fontSize": "14px",
  134. "list": [{
  135. "pagePath": "pages/index/index",
  136. "iconPath": "static/tabbar/home.png",
  137. "selectedIconPath": "static/tabbar/home-active.png",
  138. "text": "首页"
  139. }, {
  140. "pagePath": "pages/work/work",
  141. "iconPath": "static/tabbar/work.png",
  142. "selectedIconPath": "static/tabbar/work-active.png",
  143. "text": "工作台"
  144. }, {
  145. "pagePath": "pages/userCenter/userCenter",
  146. "iconPath": "static/tabbar/user.png",
  147. "selectedIconPath": "static/tabbar/user-active.png",
  148. "text": "我的"
  149. }]
  150. }
  151. }