129 lines
2.8 KiB
TypeScript
129 lines
2.8 KiB
TypeScript
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
|
|
export default defineUniPages({
|
|
easycom: {
|
|
autoscan: true,
|
|
custom: {
|
|
// uni-ui 规则如下配置
|
|
'^uni-(.*)': '@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue',
|
|
},
|
|
},
|
|
entryPagePath: 'pages/home/index',
|
|
pages: [
|
|
{
|
|
path: 'pages/home/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '首页',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '喂养计算器',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/feed-plan/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '喂养计划',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/me/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '我的',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/pet-manual/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '宠物手册',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/setting/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '设置',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/start-filing/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '开始建档',
|
|
},
|
|
},
|
|
{
|
|
path: 'pages/userInfo/index',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/FeedSlogan',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/FeedForm',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/FeedQuestionnaire',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/FeedStart',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/FeedStep',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-questionnaire/components/ProgressBar',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/pet-manual/components/CardList',
|
|
type: 'page',
|
|
},
|
|
{
|
|
path: 'pages/feed-plan-calculator/index',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '喂养问卷',
|
|
},
|
|
layout: 'custom',
|
|
},
|
|
{
|
|
path: 'pages/feed-plan-calculator/choose-product',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '喂养问卷',
|
|
},
|
|
layout: 'custom',
|
|
},
|
|
{
|
|
path: 'pages/feed-plan-calculator/confirm',
|
|
type: 'page',
|
|
style: {
|
|
navigationBarTitleText: '喂养问卷',
|
|
},
|
|
layout: 'custom',
|
|
},
|
|
],
|
|
globalStyle: {
|
|
backgroundColor: '#fff',
|
|
backgroundColorBottom: '@bgColorBottom',
|
|
backgroundColorTop: '@bgColorTop',
|
|
backgroundTextStyle: '@bgTxtStyle',
|
|
navigationBarBackgroundColor: '#fff',
|
|
navigationBarTextStyle: 'black',
|
|
navigationBarTitleText: '布兰德宠物喂养助手',
|
|
},
|
|
})
|