diff --git a/web/src/assets/icon-font/iconfont.css b/web/src/assets/icon-font/iconfont.css index 327fae12..7cee96a5 100644 --- a/web/src/assets/icon-font/iconfont.css +++ b/web/src/assets/icon-font/iconfont.css @@ -1,8 +1,8 @@ @font-face { font-family: "iconfont"; /* Project id 2479351 */ - src: url('iconfont.woff2?t=1737022296799') format('woff2'), - url('iconfont.woff?t=1737022296799') format('woff'), - url('iconfont.ttf?t=1737022296799') format('truetype'); + src: url('iconfont.woff2?t=1737722825571') format('woff2'), + url('iconfont.woff?t=1737722825571') format('woff'), + url('iconfont.ttf?t=1737722825571') format('truetype'); } .iconfont { @@ -13,6 +13,10 @@ -moz-osx-font-smoothing: grayscale; } +.iconcontentleft:before { + content: "\e8c9"; +} + .iconjuzhongduiqi:before { content: "\ec80"; } diff --git a/web/src/assets/icon-font/iconfont.ttf b/web/src/assets/icon-font/iconfont.ttf index 970f56f0..f4373704 100644 Binary files a/web/src/assets/icon-font/iconfont.ttf and b/web/src/assets/icon-font/iconfont.ttf differ diff --git a/web/src/assets/icon-font/iconfont.woff b/web/src/assets/icon-font/iconfont.woff index 6e196d54..a05e1fdd 100644 Binary files a/web/src/assets/icon-font/iconfont.woff and b/web/src/assets/icon-font/iconfont.woff differ diff --git a/web/src/assets/icon-font/iconfont.woff2 b/web/src/assets/icon-font/iconfont.woff2 index 545c4bfd..aa7a49fe 100644 Binary files a/web/src/assets/icon-font/iconfont.woff2 and b/web/src/assets/icon-font/iconfont.woff2 differ diff --git a/web/src/lang/en_us.js b/web/src/lang/en_us.js index 277a908d..7d9f140a 100644 --- a/web/src/lang/en_us.js +++ b/web/src/lang/en_us.js @@ -73,7 +73,6 @@ export default { watermarkTextOpacity: 'Text opacity', watermarkTextFontSize: 'Font size', belowNode: 'Display below nodes', - tagPosition: 'Node tag position', tagPositionRight: 'Text right', tagPositionBottom: 'Text bottom', alwaysShowExpandBtn: 'Always show expand btn', @@ -264,7 +263,14 @@ export default { openLineFlow: 'Open line flow', lineFlowDuration: 'Line flow duration', forward: 'Forward', - reverse: 'Reverse' + reverse: 'Reverse', + img: 'Image', + placement: 'Placement', + top: 'Top', + bottom: 'Bottom', + left: 'Left', + right: 'Right', + tag: 'Tag', }, theme: { title: 'Theme', diff --git a/web/src/lang/zh_cn.js b/web/src/lang/zh_cn.js index a7cf7615..2e6191de 100644 --- a/web/src/lang/zh_cn.js +++ b/web/src/lang/zh_cn.js @@ -71,7 +71,6 @@ export default { watermarkTextOpacity: '文字透明度', watermarkTextFontSize: '文字字号', belowNode: '显示在节点下方', - tagPosition: '节点标签显示的位置', tagPositionRight: '文本右侧', tagPositionBottom: '文本下面', alwaysShowExpandBtn: '是否一直显示展开收起按钮', @@ -260,7 +259,14 @@ export default { openLineFlow: '开启流动效果', lineFlowDuration: '一个流动周期的时间', forward: '正向', - reverse: '反向' + reverse: '反向', + img: '图片', + placement: '布局', + top: '上', + bottom: '下', + left: '左', + right: '右', + tag: '标签', }, theme: { title: '主题', diff --git a/web/src/lang/zh_tw.js b/web/src/lang/zh_tw.js index a966e96d..e95d527e 100644 --- a/web/src/lang/zh_tw.js +++ b/web/src/lang/zh_tw.js @@ -41,7 +41,6 @@ export default { rainbowLines: '彩虹線條', notUseRainbowLines: '不使用彩虹線條', outerFramePadding: '外框內距', - tagPosition: '節點標簽顯示的位置', tagPositionRight: '文本右側', tagPositionBottom: '文本下面', alwaysShowExpandBtn: '是否壹直顯示展開收起按鈕', @@ -260,7 +259,14 @@ export default { openLineFlow: '開啓流動效果', lineFlowDuration: '一個流動周期的時間', forward: '正向', - reverse: '反向' + reverse: '反向', + img: '圖片', + placement: '布局', + top: '上', + bottom: '下', + left: '左', + right: '右', + tag: '標簽', }, theme: { title: '主題', diff --git a/web/src/pages/Edit/components/Edit.vue b/web/src/pages/Edit/components/Edit.vue index 08098da6..20d98f4a 100644 --- a/web/src/pages/Edit/components/Edit.vue +++ b/web/src/pages/Edit/components/Edit.vue @@ -43,6 +43,10 @@ +
+
+
+
+ + + + + diff --git a/web/src/pages/Edit/components/Setting.vue b/web/src/pages/Edit/components/Setting.vue index 16b2324b..64bed583 100644 --- a/web/src/pages/Edit/components/Setting.vue +++ b/web/src/pages/Edit/components/Setting.vue @@ -321,32 +321,6 @@
- -
-
- {{ $t('setting.tagPosition') }} - - - - -
-
@@ -379,7 +353,6 @@ export default { mousewheelAction: 'zoom', mousewheelZoomActionReverse: false, createNewNodeBehavior: 'default', - tagPosition: 'right', openRealtimeRenderOnNodeTextEdit: true, alwaysShowExpandBtn: false, enableAutoEnterTextEditWhenKeydown: true @@ -474,7 +447,7 @@ export default { storeConfig({ config: this.data.config }) - if (['tagPosition', 'alwaysShowExpandBtn'].includes(key)) { + if (['alwaysShowExpandBtn'].includes(key)) { this.mindMap.reRender() } }, diff --git a/web/src/pages/Edit/components/Style.vue b/web/src/pages/Edit/components/Style.vue index 30eb62b7..b300fd33 100644 --- a/web/src/pages/Edit/components/Style.vue +++ b/web/src/pages/Edit/components/Style.vue @@ -497,6 +497,50 @@ > + +
{{ $t('style.img') }}
+
+
+ {{ $t('style.placement') }} + + {{ + $t('style.top') + }} + {{ + $t('style.bottom') + }} + {{ + $t('style.left') + }} + {{ + $t('style.right') + }} + +
+
+ +
{{ $t('style.tag') }}
+
+
+ {{ $t('style.placement') }} + + {{ + $t('style.right') + }} + {{ + $t('style.bottom') + }} + +
+
@@ -565,7 +609,9 @@ export default { lineFlow: false, lineFlowForward: true, lineFlowDuration: 1, - textAlign: '' + textAlign: '', + imgPlacement: '', + tagPlacement: '' } } },