猫妈狗爸伴宠师小程序前端代码
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.

440 lines
9.2 KiB

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