知乎热榜
This commit is contained in:
parent
3c7c62b224
commit
9e30d48765
@ -29,13 +29,13 @@ onLoad(() => {
|
||||
<uni-list>
|
||||
<uni-list-item v-for="item in ctx.data" :key="item.target.id" direction="column">
|
||||
<template #header>
|
||||
<view class="w-full overflow-hidden overflow-ellipsis whitespace-nowrap font-bold text-xl">
|
||||
<view class="w-full overflow-hidden overflow-ellipsis whitespace-nowrap font-bold text-lg">
|
||||
<text>{{item.target.title}}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<template #body>
|
||||
<view class="w-full overflow-hidden overflow-ellipsis line-clamp-2 mt-1">
|
||||
<view class="w-full overflow-hidden overflow-ellipsis line-clamp-2 mt-1 text-sm">
|
||||
<text>{{item.target.excerpt}}</text>
|
||||
</view>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user