fix: 修复id

master
Mu Yi 2025-11-14 17:56:45 +08:00
parent ee873e7404
commit 04ffde376c
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ const handleComplete = () => {
</view>
</view>
<view class="flex-1 overflow-y-auto pb-safe" v-if="activeIndex === 1">
<view v-for="item in articles" :id="`zp-id-${item.zp_index}`" :key="item.zp_index" class="flex justify-between mx-[30rpx] py-[20rpx]" @click="toDetailPage">
<view v-for="item in articles" :id="`zp-id-${item.zp_index}`" :key="item.zp_index" class="flex justify-between mx-[30rpx] py-[20rpx]" @click="toDetailPage(item.id)">
<view class="flex flex-col justify-between mr-[20rpx]">
<text class="text-[30rpx] text-[#333]">{{ item.title }}</text>
<text class="text-[#999999] text-[26rpx]">{{ item.publishTime }}</text>