Commit d5d4c552 by wuqian

兼容普品图片

parent c75f478c
......@@ -150,7 +150,7 @@
</span>
</el-form-item>
</div>
<div>
<div class="table-content">
<TableView
ref="productTable"
:paginated-data="testingData?.productList || []"
......@@ -159,12 +159,11 @@
@row-click="handleRowClick"
>
<template #image="{ row }">
<div
v-if="row.previewImgs?.length"
style="display: flex; flex-wrap: nowrap"
>
<div style="display: flex; flex-wrap: nowrap">
<div
v-for="img in row.previewImgs"
v-for="img in row.productMark !== 'normal'
? row.previewImgs
: [{ url: row.variantImage }]"
:key="img"
style="cursor: pointer; margin-right: 5px; flex: 1"
@click.stop="handleCurrentChange(img.url)"
......@@ -661,6 +660,10 @@ const onClose = () => {
::v-deep .el-form-item {
margin-bottom: 0 !important;
}
.table-content {
height: 670px;
overflow: auto;
}
.pod-make-order-dialog {
.el-dialog {
display: flex;
......
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