fix
This commit is contained in:
parent
cf86ff6b83
commit
db1e0f3a61
@ -2,7 +2,6 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<Herofilter
|
<Herofilter
|
||||||
v-if="nftType - 1 == 0"
|
v-if="nftType - 1 == 0"
|
||||||
@searchClear="searchClear"
|
|
||||||
@heroLevelChange="heroLevelChange"
|
@heroLevelChange="heroLevelChange"
|
||||||
@heroQuilityChange="heroQuilityChange"
|
@heroQuilityChange="heroQuilityChange"
|
||||||
@heroDurabilityChange="heroDurabilityChange"
|
@heroDurabilityChange="heroDurabilityChange"
|
||||||
@ -23,7 +22,6 @@
|
|||||||
></Herofilter>
|
></Herofilter>
|
||||||
<Weaponfilter
|
<Weaponfilter
|
||||||
v-else-if="nftType - 1 == 1"
|
v-else-if="nftType - 1 == 1"
|
||||||
@searchClear="searchClear"
|
|
||||||
@weaponSearch="weaponSearch"
|
@weaponSearch="weaponSearch"
|
||||||
@handWeaponSelect="handWeaponSelect"
|
@handWeaponSelect="handWeaponSelect"
|
||||||
@weaponLevelChange="weaponLevelChange"
|
@weaponLevelChange="weaponLevelChange"
|
||||||
@ -40,7 +38,6 @@
|
|||||||
></Weaponfilter>
|
></Weaponfilter>
|
||||||
<Chipfilter
|
<Chipfilter
|
||||||
v-else-if="nftType - 1 == 2"
|
v-else-if="nftType - 1 == 2"
|
||||||
@searchClear="searchClear"
|
|
||||||
@chipSearch="chipSearch"
|
@chipSearch="chipSearch"
|
||||||
@handChipSelect="handChipSelect"
|
@handChipSelect="handChipSelect"
|
||||||
@chipLevelChange="chipLevelChange"
|
@chipLevelChange="chipLevelChange"
|
||||||
@ -57,7 +54,6 @@
|
|||||||
></Chipfilter>
|
></Chipfilter>
|
||||||
<Piecefilter
|
<Piecefilter
|
||||||
v-else-if="nftType - 1 == 3"
|
v-else-if="nftType - 1 == 3"
|
||||||
@searchClear="searchClear"
|
|
||||||
@pieceSearch="pieceSearch"
|
@pieceSearch="pieceSearch"
|
||||||
@handPieceSelect="handPieceSelect"
|
@handPieceSelect="handPieceSelect"
|
||||||
@handPriceMax="handPriceMax"
|
@handPriceMax="handPriceMax"
|
||||||
@ -103,10 +99,6 @@ export default {
|
|||||||
Piecefilter,
|
Piecefilter,
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
searchClear(hero) {
|
|
||||||
// console.log(hero,'image.png');
|
|
||||||
this.$emit("searchClear", hero);
|
|
||||||
},
|
|
||||||
sliderChange(value) {
|
sliderChange(value) {
|
||||||
this.$emit("sliderChange", value);
|
this.$emit("sliderChange", value);
|
||||||
},
|
},
|
||||||
|
@ -33,7 +33,6 @@ export default {
|
|||||||
// },
|
// },
|
||||||
methods: {
|
methods: {
|
||||||
searchClear() {
|
searchClear() {
|
||||||
// this.$emit("searchClear", this.value);
|
|
||||||
console.log(this.value,'this.value ');
|
console.log(this.value,'this.value ');
|
||||||
this.value =''
|
this.value =''
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<div class="filter"></div>
|
<div class="filter"></div>
|
||||||
<SearchInput
|
<SearchInput
|
||||||
:hero="hero"
|
:hero="hero"
|
||||||
@searchClear="searchClear"
|
|
||||||
@Search="chipSearch"
|
@Search="chipSearch"
|
||||||
/>
|
/>
|
||||||
<PropertySelect
|
<PropertySelect
|
||||||
@ -143,10 +142,6 @@ export default {
|
|||||||
console.log(item, "chipStatus");
|
console.log(item, "chipStatus");
|
||||||
this.$emit("chipStatus", item);
|
this.$emit("chipStatus", item);
|
||||||
},
|
},
|
||||||
searchClear() {
|
|
||||||
// this.hero = "";
|
|
||||||
this.$emit("searchClear", this.hero);
|
|
||||||
},
|
|
||||||
sliderChange() {
|
sliderChange() {
|
||||||
this.$emit("sliderChange", value);
|
this.$emit("sliderChange", value);
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<div class="filter"></div>
|
<div class="filter"></div>
|
||||||
<SearchInput
|
<SearchInput
|
||||||
:heroValue="heroValue"
|
:heroValue="heroValue"
|
||||||
@searchClear="searchClear"
|
|
||||||
@Search="heroSearch"
|
@Search="heroSearch"
|
||||||
/>
|
/>
|
||||||
<PropertySelect
|
<PropertySelect
|
||||||
@ -146,9 +145,6 @@ export default {
|
|||||||
heroSearch(value) {
|
heroSearch(value) {
|
||||||
this.$emit("heroSearch", value);
|
this.$emit("heroSearch", value);
|
||||||
},
|
},
|
||||||
searchClear(hero) {
|
|
||||||
// this.hero = "";
|
|
||||||
},
|
|
||||||
sliderChange() {
|
sliderChange() {
|
||||||
this.$emit("sliderChange", value);
|
this.$emit("sliderChange", value);
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<div class="filter"></div>
|
<div class="filter"></div>
|
||||||
<SearchInput
|
<SearchInput
|
||||||
:hero="hero"
|
:hero="hero"
|
||||||
@searchClear="searchClear"
|
|
||||||
@Search="pieceSearch"
|
@Search="pieceSearch"
|
||||||
/>
|
/>
|
||||||
<PropertySelect
|
<PropertySelect
|
||||||
@ -149,10 +148,6 @@ export default {
|
|||||||
pieceStatus(item) {
|
pieceStatus(item) {
|
||||||
this.$emit("pieceStatus", item);
|
this.$emit("pieceStatus", item);
|
||||||
},
|
},
|
||||||
searchClear() {
|
|
||||||
// this.hero = "";
|
|
||||||
this.$emit("searchClear", this.hero);
|
|
||||||
},
|
|
||||||
sliderChange() {
|
sliderChange() {
|
||||||
this.$emit("sliderChange", value);
|
this.$emit("sliderChange", value);
|
||||||
},
|
},
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<div class="filter"></div>
|
<div class="filter"></div>
|
||||||
<SearchInput
|
<SearchInput
|
||||||
:hero="hero"
|
:hero="hero"
|
||||||
@searchClear="searchClear"
|
|
||||||
@Search="weaponSearch"
|
@Search="weaponSearch"
|
||||||
/>
|
/>
|
||||||
<PropertySelect
|
<PropertySelect
|
||||||
@ -154,10 +153,6 @@ export default {
|
|||||||
jobStatus(item) {
|
jobStatus(item) {
|
||||||
this.jobList[item.id].jobType = !this.jobList[item.id].jobType;
|
this.jobList[item.id].jobType = !this.jobList[item.id].jobType;
|
||||||
},
|
},
|
||||||
searchClear() {
|
|
||||||
// this.hero = "";
|
|
||||||
this.$emit("searchClear", this.hero);
|
|
||||||
},
|
|
||||||
weaponSearch(value) {
|
weaponSearch(value) {
|
||||||
this.$emit("weaponSearch", value);
|
this.$emit("weaponSearch", value);
|
||||||
},
|
},
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
<!-- <search-panel @filter-show="showFilter" :nft-type="nftType" :class="{'show': mobileFilterShow}"></search-panel> -->
|
<!-- <search-panel @filter-show="showFilter" :nft-type="nftType" :class="{'show': mobileFilterShow}"></search-panel> -->
|
||||||
<FilterLeft
|
<FilterLeft
|
||||||
@filter-show="showFilter"
|
@filter-show="showFilter"
|
||||||
@searchClear="searchClear"
|
|
||||||
@sliderChange="sliderChange"
|
@sliderChange="sliderChange"
|
||||||
@heroSearch="heroSearch"
|
@heroSearch="heroSearch"
|
||||||
@handSelect="handSelect"
|
@handSelect="handSelect"
|
||||||
@ -467,7 +466,7 @@ export default class Market extends Vue {
|
|||||||
this.searchFilters = value;
|
this.searchFilters = value;
|
||||||
this.debounce();
|
this.debounce();
|
||||||
}
|
}
|
||||||
searchClear(hero: string) {}
|
|
||||||
handSelect(value: string) {
|
handSelect(value: string) {
|
||||||
this.searchFilters = value;
|
this.searchFilters = value;
|
||||||
this.getHeroNftList(this.starts);
|
this.getHeroNftList(this.starts);
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<FilterLeft
|
<FilterLeft
|
||||||
@filter-show="showFilter"
|
@filter-show="showFilter"
|
||||||
@searchClear="searchClear"
|
|
||||||
@heroSearch="heroSearch"
|
@heroSearch="heroSearch"
|
||||||
@handSelect="handSelect"
|
@handSelect="handSelect"
|
||||||
@jobStatus="jobStatus"
|
@jobStatus="jobStatus"
|
||||||
@ -511,9 +510,7 @@ export default class MyNft extends Vue {
|
|||||||
this.searchFilters = value;
|
this.searchFilters = value;
|
||||||
this.debounce();
|
this.debounce();
|
||||||
}
|
}
|
||||||
searchClear(hero: string) {
|
|
||||||
console.log(hero, "herio2020");
|
|
||||||
}
|
|
||||||
handSelect(value: string) {
|
handSelect(value: string) {
|
||||||
console.log(value, "value");
|
console.log(value, "value");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user