pages.json 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. {
  2. "easycom": {
  3. "^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationBarTitleText": "在线考试"
  11. // #ifdef H5
  12. ,"navigationBarHidden": true
  13. // #endif
  14. }
  15. }
  16. ,{
  17. "path" : "pages/user/user",
  18. "style" :
  19. {
  20. "navigationBarTitleText": "用户中心",
  21. "enablePullDownRefresh": false
  22. // #ifdef H5
  23. ,"navigationBarHidden": true
  24. // #endif
  25. }
  26. }
  27. ,{
  28. "path" : "pages/paper/index",
  29. "style" :
  30. {
  31. "navigationBarTitleText": "试卷列表",
  32. "enablePullDownRefresh": false,
  33. // 距离底部50px时,触发onReachBottom事件
  34. "onReachBottonDistance": 50
  35. // #ifdef H5
  36. ,"navigationBarHidden": true
  37. // #endif
  38. }
  39. }
  40. ,{
  41. "path" : "pages/paper/paper",
  42. "style" :
  43. {
  44. "navigationBarTitleText": "考试试卷",
  45. "enablePullDownRefresh": false,
  46. "autoBackButton": false
  47. // "navigationBarBackgroundColor": "#FFFFFF",
  48. // "navigationBarTextStyle": "black",
  49. // "titleNView": false,
  50. // "navigationStyle": "custom"
  51. // #ifdef H5
  52. ,"navigationBarHidden": true
  53. // #endif
  54. }
  55. },{
  56. "path" : "pages/paper/log",
  57. "style" :
  58. {
  59. "navigationBarTitleText": "考试记录",
  60. "enablePullDownRefresh": false,
  61. // 距离底部50px时,触发onReachBottom事件
  62. "onReachBottonDistance": 50
  63. // #ifdef H5
  64. ,"navigationBarHidden": true
  65. // #endif
  66. }
  67. }
  68. ,{
  69. "path" : "pages/collect/index",
  70. "style" :
  71. {
  72. "navigationBarTitleText": "收藏题目",
  73. "enablePullDownRefresh": false
  74. // #ifdef H5
  75. ,"navigationBarHidden": true
  76. // #endif
  77. }
  78. }
  79. ,{
  80. "path" : "pages/wrong/index",
  81. "style" :
  82. {
  83. "navigationBarTitleText": "错题记录",
  84. "enablePullDownRefresh": false
  85. // #ifdef H5
  86. ,"navigationBarHidden": true
  87. // #endif
  88. }
  89. }
  90. ,{
  91. "path" : "pages/search/index",
  92. "style" :
  93. {
  94. "navigationBarTitleText": "题目搜索",
  95. "enablePullDownRefresh": false
  96. // #ifdef H5
  97. ,"navigationBarHidden": true
  98. // #endif
  99. }
  100. }
  101. ,{
  102. "path" : "pages/paper/rank",
  103. "style" :
  104. {
  105. "navigationBarTitleText": "排行榜",
  106. "enablePullDownRefresh": false
  107. // #ifdef H5
  108. ,"navigationBarHidden": true
  109. // #endif
  110. }
  111. }
  112. ,{
  113. "path" : "pages/paper/grade",
  114. "style" :
  115. {
  116. "navigationBarTitleText": "考试成绩",
  117. "enablePullDownRefresh": false
  118. // #ifdef H5
  119. ,"navigationBarHidden": true
  120. // #endif
  121. }
  122. }
  123. ,{
  124. "path" : "pages/room/index",
  125. "style" :
  126. {
  127. "navigationBarTitleText": "考场列表",
  128. "enablePullDownRefresh": false
  129. // #ifdef H5
  130. ,"navigationBarHidden": true
  131. // #endif
  132. }
  133. }
  134. ,{
  135. "path" : "pages/room/detail",
  136. "style" :
  137. {
  138. "navigationBarTitleText": "考场详情",
  139. "enablePullDownRefresh": false
  140. // #ifdef H5
  141. ,"navigationBarHidden": true
  142. // #endif
  143. }
  144. }
  145. ,{
  146. "path" : "pages/room/signup-index",
  147. "style" :
  148. {
  149. "navigationBarTitleText": "报名记录",
  150. "enablePullDownRefresh": false
  151. // #ifdef H5
  152. ,"navigationBarHidden": true
  153. // #endif
  154. }
  155. }
  156. ,{
  157. "path" : "pages/room/grade",
  158. "style" :
  159. {
  160. "navigationBarTitleText": "考场成绩",
  161. "enablePullDownRefresh": false
  162. // #ifdef H5
  163. ,"navigationBarHidden": true
  164. // #endif
  165. }
  166. },{
  167. "path" : "pages/room/rank",
  168. "style" :
  169. {
  170. "navigationBarTitleText": "考场排行榜",
  171. "enablePullDownRefresh": false
  172. // #ifdef H5
  173. ,"navigationBarHidden": true
  174. // #endif
  175. }
  176. }
  177. ,{
  178. "path" : "pages/train/train",
  179. "style" :
  180. {
  181. "navigationBarTitleText": "",
  182. "enablePullDownRefresh": false
  183. // #ifdef H5
  184. ,"navigationBarHidden": true
  185. // #endif
  186. }
  187. }
  188. ,{
  189. "path" : "pages/train/index",
  190. "style" :
  191. {
  192. "navigationBarTitleText": "",
  193. "enablePullDownRefresh": false
  194. // #ifdef H5
  195. ,"navigationBarHidden": true
  196. // #endif
  197. }
  198. }
  199. ,{
  200. "path" : "pages/train/look",
  201. "style" :
  202. {
  203. "navigationBarTitleText": "",
  204. "enablePullDownRefresh": false
  205. // #ifdef H5
  206. ,"navigationBarHidden": true
  207. // #endif
  208. }
  209. }
  210. ,{
  211. "path" : "pages/user/set",
  212. "style" :
  213. {
  214. "navigationBarTitleText": "个人设置",
  215. "enablePullDownRefresh": false
  216. // #ifdef H5
  217. ,"navigationBarHidden": true
  218. // #endif
  219. }
  220. }
  221. ,{
  222. "path" : "pages/user/my-cate",
  223. "style" :
  224. {
  225. "navigationBarTitleText": "常用题库",
  226. "enablePullDownRefresh": false
  227. // #ifdef H5
  228. ,"navigationBarHidden": true
  229. // #endif
  230. }
  231. },{
  232. "path" : "pages/user/login-reg",
  233. "style" :
  234. {
  235. "navigationBarTitleText": "登录注册",
  236. "enablePullDownRefresh": false,
  237. "navigationStyle": "custom"
  238. // #ifdef H5
  239. ,"navigationBarHidden": true
  240. // #endif
  241. }
  242. }
  243. ,{
  244. "path" : "pages/webview/webview",
  245. "style" :
  246. {
  247. "navigationBarTitleText": "",
  248. "enablePullDownRefresh": false
  249. // #ifdef H5
  250. ,"navigationBarHidden": true
  251. // #endif
  252. }
  253. }
  254. ,{
  255. "path" : "pages/index/notice-list",
  256. "style" :
  257. {
  258. "navigationBarTitleText": "公告列表",
  259. "enablePullDownRefresh": false,
  260. // 距离底部50px时,触发onReachBottom事件
  261. "onReachBottonDistance": 50
  262. // #ifdef H5
  263. ,"navigationBarHidden": true
  264. // #endif
  265. }
  266. }
  267. ,{
  268. "path" : "pages/index/notice-detail",
  269. "style" :
  270. {
  271. "navigationBarTitleText": "",
  272. "enablePullDownRefresh": false
  273. // #ifdef H5
  274. ,"navigationBarHidden": true
  275. // #endif
  276. }
  277. },{
  278. "path" : "pages/user/my-correction",
  279. "style" :
  280. {
  281. "navigationBarTitleText": "纠错反馈",
  282. "enablePullDownRefresh": false
  283. // #ifdef H5
  284. ,"navigationBarHidden": true
  285. // #endif
  286. }
  287. }
  288. ],
  289. "globalStyle": {
  290. "mp-alipay": {
  291. /* 支付宝小程序特有相关 */
  292. "transparentTitle": "always",
  293. "allowsBounceVertical": "NO"
  294. },
  295. // "navigationBarBackgroundColor": "#0081ff",
  296. "navigationBarTitleText": "在线考试",
  297. "navigationBarBackgroundColor": "#5677fc",
  298. "navigationBarTextStyle": "white"
  299. // #ifdef H5
  300. // ,"navigationStyle": "custom"
  301. // ,"navigationBarHidden": true
  302. // #endif
  303. }
  304. // ,
  305. // "usingComponts": true,
  306. // "condition": { //模式配置,仅开发期间生效
  307. // "current": 0, //当前激活的模式(list 的索引项)
  308. // "list": [{
  309. // "name": "表单", //模式名称
  310. // "path": "pages/component/form", //启动页面
  311. // "query": "" //启动参数
  312. // }
  313. // ]
  314. // }
  315. }