Commit d5d4c552 by wuqian

兼容普品图片

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