重构学习任务

This commit is contained in:
田岩
2025-09-12 14:27:18 +08:00
parent 3e2f81bbda
commit ca7f9a09a1
61 changed files with 11150 additions and 305 deletions
+13
View File
@@ -3,6 +3,19 @@ import { createSSRApp } from 'vue'
import pinia from './store.js'
import CommonLoading from './components/loading.vue'
uni.$zp = {
config: {
'default-page-size': 15,
'show-loading-more-when-reload': true, // 列表刷新时自动显示加载更多view,且为加载中状态
'show-scrollbar': false, // 控制是否出现滚动条
'refresher-refreshing-scrollable': false, // 自定义下拉刷新刷新中状态是否允许列表滚动
"min-delay":300,// 触发@query后最小延迟处理的时间,单位为毫秒
'empty-view-img': '/static/images/common/default_img.png',
'empty-view-center': false, // 空数据图片是否垂直居中,默认为是,若设置为否即为从空数据容器顶部开始显示
//'auto-hide-empty-view-when-pull':false,// 加载中时是否自动隐藏空数据图
}
}
export function createApp() {
const app = createSSRApp(App)
app.use(pinia)