<template>
  <view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>基本信息
		</view>
		<view class="flexcw">
			<view class="txt">法人姓名：<text>林振宇</text></view>
			<view class="txt">用户类型：<text>非农户</text></view>
		</view>
		<view class="txt">身份证号：<text>34282419730618003X</text>
			<text class="txta ml8" @click="getPreview">查看照片</text>
		</view>
		<view class="txt">居住地址：<text>安徽省安庆市潜山市梅城镇</text></view>
		<view class="txt">证件有效期：<text>2017.12.27 - 2037.12.27</text></view>
		<view class="flexcw">
			<view class="txt">手机号码：<text>18705568888</text></view>
			<view class="txt">家庭人口：<text>3人</text></view>
		</view>
		<view class="flexcw">
			<view class="txt">法人职业：<text>总经理</text></view>
			<view class="txt">有无贷款：<text>无</text></view>
		</view>
		<view class="flexcw">
			<view class="txt">应收应付款：<text>10万元</text></view>
			<view class="txt">经营情况：<text class="txta" @click="getDown(a)">在线查看</text></view>
		</view>
		<view class="txt">经营效益：<text class="txta" @click="getDown(a)">在线查看</text></view>
	</view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>家庭婚姻信息
		</view>
		<view class="flexcw">
			<view class="txt">婚姻状态：<text>已婚</text></view>
			<view class="txt">配偶姓名：<text>刘熙君</text></view>
		</view>
		<view class="txt">配偶身份证号：<text>34282419730618003X</text>
			<text class="txta ml8" @click="getPreview">查看照片</text>
		</view>
		<view class="txt">结婚证：<text class="txta" @click="getDown(a)">在线查看</text></view>
	</view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>户籍信息
		</view>
		<view class="txt">户口簿首页：<text class="txta" @click="getDown(a)">在线查看</text></view>
		<view class="txt">户口簿(本人页)：<text class="txta" @click="getDown(a)">在线查看</text></view>
		<view class="txt">户口簿(配偶页)：<text class="txta" @click="getDown(a)">在线查看</text></view>
	</view>
  </view>
</template>

<script>
	import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
	import { selectValue } from '@/utils/common.js';
	import noData from "@/components/nodata/nodata.vue"
  export default {
	props:{
		datainfo: {
			type: Object,
			default () {
				return {}
			}
		},
	},
	components:{
		noData
	},
	data(){
		return{
			titimg:require('@/work/static/images/infotit.png'),
		}
	},
	onLoad: function() {
	},
	methods:{
		checkPermi, checkRole,
		kaType(ite){
			return selectValue(this.tajdlist, ite);
		},
		getDown(url){
			this.$emit('getDown',url)
		},
		getPreview(url){
			this.$emit('getPreview',url)
		},
	},
	
  }
</script>

<style lang="scss" scoped>
.boxt{padding: 0 16rpx;border-top: 2rpx solid #E6E6E6;}
.tit{font-weight: bold;font-size: 30rpx;color: $com-cd3;display: flex;align-items: center;padding-top: 44rpx;margin-bottom: 50rpx;padding-left: 20rpx;
	image{width: 30rpx;height: 30rpx;margin-right: 14rpx;}
}
.txt{font-weight: bold;font-size: 30rpx;color: #222327;margin-bottom: 44rpx;padding-left: 20rpx;
	text{color: #666666;font-weight: 500;
		&.txta{color: #28C529;}
	}
}
.flexcw{display: flex;
	.txt{min-width: 50%;}
}
</style>
