- 添加水票核销扫码页面,支持扫描加密和明文二维码 - 实现水票验证逻辑,包括余额检查和核销确认 - 添加核销记录展示,最多保留最近10条记录 - 在骑手端界面增加水票核销入口 - 新增获取用户水票总数的API接口 - 优化首页轮播图加载,增加缓存和懒加载机制 - 添加门店选择功能,支持订单确认页切换门店 - 修复物流信息类型安全问题 - 更新用户中心门店相关文案显示
166 lines
3.5 KiB
TypeScript
166 lines
3.5 KiB
TypeScript
export default {
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/cart/cart',
|
|
'pages/find/find',
|
|
'pages/user/user',
|
|
'pages/category/index'
|
|
],
|
|
"subpackages": [
|
|
{
|
|
"root": "passport",
|
|
"pages": [
|
|
"login",
|
|
"forget",
|
|
"setting",
|
|
"agreement",
|
|
"sms-login",
|
|
'qr-login/index',
|
|
'qr-confirm/index',
|
|
'unified-qr/index'
|
|
]
|
|
},
|
|
{
|
|
"root": "cms",
|
|
"pages": [
|
|
'category/index',
|
|
"detail/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "coupon",
|
|
"pages": [
|
|
"index"
|
|
]
|
|
},
|
|
{
|
|
"root": "user",
|
|
"pages": [
|
|
"order/order",
|
|
"order/logistics/index",
|
|
"order/evaluate/index",
|
|
"order/refund/index",
|
|
"order/progress/index",
|
|
"company/company",
|
|
"profile/profile",
|
|
"setting/setting",
|
|
"userVerify/index",
|
|
"address/index",
|
|
"address/add",
|
|
"address/wxAddress",
|
|
"help/index",
|
|
"about/index",
|
|
"wallet/wallet",
|
|
"coupon/index",
|
|
"points/points",
|
|
"ticket/index",
|
|
"ticket/detail",
|
|
// "gift/index",
|
|
// "gift/redeem",
|
|
// "gift/detail",
|
|
// "gift/add",
|
|
"store/verification",
|
|
"store/orders/index",
|
|
"theme/index",
|
|
"poster/poster",
|
|
"chat/conversation/index",
|
|
"chat/message/index",
|
|
"chat/message/add",
|
|
"chat/message/detail"
|
|
]
|
|
},
|
|
{
|
|
"root": "dealer",
|
|
"pages": [
|
|
"index",
|
|
"apply/add",
|
|
"withdraw/index",
|
|
"orders/index",
|
|
"capital/index",
|
|
"team/index",
|
|
"qrcode/index",
|
|
"invite-stats/index",
|
|
"info"
|
|
]
|
|
},
|
|
{
|
|
"root": "shop",
|
|
"pages": [
|
|
'category/index',
|
|
'orderDetail/index',
|
|
'goodsDetail/index',
|
|
'orderConfirm/index',
|
|
'orderConfirmCart/index',
|
|
'comments/index',
|
|
'search/index']
|
|
},
|
|
{
|
|
"root": "store",
|
|
"pages": [
|
|
"index",
|
|
"orders/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "rider",
|
|
"pages": [
|
|
"index",
|
|
"orders/index",
|
|
"ticket/verification/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "admin",
|
|
"pages": [
|
|
"index",
|
|
"article/index",
|
|
]
|
|
}
|
|
],
|
|
window: {
|
|
backgroundTextStyle: 'dark',
|
|
navigationBarBackgroundColor: '#fff',
|
|
navigationBarTitleText: 'WeChat',
|
|
navigationBarTextStyle: 'black'
|
|
},
|
|
tabBar: {
|
|
custom: false,
|
|
color: "#8a8a8a",
|
|
selectedColor: "#0e932e",
|
|
backgroundColor: "#ffffff",
|
|
list: [
|
|
{
|
|
pagePath: "pages/index/index",
|
|
iconPath: "assets/tabbar/home.png",
|
|
selectedIconPath: "assets/tabbar/home-active.png",
|
|
text: "首页",
|
|
},
|
|
{
|
|
pagePath: "pages/cart/cart",
|
|
iconPath: "assets/tabbar/cart.png",
|
|
selectedIconPath: "assets/tabbar/cart-active.png",
|
|
text: "购物车",
|
|
},
|
|
{
|
|
pagePath: "pages/user/user",
|
|
iconPath: "assets/tabbar/user.png",
|
|
selectedIconPath: "assets/tabbar/user-active.png",
|
|
text: "我的",
|
|
},
|
|
],
|
|
},
|
|
requiredPrivateInfos: [
|
|
"getLocation",
|
|
"chooseLocation",
|
|
"chooseAddress"
|
|
],
|
|
permission: {
|
|
"scope.userLocation": {
|
|
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
|
},
|
|
"scope.writePhotosAlbum": {
|
|
"desc": "用于保存小程序码到相册,方便分享给好友"
|
|
}
|
|
}
|
|
}
|