<template>
	<view class="content">
	<!-- 	<view class="content-box">
			<view class="content-box-title" v-for="item in datatitleList" :key="index">
				<text class="title">{{item}}</text>
			</view>
		</view>
		<view class="content-sam-box" v-for="pointItem in dataList">
			<span class="content-box-title">{{pointItem.title}}</span>
			<span class="content-box-title">{{pointItem.rank}}</span>
			<span class="content-box-title">{{pointItem.name}}</span>
			<span class="content-box-title">{{pointItem.recommend}}</span>
		</view> -->
		<view class="">
			<myteam-table :datatitleList="datatitleList" :dataList="dataList" :tabletype="1"></myteam-table>
		</view>
	</view>
</template>

<script>
	import MyteamTable from '@/components/myteam/myteam-table.vue';
	export default {
		components:{
			MyteamTable
		},
		data() {
			return {
				datatitleList: ['所属组织', '职级', '姓名', '姓名'],
				dataList: [{
						title: '所属组织1',
						rank: 1,
						name: 'sun',
						recommend: '很好'
					},
					{
						title: '所属组织2',
						rank: 1,
						name: 'sun',
						recommend: '很好'
					},
					{
						title: '所属组织3',
						rank: 1,
						name: 'sun',
						recommend: '很好'
					},
				]
			}
		},
	}
</script>

<style lang="scss">
.content{
	height: 100%;
	width: 100vw;
	margin-top: 20px;
}

	.content-box {
		background-color: #fff;
		display: flex;
		font-weight: 600;
		align-items: center;
		justify-content: space-between;
	}

	.content-box-title {
		flex: 1;
	}
	.content-sam-box{
		background-color: #fff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 10px 0;
		color: #333333;
		border-bottom: 1px solid #F2F2F2;;
	}
</style>
