Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-10-25 17:41:11 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf0dc3fc596fa758d817325595d4503de93327d0
cf0dc3fc
1 parent
7107e143
产品分类图片显示优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/views/product/index.vue
src/views/product/index.vue
View file @
cf0dc3f
<!--
* @Date: 2024-09-27 16:53:09
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-2
4 10:01:46
* @LastEditTime: 2024-10-2
5 16:32:22
* @FilePath: /hager/src/views/product/index.vue
* @Description: 文件描述
-->
...
...
@@ -33,7 +33,7 @@
<div class="product-list">
<div class="product-item" v-for="(item, index) in product_list" :key="index">
<div class="product-item-img">
<
el-image style="width: 100%; height: 100%" :src="item.cover" fit="fit"></el-image
>
<
img style="width: 100%; height: auto;" :src="item.cover"
>
</div>
<p @click="goToDetail(item)" class="product-item-title">{{ item.product_name }}</p>
</div>
...
...
@@ -44,7 +44,7 @@
<div v-else class="product-list">
<div class="product-item xs" v-for="(item, index) in product_list" :key="index">
<div @click="goToDetail(item)" class="product-item-img xs">
<
el-image style="width: 100%; height: auto;" :src="item.cover" fit="fit"></el-image
>
<
img style="width: 100%; height: auto;" :src="item.cover"
>
</div>
<p @click="goToDetail(item)" class="product-item-title">{{ item.product_name }}</p>
</div>
...
...
Please
register
or
login
to post a comment