|
|
|
|
@ -70,16 +70,16 @@ export default class InstrumentClickInUpload extends Component<any, any> {
|
|
|
|
|
async onLoad() {
|
|
|
|
|
this.initData();
|
|
|
|
|
}
|
|
|
|
|
componentDidMount() {}
|
|
|
|
|
componentDidMount() { }
|
|
|
|
|
|
|
|
|
|
componentWillUnmount() {}
|
|
|
|
|
componentWillUnmount() { }
|
|
|
|
|
|
|
|
|
|
componentDidShow() {
|
|
|
|
|
let videoContext = Taro.createVideoContext("myVideo");
|
|
|
|
|
this.setState({ videoContext });
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidHide() {}
|
|
|
|
|
componentDidHide() { }
|
|
|
|
|
|
|
|
|
|
async initData() {
|
|
|
|
|
let objStr = getStorageSync("instrument_detail");
|
|
|
|
|
@ -242,15 +242,15 @@ export default class InstrumentClickInUpload extends Component<any, any> {
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
videoBindTimeUpdate = async () => {};
|
|
|
|
|
videoBindTimeUpdate = async () => { };
|
|
|
|
|
|
|
|
|
|
videoEnded = async () => {};
|
|
|
|
|
videoEnded = async () => { };
|
|
|
|
|
|
|
|
|
|
videoPause = async () => {};
|
|
|
|
|
videoPause = async () => { };
|
|
|
|
|
|
|
|
|
|
videoPlay = async () => {};
|
|
|
|
|
videoPlay = async () => { };
|
|
|
|
|
|
|
|
|
|
videoLoadedMetaData = async () => {};
|
|
|
|
|
videoLoadedMetaData = async () => { };
|
|
|
|
|
|
|
|
|
|
handleTextareaInput = async (e) => {
|
|
|
|
|
let { punchInInfo } = this.state;
|
|
|
|
|
@ -313,7 +313,7 @@ export default class InstrumentClickInUpload extends Component<any, any> {
|
|
|
|
|
isShow={isModeLock}
|
|
|
|
|
title="提示"
|
|
|
|
|
content="该模式即将上线,敬请期待"
|
|
|
|
|
confirmButtonText="知道了"
|
|
|
|
|
confirmButtonText="我知道了"
|
|
|
|
|
textAlgin="center"
|
|
|
|
|
isClose={false}
|
|
|
|
|
close={this.onModeLockClose}
|
|
|
|
|
|