This commit is contained in:
李志鹏
2026-04-14 15:07:20 +08:00
parent 54cc7bd359
commit 68de44236d
2 changed files with 7 additions and 4 deletions

View File

@@ -266,9 +266,11 @@ export default defineComponent({
.account_page{
height: 100%;
// overflow-y: auto;
padding: 0 26rem;
// padding: 0 26rem;
// padding: 0 7rem;
padding-top: 4rem;
max-width: 100rem;
margin: 0 auto;
display: flex;
overflow: hidden;
.account_page_titleImg{

View File

@@ -93,7 +93,7 @@
const maxItemNum = ref(2)
const loading = ref(false)
const finish = ref(false)
const total = ref(30)
const total = ref(0)
const page = ref(1)
const size = ref(10)
const nameOrId = ref("")
@@ -107,9 +107,9 @@
}
const data = {
page: page.value,
size: size.value,
nameOrId: nameOrId.value
size: size.value
}
if (nameOrId.value) data.nameOrId = nameOrId.value
console.log(data)
setTimeout(() => {
for (let i = 0; i < size.value; i++) {
@@ -134,6 +134,7 @@
]
})
}
total.value = 30
page.value++
finish.value = page.value > total.value / 10
loading.value = false