|
@@ -1,24 +1,28 @@
|
|
|
<template>
|
|
|
- <div class="leftBox">
|
|
|
- <div class="search-bar">
|
|
|
- <input
|
|
|
- v-model="leftBox.input"
|
|
|
- type="text"
|
|
|
- placeholder="输入关键字进行搜索"
|
|
|
- @keyup.enter="searchFn"
|
|
|
- />
|
|
|
- <div class="icons">
|
|
|
- <span class="icon i-mdi-search" @click="searchFn"></span>
|
|
|
- <span class="icon i-mdi-delete" @click="clearFn"></span>
|
|
|
- <span class="icon i-mdi-swap-horizontal" @click="sortFn"></span>
|
|
|
+ <div>
|
|
|
+ <boxTop />
|
|
|
+ <div class="leftBox">
|
|
|
+ <div class="search-bar">
|
|
|
+ <input
|
|
|
+ v-model="leftBox.input"
|
|
|
+ type="text"
|
|
|
+ placeholder="输入关键字进行搜索"
|
|
|
+ @keyup.enter="searchFn"
|
|
|
+ />
|
|
|
+ <div class="icons">
|
|
|
+ <span class="icon i-mdi-search" @click="searchFn"></span>
|
|
|
+ <span class="icon i-mdi-delete" @click="clearFn"></span>
|
|
|
+ <span class="icon i-mdi-swap-horizontal" @click="sortFn"></span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <item :list="leftBox.list" />
|
|
|
</div>
|
|
|
- <item :list="leftBox.list" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import item from './item.vue'
|
|
|
+import boxTop from '@/components/boxTop/index.vue'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -32,6 +36,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
+ boxTop,
|
|
|
item,
|
|
|
},
|
|
|
async created() {
|