Commit Graph

3 Commits

Author SHA1 Message Date
renjianbo
310dc6720f refactor: extract shared helpers, remove dead code, fix conventions
- Add getNavBarHeight() to App, replace 9x duplicate statusBarHeight calc
- Add fixImageUrl() helper, replace 3x duplicate image URL fixup
- Add STATUS_MAP and REFUND_REASONS to globalData, replace duplicates
- Replace hardcoded domain in WXML with {{url}} data binding (4 places)
- Delete dead backup file orderdetailbeifen.js (contained real phone number)
- Delete empty pages: tuiguang, subPackages/withdrawal, orderdetiltwo
- Remove unused import (Token in my.js)
- Convert paysuccess.js from raw wx.request to request() utility
- Remove unused baseUrl variables after switching to fixImageUrl()

Net: +81 / -917 lines

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 11:29:35 +08:00
renjianbo
1d0a0b9b04 feat: add request.js utility, service page, and fix hospital image URLs
- Add request.js for unified API calls with loading/error handling
- Add service page (service type listing)
- Fix hospital list to load from API with proper image URL construction
- Add service types dynamic loading on index page
- Various mini program improvements (order, care, wallet pages)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-07 10:13:26 +08:00
rjb
d35c074569 chore: merge coupon as regular directory (replace submodule) 2026-05-11 07:36:26 +08:00