| | |
| | | }) |
| | | |
| | | |
| | | function getPages () { |
| | | function getPages() { |
| | | getPage().then(res => { |
| | | parkQy.value = res.data.data.records |
| | | console.log(res) |
| | |
| | | }) |
| | | } |
| | | |
| | | function search () { |
| | | function search() { |
| | | getPage({ name: searchQuery.value }).then(res => { |
| | | parkQy.value = res.data.data.records |
| | | console.log(res) |
| | |
| | | border: 1px solid #ccc; |
| | | border-radius: 4px 0 0 4px; |
| | | outline: none; |
| | | background-color: transparent; |
| | | color: #fff; |
| | | } |
| | | |
| | | .search-button { |
| | |
| | | .data-content-item { |
| | | display: flex; |
| | | margin: 2px 10px; |
| | | padding: 5px 0; |
| | | padding: 5px 5px; |
| | | background-color: #747bff; |
| | | justify-content: space-between; |
| | | border-radius: 5px; |