Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite
This commit is contained in:
@@ -304,6 +304,23 @@ const {} = toRefs(data);
|
||||
&.Small{
|
||||
--itemWidth: 17rem;
|
||||
--itemHeight: 26.1rem;
|
||||
--iconFS: 1.4rem;
|
||||
--iconWH: 2.4rem;
|
||||
--iconTR: 1.2rem;
|
||||
}
|
||||
&.Medium{
|
||||
--itemWidth: 22.6rem;
|
||||
--itemHeight: 34.6rem;
|
||||
--iconFS: 1.6rem;
|
||||
--iconWH: 3rem;
|
||||
--iconTR: 1.4rem;
|
||||
}
|
||||
&.Large{
|
||||
--itemWidth: 29.2rem;
|
||||
--itemHeight: 44.8rem;
|
||||
--iconFS: 2.2rem;
|
||||
--iconWH: 4rem;
|
||||
--iconTR: 1.62rem;
|
||||
}
|
||||
> .item{
|
||||
width: var(--itemWidth);
|
||||
@@ -314,18 +331,19 @@ const {} = toRefs(data);
|
||||
position: relative;
|
||||
> .choose{
|
||||
display: flex;
|
||||
width: 2.4rem;
|
||||
height: 2.4rem;
|
||||
width: var(--iconWH);
|
||||
height: var(--iconWH);
|
||||
position: absolute;
|
||||
background-color: #000;
|
||||
border-radius: 50%;
|
||||
display: none;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
top: 1.2rem;
|
||||
right: .9rem;
|
||||
top: var(--iconTR);
|
||||
right: var(--iconTR);
|
||||
> i{
|
||||
color: #fff;
|
||||
font-size: var(--iconFS);
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user