fix 个人信息

This commit is contained in:
guoqi.sun 2023-07-09 09:56:57 +08:00
parent 92afbfd501
commit e6cdb5d504
2 changed files with 36 additions and 66 deletions

View File

@ -1298,53 +1298,41 @@ spec:
label: 51la 网站统计 label: 51la 网站统计
help: 统计ID help: 统计ID
placeholder: 请输入内容 placeholder: 请输入内容
- $formkit: group
name: map
label: 地图相关配置
value:
StrengthenTitle:
background:
backgroundDark:
authorInfo:
children:
- $formkit: text - $formkit: text
name: mapLocation name: mapLocation
label: 居住地坐标 label: 居住地坐标
help: 示例22.5824,113.2154 help: 示例22.582401,113.215456
placeholder: 请输入经纬度坐标 placeholder: 请输入经纬度坐标
# - $formkit: group - $formkit: repeater
# name: map name: authorInfo
# label: 地图相关配置 label: 个人信息
# value: min: 3
# StrengthenTitle: max: 3
# background: children:
# backgroundDark: - $formkit: text
# authorInfo: name: authorInfoTitle
# children: label: 标题
# - $formkit: text placeholder: 请输入内容
# name: StrengthenTitle value: 标题
# label: 居住地 - $formkit: text
# placeholder: 请输入内容 name: authorInfoContent
# - $formkit: attachment label: 内容
# name: background placeholder: 请输入内容
# label: 地图亮色模式背景 value: 内容
# placeholder: 请输入内容 - $formkit: color
# - $formkit: attachment name: authorInfoColor
# name: backgroundDark label: 内容颜色
# label: 地图暗色模式背景 placeholder: 请输入内容
# placeholder: 请输入内容 value: '#ffffff'
# - $formkit: repeater
# name: authorInfo
# label: 个人信息
# min: 3
# max: 3
# children:
# - $formkit: text
# name: authorInfoTitle
# label: 标题
# placeholder: 请输入内容
# value: 标题
# - $formkit: text
# name: authorInfoContent
# label: 内容
# placeholder: 请输入内容
# value: 内容
# - $formkit: color
# name: authorInfoColor
# label: 内容颜色
# placeholder: 请输入内容
# value: '#ffffff'
- $formkit: textarea - $formkit: textarea
name: xjlc name: xjlc
label: 心路历程 label: 心路历程

View File

@ -40,24 +40,6 @@
th:text="${texts[2].authorInfoContent}">BI工程师</span> th:text="${texts[2].authorInfoContent}">BI工程师</span>
</div> </div>
</div> </div>
<!-- <style>
.author-content-item.map {
background: url([[${theme.config.about.map.background}]]) no-repeat center;
min-height: 160px;
max-height: 400px;
position: relative;
overflow: hidden;
margin-bottom: 0.5rem;
height: 60%;
background-size: 100%;
transition: 1s ease-in-out;
}
[data-theme=dark] .author-content-item.map {
background: url([[${theme.config.about.map.backgroundDark}]]) no-repeat center;
background-size: 100%;
}
</style> -->
</div> </div>
<script th:src="@{/assets/libs/countup/countup.js}"></script> <script th:src="@{/assets/libs/countup/countup.js}"></script>
<script src="https://map.qq.com/api/gljs?v=1.exp&key=YZOBZ-34HLF-K3OJV-JV6IN-OALJ5-7MBAC"></script> <script src="https://map.qq.com/api/gljs?v=1.exp&key=YZOBZ-34HLF-K3OJV-JV6IN-OALJ5-7MBAC"></script>
@ -129,7 +111,7 @@
}); });
</script> </script>
<script defer> <script defer>
var t = new TMap.LatLng([[${theme.config.about.mapLocation}]]) var t = new TMap.LatLng([[${theme.config.about.map.mapLocation}]])
, n = new TMap.Map(document.getElementById("mapContainer"),{ , n = new TMap.Map(document.getElementById("mapContainer"),{
center: t, center: t,
zoom: 12, zoom: 12,