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

442 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
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": "transaction/index",
  227. "style": {
  228. "navigationBarTitleText": "交易明细"
  229. }
  230. }, {
  231. "path": "date/index",
  232. "style": {
  233. "navigationBarTitleText": "不接单日期"
  234. }
  235. }, {
  236. "path": "date/detail",
  237. "style": {
  238. "navigationBarTitleText": "不接单日期"
  239. }
  240. }, {
  241. "path": "service/index",
  242. "style": {
  243. "navigationBarTitleText": "服务档案"
  244. }
  245. }, {
  246. "path": "service/detail",
  247. "style": {
  248. "navigationBarTitleText": "服务档案"
  249. }
  250. }, {
  251. "path": "service/base",
  252. "style": {
  253. "navigationBarTitleText": "服务档案"
  254. }
  255. }, {
  256. "path": "service/add",
  257. "style": {
  258. "navigationBarTitleText": "服务档案"
  259. }
  260. }, {
  261. "path": "service/dog",
  262. "style": {
  263. "navigationBarTitleText": "服务档案"
  264. }
  265. }, {
  266. "path": "clock/index",
  267. "style": {
  268. "navigationBarTitleText": "打卡"
  269. }
  270. }, {
  271. "path": "clock/detail",
  272. "style": {
  273. "navigationBarTitleText": "打卡记录"
  274. }
  275. }
  276. ]
  277. },
  278. {
  279. "root": "otherPages/workbenchManage",
  280. //
  281. "pages": [
  282. {
  283. "path": "bindUser/index",
  284. "style": {
  285. "navigationBarTitleText": "绑定用户"
  286. }
  287. },
  288. {
  289. "path": "bindUser/sharing",
  290. "style": {
  291. "navigationBarTitleText": "分享海报"
  292. }
  293. },
  294. {
  295. "path": "myUser/index",
  296. "style": {
  297. "navigationBarTitleText": "我的用户"
  298. }
  299. },
  300. {
  301. "path": "myLevel/index",
  302. "style": {
  303. "navigationBarTitleText": "我的等级"
  304. }
  305. }, {
  306. "path": "myWallet/index",
  307. "style": {
  308. "navigationBarTitleText": "我的钱包"
  309. }
  310. },
  311. //
  312. {
  313. "path": "feedingStaff/index",
  314. "style": {
  315. "navigationBarTitleText": "喂养师认证"
  316. }
  317. },
  318. {
  319. "path": "examNotice/index",
  320. "style": {
  321. "navigationBarTitleText": "养宠经验考试须知"
  322. }
  323. },
  324. {
  325. "path": "startExam/index",
  326. "style": {
  327. "navigationBarTitleText": "基础考试"
  328. }
  329. },
  330. {
  331. "path": "trainingExamination/index",
  332. "style": {
  333. "navigationBarTitleText": "考试培训"
  334. }
  335. },
  336. {
  337. "path": "shortAnswer/index",
  338. "style": {
  339. "navigationBarTitleText": "培训考试"
  340. }
  341. },
  342. {
  343. "path": "queryResults/index",
  344. "style": {
  345. "navigationBarTitleText": "考试结果"
  346. }
  347. }
  348. ]
  349. },
  350. {
  351. "root": "otherPages/userManage",
  352. //
  353. "pages": [{
  354. "path": "list/index"
  355. },
  356. {
  357. "path": "record/index",
  358. "style": {
  359. "navigationBarTitleText": "服务记录"
  360. }
  361. },
  362. {
  363. "path": "pet/index",
  364. "style": {
  365. "navigationBarTitleText": "我的宠物"
  366. }
  367. },
  368. {
  369. "path": "pet/petInfo",
  370. "style": {
  371. "navigationBarTitleText": "创建宠物档案"
  372. }
  373. }
  374. ]
  375. }
  376. ],
  377. //
  378. "preloadRule": {
  379. // pages/orderTakingManage/indexotherPages/orderTakingManage
  380. "pages/orderTakingManage/index": {
  381. "network": "all",
  382. //allwifiwifi
  383. "packages": [
  384. "otherPages/orderTakingManage"
  385. ]
  386. //
  387. },
  388. "pages/myOrdersManage/index": {
  389. "network": "all",
  390. "packages": [
  391. "otherPages/myOrdersManage"
  392. ]
  393. },
  394. "pages/workbenchManage/index": {
  395. "network": "all",
  396. "packages": [
  397. "otherPages/workbenchManage"
  398. ]
  399. },
  400. "pages/userManage/index": {
  401. "network": "all",
  402. "packages": [
  403. "otherPages/userManage"
  404. ]
  405. }
  406. },
  407. "tabBar": {
  408. "color": "#999",
  409. "selectedColor": "#333",
  410. "borderStyle": "white",
  411. "backgroundColor": "#ffffff",
  412. "list": [{
  413. "pagePath": "pages/workbenchManage/index",
  414. "iconPath": "/static/images/tabBar/home.png",
  415. "selectedIconPath": "/static/images/tabBar/home_.png",
  416. "text": "工作台"
  417. },
  418. {
  419. "pagePath": "pages/orderTakingManage/index",
  420. "iconPath": "/static/images/tabBar/home.png",
  421. "selectedIconPath": "/static/images/tabBar/home_.png",
  422. "text": "接单大厅"
  423. },
  424. {
  425. "pagePath": "pages/myOrdersManage/index",
  426. "iconPath": "/static/images/tabBar/mine.png",
  427. "selectedIconPath": "/static/images/tabBar/mine_.png",
  428. "text": "我的订单"
  429. },
  430. {
  431. "pagePath": "pages/userManage/index",
  432. "iconPath": "/static/images/tabBar/mine.png",
  433. "selectedIconPath": "/static/images/tabBar/mine_.png",
  434. "text": "我的"
  435. }
  436. ]
  437. },
  438. "globalStyle": {
  439. "navigationBarTextStyle": "white",
  440. "navigationBarTitleText": "uni-app",
  441. "navigationBarBackgroundColor": "#FFBF60"
  442. }
  443. }