diff --git a/ruoyi-ui/src/layout/components/TagsView/index.vue b/ruoyi-ui/src/layout/components/TagsView/index.vue index f719f80..dfc8aef 100644 --- a/ruoyi-ui/src/layout/components/TagsView/index.vue +++ b/ruoyi-ui/src/layout/components/TagsView/index.vue @@ -294,22 +294,32 @@ export default { .contextmenu { margin: 0; - background: #fff; z-index: 3000; position: absolute; list-style-type: none; - padding: 5px 0; - border-radius: 4px; - font-size: 12px; - font-weight: 400; + padding: 8px 0; + min-width: 144px; + font-size: 13px; + font-weight: 500; color: #333; - box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, .3); + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); li { margin: 0; - padding: 7px 16px; + padding: 9px 20px; cursor: pointer; + display: flex; + align-items: center; + gap: 8px; + transition: background 0.2s ease, color 0.2s ease; &:hover { - background: #eee; + background: rgba(22, 93, 255, 0.08); + color: #165dff; } } } diff --git a/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue b/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue index 336c9d3..53acf2e 100644 --- a/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue +++ b/ruoyi-ui/src/views/cesiumMap/ContextMenu.vue @@ -4,8 +4,8 @@
@@ -13,19 +13,19 @@ @@ -33,42 +33,42 @@ @@ -139,24 +139,24 @@ @@ -164,32 +164,32 @@ @@ -197,8 +197,8 @@ @@ -234,9 +234,9 @@ - @@ -542,37 +544,37 @@ @@ -580,8 +582,8 @@ @@ -589,8 +591,8 @@ @@ -598,12 +600,12 @@ @@ -648,8 +650,11 @@ diff --git a/ruoyi-ui/src/views/cesiumMap/MenuGlyph.vue b/ruoyi-ui/src/views/cesiumMap/MenuGlyph.vue new file mode 100644 index 0000000..527271e --- /dev/null +++ b/ruoyi-ui/src/views/cesiumMap/MenuGlyph.vue @@ -0,0 +1,244 @@ + + + + + + + diff --git a/ruoyi-ui/src/views/childRoom/SixStepsOverlay.vue b/ruoyi-ui/src/views/childRoom/SixStepsOverlay.vue index cedd55d..6569c12 100644 --- a/ruoyi-ui/src/views/childRoom/SixStepsOverlay.vue +++ b/ruoyi-ui/src/views/childRoom/SixStepsOverlay.vue @@ -965,23 +965,28 @@ export default { .sub-title-context-menu { position: fixed; z-index: 10000; - min-width: 120px; - padding: 4px 0; - background: #fff; - border-radius: 8px; - box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); - border: 1px solid rgba(0, 0, 0, 0.08); + min-width: 144px; + padding: 8px 0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif; + font-weight: 500; + color: #333; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); } .sub-title-context-menu .context-menu-item { display: flex; align-items: center; - gap: 8px; - padding: 8px 16px; + gap: 10px; + padding: 9px 20px; font-size: 14px; - color: #1e293b; + color: #333; cursor: pointer; - transition: background 0.2s; + transition: background 0.2s ease, color 0.2s ease; } .sub-title-context-menu .context-menu-item:hover { @@ -989,8 +994,12 @@ export default { color: #165dff; } +.sub-title-context-menu .context-menu-item-danger { + color: #f56c6c; +} + .sub-title-context-menu .context-menu-item-danger:hover { - background: rgba(239, 68, 68, 0.08); - color: #ef4444; + background: rgba(245, 108, 108, 0.1); + color: #f56c6c; } diff --git a/ruoyi-ui/src/views/childRoom/StepCanvasContent.vue b/ruoyi-ui/src/views/childRoom/StepCanvasContent.vue index 05d9f53..b83b467 100644 --- a/ruoyi-ui/src/views/childRoom/StepCanvasContent.vue +++ b/ruoyi-ui/src/views/childRoom/StepCanvasContent.vue @@ -1084,12 +1084,15 @@ export default { position: fixed; display: flex; align-items: center; - gap: 6px; - padding: 6px 10px; - background: #fff; - border: 1px solid #ddd; - border-radius: 6px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + gap: 8px; + padding: 8px 12px; + color: #333; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); z-index: 10000; margin-top: 4px; } diff --git a/ruoyi-ui/src/views/childRoom/TaskPageContent.vue b/ruoyi-ui/src/views/childRoom/TaskPageContent.vue index a504acb..e028d41 100644 --- a/ruoyi-ui/src/views/childRoom/TaskPageContent.vue +++ b/ruoyi-ui/src/views/childRoom/TaskPageContent.vue @@ -921,17 +921,19 @@ export default { } -/* Office 风格格式工具栏:仅选中文字右键时显示,固定定位在右键位置 */ .textbox-format-toolbar-fixed { position: fixed; display: flex; align-items: center; - gap: 6px; - padding: 6px 10px; - background: #fff; - border: 1px solid #ddd; - border-radius: 6px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + gap: 8px; + padding: 8px 12px; + color: #333; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); z-index: 10000; margin-top: 4px; } diff --git a/ruoyi-ui/src/views/childRoom/UnderstandingStepContent.vue b/ruoyi-ui/src/views/childRoom/UnderstandingStepContent.vue index 3fc9066..f938a54 100644 --- a/ruoyi-ui/src/views/childRoom/UnderstandingStepContent.vue +++ b/ruoyi-ui/src/views/childRoom/UnderstandingStepContent.vue @@ -1162,17 +1162,20 @@ export default { pointer-events: auto; } -/* 格式工具栏:仅选中文字右键时显示 */ +/* 格式工具栏:与地图 ContextMenu / TopHeader 一致 */ .textbox-format-toolbar-fixed { position: fixed; display: flex; align-items: center; - gap: 6px; - padding: 6px 10px; - background: #fff; - border: 1px solid #ddd; - border-radius: 6px; - box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); + gap: 8px; + padding: 8px 12px; + color: #333; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); z-index: 10000; margin-top: 4px; } diff --git a/ruoyi-ui/src/views/selectRoom/index.vue b/ruoyi-ui/src/views/selectRoom/index.vue index 2b9dea7..94c37aa 100644 --- a/ruoyi-ui/src/views/selectRoom/index.vue +++ b/ruoyi-ui/src/views/selectRoom/index.vue @@ -573,41 +573,46 @@ export default { color: #94a3b8; } -/* 右键菜单 */ +/* 右键菜单:与 TopHeader / ContextMenu 企业蓝一致 */ .context-menu { position: fixed; - background: white; - border-radius: 10px; - box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); - padding: 6px 0; - min-width: 140px; z-index: 2000; - border: 1px solid #f1f5f9; + min-width: 152px; + padding: 8px 0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Microsoft YaHei', sans-serif; + color: #333; + background: rgba(255, 255, 255, 0.72); + -webkit-backdrop-filter: blur(15px); + backdrop-filter: blur(15px); + border: 1px solid rgba(22, 93, 255, 0.12); + border-radius: 14px; + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); } .menu-item { - padding: 10px 16px; + padding: 10px 20px; cursor: pointer; display: flex; align-items: center; gap: 10px; - font-size: 13px; - color: #475569; - transition: background 0.2s; + font-size: 14px; + font-weight: 500; + color: #333; + transition: background 0.2s ease, color 0.2s ease; } .menu-item:hover { - background-color: #f8fafc; + background: rgba(22, 93, 255, 0.08); color: #165dff; } .menu-item-danger { - color: #ef4444; + color: #f56c6c; } .menu-item-danger:hover { - background-color: #fef2f2; - color: #ef4444; + background: rgba(245, 108, 108, 0.1); + color: #f56c6c; } /* --- Element UI 局部重写 --- */