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

445 lines
9.4 KiB

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