mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2025-05-19 01:50:15 +09:00
update: 瞬间过滤非公开的内容
This commit is contained in:
parent
27b3d31828
commit
044f737016
@ -14,7 +14,7 @@
|
|||||||
<block v-else>
|
<block v-else>
|
||||||
<block v-for="(moment, index) in dataList" :key="index">
|
<block v-for="(moment, index) in dataList" :key="index">
|
||||||
<!-- 卡片 -->
|
<!-- 卡片 -->
|
||||||
<tm-translate animation-name="fadeUp" :wait="calcAniWait()">
|
<tm-translate v-if="moment.spec.visible==='PUBLIC'" animation-name="fadeUp" :wait="calcAniWait()">
|
||||||
<view class="moment-card">
|
<view class="moment-card">
|
||||||
<view class="head" style="display: flex;align-items: center;">
|
<view class="head" style="display: flex;align-items: center;">
|
||||||
<view class="avatar" style="flex-shrink: 0;">
|
<view class="avatar" style="flex-shrink: 0;">
|
||||||
@ -154,7 +154,8 @@ export default {
|
|||||||
content: {
|
content: {
|
||||||
html: item.content
|
html: item.content
|
||||||
},
|
},
|
||||||
releaseTime: item.time
|
releaseTime: item.time,
|
||||||
|
visible: "PUBLIC"
|
||||||
},
|
},
|
||||||
images: item.images.map((img) => {
|
images: item.images.map((img) => {
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user