<template>
  <view>
	<view class="boxt">
		<view class="tit">
			<image :src="titimg"></image>基本信息
		</view>
		<view class="txt">婚反担保人姓名：<text>王安宇</text></view>
		<view class="txt">身份证号：<text>34282419730618003X</text>
			<text class="txta ml8" @click="getPreview">查看照片</text>
		</view>
		<view class="txt">手机号码：<text>18705568888</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 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>
