liujq 3 tahun lalu
induk
melakukan
a5eb5aafa0
1 mengubah file dengan 21 tambahan dan 21 penghapusan
  1. 21 21
      src/pages/index/index.jsx

+ 21 - 21
src/pages/index/index.jsx

@@ -5,11 +5,11 @@ import Footer from '@/c/footer'
 import SearchHouse from '@/c/searchHouse'
 import InfoMore from './components/infoMore'
 import NewsNews from './components/news'
-import News2 from './components/news/index2'
+// import News2 from './components/news/index2'
 import Channel from './components/channel'
 import PopupAd from './components/popup'
 import PopupFullAd from './components/popup/full'
-import CountChart from './components/countChart'
+// import CountChart from './components/countChart'
 import FooterModule from './components/footerList'
 import './index.scss'
 import { arrToObj } from '@utils'
@@ -687,25 +687,25 @@ class Index extends Component {
 
 
 
-  renderLine () {
-    const { dataList } = this.state
-    const iconHot = require('./img/i_hot.png')
-    return (
-      <View className="index-list">
-        <View className="il-header">
-          <View className="t">成交统计</View>
-          <Image className="i" src={iconHot} />
-          <Navigator url={'/pagesHouse/list?type=hot_recommend&name=市场聚焦'} className="r">更多数据{'>'}</Navigator>
-        </View>
-        <View className="scoped-chart-line">
-          <CountChart curData={dataList}  onRef={this.refLine} />
-        </View>
-      </View>
-    )
-  }
-  refLine = (ref) => {
-    this.subLine = ref
-  }
+  // renderLine () {
+  //   const { dataList } = this.state
+  //   const iconHot = require('./img/i_hot.png')
+  //   return (
+  //     <View className="index-list">
+  //       <View className="il-header">
+  //         <View className="t">成交统计</View>
+  //         <Image className="i" src={iconHot} />
+  //         <Navigator url={'/pagesHouse/list?type=hot_recommend&name=市场聚焦'} className="r">更多数据{'>'}</Navigator>
+  //       </View>
+  //       <View className="scoped-chart-line">
+  //         <CountChart curData={dataList}  onRef={this.refLine} />
+  //       </View>
+  //     </View>
+  //   )
+  // }
+  // refLine = (ref) => {
+  //   this.subLine = ref
+  // }