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