import './index.scss'; import Taro, { Component } from '@tarojs/taro'; import { View } from '@tarojs/components'; /** * 组件需要的Props定义 * @param noDataIcon 缺省图片 * @param noDataText 缺省文字 */ interface IProps { /** * noDataIcon 缺省图片 */ noDataIcon?: any; /** * noDataIcon 缺省文字 */ noDataText?: string; } /** * price display组件 */ class Modal extends Component { state = { visible: true } closeShipTypeDifferModal() { this.setState({ visible: false }) } render() { return ( this.state.visible && 多个商品存在物流配送差异,无法下单,建议对商品逐个购买。 知道了 ) } } export default Modal