feat(page): 完善 page 组件

This commit is contained in:
就眠仪式
2021-10-09 22:20:55 +08:00
parent a1ddef595b
commit 0b89191414
3 changed files with 143 additions and 40 deletions

View File

@@ -1,7 +1,71 @@
::: demo
<template>
<lay-page limit=20 total=100></lay-page>
<lay-page limit=20 total=100 showPage></lay-page>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-page limit=20 total=100 ></lay-page>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-page limit=20 total=100 showPage theme="red"></lay-page>
<br>
<lay-page limit=20 total=100 showPage theme="blue"></lay-page>
<br>
<lay-page limit=20 total=100 showPage theme="orange"></lay-page>
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
return {
}
}
}
</script>
:::
::: demo
<template>
<lay-page limit=20 total=100 showCount showPage showLimit showRefresh showSkip></lay-page>
</template>
<script>