fix: 修复id
parent
ee873e7404
commit
04ffde376c
|
|
@ -104,7 +104,7 @@ const handleComplete = () => {
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-1 overflow-y-auto pb-safe" v-if="activeIndex === 1">
|
<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]">
|
<view class="flex flex-col justify-between mr-[20rpx]">
|
||||||
<text class="text-[30rpx] text-[#333]">{{ item.title }}</text>
|
<text class="text-[30rpx] text-[#333]">{{ item.title }}</text>
|
||||||
<text class="text-[#999999] text-[26rpx]">{{ item.publishTime }}</text>
|
<text class="text-[#999999] text-[26rpx]">{{ item.publishTime }}</text>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue