pages.json 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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/videoShopTour/videoShopTour", // 视频巡店
  42. "style": {
  43. "navigationBarTitleText": "视频巡店"
  44. }
  45. },
  46. {
  47. "path": "pages/searchPage/searchPage", // 搜索 - 根据门店名称搜索
  48. "style": {
  49. "navigationBarTitleText": "搜索"
  50. }
  51. },
  52. {
  53. "path": "pages/organization/organization", // 搜索 - 根据组织机构搜索
  54. "style": {
  55. "navigationBarTitleText": "搜索"
  56. }
  57. },
  58. {
  59. "path" : "pages/shopTour/shopTour",
  60. "style" : {
  61. "navigationBarTitleText": "远程巡店",
  62. "app-plus": {
  63. "bounce": "none", //关闭窗口回弹效果
  64. "titleNView": {
  65. "buttons": [ //原生标题栏按钮配置,
  66. {
  67. "text": "选择考评方案" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  68. "fontSize": 16,
  69. "color": "#eee",
  70. "width":"120px"
  71. }
  72. ]
  73. }
  74. }
  75. }
  76. },
  77. {
  78. "path" : "pages/evaluatePlan/evaluatePlan",
  79. "style": {
  80. "navigationBarTitleText": "选择考评方案"
  81. }
  82. },
  83. {
  84. "path" : "pages/evaluatePlan/planDetail",
  85. "style": {
  86. "navigationBarTitleText": "考评方案详细"
  87. }
  88. },
  89. {
  90. "path" : "pages/work/work",
  91. "style": {
  92. "navigationBarTitleText": "工作台"
  93. }
  94. },
  95. {
  96. "path" : "pages/siteInspection/siteInspection",
  97. "style" : {
  98. "navigationBarTitleText": "现场巡店"
  99. }
  100. },
  101. {
  102. "path" : "pages/signIn/signIn",
  103. "style" : {
  104. "navigationBarTitleText": "拍照签到"
  105. }
  106. },
  107. {
  108. "path" : "pages/shopTourOver/shopTourOver", // 现场巡店结束签字
  109. "style" : {
  110. "navigationBarTitleText": "现场巡店"
  111. }
  112. },
  113. {
  114. "path" : "pages/shopTourCompleted/shopTourCompleted", // 现场巡店-巡店完成
  115. "style" : {
  116. "navigationBarTitleText": "现场巡店"
  117. }
  118. },
  119. {
  120. "path" : "pages/myShopTour/myShopTour", // 我的巡店
  121. "style": {
  122. "navigationStyle": "custom" ,// 隐藏系统导航栏
  123. "navigationBarTextStyle": "white", // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  124. "navigationBarTitleText": "我的巡店"
  125. }
  126. },
  127. {
  128. "path" : "pages/shopTourRecord/shopTourRecord", // 巡店记录
  129. "style" : {
  130. "navigationBarTitleText": "巡店记录"
  131. }
  132. },
  133. {
  134. "path" : "pages/shopTourDetails/shopTourDetails", // 现场巡店-巡店详情
  135. "style" : {
  136. "navigationBarTitleText": "巡店详情"
  137. }
  138. },
  139. {
  140. "path" : "pages/spotCheckDetails/spotCheckDetails", // 点检详情
  141. "style" : {
  142. "navigationBarTitleText": "点检详情"
  143. }
  144. },
  145. {
  146. "path" : "pages/spotCheckConfigure/spotCheckList",
  147. "style": {
  148. "navigationStyle": "custom", // 是否显示导航栏 default显示,custom不显示
  149. "navigationBarTitleText": "点检任务配置",
  150. "app-plus":{
  151. "titleView":false,
  152. // 将回弹属性关掉
  153. "bounce":"none"
  154. }
  155. }
  156. },
  157. {
  158. "path" : "pages/spotCheckConfigure/addSpotCheck",
  159. "style": {
  160. "navigationBarTitleText": "新增点检任务"
  161. }
  162. },
  163. {
  164. "path" : "pages/userCenter/userCenter",
  165. "style" : {
  166. "navigationBarTitleText": "个人中心"
  167. }
  168. },
  169. {
  170. "path": "pages/userCenter/personInfo", // 我的>员工信息
  171. "style": {
  172. "navigationBarTitleText": "员工信息"
  173. }
  174. },
  175. {
  176. "path": "pages/userCenter/aboutUs", // 我的>关于我们
  177. "style": {
  178. "navigationBarTitleText": "关于我们"
  179. }
  180. },
  181. {
  182. "path": "pages/userCenter/changePwd", // 我的>修改密码
  183. "style": {
  184. "navigationBarTitleText": "修改密码"
  185. }
  186. }
  187. ,{
  188. "path" : "pages/userCenter/viewStores",
  189. "style" : {
  190. "navigationBarTitleText": "可点检门店"
  191. }
  192. },
  193. {
  194. "path": "pages/toDoList/toDoList", // 待办单>待办单列表
  195. "style": {
  196. "navigationStyle": "custom" ,// 隐藏系统导航栏
  197. "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  198. }
  199. }
  200. ,{
  201. "path" : "pages/spotCheckCenter/spotChecking",
  202. "style" : {
  203. "navigationBarTitleText": "点检中心"
  204. }
  205. }
  206. ,{
  207. "path" : "pages/spotCheckCenter/spotCheckResult",
  208. "style" : {
  209. "navigationBarTitleText": "点检结果"
  210. }
  211. }
  212. ],
  213. "globalStyle": {
  214. "navigationBarTitleText": "智能巡店",
  215. "navigationBarBackgroundColor":"#0b6ce0",
  216. "navigationBarTextStyle": "white",
  217. "backgroundColor": "#F8F8F8"
  218. },
  219. "tabBar": {
  220. "color": "#7A7E83",
  221. "selectedColor": "#0b6ce0",
  222. "borderStyle": "#eee",
  223. "backgroundColor": "#ffffff",
  224. "fontSize": "14px",
  225. "list": [{
  226. "pagePath": "pages/index/index",
  227. "iconPath": "static/tabbar/home.png",
  228. "selectedIconPath": "static/tabbar/home-active.png",
  229. "text": "首页"
  230. }, {
  231. "pagePath": "pages/work/work",
  232. "iconPath": "static/tabbar/work.png",
  233. "selectedIconPath": "static/tabbar/work-active.png",
  234. "text": "工作台"
  235. }, {
  236. "pagePath": "pages/userCenter/userCenter",
  237. "iconPath": "static/tabbar/user.png",
  238. "selectedIconPath": "static/tabbar/user-active.png",
  239. "text": "我的"
  240. }]
  241. }
  242. }