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 网站统计
help: 统计ID
placeholder: 请输入内容
- $formkit: text
name: mapLocation
label: 居住地坐标
help: 示例22.5824,113.2154
placeholder: 请输入经纬度坐标
# - $formkit: group
# name: map
# label: 地图相关配置
# value:
# StrengthenTitle:
# background:
# backgroundDark:
# authorInfo:
# children:
# - $formkit: text
# name: StrengthenTitle
# label: 居住地
# placeholder: 请输入内容
# - $formkit: attachment
# name: background
# label: 地图亮色模式背景
# placeholder: 请输入内容
# - $formkit: attachment
# name: backgroundDark
# label: 地图暗色模式背景
# placeholder: 请输入内容
# - $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: group
name: map
label: 地图相关配置
value:
StrengthenTitle:
background:
backgroundDark:
authorInfo:
children:
- $formkit: text
name: mapLocation
label: 居住地坐标
help: 示例22.582401,113.215456
placeholder: 请输入经纬度坐标
- $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
name: xjlc
label: 心路历程

View File

@ -40,24 +40,6 @@
th:text="${texts[2].authorInfoContent}">BI工程师</span>
</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>
<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>
@ -129,7 +111,7 @@
});
</script>
<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"),{
center: t,
zoom: 12,