pages.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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. "navigationStyle": "custom", // 隐藏系统导航栏
  50. "navigationBarTextStyle": "black" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  51. }
  52. },
  53. {
  54. "path": "pages/organization/organization",
  55. "style": {
  56. "navigationBarTitleText": "查询"
  57. }
  58. },
  59. {
  60. "path": "pages/shopTour/shopTour",
  61. "style": {
  62. "navigationBarTitleText": "远程巡店",
  63. "app-plus": {
  64. "bounce": "none", //关闭窗口回弹效果
  65. "titleNView": {
  66. "buttons": [ //原生标题栏按钮配置,
  67. {
  68. "text": "\ue610 考评方案", //原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  69. "fontSize": 16,
  70. "color": "#eee",
  71. "width": "120px",
  72. "fontSrc": "/static/iconfont/iconfont.ttf"
  73. }
  74. ]
  75. }
  76. }
  77. }
  78. },
  79. {
  80. "path": "pages/evaluatePlan/evaluatePlan",
  81. "style": {
  82. "navigationBarTitleText": "选择考评方案"
  83. }
  84. },
  85. {
  86. "path": "pages/evaluatePlan/planDetail",
  87. "style": {
  88. "navigationBarTitleText": "考评方案详细"
  89. }
  90. },
  91. {
  92. "path": "pages/work/work",
  93. "style": {
  94. "navigationBarTitleText": "工作台"
  95. }
  96. },
  97. {
  98. "path": "pages/siteInspection/siteInspection",
  99. "style": {
  100. "navigationBarTitleText": "现场巡店"
  101. }
  102. },
  103. {
  104. "path": "pages/signIn/signIn",
  105. "style": {
  106. "navigationBarTitleText": "拍照签到"
  107. }
  108. },
  109. {
  110. "path": "pages/shopTourOver/shopTourOver", // 现场巡店结束签字
  111. "style": {
  112. "navigationBarTitleText": "签字"
  113. }
  114. },
  115. {
  116. "path": "pages/shopTourCompleted/shopTourCompleted", // 现场巡店-巡店完成
  117. "style": {
  118. "navigationBarTitleText": "巡店完成"
  119. }
  120. },
  121. {
  122. "path": "pages/myShopTour/myShopTour", // 我的巡店
  123. "style": {
  124. "navigationBarTitleText": "我的巡店",
  125. "app-plus": {
  126. "bounce": "none", //关闭窗口回弹效果
  127. "titleNView": {
  128. "buttons": [ //原生标题栏按钮配置,
  129. {
  130. "text": "\ue67c 筛选", //原生标题栏增加过滤按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  131. "fontSize": 16,
  132. "color": "#eee",
  133. "width": "80px",
  134. "fontSrc": "/static/iconfont/iconfont.ttf"
  135. }
  136. ]
  137. }
  138. }
  139. }
  140. },
  141. {
  142. "path": "pages/shopTourRecord/shopTourRecord", // 巡店记录
  143. "style": {
  144. "navigationBarTitleText": "巡店记录"
  145. }
  146. },
  147. {
  148. "path": "pages/shopTourDetails/shopTourDetails", // 现场巡店-巡店详情
  149. "style": {
  150. "navigationBarTitleText": "巡店详情"
  151. }
  152. },
  153. {
  154. "path": "pages/spotCheckCenter/spotChecking",
  155. "style": {
  156. "navigationBarTitleText": "点检中心"
  157. }
  158. }, {
  159. "path": "pages/spotCheckCenter/spotCheckResult",
  160. "style": {
  161. "navigationBarTitleText": "点检结果"
  162. }
  163. },
  164. {
  165. "path" : "pages/userCenter/viewStores",
  166. "style" : {
  167. "navigationBarTitleText": "可点检门店"
  168. }
  169. },
  170. {
  171. "path": "pages/spotCheckConfigure/spotCheckList",
  172. "style": {
  173. "navigationBarTitleText": "点检任务配置",
  174. "app-plus": {
  175. "scrollIndicator": "none",
  176. "titleNView": {
  177. "buttons": [ //原生标题栏按钮配置,
  178. {
  179. "text": "\ue610 新增", //原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  180. "fontSize": 16,
  181. "color": "#eee",
  182. "width": "90px",
  183. "fontSrc": "/static/iconfont/iconfont.ttf"
  184. }
  185. ]
  186. }
  187. }
  188. }
  189. },
  190. {
  191. "path": "pages/spotCheckConfigure/addSpotCheck",
  192. "style": {
  193. "navigationBarTitleText": "新增点检任务"
  194. }
  195. },
  196. {
  197. "path": "pages/spotCheckConfigure/spotCheckDetail/spotCheckDetail",
  198. "style": {
  199. "navigationBarTitleText": "点检任务详情"
  200. }
  201. },
  202. {
  203. "path": "pages/spotCheckConfigure/spotCheckDetail/evaluateItemDetail",
  204. "style": {
  205. "navigationBarTitleText": "考评指标详情"
  206. }
  207. },
  208. {
  209. "path": "pages/spotCheckConfigure/spotCheckDetail/evaluateStoreDetail",
  210. "style": {
  211. "navigationBarTitleText": "考评门店详情"
  212. }
  213. },
  214. {
  215. "path": "pages/spotCheckConfigure/evaluateItem",
  216. "style": {
  217. "navigationBarTitleText": "考评指标"
  218. }
  219. },
  220. {
  221. "path": "pages/spotCheckConfigure/evaluateStore",
  222. "style": {
  223. "navigationBarTitleText": "考评门店"
  224. }
  225. },
  226. {
  227. "path": "pages/userCenter/userCenter",
  228. "style": {
  229. "navigationBarTitleText": "个人中心"
  230. }
  231. },
  232. {
  233. "path": "pages/userCenter/personInfo", // 我的>个人信息
  234. "style": {
  235. "navigationBarTitleText": "个人信息"
  236. }
  237. },
  238. {
  239. "path": "pages/userCenter/aboutUs", // 我的>关于我们
  240. "style": {
  241. "navigationBarTitleText": "关于我们"
  242. }
  243. },
  244. {
  245. "path": "pages/userCenter/changePwd", // 我的>修改密码
  246. "style": {
  247. "navigationBarTitleText": "修改密码"
  248. }
  249. },
  250. {
  251. "path": "pages/toDoList/toDoList", // 待办单 > 待办单列表
  252. "style": {
  253. "navigationStyle": "custom", // 隐藏系统导航栏
  254. "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
  255. }
  256. },
  257. {
  258. "path": "pages/toDoList/backlogDetail", // 待办单 > 问题详情
  259. "style": {
  260. "navigationBarTitleText": "问题详情"
  261. }
  262. },
  263. {
  264. "path": "pages/toDoList/addBacklog", // 待办单 > 创建问题
  265. "style": {
  266. "navigationBarTitleText": "创建问题"
  267. }
  268. },
  269. {
  270. "path": "pages/toDoList/choosePutUser", // 待办单 > 选择处理人
  271. "style": {
  272. "navigationBarTitleText": "选择处理人"
  273. }
  274. },
  275. {
  276. "path": "pages/toDoList/chooseReceiveUser", // 待办单 > 选择抄送人
  277. "style": {
  278. "navigationBarTitleText": "选择抄送人"
  279. }
  280. }
  281. ,{
  282. "path" : "pages/spotCheck/spotCheck",
  283. "style" : {
  284. "navigationBarTitleText": "开始点检"
  285. }
  286. }
  287. ],
  288. "globalStyle": {
  289. "navigationBarTitleText": "智能巡店",
  290. "navigationBarBackgroundColor": "#0b6ce0",
  291. "navigationBarTextStyle": "white",
  292. "backgroundColor": "#F8F8F8",
  293. "app-plus": {
  294. // 将回弹属性关掉
  295. "bounce": "none"
  296. }
  297. },
  298. "tabBar": {
  299. "color": "#7A7E83",
  300. "selectedColor": "#0b6ce0",
  301. "borderStyle": "#eee",
  302. "backgroundColor": "#ffffff",
  303. "fontSize": "14px",
  304. "list": [{
  305. "pagePath": "pages/index/index",
  306. "iconPath": "static/tabbar/home.png",
  307. "selectedIconPath": "static/tabbar/home-active.png",
  308. "text": "首页"
  309. }, {
  310. "pagePath": "pages/work/work",
  311. "iconPath": "static/tabbar/work.png",
  312. "selectedIconPath": "static/tabbar/work-active.png",
  313. "text": "工作台"
  314. }, {
  315. "pagePath": "pages/userCenter/userCenter",
  316. "iconPath": "static/tabbar/user.png",
  317. "selectedIconPath": "static/tabbar/user-active.png",
  318. "text": "我的"
  319. }]
  320. }
  321. }