diff --git a/pages.config.ts b/pages.config.ts index 52aaccb..43b89cd 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -23,6 +23,7 @@ export default defineUniPages({ style: { navigationBarTitleText: '喂养计算器', }, + layout: 'custom', }, { path: 'pages/feed-plan/index', @@ -58,39 +59,12 @@ export default defineUniPages({ style: { navigationBarTitleText: '开始建档', }, + layout: 'custom', }, { 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', diff --git a/src/components.d.ts b/src/components.d.ts index 41ffbab..df6f93d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -12,11 +12,17 @@ declare module 'vue' { BSlider: typeof import('./components/BSlider.vue')['default'] Cell: typeof import('./components/Cell.vue')['default'] CellGroup: typeof import('./components/CellGroup.vue')['default'] + FeedForm: typeof import('./components/FeedForm.vue')['default'] + FeedQuestionnaire: typeof import('./components/FeedQuestionnaire.vue')['default'] + FeedSlogan: typeof import('./components/FeedSlogan.vue')['default'] + FeedStart: typeof import('./components/FeedStart.vue')['default'] + FeedStep: typeof import('./components/FeedStep.vue')['default'] PickerDate: typeof import('./components/PickerDate.vue')['default'] PickerItem: typeof import('./components/PickerItem.vue')['default'] PopupInput: typeof import('./components/PopupInput.vue')['default'] ProductItem: typeof import('./components/ProductItem.vue')['default'] ProductReadonlyItem: typeof import('./components/ProductReadonlyItem.vue')['default'] + ProgressBar: typeof import('./components/ProgressBar.vue')['default'] SectionCard: typeof import('./components/SectionCard.vue')['default'] TabBar: typeof import('./components/TabBar.vue')['default'] TitleBar: typeof import('./components/TitleBar.vue')['default'] diff --git a/src/components/BButton.vue b/src/components/BButton.vue index c30fd72..5531747 100644 --- a/src/components/BButton.vue +++ b/src/components/BButton.vue @@ -10,7 +10,7 @@ const props = withDefaults(defineProps<{