checkTemp.vue
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<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>