
- 删除所有用户相关的页面(登录、个人中心、修改密码等) - 移除隐私协议弹窗组件及相关样式 - 将wd-button组件替换为sar-button组件 - 更新页面配置和路由,移除用户相关路由 - 修改首页显示的分支名称 ``` 这个提交消息简明扼要地概括了主要变更: 1. 类型使用refactor表示这是代码重构 2. 描述了主要的变更内容: - 移除了用户相关功能 - 更新了UI组件库 - 修改了配置和路由 3. 保持了简洁的格式,符合提交消息规范
46 lines
1.2 KiB
TypeScript
46 lines
1.2 KiB
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
||
|
||
export default defineUniPages({
|
||
globalStyle: {
|
||
navigationStyle: 'default',
|
||
navigationBarTitleText: 'unibest',
|
||
navigationBarBackgroundColor: '#f8f8f8',
|
||
navigationBarTextStyle: 'black',
|
||
backgroundColor: '#FFFFFF',
|
||
},
|
||
easycom: {
|
||
autoscan: true,
|
||
custom: {
|
||
'^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
|
||
'^sar-(.*)': 'sard-uniapp/components/$1/$1.vue',
|
||
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
|
||
'z-paging/components/z-paging$1/z-paging$1.vue',
|
||
},
|
||
},
|
||
// 如果不需要tabBar,推荐使用 spa 模板。(pnpm create xxx -t spa)
|
||
tabBar: {
|
||
color: '#999999',
|
||
selectedColor: '#018d71',
|
||
backgroundColor: '#F8F8F8',
|
||
borderStyle: 'black',
|
||
height: '50px',
|
||
fontSize: '10px',
|
||
iconWidth: '24px',
|
||
spacing: '3px',
|
||
list: [
|
||
{
|
||
iconPath: 'static/tabbar/home.png',
|
||
selectedIconPath: 'static/tabbar/homeHL.png',
|
||
pagePath: 'pages/index/index',
|
||
text: '首页',
|
||
},
|
||
{
|
||
iconPath: 'static/tabbar/example.png',
|
||
selectedIconPath: 'static/tabbar/exampleHL.png',
|
||
pagePath: 'pages/about/about',
|
||
text: '关于',
|
||
},
|
||
],
|
||
},
|
||
})
|