Commit 674fd9c9 by Sweet Zhang

兼容小屏

parent 0330fa6e
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-table <el-table
height="600" height="70%"
:data="tableData" :data="tableData"
:span-method="objectSpanMethod" :span-method="objectSpanMethod"
border border
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
:close-on-click-modal="false" :close-on-click-modal="false"
> >
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table v-loading="settingLoading" :data="settingList" border ref="settingTableRef"> <el-table v-loading="settingLoading" :data="settingList" border ref="settingTableRef" height="75%">
<el-table-column <el-table-column
label="序号 " label="序号 "
width="55" width="55"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%; margin-top: 20px" height="600" <el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%; margin-top: 20px" height="70%"
row-key="rowKey"> row-key="rowKey">
<!-- 动态生成所有列 --> <!-- 动态生成所有列 -->
<template v-for="column in tableColumns" :key="column.prop"> <template v-for="column in tableColumns" :key="column.prop">
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</el-form> </el-form>
<!-- 表格数据 --> <!-- 表格数据 -->
<el-table v-loading="loading" :data="tableList" height="600"> <el-table v-loading="loading" :data="tableList">
<el-table-column label="商品图片" align="center" prop="mainUrls" width="150"> <el-table-column label="商品图片" align="center" prop="mainUrls" width="150">
<template #default="scope"> <template #default="scope">
<el-image <el-image
......
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