index.vue
1.1 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 class="BasicInformation">
<Title title="职测 正确率%"/>
<view class="BasicInformation-list">
<view class="BasicInformation-list-i" v-for="(item, index) in info" :key="index">
<view class="BasicInformation-list-i-l">{{ item.name }}</view>
<view class="BasicInformation-list-i-r">{{ item.num }}</view>
</view>
</view>
</view>
</template>
<script>
import Title from "../Title/index.vue"
export default {
name: 'JobTesting',
props: {
info: {
type: [Array],
default: () => []
}
},
components: {
Title
},
data() {
return {
}
}
}
</script>
<style lang="scss" scoped>
.BasicInformation{
.BasicInformation-list{
border-radius: 15rpx;
background-color: #FFFFFF;
padding: 0 30rpx;
.BasicInformation-list-i{
display: flex;
justify-content: space-between;
align-items: center;
height: 84rpx;
border-bottom: 1rpx #EEEEEE solid;
&:last-child{
border-bottom: none;
}
.BasicInformation-list-i-l{
font-size: 28rpx;
}
.BasicInformation-list-i-r{
font-size: 28rpx;
color: #A1A0AB;
}
}
}
}
</style>