|
@@ -0,0 +1,32 @@
|
|
|
+import Taro, { Component } from '@tarojs/taro'
|
|
|
+import { View, Text } from '@tarojs/components'
|
|
|
+import './itemlist.scss'
|
|
|
+
|
|
|
+export default class ItemList extends Component {
|
|
|
+
|
|
|
+
|
|
|
+ render() {
|
|
|
+ const { list = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] } = this.props
|
|
|
+ return (
|
|
|
+ <View className='list'>
|
|
|
+ {
|
|
|
+ list.map((item, index) =>
|
|
|
+ <View className='list__item' key={index}
|
|
|
+ onClick={() => {
|
|
|
+
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ <View className='list__item__left'>
|
|
|
+ <View className='list__item__left-line'>关联企业:中国某某某企业</View>
|
|
|
+ <View className='list__item__left-line'>企业名称:这是企业名称</View>
|
|
|
+ <View className='list__item__left-line'>项目名称:项目名称项目名称</View>
|
|
|
+ <View className='list__item__left-line'>项目负责人:负责人</View>
|
|
|
+ </View>
|
|
|
+ <View className='list__item__right'>已完成</View>
|
|
|
+ </View>
|
|
|
+ )
|
|
|
+ }
|
|
|
+ </View>
|
|
|
+ )
|
|
|
+ }
|
|
|
+}
|