import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages' import { appName, primaryColor } from './src/settings/index.mjs' export default defineUniPages({ easycom: { autoscan: true, custom: { "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue", "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue" } }, pages: [ { path: "pages/Tabbar/Home/index", aliasPath: "/index", name: "index", style: { navigationStyle: "custom", navigationBarTitleText: "主页" }, type: "home" }, { path: "pages/Tabbar/My/index", aliasPath: "/My", name: "My", style: { navigationStyle: "custom", navigationBarTitleText: "我的" }, type: "My" }, { path: "pages/login/index", aliasPath: "/login", name: "login", style: { navigationStyle: "custom", navigationBarTitleText: "登录" } }, { path: "pages/register/index", aliasPath: "/register", name: "register", style: { navigationStyle: "custom", navigationBarTitleText: "注册" } }, { path: "pages/index/example/index", aliasPath: "/example", name: "example", style: { navigationStyle: "custom", navigationBarTitleText: "-----------示例-----------" } }, { path: "pages/index/user/index", aliasPath: "/user", name: "user", style: { navigationStyle: "custom", navigationBarTitleText: "-----------我的-----------" } } ], subPackages: [ { root: "pages/common", pages: [ { path: "web-view/index", aliasPath: "/web-view", name: "web-view", style: { navigationBarTitleText: "web-view", transparentTitle: "-----------auto-----------" } }, { path: "rich-view/index", aliasPath: "/rich-view", name: "rich-view", style: { navigationBarTitleText: "-----------rich-view-----------" } } ] }, { root: "pages/tips", pages: [ { path: "middleware/index", aliasPath: "/tips-middleware", name: "tips-middleware", meta: { middleware: [ "test" ] }, style: { navigationBarTitleText: "-----------中间件-----------" } } ] }, { root: "pages/template", pages: [ { path: "paging/index", aliasPath: "/template-paging", name: "template-paging", style: { navigationBarTitleText: "-----------通用列表-----------" } } ] }, { root: "pages/personal", pages: [ { path: "index", aliasPath: "/personal", name: "personal", style: { navigationBarTitleText: "-----------个人资料-----------", transparentTitle: "auto" } } ] }, { root: "pages/contact", pages: [ { path: "index", aliasPath: "/contact", name: "contact", style: { navigationBarTitleText: "-----------联系我们-----------", transparentTitle: "auto" } } ] }, { root: "pages/preference", pages: [ { path: "index", aliasPath: "/preference", name: "preference", style: { navigationBarTitleText: "-----------偏好设置-----------" } } ] }, { root: "pages/feedback", pages: [ { path: "index", aliasPath: "/feedback", name: "feedback", style: { navigationBarTitleText: "-----------意见反馈-----------", transparentTitle: "auto" } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "safety/index", aliasPath: "/safety", name: "safety", style: { navigationBarTitleText: "安全", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "userInfo/index", aliasPath: "/userInfo", name: "userInfo", style: { navigationBarTitleText: "用户信息", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "topUp/index", aliasPath: "/topUp", name: "topUp", style: { navigationBarTitleText: "充值", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "rechargeRecord/index", aliasPath: "/rechargeRecord", name: "rechargeRecord", style: { navigationBarTitleText: "充值记录", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "withdraw/index", aliasPath: "/withdraw", name: "withdraw", style: { navigationBarTitleText: "提现", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "withdrawalHistory/index", aliasPath: "/withdrawalHistory", name: "withdrawalHistory", style: { navigationBarTitleText: "提现记录", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/WorkModule/my", pages: [ { path: "changePassword/index", aliasPath: "/changePassword", name: "changePassword", style: { navigationBarTitleText: "修改密码", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] }, { root: "pages/Tabbar/Entertainment", pages: [ { path: "view/history/index", aliasPath: "/history", name: "history", style: { navigationBarTitleText: "往期历史", transparentTitle: "auto", "app-plus": { "titleNView": false } } } ] } ], tabBar: { color: "#999999", selectedColor: "#f8b932", backgroundColor: "#FFFFFF", iconWidth: "20px", list: [ { iconPath: "static/images/tabbar/g1.png", selectedIconPath: "static/images/tabbar/g.png", pagePath: "pages/Tabbar/Home/index", text: "首页" }, { iconPath: "static/images/tabbar/a.png", selectedIconPath: "static/images/tabbar/a1.png", pagePath: "pages/index/example/index", text: "滚球" }, { iconPath: "static/images/tabbar/b.png", selectedIconPath: "static/images/tabbar/b1.png", pagePath: "pages/index/user/index", text: "体育博彩" }, { iconPath: "static/images/tabbar/d.png", selectedIconPath: "static/images/tabbar/d1.png", pagePath: "pages/Tabbar/BettingHistory/index", text: "投注历史" }, { iconPath: "static/images/tabbar/h1.png", selectedIconPath: "static/images/tabbar/h.png", pagePath: "pages/Tabbar/My/index", text: "我的" } ] }, globalStyle: { navigationBarTitleText: "MelBet", navigationBarBackgroundColor: "#FFFFFF", navigationBarTextStyle: "black", backgroundColor: "#F8F8F8" } })