serviceAttitude.vue 1.71 KB
<!--
 * @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>