deploy: auto commit repo-root changes 2026-08-02 20:11:33

This commit is contained in:
hajimi
2026-08-02 20:11:33 +08:00
parent 71f3b1c6d7
commit 2595c27aa2
2 changed files with 4 additions and 53 deletions
+1 -9
View File
@@ -57,8 +57,7 @@
</view>
<post-card v-for="post in postList" :key="post.id" :post="post" @tap="goDetail(post.id)"
@unlock="handleUnlock(post)" @avatar-tap="goUserProfile" @like="handleLike(post)"
@ai-analysis="handleAiAnalysis" />
@unlock="handleUnlock(post)" @avatar-tap="goUserProfile" @like="handleLike(post)" />
<view v-if="!loading && postList.length === 0" class="community-empty">
<u-empty :text="activeFeed === 'follow' ? '关注的作者暂未发布内容' : '暂时没有相关讨论'" mode="data" />
@@ -344,13 +343,6 @@ const handleLike = async (post: any) => {
} catch (_error) { }
}
const handleAiAnalysis = (post: any) => {
const tags = Array.isArray(post?.tags) ? post.tags : []
if (!tags.includes('旧澳六合') && !tags.includes('新澳六合')) return
const title = encodeURIComponent(String(post?.content || '帖子AI分析').split('\n')[0].trim().slice(0, 28) || '帖子AI分析')
uni.navigateTo({ url: `/pages/ai_analysis/ai_analysis?type=post&id=${post.id}&title=${title}` })
}
onMounted(() => {
const systemInfo = uni.getSystemInfoSync()
// #ifdef APP-PLUS || MP