|
@@ -10,12 +10,7 @@
|
|
|
</van-nav-bar>
|
|
|
<!-- 搜索框 -->
|
|
|
<div class='search-container'>
|
|
|
- <van-search class='search' v-model='keyword' placeholder='请输入电井间或商铺编号' @search='onSearch'>
|
|
|
- <!-- TODO: 空状态 自定义图标 -->
|
|
|
- <!-- <template #action>
|
|
|
- <div class='search' @click='onSearch'>搜索</div>
|
|
|
- </template>-->
|
|
|
- </van-search>
|
|
|
+ <van-search class='search' v-model='keyword' placeholder='请输入电井间或商铺编号' @search='onSearch'></van-search>
|
|
|
</div>
|
|
|
<!-- 电井列表 -->
|
|
|
<div class='electric-well-list' v-if='list.length'>
|
|
@@ -67,9 +62,9 @@
|
|
|
</div>
|
|
|
<!-- 无数据 -->
|
|
|
<van-empty class='m-empty' v-if='!list.length' description='暂无数据'>
|
|
|
- <!-- <template #image>
|
|
|
- <img src="../../assets/images/xxx.png" alt="">
|
|
|
- </template>-->
|
|
|
+ <template #image>
|
|
|
+ <img src='../../assets/images/search_null.png' alt />
|
|
|
+ </template>
|
|
|
</van-empty>
|
|
|
|
|
|
<!-- 点击头部筛选,出现的右侧弹窗 -->
|
|
@@ -445,6 +440,15 @@ export default {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ /deep/ .van-empty__image {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: flex-end;
|
|
|
+ img {
|
|
|
+ width: auto;
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
// 筛选弹窗
|
|
|
.m-popup-container {
|