Commit 3d5da2cc by chenyu

update: 身形图片不显示

parent c7b41ece
......@@ -503,11 +503,16 @@
}
.dictFigure-wrap {
display: flex;
gap: 39px;
justify-content: flex-start;
flex-wrap: wrap;
.dictFigure-item {
display: flex;
width: 134px;
height: 68px;
margin-bottom: 20px;
&.dictFigure-item{
margin-left: 39px;
}
.img-wrap {
width: 68px;
height: 68px;
......@@ -515,9 +520,6 @@
background: #f5f7fa;
text-align: center;
}
img {
height: 100%;
}
.right {
display: flex;
flex-direction: column;
......
......@@ -397,8 +397,10 @@
<template v-for="item in tagAndRemarkInfo.dictFigureList">
<li :key="item" class="dictFigure-item">
<div v-if="item.imageUrl" class="img-wrap">
<img :alt="item.dictName"
:src="`./static/img/body-shape-${member.memberGender===1?'man':'woman'}/${item.imageUrl}`">
<el-image
style="width: 68px; height: 68px"
:src="`./static/img/body-shape-${member.memberGender===1?'man':'woman'}/${item.imageUrl}`"
fit="contain"></el-image>
</div>
<div class="right">
<p class="dict-name">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment