pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  4. //"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue",
  5. "^vue-file-(.*)": "packageName/path/to/vue-file-$1.vue", // 匹配node_modules内的vue文件
  6. "^z-(.*)": "@/uni_modules/zebra-swiper/components/z-$1/z-$1.vue"
  7. },
  8. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  9. {
  10. "path": "pages/common/launch",
  11. "style": {
  12. "navigationBarBackgroundColor": "#ffffff",
  13. "navigationBarTitleText": ""
  14. }
  15. },
  16. {
  17. "path": "pages/index/index",
  18. "aliasPath": "/",
  19. "name": "home",
  20. "style": {
  21. "navigationBarBackgroundColor": "#FF5C03",
  22. "navigationBarTextStyle": "black",
  23. "scrollIndicator": "none",
  24. "navigationBarTitleText": "",
  25. "enablePullDownRefresh": false,
  26. "backgroundColor": "#f7f7f7",
  27. "backgroundColorTop": "#ffffff",
  28. "bounce": "none",
  29. "titleNView": false,
  30. "navigationStyle": "custom"
  31. }
  32. },
  33. {
  34. "path": "pages/device/tongue/index",
  35. "aliasPath": "/",
  36. "name": "home",
  37. "style": {
  38. //"navigationBarBackgroundColor": "#FF5C03",
  39. "navigationBarTextStyle": "black",
  40. "scrollIndicator": "none",
  41. "navigationBarTitleText": "",
  42. "enablePullDownRefresh": false,
  43. "backgroundColor": "#f7f7f7",
  44. "backgroundColorTop": "#ffffff",
  45. "bounce": "none",
  46. "titleNView": false,
  47. "navigationStyle": "custom"
  48. }
  49. },
  50. {
  51. "path": "pages/device/tongue/indexOld",
  52. "aliasPath": "/",
  53. "name": "home",
  54. "style": {
  55. "navigationBarBackgroundColor": "#FF5C03",
  56. "navigationBarTextStyle": "black",
  57. "scrollIndicator": "none",
  58. "navigationBarTitleText": "",
  59. "enablePullDownRefresh": false,
  60. "backgroundColor": "#f7f7f7",
  61. "backgroundColorTop": "#ffffff",
  62. "bounce": "none",
  63. "titleNView": false,
  64. "navigationStyle": "custom"
  65. }
  66. },
  67. {
  68. "path": "pages/device/tongue/facePhoto",
  69. "aliasPath": "/",
  70. "name": "home",
  71. "style": {
  72. "navigationBarBackgroundColor": "#FF5C03",
  73. "navigationBarTextStyle": "black",
  74. "scrollIndicator": "none",
  75. "navigationBarTitleText": "",
  76. "enablePullDownRefresh": false,
  77. "backgroundColor": "#f7f7f7",
  78. "backgroundColorTop": "#ffffff",
  79. "bounce": "none",
  80. "titleNView": false,
  81. "navigationStyle": "custom"
  82. }
  83. },
  84. {
  85. "path": "pages/device/pulse/index",
  86. "aliasPath": "/",
  87. "name": "home",
  88. "style": {
  89. // "navigationBarBackgroundColor": "#FF5C03",
  90. "navigationBarTextStyle": "black",
  91. // "scrollIndicator": "none",
  92. "navigationBarTitleText": "",
  93. "enablePullDownRefresh": false,
  94. "backgroundColor": "#f7f7f7",
  95. "backgroundColorTop": "#ffffff",
  96. "bounce": "none",
  97. "titleNView": false,
  98. "navigationStyle": "custom"
  99. }
  100. },
  101. {
  102. "path": "pages/device/pulse/transition",
  103. "style": {
  104. "navigationBarTitleText": "动画",
  105. "navigationStyle": "custom",
  106. "enablePullDownRefresh": false,
  107. "navigationBarBackgroundColor": "#ffffff",
  108. "scrollIndicator": "none",
  109. "bounce": "none",
  110. "navigationBarTextStyle": "black"
  111. }
  112. },
  113. // {
  114. // "path": "pages/auth/login",
  115. // "aliasPath": "/",
  116. // "name": "login",
  117. // "meta": {
  118. // "title": "登录"
  119. // },
  120. // "style": {
  121. // "navigationBarTitleText": "登录",
  122. // "navigationBarTextStyle": "black",
  123. // "titleNView": false,
  124. // "navigationStyle": "custom",
  125. // "app-plus": {
  126. // "popGesture": "none", //"close"(启用侧滑返回)、"none"(禁用侧滑返回)
  127. // "bounce": "none" //页面回弹效果,设置为 "none" 时关闭效果。
  128. // }
  129. // }
  130. // },
  131. {
  132. "path": "pages/auth/loginIndex",
  133. "style": {
  134. "navigationBarTitleText": "登录",
  135. "navigationBarTextStyle": "black",
  136. "navigationStyle": "custom",
  137. "app-plus": {
  138. "popGesture": "none",
  139. "bounce": "none"
  140. }
  141. }
  142. },
  143. {
  144. "path": "pages/index/h5",
  145. "style": {
  146. "navigationBarTextStyle": "black",
  147. "scrollIndicator": "none",
  148. "bounce": "none",
  149. "enablePullDownRefresh": false,
  150. "backgroundColor": "#f7f7f7",
  151. "backgroundColorTop": "#ffffff"
  152. }
  153. },
  154. {
  155. "path": "pages/index/error",
  156. "style": {
  157. "navigationBarTitleText": "系统报错",
  158. "navigationStyle": "custom",
  159. "enablePullDownRefresh": false,
  160. "navigationBarBackgroundColor": "#ffffff",
  161. "scrollIndicator": "none",
  162. "bounce": "none",
  163. "navigationBarTextStyle": "black"
  164. }
  165. },
  166. {
  167. "path": "pages/index/agreement",
  168. "style": {
  169. "navigationBarTitleText": "用户协议",
  170. "navigationStyle": "custom",
  171. "enablePullDownRefresh": false,
  172. "navigationBarBackgroundColor": "#ffffff",
  173. "scrollIndicator": "none",
  174. "bounce": "none",
  175. "navigationBarTextStyle": "black"
  176. }
  177. },
  178. {
  179. "path": "pages/index/loading",
  180. "style": {
  181. "navigationBarTitleText": "分析中",
  182. "navigationStyle": "custom",
  183. "enablePullDownRefresh": false,
  184. "navigationBarBackgroundColor": "#ffffff",
  185. "scrollIndicator": "none",
  186. "bounce": "none",
  187. "navigationBarTextStyle": "black"
  188. }
  189. },
  190. {
  191. "path": "pages/user/myUserList",
  192. "style": {
  193. "navigationBarTitleText": "客户管理",
  194. "navigationStyle": "custom",
  195. "enablePullDownRefresh": false,
  196. "navigationBarBackgroundColor": "#ffffff",
  197. "navigationBarTextStyle": "black",
  198. "app-plus": {
  199. "bounce": "none",
  200. "popGesture": "none"
  201. }
  202. }
  203. },
  204. {
  205. "path": "pages/user/userInfo",
  206. "style": {
  207. "navigationBarTitleText": "个人信息",
  208. "navigationStyle": "custom",
  209. "enablePullDownRefresh": false,
  210. "navigationBarBackgroundColor": "#ffffff",
  211. "scrollIndicator": "none",
  212. "bounce": "none",
  213. "navigationBarTextStyle": "black"
  214. }
  215. },
  216. {
  217. "path": "pages/user/success",
  218. "style": {
  219. "navigationBarTitleText": "提交成功",
  220. "navigationStyle": "custom",
  221. "enablePullDownRefresh": false,
  222. "navigationBarBackgroundColor": "#ffffff",
  223. "scrollIndicator": "none",
  224. "bounce": "none",
  225. "navigationBarTextStyle": "black"
  226. }
  227. },
  228. {
  229. "path": "pages/user/question",
  230. "style": {
  231. "navigationBarTitleText": "问诊",
  232. "navigationStyle": "custom",
  233. "enablePullDownRefresh": false,
  234. "navigationBarBackgroundColor": "#ffffff",
  235. "scrollIndicator": "none",
  236. "bounce": "none",
  237. "navigationBarTextStyle": "black"
  238. }
  239. },
  240. {
  241. "path": "pages/user/healthReport",
  242. "style": {
  243. "navigationBarTitleText": "健康报告",
  244. "navigationStyle": "custom",
  245. "enablePullDownRefresh": false,
  246. "navigationBarBackgroundColor": "#ffffff",
  247. "scrollIndicator": "none",
  248. "bounce": "none",
  249. "navigationBarTextStyle": "black"
  250. }
  251. },
  252. {
  253. "path": "pages/user/healthReportOld",
  254. "style": {
  255. "navigationBarTitleText": "健康报告",
  256. "navigationStyle": "custom",
  257. "enablePullDownRefresh": false,
  258. "navigationBarBackgroundColor": "#ffffff",
  259. "scrollIndicator": "none",
  260. "bounce": "none",
  261. "navigationBarTextStyle": "black"
  262. }
  263. },
  264. // {
  265. // "path": "pages/auth/h5WxLogin",
  266. // "style": {
  267. // "navigationBarTitleText": "微信授权登录",
  268. // "navigationBarTextStyle": "black",
  269. // "navigationBarBackgroundColor": "#ffffff"
  270. // }
  271. // // },
  272. // {
  273. // "path": "pages/device/tongue/indexOld",
  274. // "style": {
  275. // "navigationBarTitleText": "舌诊",
  276. // "navigationBarTextStyle": "black",
  277. // "navigationStyle": "custom",
  278. // "scrollIndicator": "none",
  279. // "titleNView": false,
  280. // "enablePullDownRefresh": false,
  281. // "app-plus": {
  282. // "bounce": "none"
  283. // }
  284. // }
  285. // },
  286. {
  287. "path": "pages/device/tongue/ques",
  288. "style": {
  289. "navigationBarTitleText": "使用教程",
  290. "enablePullDownRefresh": false,
  291. "navigationBarBackgroundColor": "#ffffff",
  292. "navigationBarTextStyle": "black",
  293. "scrollIndicator": "none",
  294. "app-plus": {
  295. "bounce": "none"
  296. }
  297. }
  298. }, {
  299. "path": "pages/device/tongue/photoPreview",
  300. "style": {
  301. "navigationBarTitleText": "",
  302. "navigationBarTextStyle": "black",
  303. "navigationStyle": "custom",
  304. "scrollIndicator": "none",
  305. "titleNView": false,
  306. "enablePullDownRefresh": false,
  307. "app-plus": {
  308. "bounce": "none"
  309. }
  310. }
  311. }, {
  312. "path": "pages/device/tongue/tongueList",
  313. "style": {
  314. "navigationBarTitleText": "舌诊记录",
  315. "enablePullDownRefresh": false,
  316. "navigationBarBackgroundColor": "#ffffff",
  317. "navigationBarTextStyle": "black",
  318. "scrollIndicator": "none",
  319. "app-plus": {
  320. "bounce": "none"
  321. }
  322. }
  323. }, {
  324. "path": "pages/device/tongue/report",
  325. "style": {
  326. "navigationBarTitleText": "舌诊记录",
  327. "enablePullDownRefresh": false,
  328. "navigationBarBackgroundColor": "#ffffff",
  329. "navigationBarTextStyle": "black",
  330. "scrollIndicator": "none",
  331. "navigationStyle": "custom",
  332. "app-plus": {
  333. "bounce": "none"
  334. }
  335. }
  336. },
  337. {
  338. "path": "pages/device/tongue/test",
  339. "style": {
  340. "navigationBarTitleText": "摄像头",
  341. "navigationBarTextStyle": "black"
  342. }
  343. },
  344. {
  345. "path": "pages/device/tongue/testCameraAuto",
  346. "style": {
  347. "navigationBarTitleText": "摄像头自动变焦",
  348. "navigationBarTextStyle": "black"
  349. }
  350. },
  351. // {
  352. // "path": "pages/index/typulse",
  353. // "style": {
  354. // "navigationBarTitleText": "脉诊测试",
  355. // "navigationBarTextStyle": "black",
  356. // "navigationStyle": "custom",
  357. // "enablePullDownRefresh": false,
  358. // "navigationBarBackgroundColor": "#ffffff",
  359. // "scrollIndicator": "none",
  360. // "app-plus": {
  361. // "popGesture": "none",
  362. // "bounce": "none"
  363. // }
  364. // }
  365. // },
  366. {
  367. "path": "pages/index/smdtManager/smdtManager",
  368. "style": {
  369. "navigationBarTitleText": "smdt平板设备",
  370. "navigationBarTextStyle": "black",
  371. "enablePullDownRefresh": false,
  372. "navigationBarBackgroundColor": "#ffffff"
  373. }
  374. }
  375. ],
  376. "globalStyle": {
  377. "autoscan": true,
  378. "navigationBarTextStyle": "white",
  379. "navigationBarTitleText": "",
  380. "navigationBarBackgroundColor": "#ffffff",
  381. "backgroundColor": "#f7f7f7",
  382. "backgroundColorTop": "#f7f7f7",// iOS APP真机bounce回弹区域默认灰色,建议统一重置为白色
  383. "pageOrientation": "auto"
  384. },
  385. "uniIdRouter": {},
  386. "subPackages": [
  387. {
  388. "root": "pages/user/healthRecords",
  389. "pages": [{
  390. "path": "index",
  391. "style": {
  392. "navigationBarTitleText": "健康档案",
  393. "navigationStyle": "custom",
  394. "app-plus": {
  395. "bounce": "none"
  396. }
  397. }
  398. },
  399. {
  400. "path": "add",
  401. "style": {
  402. "navigationBarTitleText": "快速填写健康档案",
  403. "navigationBarTextStyle": "black"
  404. }
  405. },
  406. {
  407. "path": "edit",
  408. "style": {
  409. "navigationBarTitleText": "",
  410. "navigationBarTextStyle": "black",
  411. "navigationBarBackgroundColor": "#ffffff"
  412. }
  413. }
  414. ]
  415. }
  416. ],
  417. "tabBar": {
  418. "color": "#9BA0AA",
  419. "selectedColor": "#191A1B",
  420. "borderStyle": "white",
  421. "backgroundColor": "#ffffff",
  422. "height": "64px",
  423. "fontSize": "12px",
  424. "iconWidth": "20px",
  425. "spacing": "4px",
  426. "list": [
  427. // {
  428. // "pagePath": "pages/index/index",
  429. // "iconPath": "/static/image/tabbar/tab_home_icon.png",
  430. // "selectedIconPath": "/static/image/tabbar/tab_home_on_iconx.png",
  431. // "text": "首页"
  432. // }
  433. ]
  434. }
  435. }