| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- 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"
- }
- })
|