@x-edu/live-player 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,8 +3,6 @@ import classNames from 'classnames'
|
|
|
3
3
|
|
|
4
4
|
import style from './index.module.less'
|
|
5
5
|
|
|
6
|
-
const emptyImg = '@/component/Empty/img/empty.png'
|
|
7
|
-
|
|
8
6
|
export default function Empty({
|
|
9
7
|
hideBack = false,
|
|
10
8
|
tip = '哎呀,该内容被下架了',
|
|
@@ -18,7 +16,7 @@ export default function Empty({
|
|
|
18
16
|
|
|
19
17
|
return (
|
|
20
18
|
<div className={classNames(style['empty-wrap'], className)}>
|
|
21
|
-
<img src={
|
|
19
|
+
<img src={require('./img/empty.png')} alt="" />
|
|
22
20
|
<p>{tip}</p>
|
|
23
21
|
{description}
|
|
24
22
|
{!hideBack && (buttonRender
|
package/src/detail/index.jsx
CHANGED