You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

3 years ago
<template>
<div class="worker-container">
<div class="card" v-for="i in 13">
<el-card class="box-card" shadow="hover">
<div slot="header" class="clearfix">
<span style="border-left: 3px solid #338DE3FF;padding-left: 6px;">卡片名称</span>
<i class="el-icon-more" style="float: right;font-size: 20px;"></i>
</div>
<div v-for="o in 4" :key="o" class="text item">
{{'列表内容 ' + o }}
</div>
</el-card>
</div>
</div>
</template>
<script>
export default {
data() {
return {}
},
methods: {},
computed: {},
}
</script>
<style scoped lang="scss">
.worker-container{
display: flex;
align-content: flex-start;
flex-wrap: wrap;
justify-content: space-between;
padding: 10px 0 10px 10px;
.card{
flex-shrink: 0;
flex-grow: 1;
min-width: 20vw;
margin-right: 10px;
margin-bottom: 10px;
.box-card{
background: linear-gradient(to bottom, rgba(133, 182, 231, 0.96),#fff 30%);
}
}
}
</style>