暂时提交

This commit is contained in:
2025-12-15 10:54:30 +08:00
parent fa1132ebe9
commit 4983d9cbc7
15 changed files with 49 additions and 34 deletions

View File

@@ -23,15 +23,15 @@ export function useColumnCount(onChange = () => {}) {
const width = uni.getSystemInfoSync().windowWidth
let count = 2
if (width >= 1000) {
count = 5
} else if (width >= 750) {
count = 4
} else if (width >= 500) {
count = 3
} else {
count = 2
}
// if (width >= 1000) {
// count = 5
// } else if (width >= 750) {
// count = 4
// } else if (width >= 500) {
// count = 3
// } else {
// count = 2
// }
if (count !== columnCount.value) {
columnCount.value = count