|
|
|
@ -72,6 +72,10 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="empty" v-if="list.length == 0"> |
|
|
|
<img src="~@/assets/images/shuju/renfang/index/empty.png" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
@ -137,7 +141,7 @@ export default { |
|
|
|
); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
if (data && Array.isArray(data) && data.length > 0) { |
|
|
|
if (data && Array.isArray(data)) { |
|
|
|
this.list = data; |
|
|
|
} |
|
|
|
} else { |
|
|
|
@ -253,5 +257,24 @@ export default { |
|
|
|
background: rgba(26, 149, 255, 0.15); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.empty { |
|
|
|
> img { |
|
|
|
display: block; |
|
|
|
width: 120px; |
|
|
|
margin: 0 auto; |
|
|
|
margin-top: 80px; |
|
|
|
} |
|
|
|
> span { |
|
|
|
margin-top: 8px; |
|
|
|
display: block; |
|
|
|
font-size: 14px; |
|
|
|
font-family: PingFangSC-Regular, PingFang SC; |
|
|
|
font-weight: 400; |
|
|
|
color: rgba(255, 255, 255, 0.65); |
|
|
|
line-height: 20px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|