1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-11-13 22:11:42 +08:00

feat: 联系博主页对接博主介绍/社交动态列表,下线友链提交页

- contact.vue:博主介绍(intro 富文本)用 mp-html 完整配置渲染(domain/loading-img/
  tag-style/container-style/markdown,对齐 moments/文章详情);社交信息改读
  authorConfig.social.items 动态列表(priority 排序、visible 过滤、未配置空态、
  不回退默认值),去 enabled 开关;收信日期改 formatTime 实时显示
- about.vue:社交入口判定改按社交项列表(存在可见且有内容即展示)
- 友链提交功能调整:submit-link 页面下线,mini-info/site-info 与提交开关
  (submissionEnabled)随插件端新结构对接

Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com>
This commit is contained in:
小莫唐尼
2026-09-10 19:13:42 +08:00
parent 0c1c71a290
commit 4eae337a8e
9 changed files with 209 additions and 375 deletions
+5 -2
View File
@@ -68,6 +68,9 @@ async function handleMiniPluginRefresh() {
handleGetMiniProgramLinks()
}
/** 是否开放公开提交申请(通用配置-友链信息-基本配置 submissionEnabled,2026-09-11 由 setting linkConfig 迁入;默认 true) */
const submissionEnabled = computed(() => (haloPluginConfigs.value?.linkInfo?.submissionEnabled ?? true))
/* ---------------- tabs ---------------- */
const activeTabIndex = ref(0)
@@ -575,8 +578,8 @@ onReachBottom(() => {
</view>
</view>
<!-- 底部悬浮操作栏(通用组件) -->
<uh-links-actions :actions="['apply', 'info']" @apply="handleOpenApply" @info="handleOpenMiniInfo" />
<!-- 底部悬浮操作栏(通用组件);提交申请入口按 submissionEnabled 显隐(2026-09-11) -->
<uh-links-actions :actions="submissionEnabled ? ['apply', 'info'] : ['info']" @apply="handleOpenApply" @info="handleOpenMiniInfo" />
</view>
<!-- 小程序详情弹窗 -->