[fix 84034] 部分溢出效果调整

This commit is contained in:
danshihao
2024-04-25 18:07:31 +08:00
parent a373c9c8e4
commit 9bb887b64e
3 changed files with 14 additions and 5 deletions
+4 -1
View File
@@ -460,6 +460,9 @@ button.ant-btn {
.info-label { .info-label {
font-family: Rubik, Rubik, sans-serif; font-family: Rubik, Rubik, sans-serif;
} }
.info-value {
line-height: 16px;
}
} }
.info-row .info-label { .info-row .info-label {
flex: auto; flex: auto;
@@ -478,7 +481,7 @@ button.ant-btn {
font-family: Rubik, Rubik, sans-serif; font-family: Rubik, Rubik, sans-serif;
font-weight: 400; font-weight: 400;
font-size: 14px; font-size: 14px;
line-height: 16px; line-height: 20px;
color: @text-color; color: @text-color;
} }
.over-text { .over-text {
+9 -3
View File
@@ -66,13 +66,13 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import "~@assets/less/modifyLessVars.less"; @import "~@assets/less/modifyLessVars.less";
.info-row { .info-row {
height: 19px; min-height: 19px;
.info-label { .info-label {
color: @text-color-secondary; color: @text-color-secondary;
} }
.info-value { .info-value {
max-width: 50%; max-width: 80px;
} }
} }
.mb-12 { .mb-12 {
@@ -85,7 +85,13 @@ export default {
// 移动端样式 // 移动端样式
.mobile-html { .mobile-html {
.info-row { .info-row {
height: 0.17rem; min-height: 0.17rem;
.info-value {
max-width: 0.8rem;
overflow: visible;
white-space: normal;
}
} }
.mb-12 { .mb-12 {
margin-bottom: 0.12rem; margin-bottom: 0.12rem;
@@ -88,7 +88,7 @@
</div> </div>
<div class="working-status-container"> <div class="working-status-container">
<div class="title-background working-status-title"> <div class="title-background working-status-title">
<div class="title-background-text over-text">名称{{ allData.wellName }}</div> <div class="title-background-text over-text" :title="allData.wellName">名称{{ allData.wellName }}</div>
</div> </div>
<div class="working-status-img"> <div class="working-status-img">
<img :src="workingStatus" alt="油井工作状态"> <img :src="workingStatus" alt="油井工作状态">