checkTemp.vue 1.6 KB
<template>
	<view>
		<view class="checkTemp" :class="{noTop:checkIndex == 0}" v-for="(item,index) in keyList" :key="index">
			<view class="bottomWrap">
				<view class="bottomItem">
					<view class="bottomLeft">
						{{item.title}}
					</view>
					<view class="bottomRight">
						<image src="../static/image/icon_arrow_up.png" mode=""></image>
					</view>
				</view>
			</view>
			<view class="subCheckWrap" v-for="(subItem,subIndex) in item.subKeyList" :key="subIndex">
				<navigator class="subCheckItem" :url="'/pages/index/license/checkDetail?code='+subItem.code" hover-class="none">
					{{subItem.title}}
					<view class="subCheckRight">
						{{subItem.name}}
						<image src="../static/image/icon_arrow.png" mode=""></image>
					</view>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		props:{
			keyList:{
				type:Array
			},
			checkIndex:{
				type:Number
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.checkTemp{margin-top: 16rpx;}
	.checkTemp.noTop{margin-top: 0;}
	.bottomWrap{padding: 0 32rpx;background: #fff;}
	.bottomWrap .bottomItem{display: flex;justify-content: space-between;align-items: center;height: 104rpx;font-size: 30rpx;}
	.bottomItem .bottomLeft{display: flex;align-items: center;}
	.bottomRight image{width: 32rpx;height: 32rpx;}
	.subCheckWrap{padding: 0 32rpx 0 64rpx;}
	.subCheckWrap .subCheckItem{display: flex;justify-content: space-between;align-items: center;height: 96rpx;color: #646566;font-size: 28rpx;}
	.subCheckItem .subCheckRight{display: flex;align-items: center;}
	.subCheckRight image{width: 32rpx;height: 32rpx;}
</style>