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

428 lines
8.9 KiB

3 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
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. "path": "pages/login/wxUserInfo",
  50. "style": {
  51. "navigationBarTitleText": "用户信息"
  52. }
  53. }
  54. ],
  55. "subPackages": [{
  56. "root": "otherPages/authentication",
  57. "pages": [{
  58. "path": "list/index",
  59. "style": {
  60. "navigationBarTitleText": "伴宠师认证"
  61. }
  62. }, {
  63. "path": "examination/start",
  64. "style": {
  65. "navigationBarTitleText": "伴宠师认证"
  66. }
  67. }, {
  68. "path": "examination/base",
  69. "style": {
  70. "navigationBarTitleText": "基础考核"
  71. }
  72. }, {
  73. "path": "examination/baseCompleted",
  74. "style": {
  75. "navigationBarTitleText": "伴宠师认证"
  76. }
  77. },
  78. {
  79. "path": "examination/train",
  80. "style": {
  81. "navigationBarTitleText": "培训考核"
  82. }
  83. }, {
  84. "path": "examination/trainCompleted/index",
  85. "style": {
  86. "navigationBarTitleText": "伴宠师认证"
  87. }
  88. }, {
  89. "path": "examination/errorDetail",
  90. "style": {
  91. "navigationBarTitleText": "伴宠师认证"
  92. }
  93. }, {
  94. "path": "examination/end",
  95. "style": {
  96. "navigationBarTitleText": "伴宠师认证"
  97. }
  98. }, {
  99. "path": "serve/index",
  100. "style": {
  101. "navigationBarTitleText": "服务信息"
  102. }
  103. }, {
  104. "path": "serve/record",
  105. "style": {
  106. "navigationBarTitleText": "服务记录"
  107. }
  108. }, {
  109. "path": "serve/upload",
  110. "style": {
  111. "navigationBarTitleText": "服务记录上传"
  112. }
  113. }, {
  114. "path": "connectAddress/index",
  115. "style": {
  116. "navigationBarTitleText": "接单地址"
  117. }
  118. }, {
  119. "path": "connectAddress/detail",
  120. "style": {
  121. "navigationBarTitleText": "新增接单地址"
  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. }
  362. ],
  363. //
  364. "preloadRule": {
  365. // pages/orderTakingManage/indexotherPages/orderTakingManage
  366. "pages/orderTakingManage/index": {
  367. "network": "all",
  368. //allwifiwifi
  369. "packages": [
  370. "otherPages/orderTakingManage"
  371. ]
  372. //
  373. },
  374. "pages/myOrdersManage/index": {
  375. "network": "all",
  376. "packages": [
  377. "otherPages/myOrdersManage"
  378. ]
  379. },
  380. "pages/workbenchManage/index": {
  381. "network": "all",
  382. "packages": [
  383. "otherPages/workbenchManage"
  384. ]
  385. },
  386. "pages/userManage/index": {
  387. "network": "all",
  388. "packages": [
  389. "otherPages/userManage"
  390. ]
  391. }
  392. },
  393. "tabBar": {
  394. "color": "#999",
  395. "selectedColor": "#333",
  396. "borderStyle": "white",
  397. "backgroundColor": "#ffffff",
  398. "list": [{
  399. "pagePath": "pages/workbenchManage/index",
  400. "iconPath": "/static/images/tabBar/home.png",
  401. "selectedIconPath": "/static/images/tabBar/home_.png",
  402. "text": "工作台"
  403. },
  404. {
  405. "pagePath": "pages/orderTakingManage/index",
  406. "iconPath": "/static/images/tabBar/home.png",
  407. "selectedIconPath": "/static/images/tabBar/home_.png",
  408. "text": "接单大厅"
  409. },
  410. {
  411. "pagePath": "pages/myOrdersManage/index",
  412. "iconPath": "/static/images/tabBar/mine.png",
  413. "selectedIconPath": "/static/images/tabBar/mine_.png",
  414. "text": "我的订单"
  415. },
  416. {
  417. "pagePath": "pages/userManage/index",
  418. "iconPath": "/static/images/tabBar/mine.png",
  419. "selectedIconPath": "/static/images/tabBar/mine_.png",
  420. "text": "我的"
  421. }
  422. ]
  423. },
  424. "globalStyle": {
  425. "navigationBarTextStyle": "white",
  426. "navigationBarTitleText": "uni-app",
  427. "navigationBarBackgroundColor": "#FFBF60"
  428. }
  429. }