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

447 lines
9.3 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
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. {
  288. "path": "bindUser/index",
  289. "style": {
  290. "navigationBarTitleText": "绑定用户"
  291. }
  292. },
  293. {
  294. "path": "bindUser/sharing",
  295. "style": {
  296. "navigationBarTitleText": "分享海报"
  297. }
  298. },
  299. {
  300. "path": "myUser/index",
  301. "style": {
  302. "navigationBarTitleText": "我的用户"
  303. }
  304. },
  305. {
  306. "path": "myLevel/index",
  307. "style": {
  308. "navigationBarTitleText": "我的等级"
  309. }
  310. }, {
  311. "path": "myWallet/index",
  312. "style": {
  313. "navigationBarTitleText": "我的钱包"
  314. }
  315. },
  316. //
  317. {
  318. "path": "feedingStaff/index",
  319. "style": {
  320. "navigationBarTitleText": "喂养师认证"
  321. }
  322. },
  323. {
  324. "path": "examNotice/index",
  325. "style": {
  326. "navigationBarTitleText": "养宠经验考试须知"
  327. }
  328. },
  329. {
  330. "path": "startExam/index",
  331. "style": {
  332. "navigationBarTitleText": "基础考试"
  333. }
  334. },
  335. {
  336. "path": "trainingExamination/index",
  337. "style": {
  338. "navigationBarTitleText": "考试培训"
  339. }
  340. },
  341. {
  342. "path": "shortAnswer/index",
  343. "style": {
  344. "navigationBarTitleText": "培训考试"
  345. }
  346. },
  347. {
  348. "path": "queryResults/index",
  349. "style": {
  350. "navigationBarTitleText": "考试结果"
  351. }
  352. }
  353. ]
  354. },
  355. {
  356. "root": "otherPages/userManage",
  357. //
  358. "pages": [{
  359. "path": "list/index"
  360. },
  361. {
  362. "path": "record/index",
  363. "style": {
  364. "navigationBarTitleText": "服务记录"
  365. }
  366. },
  367. {
  368. "path": "pet/index",
  369. "style": {
  370. "navigationBarTitleText": "我的宠物"
  371. }
  372. },
  373. {
  374. "path": "pet/petInfo",
  375. "style": {
  376. "navigationBarTitleText": "创建宠物档案"
  377. }
  378. }
  379. ]
  380. }
  381. ],
  382. //
  383. "preloadRule": {
  384. // pages/orderTakingManage/indexotherPages/orderTakingManage
  385. "pages/orderTakingManage/index": {
  386. "network": "all",
  387. //allwifiwifi
  388. "packages": [
  389. "otherPages/orderTakingManage"
  390. ]
  391. //
  392. },
  393. "pages/myOrdersManage/index": {
  394. "network": "all",
  395. "packages": [
  396. "otherPages/myOrdersManage"
  397. ]
  398. },
  399. "pages/workbenchManage/index": {
  400. "network": "all",
  401. "packages": [
  402. "otherPages/workbenchManage"
  403. ]
  404. },
  405. "pages/userManage/index": {
  406. "network": "all",
  407. "packages": [
  408. "otherPages/userManage"
  409. ]
  410. }
  411. },
  412. "tabBar": {
  413. "color": "#999",
  414. "selectedColor": "#333",
  415. "borderStyle": "white",
  416. "backgroundColor": "#ffffff",
  417. "list": [{
  418. "pagePath": "pages/workbenchManage/index",
  419. "iconPath": "/static/images/tabBar/home.png",
  420. "selectedIconPath": "/static/images/tabBar/home_.png",
  421. "text": "工作台"
  422. },
  423. {
  424. "pagePath": "pages/orderTakingManage/index",
  425. "iconPath": "/static/images/tabBar/home.png",
  426. "selectedIconPath": "/static/images/tabBar/home_.png",
  427. "text": "接单大厅"
  428. },
  429. {
  430. "pagePath": "pages/myOrdersManage/index",
  431. "iconPath": "/static/images/tabBar/mine.png",
  432. "selectedIconPath": "/static/images/tabBar/mine_.png",
  433. "text": "我的订单"
  434. },
  435. {
  436. "pagePath": "pages/userManage/index",
  437. "iconPath": "/static/images/tabBar/mine.png",
  438. "selectedIconPath": "/static/images/tabBar/mine_.png",
  439. "text": "我的"
  440. }
  441. ]
  442. },
  443. "globalStyle": {
  444. "navigationBarTextStyle": "white",
  445. "navigationBarTitleText": "uni-app",
  446. "navigationBarBackgroundColor": "#FFBF60"
  447. }
  448. }