| | |
| | | <div class="app-container"> |
| | | <el-card class="box-card" > |
| | | <el-row type="flex" align="middle" justify="space-between"> |
| | | <el-col :xl="8" :lg="8" :md="10" :sm="8" :xs="6"> |
| | | <div class="icon-container" style="background-color: #5599F7"> |
| | | <el-col :span="4"> |
| | | <div class="icon-container" style="background-color: #1890FF"> |
| | | <i class="el-icon-refresh-left"></i> |
| | | </div> |
| | | </el-col> |
| | | <el-col :xl="14" :lg="14" :md="12" :sm="14" :xs="16"> |
| | | <el-col :span="20"> |
| | | <div class="dashboard"> |
| | | <div class="dashboard-item"> |
| | | <h3 style="color: #5C9BF8">{{ count.totalPosts }}</h3> |
| | |
| | | <style lang="scss" scoped> |
| | | |
| | | .box-card { |
| | | background-color: #F5F9FE; |
| | | background-color: #ffffff; |
| | | width: 100%; |
| | | margin-bottom: 20px; |
| | | height: 120px |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | border-radius: 20px; |
| | | width: 20%; |
| | | width: 130px; |
| | | height: 80px; |
| | | margin-left: 5%; |
| | | } |
| | |
| | | |
| | | .dashboard { |
| | | display: flex; |
| | | gap: 10%; |
| | | gap: 5%; |
| | | align-items: center; |
| | | margin-left: -50%; |
| | | justify-content: space-between; |
| | | margin-right: 20px; |
| | | } |
| | | |
| | | .dashboard-item { |