-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bb0f3d
commit 24b5d20
Showing
12 changed files
with
249 additions
and
92 deletions.
There are no files selected for viewing
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
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
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
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
25 changes: 25 additions & 0 deletions
25
packages/taro-components/src/components/cover-view/index.js
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,25 @@ | ||
import Nerv from 'nervjs' | ||
|
||
class CoverView extends Nerv.Component { | ||
componentDidMount () { | ||
console.error('H5 暂不支持 CoverView 组件!') | ||
} | ||
|
||
render () { | ||
const { ...reset } = this.props | ||
return <div {...reset}>{this.props.children}</div> | ||
} | ||
} | ||
|
||
class CoverImage extends Nerv.Component { | ||
componentDidMount () { | ||
console.error('H5 暂不支持 CoverImage 组件!') | ||
} | ||
|
||
render () { | ||
const { ...reset } = this.props | ||
return <div {...reset}>{this.props.children}</div> | ||
} | ||
} | ||
|
||
export { CoverImage, CoverView } |
25 changes: 25 additions & 0 deletions
25
packages/taro-components/src/components/movable-view/index.js
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,25 @@ | ||
import Nerv from 'nervjs' | ||
|
||
class MovableView extends Nerv.Component { | ||
componentDidMount () { | ||
console.error('H5 暂不支持 MovableView 组件!') | ||
} | ||
|
||
render () { | ||
const { ...reset } = this.props | ||
return <div {...reset}>{this.props.children}</div> | ||
} | ||
} | ||
|
||
class MovableArea extends Nerv.Component { | ||
componentDidMount () { | ||
console.error('H5 暂不支持 MovableArea 组件!') | ||
} | ||
|
||
render () { | ||
const { ...reset } = this.props | ||
return <div {...reset}>{this.props.children}</div> | ||
} | ||
} | ||
|
||
export { MovableArea, MovableView } |
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
Oops, something went wrong.