serviceAttitude.vue
1.71 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-08-29 09:56:42
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-11-06 17:19:15
* @FilePath: \dj-car-life-system\src\views\residentManage\exercise\components\serviceAttitude.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!-- 服务态度 -->
<template>
<div class="box">
<div class="box-item">
<div class="left">
<div class="title">积极程度</div>
<div class="value">{{ itemData.reportItemDescription }}</div>
</div>
<div class="line"></div>
<div class="content-text">{{ itemData.content || "-" }}</div>
</div>
</div>
</template>
<script>
export default {
name: "serviceAttitude",
props: {
itemData: {
type: Object,
default: () => {}
}
},
data() {
return {}
}
}
</script>
<style lang="scss" scoped>
.box {
display: flex;
.box-item {
// width: calc(50% - 8px);
box-sizing: border-box;
height: 92px;
padding: 16px 20px;
margin-right: 16px;
display: flex;
align-items: center;
color: #333333;
background: #fbfbfb;
border-radius: 4px;
&:last-child {
margin: 0;
}
.left {
flex-shrink: 0;
width: 100px;
.title {
font-weight: 14px;
margin-bottom: 8px;
}
.value {
font-weight: 700;
font-size: 22px;
}
}
.line {
flex-shrink: 0;
width: 1px;
height: 44px;
background: #e5e5e5;
margin: 0 32px;
}
.content-text {
color: #999ea8;
font-size: 12px;
}
}
}
</style>