暂无数据样式

This commit is contained in:
a0049873 2023-01-06 16:46:01 +08:00
parent 3dc501d617
commit 0004ceb7f0
4 changed files with 10 additions and 6 deletions

View File

@ -16,13 +16,14 @@
</div> </div>
<div class="more" @click="jumpTo">查看更多 ></div> <div class="more" @click="jumpTo">查看更多 ></div>
</div> </div>
<div <!-- <div
class="no-data" class="no-data"
v-else v-else
style="display: flex; align-items: center; justify-content: center" style="display: flex; align-items: center; justify-content: center"
> >
暂无数据 暂无数据
</div> </div> -->
<el-empty v-else style="display: flex;flex-direction: column;justify-content: center; align-items: center;" description="暂无数据" :image-size="150"></el-empty>
</div> </div>
<!-- 部门推荐能力 --> <!-- 部门推荐能力 -->

View File

@ -3,7 +3,8 @@
<div class="title">{{ title }}</div> <div class="title">{{ title }}</div>
<div v-if="dataListCopy.length > 0" style="width:260px; height:232px" class="dept-chart-view" :id="id"> <div v-if="dataListCopy.length > 0" style="width:260px; height:232px" class="dept-chart-view" :id="id">
</div> </div>
<div class="no-data" v-else>暂无数据</div> <!-- <div class="no-data" v-else>暂无数据</div> -->
<el-empty v-else style="display: flex;flex-direction: column;justify-content: center; align-items: center;" description="暂无数据" :image-size="150"></el-empty>
</div> </div>
</template> </template>

View File

@ -33,7 +33,8 @@
<div class="count-text">{{ formatCount(data.count) }}</div> <div class="count-text">{{ formatCount(data.count) }}</div>
</div> </div>
</div> </div>
<div class="no-data" v-else>暂无数据</div> <!-- <div class="no-data" v-else>暂无数据</div> -->
<el-empty v-else style="display: flex;flex-direction: column;justify-content: center; align-items: center;" description="暂无数据" :image-size="150"></el-empty>
</div> </div>
</template> </template>

View File

@ -21,13 +21,14 @@
</div> </div>
</div> </div>
</div> </div>
<div <!-- <div
class="no-data" class="no-data"
v-else v-else
style="display: flex; align-items: center; justify-content: center" style="display: flex; align-items: center; justify-content: center"
> >
暂无数据 暂无数据
</div> </div> -->
<el-empty v-else style="display: flex;flex-direction: column;justify-content: center; align-items: center;" description="暂无数据" :image-size="150"></el-empty>
</div> </div>
</template> </template>
<script> <script>