Commit 91fb4120 authored by 周远喜's avatar 周远喜

ok

parent 62ba4b0e
......@@ -27,7 +27,7 @@
</div>
<div class="fg" ref="ftable">
<div v-if="type=='card'" class="table-card">
<Row>
<Row :gutter="gutter">
<Col :span="span" v-for="(row,i) in list" :key="i">
<slot name="card" :row="row">
<span>{{row.id}}</span>
......@@ -237,6 +237,10 @@ export default {
return ["table", "card", "list"].indexOf(value) !== -1;
}
},
gutter:{
type:Number,
default:0
},
span: {
type: Number,
default: 24
......@@ -589,6 +593,9 @@ export default {
}
.fg {
overflow: auto;
.table-card{
overflow: hidden;
}
}
.tableCommon tr td {
line-height: 25px;
......
......@@ -13,6 +13,7 @@
:conditions="easySearch"
:action="action"
:set="false"
:gutter="30"
>
<template slot="easySearch">
<Form ref="formInline" :model="easySearch" inline>
......@@ -280,17 +281,15 @@ export default {
</script>
<style lang="less">
.aps-r {
width: 100%;
height: 100%;
overflow: auto;
padding: 15px 0 15px 15px;
// width: 100%;
// height: 100%;
// overflow: auto;
// padding: 15px 0 15px 15px;
.body {
background: white;
border-radius: 4px;
border: #cacbd0 solid 1px;
margin-left: 40px;
margin-right: 40px;
margin-bottom: 39px;
margin-bottom: 30px;
.title-i {
padding: 0 8px;
height: 38px;
......
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