Files
rlz/coupon/app.json
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

71 lines
1.8 KiB
JSON

{
"pages": [
"pages/index/index",
"pages/service/service",
"pages/peihu/peihu",
"pages/my/my",
"pages/order/order",
"pages/order/re_orderdetail",
"pages/orderdetail/orderdetail",
"pages/reforderdetail/reforderdetail",
"pages/mechanism/mechanism",
"pages/wodeqianbao/qianbao",
"pages/peizhen/peizhen",
"pages/peizhen/peizhendetail",
"pages/guanyu/guanyu",
"pages/webpage/webpage"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin",
"navigationBarTextStyle": "black",
"navigationStyle": "custom"
},
"subPackages": [
{
"root": "shopping",
"name": "shopping",
"pages": [
"pages/goddess/goddess",
"pages/paysuccess/paysuccess",
"pages/withdrawal/withdrawal",
"pages/payment/payment"
],
"independent": false
}
],
"style": "v2",
"sitemapLocation": "sitemap.json",
"tabBar": {
"color": "#C1C1C1",
"selectedColor": "#606060",
"backgroundColor": "#fff",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "pages/image/income.png",
"selectedIconPath": "pages/image/income_a.png"
},
{
"pagePath": "pages/service/service",
"text": "服务",
"iconPath": "pages/image/service.png",
"selectedIconPath": "pages/image/service.png"
},
{
"pagePath": "pages/order/order",
"text": "订单",
"iconPath": "pages/image/dingdan.png",
"selectedIconPath": "pages/image/dingdanl.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "pages/image/my.png",
"selectedIconPath": "pages/image/my_a.png"
}
]
}
}