Commit 7ceecaeb by xuyl

修改发送记录表格样式

1 parent 1eef49ab
...@@ -32,14 +32,16 @@ ...@@ -32,14 +32,16 @@
</div> </div>
</div> </div>
</div> </div>
<GLTable ref="sendRecordDrawerRef" :noDataImg="url" :getListApi="sendRecordDrawer.getListApi" :searchForm="sendRecordDrawer.searchForm" :tableParams="sendRecordDrawer.tableParams" :pageConf="sendRecordDrawer.pageConf"> <div class="liststyle">
<div slot="sendResult" slot-scope="scope"> <GLTable ref="sendRecordDrawerRef" :noDataImg="url" :getListApi="sendRecordDrawer.getListApi" :searchForm="sendRecordDrawer.searchForm" :tableParams="sendRecordDrawer.tableParams" :pageConf="sendRecordDrawer.pageConf">
<div class="loginStatus"> <div slot="sendResult" slot-scope="scope">
<span class="cycle" :style="{ background: scope.scope.sendResult == true ? '#2CCA74' : scope.scope.sendResult == false ? '#EB4E4E' : '' }"></span> <div class="loginStatus">
{{ scope.scope.sendResult == true ? '成功' : scope.scope.sendResult == false ? '失败' : '' }} <span class="cycle" :style="{ background: scope.scope.sendResult == true ? '#2CCA74' : scope.scope.sendResult == false ? '#EB4E4E' : '' }"></span>
{{ scope.scope.sendResult == true ? '成功' : scope.scope.sendResult == false ? '失败' : '' }}
</div>
</div> </div>
</div> </GLTable>
</GLTable> </div>
</el-drawer> </el-drawer>
</div> </div>
</template> </template>
...@@ -307,4 +309,7 @@ export default { ...@@ -307,4 +309,7 @@ export default {
font-width: 600; font-width: 600;
} }
} }
.liststyle{
padding: 0 20px;
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!