pages.json 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  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/auth/login",
  103. // "aliasPath": "/",
  104. // "name": "login",
  105. // "meta": {
  106. // "title": "登录"
  107. // },
  108. // "style": {
  109. // "navigationBarTitleText": "登录",
  110. // "navigationBarTextStyle": "black",
  111. // "titleNView": false,
  112. // "navigationStyle": "custom",
  113. // "app-plus": {
  114. // "popGesture": "none", //"close"(启用侧滑返回)、"none"(禁用侧滑返回)
  115. // "bounce": "none" //页面回弹效果,设置为 "none" 时关闭效果。
  116. // }
  117. // }
  118. // },
  119. {
  120. "path": "pages/auth/loginIndex",
  121. "style": {
  122. "navigationBarTitleText": "登录",
  123. "navigationBarTextStyle": "black",
  124. "navigationStyle": "custom",
  125. "app-plus": {
  126. "popGesture": "none",
  127. "bounce": "none"
  128. }
  129. }
  130. },
  131. {
  132. "path": "pages/index/h5",
  133. "style": {
  134. "navigationBarTextStyle": "black",
  135. "scrollIndicator": "none",
  136. "bounce": "none",
  137. "enablePullDownRefresh": false,
  138. "backgroundColor": "#f7f7f7",
  139. "backgroundColorTop": "#ffffff"
  140. }
  141. },
  142. {
  143. "path": "pages/user/myUserList",
  144. "style": {
  145. "navigationBarTitleText": "客户管理",
  146. "navigationStyle": "custom",
  147. "enablePullDownRefresh": false,
  148. "navigationBarBackgroundColor": "#ffffff",
  149. "navigationBarTextStyle": "black",
  150. "app-plus": {
  151. "bounce": "none",
  152. "popGesture": "none"
  153. }
  154. }
  155. },
  156. {
  157. "path": "pages/user/userInfo",
  158. "style": {
  159. "navigationBarTitleText": "个人信息",
  160. "enablePullDownRefresh": false,
  161. "navigationBarBackgroundColor": "#ffffff",
  162. "scrollIndicator": "none",
  163. "bounce": "none",
  164. "navigationBarTextStyle": "black"
  165. }
  166. },
  167. {
  168. "path": "pages/user/healthReport",
  169. "style": {
  170. "navigationBarTitleText": "健康报告",
  171. "navigationStyle": "custom",
  172. "enablePullDownRefresh": false,
  173. "navigationBarBackgroundColor": "#ffffff",
  174. "scrollIndicator": "none",
  175. "bounce": "none",
  176. "navigationBarTextStyle": "black"
  177. }
  178. },
  179. // {
  180. // "path": "pages/auth/h5WxLogin",
  181. // "style": {
  182. // "navigationBarTitleText": "微信授权登录",
  183. // "navigationBarTextStyle": "black",
  184. // "navigationBarBackgroundColor": "#ffffff"
  185. // }
  186. // // },
  187. // {
  188. // "path": "pages/device/tongue/indexOld",
  189. // "style": {
  190. // "navigationBarTitleText": "舌诊",
  191. // "navigationBarTextStyle": "black",
  192. // "navigationStyle": "custom",
  193. // "scrollIndicator": "none",
  194. // "titleNView": false,
  195. // "enablePullDownRefresh": false,
  196. // "app-plus": {
  197. // "bounce": "none"
  198. // }
  199. // }
  200. // },
  201. {
  202. "path": "pages/device/tongue/ques",
  203. "style": {
  204. "navigationBarTitleText": "使用教程",
  205. "enablePullDownRefresh": false,
  206. "navigationBarBackgroundColor": "#ffffff",
  207. "navigationBarTextStyle": "black",
  208. "scrollIndicator": "none",
  209. "app-plus": {
  210. "bounce": "none"
  211. }
  212. }
  213. }, {
  214. "path": "pages/device/tongue/photoPreview",
  215. "style": {
  216. "navigationBarTitleText": "",
  217. "navigationBarTextStyle": "black",
  218. "navigationStyle": "custom",
  219. "scrollIndicator": "none",
  220. "titleNView": false,
  221. "enablePullDownRefresh": false,
  222. "app-plus": {
  223. "bounce": "none"
  224. }
  225. }
  226. }, {
  227. "path": "pages/device/tongue/tongueList",
  228. "style": {
  229. "navigationBarTitleText": "舌诊记录",
  230. "enablePullDownRefresh": false,
  231. "navigationBarBackgroundColor": "#ffffff",
  232. "navigationBarTextStyle": "black",
  233. "scrollIndicator": "none",
  234. "app-plus": {
  235. "bounce": "none"
  236. }
  237. }
  238. }, {
  239. "path": "pages/device/tongue/report",
  240. "style": {
  241. "navigationBarTitleText": "舌诊记录",
  242. "enablePullDownRefresh": false,
  243. "navigationBarBackgroundColor": "#ffffff",
  244. "navigationBarTextStyle": "black",
  245. "scrollIndicator": "none",
  246. "navigationStyle": "custom",
  247. "app-plus": {
  248. "bounce": "none"
  249. }
  250. }
  251. },
  252. {
  253. "path": "pages/device/tongue/test",
  254. "style": {
  255. "navigationBarTitleText": "摄像头",
  256. "navigationBarTextStyle": "black"
  257. }
  258. },
  259. {
  260. "path": "pages/device/tongue/testCameraAuto",
  261. "style": {
  262. "navigationBarTitleText": "摄像头自动变焦",
  263. "navigationBarTextStyle": "black"
  264. }
  265. },
  266. // {
  267. // "path": "pages/index/typulse",
  268. // "style": {
  269. // "navigationBarTitleText": "脉诊测试",
  270. // "navigationBarTextStyle": "black",
  271. // "navigationStyle": "custom",
  272. // "enablePullDownRefresh": false,
  273. // "navigationBarBackgroundColor": "#ffffff",
  274. // "scrollIndicator": "none",
  275. // "app-plus": {
  276. // "popGesture": "none",
  277. // "bounce": "none"
  278. // }
  279. // }
  280. // },
  281. {
  282. "path": "pages/index/smdtManager/smdtManager",
  283. "style": {
  284. "navigationBarTitleText": "smdt平板设备",
  285. "navigationBarTextStyle": "black",
  286. "enablePullDownRefresh": false,
  287. "navigationBarBackgroundColor": "#ffffff"
  288. }
  289. }
  290. ],
  291. "globalStyle": {
  292. "navigationBarTextStyle": "white",
  293. "navigationBarTitleText": "",
  294. "navigationBarBackgroundColor": "#ffffff",
  295. "backgroundColor": "#f7f7f7",
  296. "backgroundColorTop": "#f7f7f7",// iOS APP真机bounce回弹区域默认灰色,建议统一重置为白色
  297. "pageOrientation": "auto"
  298. },
  299. "uniIdRouter": {},
  300. "subPackages": [
  301. {
  302. "root": "pages/user/healthRecords",
  303. "pages": [{
  304. "path": "index",
  305. "style": {
  306. "navigationBarTitleText": "健康档案",
  307. "navigationStyle": "custom",
  308. "app-plus": {
  309. "bounce": "none"
  310. }
  311. }
  312. },
  313. {
  314. "path": "add",
  315. "style": {
  316. "navigationBarTitleText": "快速填写健康档案",
  317. "navigationBarTextStyle": "black"
  318. }
  319. },
  320. {
  321. "path": "edit",
  322. "style": {
  323. "navigationBarTitleText": "",
  324. "navigationBarTextStyle": "black",
  325. "navigationBarBackgroundColor": "#ffffff"
  326. }
  327. }
  328. ]
  329. }
  330. ],
  331. "tabBar": {
  332. "color": "#9BA0AA",
  333. "selectedColor": "#191A1B",
  334. "borderStyle": "white",
  335. "backgroundColor": "#ffffff",
  336. "height": "64px",
  337. "fontSize": "12px",
  338. "iconWidth": "20px",
  339. "spacing": "4px",
  340. "list": [
  341. // {
  342. // "pagePath": "pages/index/index",
  343. // "iconPath": "/static/image/tabbar/tab_home_icon.png",
  344. // "selectedIconPath": "/static/image/tabbar/tab_home_on_iconx.png",
  345. // "text": "首页"
  346. // }
  347. ]
  348. }
  349. }