| | |
| | | @input="onInput" |
| | | /> |
| | | <img |
| | | src="@/assets/image/icon-search.png" |
| | | src="@/assets/3x/资源 22@3x.png" |
| | | alt="logo" |
| | | class="w-32 h-32 mx-16" |
| | | /> |
| | |
| | | [Tabs.name]: Tabs, |
| | | }, |
| | | async created() { |
| | | this.keywords = this.$route.query.inputdata; |
| | | // console.log(this.inputdata, "this.inputdata"); |
| | | this.active = this.$route.query.active / 1; |
| | | if (this.userInfo.token) { |
| | | const list = await _myCoins(); // 获取我的自选 |
| | |
| | | arr.push({ id: i }); |
| | | } |
| | | return { |
| | | inputdata: "", |
| | | tabList: [ |
| | | { id: 1, text: this.$t("自选"), data: arr, loading: true }, |
| | | { id: 2, text: this.$t("现货"), data: arr, loading: true }, |
| | |
| | | clearTimeout(this.inputTimeout); |
| | | this.inputTimeout = null; |
| | | } |
| | | |
| | | this.inputTimeout = setTimeout(() => { |
| | | this.getFilterData(); |
| | | }, 50); |