猫妈狗爸伴宠师小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

418 lines
8.7 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. // customhttps://ask.dcloud.net.cn/question/131175
  5. "custom": {
  6. "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  7. "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  8. "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
  9. }
  10. },
  11. "pages": [
  12. {
  13. "path": "pages/workbenchManage/index",
  14. "style": {
  15. "navigationBarTitleText": "工作台"
  16. }
  17. },
  18. {
  19. "path": "pages/orderTakingManage/index",
  20. "style": {
  21. "navigationBarTitleText": "接单大厅"
  22. }
  23. },
  24. {
  25. "path": "pages/myOrdersManage/index",
  26. "style": {
  27. "navigationBarTitleText": "我的订单"
  28. }
  29. },
  30. {
  31. "path": "pages/userManage/index",
  32. "style": {
  33. "navigationBarTitleText": "我的"
  34. }
  35. },
  36. {
  37. "path": "pages/test/index",
  38. "style": {
  39. "navigationBarTitleText": "测试"
  40. }
  41. },
  42. {
  43. "path": "pages/login/index",
  44. "style": {
  45. "navigationBarTitleText": "登录"
  46. }
  47. }
  48. ],
  49. "subPackages": [{
  50. "root": "otherPages/authentication",
  51. "pages": [{
  52. "path": "list/index",
  53. "style": {
  54. "navigationBarTitleText": "伴宠师认证"
  55. }
  56. }, {
  57. "path": "examination/start",
  58. "style": {
  59. "navigationBarTitleText": "伴宠师认证"
  60. }
  61. }, {
  62. "path": "examination/base",
  63. "style": {
  64. "navigationBarTitleText": "基础考核"
  65. }
  66. }, {
  67. "path": "examination/baseCompleted",
  68. "style": {
  69. "navigationBarTitleText": "伴宠师认证"
  70. }
  71. },
  72. {
  73. "path": "examination/train",
  74. "style": {
  75. "navigationBarTitleText": "培训考核"
  76. }
  77. }, {
  78. "path": "examination/trainCompleted/index",
  79. "style": {
  80. "navigationBarTitleText": "伴宠师认证"
  81. }
  82. }, {
  83. "path": "examination/errorDetail",
  84. "style": {
  85. "navigationBarTitleText": "伴宠师认证"
  86. }
  87. }, {
  88. "path": "examination/end",
  89. "style": {
  90. "navigationBarTitleText": "伴宠师认证"
  91. }
  92. }, {
  93. "path": "serve/index",
  94. "style": {
  95. "navigationBarTitleText": "服务信息"
  96. }
  97. }, {
  98. "path": "serve/record",
  99. "style": {
  100. "navigationBarTitleText": "服务记录"
  101. }
  102. }, {
  103. "path": "serve/upload",
  104. "style": {
  105. "navigationBarTitleText": "服务记录上传"
  106. }
  107. }, {
  108. "path": "connectAddress/index",
  109. "style": {
  110. "navigationBarTitleText": "接单地址"
  111. }
  112. }]
  113. },
  114. {
  115. "root": "otherPages/binding",
  116. //
  117. "pages": [{
  118. "path": "list/index",
  119. "style": {
  120. "navigationBarTitleText": "绑定用户"
  121. }
  122. }, {
  123. "path": "share/index",
  124. "style": {
  125. "navigationBarTitleText": "分享海报"
  126. }
  127. }, {
  128. "path": "myUser/index",
  129. "style": {
  130. "navigationBarTitleText": "我的用户"
  131. }
  132. }, {
  133. "path": "partner/index",
  134. "style": {
  135. "navigationBarTitleText": "合伙人钱包明细"
  136. }
  137. }, {
  138. "path": "withdrawal/index",
  139. "style": {
  140. "navigationBarTitleText": "提现"
  141. }
  142. }, {
  143. "path": "grade/index",
  144. "style": {
  145. "navigationBarTitleText": "我的等级"
  146. }
  147. }, {
  148. "path": "grade/detail",
  149. "style": {
  150. "navigationBarTitleText": "我的等级"
  151. }
  152. }, {
  153. "path": "wallet/index",
  154. "style": {
  155. "navigationBarTitleText": "我的钱包"
  156. }
  157. }]
  158. },
  159. {
  160. "root": "otherPages/orderTakingManage",
  161. //
  162. "pages": [{
  163. "path": "list/index"
  164. },
  165. {
  166. "path": "detail/index",
  167. "style": {
  168. "navigationBarTitleText": "订单详情"
  169. }
  170. }, {
  171. "path": "pet/index",
  172. "style": {
  173. "navigationBarTitleText": "宠物信息"
  174. }
  175. }, {
  176. "path": "pet/detail",
  177. "style": {
  178. "navigationBarTitleText": "宠物信息"
  179. }
  180. }, {
  181. "path": "evaluate/index",
  182. "style": {
  183. "navigationBarTitleText": "我的评价"
  184. }
  185. }, {
  186. "path": "create/index",
  187. "style": {
  188. "navigationBarTitleText": "创建宠物档案"
  189. }
  190. }
  191. ]
  192. },
  193. {
  194. "root": "otherPages/myOrdersManage",
  195. //
  196. "pages": [{
  197. "path": "list/index"
  198. },
  199. {
  200. "path": "bond/index",
  201. "style": {
  202. "navigationBarTitleText": "保证金"
  203. }
  204. }, {
  205. "path": "bond/detail",
  206. "style": {
  207. "navigationBarTitleText": "保证金"
  208. }
  209. }, {
  210. "path": "withdrawal/index",
  211. "style": {
  212. "navigationBarTitleText": "提现"
  213. }
  214. }, {
  215. "path": "detail/index",
  216. "style": {
  217. "navigationBarTitleText": "保证金退还"
  218. }
  219. }, {
  220. "path": "transaction/index",
  221. "style": {
  222. "navigationBarTitleText": "交易明细"
  223. }
  224. }, {
  225. "path": "date/index",
  226. "style": {
  227. "navigationBarTitleText": "不接单日期"
  228. }
  229. }, {
  230. "path": "date/detail",
  231. "style": {
  232. "navigationBarTitleText": "不接单日期"
  233. }
  234. }, {
  235. "path": "service/index",
  236. "style": {
  237. "navigationBarTitleText": "服务档案"
  238. }
  239. }, {
  240. "path": "service/detail",
  241. "style": {
  242. "navigationBarTitleText": "服务档案"
  243. }
  244. }, {
  245. "path": "service/base",
  246. "style": {
  247. "navigationBarTitleText": "服务档案"
  248. }
  249. }, {
  250. "path": "service/add",
  251. "style": {
  252. "navigationBarTitleText": "服务档案"
  253. }
  254. }, {
  255. "path": "service/dog",
  256. "style": {
  257. "navigationBarTitleText": "服务档案"
  258. }
  259. }, {
  260. "path": "clock/index",
  261. "style": {
  262. "navigationBarTitleText": "打卡"
  263. }
  264. }, {
  265. "path": "clock/detail",
  266. "style": {
  267. "navigationBarTitleText": "打卡记录"
  268. }
  269. }
  270. ]
  271. },
  272. {
  273. "root": "otherPages/workbenchManage",
  274. //
  275. "pages": [{
  276. "path": "bindUser/index",
  277. "style": {
  278. "navigationBarTitleText": "绑定用户"
  279. }
  280. },
  281. {
  282. "path": "myUser/index",
  283. "style": {
  284. "navigationBarTitleText": "我的用户"
  285. }
  286. },
  287. {
  288. "path": "myLevel/index",
  289. "style": {
  290. "navigationBarTitleText": "我的等级"
  291. }
  292. }, {
  293. "path": "myWallet/index",
  294. "style": {
  295. "navigationBarTitleText": "我的钱包"
  296. }
  297. },
  298. //
  299. {
  300. "path": "feedingStaff/index",
  301. "style": {
  302. "navigationBarTitleText": "喂养师认证"
  303. }
  304. },
  305. {
  306. "path": "examNotice/index",
  307. "style": {
  308. "navigationBarTitleText": "养宠经验考试须知"
  309. }
  310. },
  311. {
  312. "path": "startExam/index",
  313. "style": {
  314. "navigationBarTitleText": "基础考试"
  315. }
  316. },
  317. {
  318. "path": "trainingExamination/index",
  319. "style": {
  320. "navigationBarTitleText": "考试培训"
  321. }
  322. },
  323. {
  324. "path": "shortAnswer/index",
  325. "style": {
  326. "navigationBarTitleText": "培训考试"
  327. }
  328. },
  329. {
  330. "path": "queryResults/index",
  331. "style": {
  332. "navigationBarTitleText": "考试结果"
  333. }
  334. }
  335. ]
  336. },
  337. {
  338. "root": "otherPages/userManage",
  339. //
  340. "pages": [{
  341. "path": "list/index"
  342. },
  343. {
  344. "path": "record/index",
  345. "style": {
  346. "navigationBarTitleText": "服务记录"
  347. }
  348. }
  349. ]
  350. }
  351. ],
  352. //
  353. "preloadRule": {
  354. // pages/orderTakingManage/indexotherPages/orderTakingManage
  355. "pages/orderTakingManage/index": {
  356. "network": "all",
  357. //allwifiwifi
  358. "packages": [
  359. "otherPages/orderTakingManage"
  360. ]
  361. //
  362. },
  363. "pages/myOrdersManage/index": {
  364. "network": "all",
  365. "packages": [
  366. "otherPages/myOrdersManage"
  367. ]
  368. },
  369. "pages/workbenchManage/index": {
  370. "network": "all",
  371. "packages": [
  372. "otherPages/workbenchManage"
  373. ]
  374. },
  375. "pages/userManage/index": {
  376. "network": "all",
  377. "packages": [
  378. "otherPages/userManage"
  379. ]
  380. }
  381. },
  382. "tabBar": {
  383. "color": "#999",
  384. "selectedColor": "#333",
  385. "borderStyle": "white",
  386. "backgroundColor": "#ffffff",
  387. "list": [{
  388. "pagePath": "pages/workbenchManage/index",
  389. "iconPath": "/static/images/tabBar/home.png",
  390. "selectedIconPath": "/static/images/tabBar/home_.png",
  391. "text": "工作台"
  392. },
  393. {
  394. "pagePath": "pages/orderTakingManage/index",
  395. "iconPath": "/static/images/tabBar/home.png",
  396. "selectedIconPath": "/static/images/tabBar/home_.png",
  397. "text": "接单大厅"
  398. },
  399. {
  400. "pagePath": "pages/myOrdersManage/index",
  401. "iconPath": "/static/images/tabBar/mine.png",
  402. "selectedIconPath": "/static/images/tabBar/mine_.png",
  403. "text": "我的订单"
  404. },
  405. {
  406. "pagePath": "pages/userManage/index",
  407. "iconPath": "/static/images/tabBar/mine.png",
  408. "selectedIconPath": "/static/images/tabBar/mine_.png",
  409. "text": "我的"
  410. }
  411. ]
  412. },
  413. "globalStyle": {
  414. "navigationBarTextStyle": "white",
  415. "navigationBarTitleText": "uni-app",
  416. "navigationBarBackgroundColor": "#FFBF60"
  417. }
  418. }