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