完成宠物小程序基础功能开发

✨ 新功能:
- 创建了4个主要Tab页面:宠物、助手、领养、我的
- 集成uview-ui-next UI框架
- 添加可爱的宠物主题图标
- 实现宠物列表展示和管理功能
- 配置微信小程序登录功能

🎨 界面优化:
- 使用uView组件美化界面
- 统一的设计风格和配色方案
- 响应式布局适配

📦 技术栈:
- uni-app + Vue3
- uview-ui-next UI框架
- 微信小程序平台
This commit is contained in:
2025-08-12 10:30:31 +08:00
parent dfdd118952
commit 3c7238a45c
19 changed files with 630 additions and 5 deletions
+74 -4
View File
@@ -1,5 +1,37 @@
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
"pages": [
{
"path": "pages/pets/pets",
"style": {
"navigationBarTitleText": "我的宠物",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/assistant/assistant",
"style": {
"navigationBarTitleText": "AI助手",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/adoption/adoption",
"style": {
"navigationBarTitleText": "领养专区",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/profile/profile",
"style": {
"navigationBarTitleText": "我的",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
},
{
"path": "pages/index/index",
"style": {
@@ -9,9 +41,47 @@
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
"navigationBarTitleText": "宠爱小程序",
"navigationBarBackgroundColor": "#ffffff",
"backgroundColor": "#f8f9fa"
},
"easycom": {
"autoscan": true,
"custom": {
"^u-(.*)": "uview-ui-next/components/u-$1/u-$1.vue"
}
},
"tabBar": {
"color": "#999999",
"selectedColor": "#ff6b6b",
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/pets/pets",
"text": "宠物",
"iconPath": "static/tabbar/pets.png",
"selectedIconPath": "static/tabbar/pets-active.png"
},
{
"pagePath": "pages/assistant/assistant",
"text": "助手",
"iconPath": "static/tabbar/assistant.png",
"selectedIconPath": "static/tabbar/assistant-active.png"
},
{
"pagePath": "pages/adoption/adoption",
"text": "领养",
"iconPath": "static/tabbar/adoption.png",
"selectedIconPath": "static/tabbar/adoption-active.png"
},
{
"pagePath": "pages/profile/profile",
"text": "我的",
"iconPath": "static/tabbar/profile.png",
"selectedIconPath": "static/tabbar/profile-active.png"
}
]
},
"uniIdRouter": {}
}