deploy: auto commit repo-root changes 2026-08-02 20:11:33
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user