wip: 临时提交

This commit is contained in:
Ray.Hao
2025-07-27 11:49:43 +08:00
parent 7fa0758b19
commit 043f5b0ec4
11 changed files with 173 additions and 116 deletions

View File

@@ -3,37 +3,45 @@ import { defineUniPages } from "@uni-helper/vite-plugin-uni-pages";
export default defineUniPages({
// 你也可以定义 pages 字段,它具有最高的优先级。
pages: [
{
path: "pages/index/index",
layout: "tabbar",
},
{
path: "pages/mine/index",
layout: "tabbar",
},
],
pages: [],
globalStyle: {
navigationStyle: "custom",
navigationBarTextStyle: "black",
navigationBarTitleText: "youlai-mall-app",
navigationBarBackgroundColor: "#F8F8F8",
backgroundColor: "#F8F8F8",
// 导航栏配置
navigationBarBackgroundColor: "@navBgColor",
navigationBarTextStyle: "@navTxtStyle",
navigationBarTitleText: "Wot-Demo",
// 页面背景配置
backgroundColor: "@bgColor",
backgroundTextStyle: "@bgTxtStyle",
backgroundColorTop: "@bgColorTop",
backgroundColorBottom: "@bgColorBottom",
// 下拉刷新配置
enablePullDownRefresh: false,
onReachBottomDistance: 50,
// 动画配置
animationType: "pop-in",
animationDuration: 300,
},
tabBar: {
custom: true,
height: "0px",
color: "#00000000",
selectedColor: "#00000000",
backgroundColor: "#00000000",
// #ifdef MP-ALIPAY
customize: true,
// 暂时不生效。4.71.2025061206-alpha已修复https://uniapp.dcloud.net.cn/release-note-alpha.html#_4-71-2025061206-alpha我们等正式版发布后更新。
overlay: true,
// #endif
height: "0",
color: "@tabColor",
selectedColor: "@tabSelectedColor",
backgroundColor: "@tabBgColor",
borderStyle: "@tabBorderStyle",
list: [
{
text: "首页",
pagePath: "pages/index/index",
},
{
text: "我的",
pagePath: "pages/mine/index",
},
],