-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pointcloud-view): Optimized style of empty page
- Loading branch information
Showing
6 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
packages/lb-components/src/assets/annotation/pointCloudTool/nodata.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
packages/lb-components/src/components/pointCloudView/components/EmptyPage/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* @file EmptyPage | ||
* @createDate 2022-08-31 | ||
* @author Ron <[email protected]> | ||
*/ | ||
import React from 'react'; | ||
import NoDataSvg from '@/assets/annotation/pointCloudTool/nodata.svg'; | ||
import { getClassName } from '@/utils/dom'; | ||
|
||
const EmptyPage = () => { | ||
return ( | ||
<div className={getClassName('point-cloud-container', 'empty-page')}> | ||
<img src={NoDataSvg} /> | ||
<span className={getClassName('point-cloud-container', 'empty-page', 'text')}>暂无数据</span> | ||
</div> | ||
); | ||
}; | ||
|
||
export default EmptyPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters