From 9fd8b6d713fd000c8912c7a105724d1e6315ac94 Mon Sep 17 00:00:00 2001 From: WXL (wul) <wl_5969728@163.com> Date: 星期三, 17 九月 2025 10:38:50 +0800 Subject: [PATCH] 缩放 --- src/views/followvisit/record/detailpage/index.vue | 187 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 187 insertions(+), 0 deletions(-) diff --git a/src/views/followvisit/record/detailpage/index.vue b/src/views/followvisit/record/detailpage/index.vue index 4d9d873..0f11d3e 100644 --- a/src/views/followvisit/record/detailpage/index.vue +++ b/src/views/followvisit/record/detailpage/index.vue @@ -254,6 +254,7 @@ /> </el-dialog> <div class="action-container"> + <!-- 闅忚鍐呭 --> <div class="call-action"> <div class="call-container"> <!-- <div class="call-header"> @@ -549,6 +550,7 @@ </div> </div> </div> + <!-- 浜哄伐澶勭悊 --> <div class="manual-action"> <div class="Followuserinfos"> <div> @@ -2533,4 +2535,189 @@ color: #080808 !important; cursor: not-allowed; } +/* 鍘熸湁鐨勬牱寮忎繚鎸佷笉鍙橈紝娣诲姞浠ヤ笅鍝嶅簲寮忎唬鐮� */ + +.Followupdetailspage { + margin: 10px; + display: flex; + flex-direction: column; + gap: 20px; +} + +.action-container { + display: flex; + flex-direction: row; /* 榛樿妯悜鎺掑垪 */ + gap: 20px; + margin: 0 10px 20px 10px; + + /* 褰撶缉鏀炬瘮渚嬪ぇ浜�100%鎴栧睆骞曞搴﹁緝灏忔椂鏀逛负涓婁笅鎺掑垪 */ + @media screen and (max-width: 1200px), (min-resolution: 1.1dppx) { + flex-direction: column; + + .call-action, .manual-action { + width: 100% !important; + } + } +} + +.call-action { + width: 65%; + min-width: 0; +} + +.manual-action { + flex: 1; + min-width: 0; +} + +/* 璋冩暣鍐呴儴鍏冪礌鐨勫搷搴斿紡甯冨眬 */ +.Followuserinfos { + .el-form { + /* 琛ㄥ崟鍝嶅簲寮忚皟鏁� */ + .el-row { + margin: 0 -10px; + } + + .el-col { + padding: 0 10px; + } + + @media screen and (max-width: 768px) { + .el-col { + width: 100%; + margin-bottom: 15px; + + &:last-child { + margin-bottom: 0; + } + } + } + } +} + +/* 璋冩暣琛ㄦ牸鐨勫搷搴斿紡琛ㄧ幇 */ +.el-table { + ::v-deep .el-table__body-wrapper { + overflow-x: auto; + } + + /* 鍦ㄥ皬灞忓箷涓婅皟鏁磋〃鏍煎垪瀹� */ + @media screen and (max-width: 992px) { + .el-table-column { + min-width: 120px; + } + } +} + +/* 璋冩暣鏍囩閫夋嫨鍣ㄧ殑鍝嶅簲寮忓竷灞� */ +.tag-selector-container { + display: flex; + align-items: center; + flex-wrap: wrap; + gap: 10px; + + @media screen and (max-width: 576px) { + flex-direction: column; + align-items: flex-start; + + .el-select { + width: 100%; + margin-right: 0 !important; + } + } +} + +/* 璋冩暣鎸夐挳缁勭殑鍝嶅簲寮忓竷灞� */ +.el-form-item.label-processing-opinion { + .el-button-group { + display: flex; + flex-wrap: wrap; + gap: 10px; + + .el-button { + flex: 1; + min-width: 120px; + } + } +} + +/* 璋冩暣閫夐」鍗$殑鍝嶅簲寮忚〃鐜� */ +.el-tabs { + ::v-deep .el-tabs__nav-wrap { + overflow-x: auto; + white-space: nowrap; + + &::after { + display: none; + } + } +} + +/* 璋冩暣棰勮鍖哄煙鐨勫搷搴斿紡琛ㄧ幇 */ +.preview-left { + @media screen and (max-width: 768px) { + margin: 10px; + padding: 15px; + + .topic-dev, .scriptTopic-dev { + margin-bottom: 15px; + } + } +} + +/* 璋冩暣瀵硅瘽妗嗙殑鍝嶅簲寮忚〃鐜� */ +.el-dialog { + @media screen and (max-width: 992px) { + width: 90% !important; + margin-top: 5vh !important; + + .el-dialog__body { + padding: 15px; + } + } + + @media screen and (max-width: 576px) { + width: 95% !important; + + .el-form-item { + margin-bottom: 15px; + } + } +} + +/* 纭繚鍐呭鍦ㄧ缉鏀炬椂淇濇寔鍙鎬� */ +.headline { + font-size: clamp(18px, 2vw, 24px); /* 浣跨敤clamp鍑芥暟纭繚瀛椾綋澶у皬鍦ㄥ悎鐞嗚寖鍥村唴 */ +} + +/* 涓虹Щ鍔ㄨ澶囦紭鍖栨粴鍔ㄤ綋楠� */ +@media screen and (max-width: 768px) { + .Followuserinfo, .Followuserinfos { + padding: 15px; + margin: 5px; + } + + .CONTENT { + min-height: auto; + padding: 5px; + } +} + +/* 缂╂斁妫�娴嬫牱寮� */ +@media screen and (min-resolution: 1.1dppx), + screen and (-webkit-min-device-pixel-ratio: 1.1), + screen and (max-width: 1200px) { + .action-container { + flex-direction: column; + } + + .call-action, .manual-action { + width: 100%; + } + + /* 璋冩暣鍐呴儴鍏冪礌闂磋窛 */ + .call-container, .Followuserinfos { + margin-bottom: 20px; + } +} </style> -- Gitblit v1.9.3