parent
e6e86df64d
commit
1409a31599
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 29 KiB |
@ -0,0 +1,49 @@
|
||||
<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>
|
||||
Loading…
Reference in new issue