|
@@ -3,7 +3,7 @@
|
|
* @Description: 商品列表-商品信息插槽
|
|
* @Description: 商品列表-商品信息插槽
|
|
* @Author: Cheney
|
|
* @Author: Cheney
|
|
*/
|
|
*/
|
|
-import { CopyDocument } from '@element-plus/icons-vue';
|
|
|
|
|
|
+import { CopyDocument, Picture as IconPicture } from '@element-plus/icons-vue';
|
|
import { handleCopy } from '/@/utils/useCopyText';
|
|
import { handleCopy } from '/@/utils/useCopyText';
|
|
|
|
|
|
|
|
|
|
@@ -49,10 +49,15 @@ const props = defineProps({
|
|
</template>
|
|
</template>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</div>
|
|
</div>
|
|
- <el-image v-else :style="`width: ${imgWidth}px; margin-right: 5px;`" lazy>
|
|
|
|
- <div slot="error" class="image-slot">
|
|
|
|
- <i class="el-icon-picture-outline"></i>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <el-image v-else :style="`width: ${imgWidth}px; margin-right: 5px; font-size: 2.7rem;`" lazy>
|
|
|
|
+ <!--<div slot="error" class="image-slot">-->
|
|
|
|
+ <!-- <i class="el-icon-picture-outline"></i>-->
|
|
|
|
+ <!--</div>-->
|
|
|
|
+ <template #error>
|
|
|
|
+ <div class="image-slot">
|
|
|
|
+ <el-icon><icon-picture /></el-icon>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
</el-image>
|
|
</el-image>
|
|
<div class="text-left">
|
|
<div class="text-left">
|
|
<el-tooltip :content="item.title" :disabled="showTitleTooltip || !item.title" effect="dark" placement="top-start"
|
|
<el-tooltip :content="item.title" :disabled="showTitleTooltip || !item.title" effect="dark" placement="top-start"
|