|
|
@@ -8,6 +8,10 @@
|
|
|
></span>
|
|
|
</div>
|
|
|
<div class="regulation-list">
|
|
|
+ <div v-if="regulationList.length === 0" class="empty-style">
|
|
|
+ <img class="empty-img" src="@/assets/images/empty@1X.png" alt="" />
|
|
|
+ <span>暂无数据</span>
|
|
|
+ </div>
|
|
|
<div
|
|
|
class="regulation-item"
|
|
|
v-for="(item, index) in regulationList"
|
|
|
@@ -114,6 +118,21 @@
|
|
|
margin-top: 18px;
|
|
|
padding: 0 16px;
|
|
|
|
|
|
+ .empty-style {
|
|
|
+ width: 100%;
|
|
|
+ height: 90%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ color: rgba(153, 153, 153, 1);
|
|
|
+
|
|
|
+ .empty-img {
|
|
|
+ height: 90%;
|
|
|
+ object-fit: contain;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.regulation-item {
|
|
|
width: 100%;
|
|
|
height: 33px;
|