This commit is contained in:
huangjinming 2023-01-06 10:55:22 +08:00
parent ec1d364ad8
commit 70a0b13031
7 changed files with 14 additions and 6 deletions

View File

@ -11,7 +11,7 @@
<div class="for-rent-img"> <div class="for-rent-img">
<img <img
width="205px" width="205px"
src="../../../assets/market/hero/for-rent.png" src="../../../assets/market/hero/no-sale.png"
alt="" alt=""
/> />
</div> </div>

View File

@ -74,6 +74,9 @@ export default {
jobStatus(item) { jobStatus(item) {
this.$emit("jobStatus", item); this.$emit("jobStatus", item);
}, },
handHeroSelect(value) {
this.$emit("handHeroSelect", value);
},
}, },
}; };
</script> </script>

View File

@ -11,7 +11,7 @@
<div class="for-rent-img"> <div class="for-rent-img">
<img <img
width="205px" width="205px"
src="../../../assets/market/hero/for-rent.png" src="../../../assets/market/hero/no-sale.png"
alt="" alt=""
/> />
</div> </div>

View File

@ -115,8 +115,8 @@ export default {
handclick() { handclick() {
this.$emit("hande"); this.$emit("hande");
}, },
handHeroSelect() { handHeroSelect(value) {
this.$emit("handHeroSelect"); this.$emit("handHeroSelect",value);
}, },
}, },
}; };

View File

@ -11,7 +11,7 @@
<div class="for-rent-img"> <div class="for-rent-img">
<img <img
width="205px" width="205px"
src="../../../assets/market/hero/for-rent.png" src="../../../assets/market/hero/no-sale.png"
alt="" alt=""
/> />
</div> </div>

View File

@ -11,7 +11,7 @@
<div class="for-rent-img"> <div class="for-rent-img">
<img <img
width="205px" width="205px"
src="../../../assets/market/hero/for-rent.png" src="../../../assets/market/hero/no-sale.png"
alt="" alt=""
/> />
</div> </div>

View File

@ -5,6 +5,7 @@
:nftType="nftType" :nftType="nftType"
@handSearch="handSearch" @handSearch="handSearch"
@jobStatus="jobStatus" @jobStatus="jobStatus"
@handHeroSelect="handHeroSelect"
:chipList="chipList" :chipList="chipList"
:pieceList="pieceList" :pieceList="pieceList"
:jobList="jobList" :jobList="jobList"
@ -270,6 +271,10 @@ export default {
this.jobFilters = newArray.join("|"); this.jobFilters = newArray.join("|");
this.getHeroNftList(this.starts); this.getHeroNftList(this.starts);
}, },
handHeroSelect(value) {
this.searchFilters = value;
this.getHeroNftList();
},
async getHeroNftList(pageNo) { async getHeroNftList(pageNo) {
if (!AppModule.accountId) { if (!AppModule.accountId) {
return; return;