fix: project list style problem
| | |
| | | <div> |
| | | <a-row style="margin: 0 -12px"> |
| | | <a-col style="padding: 0 12px" :xl="16" :lg="24" :md="24" :sm="24" :xs="24"> |
| | | <a-card :loading="loading" style="margin-bottom: 24px;" :bordered="false" title="进行中的项目" :body-style="{padding: 0}"> |
| | | <a-card class="project-list" :loading="loading" style="margin-bottom: 24px;" :bordered="false" title="进行中的项目" :body-style="{padding: 0}"> |
| | | <a slot="extra">全部项目</a> |
| | | <div> |
| | | <a-card-grid :key="i" v-for="(item, i) in projects"> |
| | |
| | | } |
| | | </script> |
| | | |
| | | <style lang="less" scoped> |
| | | <style lang="less"> |
| | | .content { |
| | | position: relative; |
| | | top: 4px; |
| | |
| | | margin-bottom: 12px; |
| | | } |
| | | } |
| | | .project-list { |
| | | .card-title { |
| | | font-size: 0; |
| | | a { |
| | |
| | | float: right; |
| | | } |
| | | } |
| | | :global { |
| | | .ant-card-meta-description { |
| | | color: rgba(0, 0, 0, 0.45); |
| | | height: 44px; |
| | | line-height: 22px; |
| | | overflow: hidden; |
| | | } |
| | | } |
| | | } |
| | | .item-group{ |
| | | padding: 20px 0 8px 24px; |
| | | font-size: 0; |