Commit ed38bdba by 前端

样式

1 parent 2824fc9b
<!--
* @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">
......@@ -7,13 +15,13 @@
<div class="value">{{ itemData.reportItemDescription }}</div>
</div>
<div class="line"></div>
<div class="content-text">{{ itemData.content || '-' }}</div>
<div class="content-text">{{ itemData.content || "-" }}</div>
</div>
</div>
</template>
<script>
export default {
name: 'serviceAttitude',
name: "serviceAttitude",
props: {
itemData: {
type: Object,
......@@ -21,16 +29,15 @@ export default {
}
},
data() {
return {
}
return {}
}
}
</script>
<style lang="scss" scoped>
.box{
.box {
display: flex;
.box-item{
width: calc(50% - 8px);
.box-item {
// width: calc(50% - 8px);
box-sizing: border-box;
height: 92px;
padding: 16px 20px;
......@@ -38,34 +45,34 @@ export default {
display: flex;
align-items: center;
color: #333333;
background: #FBFBFB;
background: #fbfbfb;
border-radius: 4px;
&:last-child{
&:last-child {
margin: 0;
}
.left{
.left {
flex-shrink: 0;
width: 100px;
.title{
.title {
font-weight: 14px;
margin-bottom: 8px;
}
.value{
.value {
font-weight: 700;
font-size: 22px;
}
}
.line{
.line {
flex-shrink: 0;
width: 1px;
height: 44px;
background: #E5E5E5;
background: #e5e5e5;
margin: 0 32px;
}
.content-text{
color: #999EA8;
.content-text {
color: #999ea8;
font-size: 12px;
}
}
}
</style>
\ No newline at end of file
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!