Skip to content

Commit

Permalink
更新图片分类
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Nov 30, 2023
1 parent 72346a3 commit 639b984
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/configs/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ export const ImageCategoryInfo = [
{id: 5, name: '情感', type: 'feelings', data: []},
{id: 6, name: '健康', type: 'health', data: []},
{id: 7, name: '人物', type: 'people', data: []},
{id: 8, name: '宗教', type: 'religion', data: []},
{id: 9, name: '场所', type: 'places', data: []},
{id: 10, name: '动物', type: 'animals', data: []},
{id: 11, name: '工业', type: 'industry', data: []},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
</el-button>
</el-col>
</el-row>
<el-row class="category-box">

<el-row class="category-box" v-show="item.data">
<el-col :span="12" v-for="img in item.data">
<img :src="img.previewURL" alt="">
</el-col>
<el-col :span="12"></el-col>
</el-row>
</div>
</div>
Expand Down Expand Up @@ -83,6 +86,7 @@ onMounted(() => {
}
.category-box {
height: 150px;
flex-wrap: nowrap
}
.category-container {
overflow-y: scroll;
Expand Down

0 comments on commit 639b984

Please sign in to comment.