/** * 价格展示组件 */ import Taro, { Component, Config } from '@tarojs/taro'; import { ComponentClass } from 'react'; import { View } from '@tarojs/components'; import Price from './../../components/price/index' import { IPageState, IProps, IPageOwnProps } from './price.itf' import './price.scss'; interface Index { props: IProps; // this的属性可以在这里定义 } class Index extends Component { config: Config = { navigationBarTitleText: '' }; state: IPageState = {}; componentDidMount() { } componentDidShow() { } render() { return ( ); } } export default Index as ComponentClass;