pages.config.ts 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
  2. export default defineUniPages({
  3. globalStyle: {
  4. navigationStyle: 'default',
  5. navigationBarTitleText: 'unibest',
  6. navigationBarBackgroundColor: '#f8f8f8',
  7. navigationBarTextStyle: 'black',
  8. backgroundColor: '#FFFFFF',
  9. },
  10. easycom: {
  11. autoscan: true,
  12. custom: {
  13. '^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
  14. '^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
  15. 'z-paging/components/z-paging$1/z-paging$1.vue',
  16. },
  17. },
  18. tabBar: {
  19. color: '#999999',
  20. selectedColor: '#018d71',
  21. backgroundColor: '#F8F8F8',
  22. borderStyle: 'black',
  23. fontSize: '10px',
  24. iconWidth: '24px',
  25. spacing: '3px',
  26. custom: true,
  27. height: '0px',
  28. list: [
  29. {
  30. pagePath: 'pages/home/index',
  31. },
  32. {
  33. pagePath: 'pages/material/index',
  34. },
  35. // {
  36. // pagePath: 'pages/publish/index',
  37. // },
  38. {
  39. pagePath: 'pages/messages/index',
  40. },
  41. {
  42. pagePath: 'pages/mine/index',
  43. },
  44. ],
  45. },
  46. condition: {
  47. current: -1,
  48. list: [
  49. { name: '设计游学', path: 'pages/index/study-tour/index' },
  50. { name: '登录', path: 'pages/login/index' },
  51. { name: '我的', path: 'pages/mine/index' },
  52. { name: '设计师认证', path: 'pages/mine/authentication/index' },
  53. { name: '设计师认证提交成功', path: 'pages/mine/authentication/submit/success/index' },
  54. { name: '设计师个人主页', path: 'pages/mine/homepage/index' },
  55. {
  56. name: '确认订单',
  57. path: '/pages/home/mall/confirm-order/index',
  58. query:
  59. 'data={"isShoppingCart":0,"userId":287,"list":[{"orderNo":"241028151736FX00004","productId":"6719ed0ae4b09baa6eb01481","points":0,"nums":1}],"couponList":[],"totalsPoints":0,"totalsCouponPoints":0,"totalsCurrPoints":0}',
  60. },
  61. { name: '商品兑换成功', path: '/pages/home/mall/purchased/success/index' },
  62. ],
  63. },
  64. })