Files
glt-taro/src/app.config.ts
赵忠林 ecfbdc0286 feat(礼品卡): 优化颜色主题并添加核销功能
- 修改礼品卡颜色主题,使用渐变色提升视觉效果
- 添加礼品卡核销功能,包括生成和验证核销码
-优化礼品卡组件,增加状态显示和使用说明
- 新增礼品卡颜色测试页面,用于验证颜色
2025-08-17 10:01:56 +08:00

125 lines
2.6 KiB
TypeScript

export default defineAppConfig({
pages: [
'pages/index/index',
'pages/cart/cart',
'pages/find/find',
'pages/user/user'
],
"subpackages": [
{
"root": "passport",
"pages": [
"login",
"register",
"forget",
"setting",
"agreement",
"sms-login"
]
},
{
"root": "cms",
"pages": [
'category/index',
"detail/index"
]
},
{
"root": "user",
"pages": [
"order/order",
"company/company",
"profile/profile",
"setting/setting",
"userVerify/index",
"address/index",
"address/add",
"address/wxAddress",
"help/index",
"about/index",
"wallet/wallet",
"coupon/index",
"points/points",
"gift/index",
"gift/redeem",
"gift/detail",
"gift/qrcode-demo",
"store/verification"
]
},
{
"root": "dealer",
"pages": [
"index",
"withdraw/index",
"orders/index",
"team/index",
"qrcode/index"
]
},
{
"root": "shop",
"pages": ['category/index',
'orderDetail/index',
'goodsDetail/index',
'orderConfirm/index',
'orderConfirmCart/index',
'search/index']
},
{
"root": "admin",
"pages": [
"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/find/find",
iconPath: "assets/tabbar/find.png",
selectedIconPath: "assets/tabbar/find-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": "你的位置信息将用于小程序位置接口的效果展示"
}
}
})