merge wsw into master
fix: nodata Created-by: yfzmpj Commit-by: 汪少伟 Merged-by: yfzmpj Description: fix: nodata See merge request: hk_openRepo/OpenRepo_Portal!55
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="bg-white w-full flex flex-col items-center py-[20px]">
|
<div class="bg-white w-full flex flex-col items-center py-[30px]">
|
||||||
<slot name="img">
|
<slot name="img">
|
||||||
<img
|
<img
|
||||||
v-if="!hideImg && imgSrc"
|
v-if="!hideImg && imgSrc"
|
||||||
@@ -8,23 +8,23 @@
|
|||||||
:src="imgSrc"
|
:src="imgSrc"
|
||||||
alt="NoData"
|
alt="NoData"
|
||||||
/>
|
/>
|
||||||
<img
|
<!-- <img
|
||||||
v-if="!hideImg && !small"
|
v-if="!hideImg && !small"
|
||||||
class="block mb-[20px]"
|
class="block mb-[20px]"
|
||||||
:width="imgWidth"
|
:width="imgWidth"
|
||||||
src="/src/assets/imgs/jyh/nodata.svg"
|
src="/src/assets/imgs/jyh/nodata.svg"
|
||||||
alt="NoData"
|
alt="NoData"
|
||||||
/>
|
/> -->
|
||||||
<img
|
<img
|
||||||
v-if="!hideImg && small"
|
v-if="!hideImg"
|
||||||
class="block mb-[20px]"
|
class="block mb-[5px] w-[120px]"
|
||||||
:width="imgWidth"
|
:width="imgWidth"
|
||||||
src="/src/assets/imgs/jyh/nodata_small.svg"
|
src="/src/assets/imgs/jyh/nodata_small.svg"
|
||||||
alt="NoData"
|
alt="NoData"
|
||||||
/>
|
/>
|
||||||
</slot>
|
</slot>
|
||||||
<slot>
|
<slot>
|
||||||
<div>没有查询到数据</div>
|
<div class="text-gray-500">没有查询到数据</div>
|
||||||
</slot>
|
</slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user