|
|
|
@@ -13,8 +13,8 @@ |
|
|
|
width="50%" |
|
|
|
> |
|
|
|
<div class="ui icon input" style="z-index: 9999;position: absolute;right: 50px;height:30px;"> |
|
|
|
<i class="search icon" style="cursor: pointer;pointer-events:auto" @click="searchName()"></i> |
|
|
|
<input type="text" placeholder="搜镜像Tag/描述/标签..." v-model="search" @keyup.enter.prevent="searchName()"> |
|
|
|
<i class="search icon" style="cursor: pointer;pointer-events:auto"></i> |
|
|
|
<input type="text" placeholder="搜镜像Tag/描述/标签..." v-model="search"> |
|
|
|
</div> |
|
|
|
<el-tabs v-model="activeName" @tab-click="handleClick"> |
|
|
|
<el-tab-pane label="公开镜像" name="first" v-loading="loadingPublic"> |
|
|
|
@@ -278,13 +278,27 @@ export default { |
|
|
|
|
|
|
|
}, |
|
|
|
selectImages(place){ |
|
|
|
console.log("================") |
|
|
|
this.imageAddress = place |
|
|
|
this.dialogVisible = false |
|
|
|
}, |
|
|
|
|
|
|
|
}, |
|
|
|
watch:{ |
|
|
|
search(val){ |
|
|
|
if(this.activeName=='first'){ |
|
|
|
this.paramsPublic.q = val |
|
|
|
this.getImageListPublic() |
|
|
|
} |
|
|
|
if(this.activeName=='second'){ |
|
|
|
this.paramsCustom.q = val |
|
|
|
this.getImageListCustom() |
|
|
|
} |
|
|
|
if(this.activeName=='third'){ |
|
|
|
this.paramsStar.q = val |
|
|
|
this.getImageListStar() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.getImageListPublic() |
|
|
|
|