import React, { Component } from 'react'; import './style.styl'; // import Anchor from '../../Anchor/index'; // import classnames from 'classnames'; class GoodsIntro extends Component { state = { fixed: false }; fixedHandle(status: any) { const fixed = this.state; if (fixed != status) { this.setState({ fixed: status }); } } render() { // const activeLine = classnames({ // 'active-line': this.state.fixed, // 'split-line': true // }); return (
{/* this.fixedHandle(s)} activeCls="active-cls" > ); } } export default GoodsIntro;