| | |
| | | data: [], |
| | | }) |
| | | const offset = useRouteQuery("offset", 0, {transform: Number}) |
| | | const limit = 24 |
| | | const limit = 22 |
| | | const error = ref(null) |
| | | |
| | | onMounted(() => init(offset.value)) |
| | |
| | | |
| | | <div class="users"> |
| | | |
| | | <Pagination :offset="users.offset" :limit="users.limit" :total="users.total" @go="go" /> |
| | | <div class="users-header"> |
| | | <div class="search"> |
| | | Search |
| | | <input type="text" size="30"> |
| | | </div> |
| | | <Pagination :offset="users.offset" :limit="users.limit" :total="users.total" @go="go" /> |
| | | </div> |
| | | |
| | | <table class="w100p"> |
| | | <thead> |
| | |
| | | |
| | | </template> |
| | | |
| | | <style scoped> |
| | | <style scoped lang="stylus"> |
| | | |
| | | .users-header |
| | | display flex; |
| | | align-items center |
| | | justify-content space-around |
| | | margin-bottom 1em; |
| | | margin-top -.5em; |
| | | border 1px dotted #ccc |
| | | background-color #eee; |
| | | |
| | | </style> |