import React from "react"; import { View, Video, Image } from "@tarojs/components"; import Taro from "@tarojs/taro"; import "./index.scss"; import { InputBox } from "../../component/input/index"; class Us extends React.Component { static defaultProps = {}; #systemInfo = Taro.getSystemInfoSync(); constructor(props: any) { super(props); this.state = { height: 0, heightKf: 0, }; } getImageSize = (e: any) => { this.setState({ height: (this.#systemInfo.screenWidth / e.detail.width) * e.detail.height, }); }; getImageKf = (e: any) => { this.setState({ heightKf: ((this.#systemInfo.screenWidth - 60) / e.detail.width) * e.detail.height, }); }; render() { // const { } = this.props; return ( 123 ); } } export { Us };