From 97575a87936c568dcf9723d3a820b8431c808690 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Tue, 12 Aug 2025 09:19:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xg/xsjcxx/xsqj/cancelLeaveEdit/index.vue | 62 +++++++++++++++---- 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/mobile/src/pages/xg/xsjcxx/xsqj/cancelLeaveEdit/index.vue b/mobile/src/pages/xg/xsjcxx/xsqj/cancelLeaveEdit/index.vue index 319f069c..544e5a7e 100644 --- a/mobile/src/pages/xg/xsjcxx/xsqj/cancelLeaveEdit/index.vue +++ b/mobile/src/pages/xg/xsjcxx/xsqj/cancelLeaveEdit/index.vue @@ -39,17 +39,16 @@ 请假地点: - {{ '经纬度:' + leaveInfo.leaveLocation || '-' }} - + {{ '经纬度:' + leaveInfo.leaveLocation || '-' }} + + - 查看位置 - + + @@ -203,13 +202,13 @@ - 经纬度: {{ cancelForm.cancelLocation }} + {{ cancelForm.cancelLocation }} - - 查看位置 - + + + @@ -1729,15 +1728,17 @@ export default { } .info-label { color: #606266; - font-weight: 500; + font-weight: normal; margin-right: 8rpx; white-space: nowrap; + text-align: left; } .info-value { color: #303133; font-weight: 400; flex: 1; word-break: break-all; + text-align: right; } .location-value { display: flex; @@ -1746,6 +1747,40 @@ export default { gap: 12rpx; } +/* 经纬度文字样式 */ +.location-coords-text { + font-size: 30rpx; + color: #303133; + word-break: break-all; + flex: 1; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +/* 地图图标按钮 */ +.location-icon-btn { + display: flex; + align-items: center; + justify-content: center; + width: 48rpx; + height: 48rpx; + border-radius: 50%; + background: #f5faff; + border: 1px solid #e6f1ff; + cursor: pointer; + transition: all 0.2s ease; +} + +.location-icon-btn:hover { + background: #e6f1ff; + border-color: #2979ff; +} + +.location-icon-btn:active { + transform: scale(0.95); +} + .readonly-attachment { margin-top: 12rpx; } @@ -1830,6 +1865,7 @@ export default { } .location-coords { color: #303133; + font-size: 30rpx; } .location-action-container { margin-left: 16rpx;