网友半夜差点被沐浴露吓死,众人:原来不止我胆小....

全世界只有3.14 % 的人关注了

爆炸吧知识

微博上有网友爆料说,他半夜上厕所差点被沐浴露吓死!

这么看可能不明显

但是关灯的时候.....

啊啊啊啊啊~

结果引来众多网友的共鸣,原来大家都有类似遭遇....

比如,你有被饮水机吓到过吗?

有人出门倒垃圾,被吓得一个趔趄

拆个快递,心跳的感觉

美羊羊也可以很吓人的

半夜2点进电梯碰到这个的心情....

真的真的不要把有人脸图案的东西放在冰箱里

看来买这个车内小摆件是个错误

今后无法再直视这条裤子了

不知道你能不能get到这种恐怖

煮豆腐的时候,有人觉得可爱,也有人觉得可怕

还以为是什么清朝格格的鬼魂

把衣服换了挂上去,然后玩手机一抬头....近视的看到的就是这样

有一天回家,楼下的邻居在装修(阴阳路?)

邻居挂的防护服,配合灯光效果真好

晚上出去玩,被意想不到的吓了一跳,今后晚上不出门了

当时宿舍没其他人,独自在床上看到这....

白天或许没什么,但你们能懂晚上看倒这个东西的心情吗

回寝室还没开灯的时候借着外边的光以为有个人

去剪头发,洗头的时候菊花一紧

过年打完麻将回来刚开门.....

小区看到的,差点被当场送走

其实眼尖也有坏处,就是经常会发现“惊喜”

艹啊,不要把这种东西挂在这里!

在晚上没人的街道路过车窗旁时....

还以为杀人分尸呢

美院学生放在角落的画,每次晚上路过都被吓到

在理发店等朋友的时候,随意用脚拉开一个抽屉....!!??

所以人类最擅长的就是自己吓自己吧!

本文转自大叔爱吐槽,如有侵权请联系删除。

✄------------------------------------------------

let arr = [{ name: '青苹果', header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", children: [{ name: "洗发水", header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", children: [{ name: '北方米饭', header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", }, { name: '南方米饭', header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", }] }, { name: "沐浴露", header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", }] }, { name: '红苹果', header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", children: [{ name: "锄头", header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", }, { name: "锤子", header: '"https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200"', comment:"听说今天要使用递归实现评论列表", }] }]使用递归渲染在vue3页面出层级
06-10
可以考虑使用Vue3的递归组件来实现树形结构的渲染。 首先,在template中定义一个递归组件,例如: ``` <template> <div class="comment"> <div class="comment-header"> <img :src="header" alt="header"> <span>{{ name }}</span> </div> <div class="comment-content">{{ comment }}</div> <div class="comment-children"> <comment v-for="child in children" :key="child.name" :data="child"></comment> </div> </div> </template> <script> export default { name: 'comment', props: { data: { type: Object, required: true } } } </script> ``` 在递归组件中,使用v-for来遍历当前节点的子节点,并将子节点作为递归组件的props传递下去,直到遍历到叶子节点。 然后,在父组件中使用递归组件来渲染整个树形结构,例如: ``` <template> <div class="comment-list"> <comment v-for="item in arr" :key="item.name" :data="item"></comment> </div> </template> <script> import Comment from './Comment.vue' export default { components: { Comment }, data() { return { arr: [{ name: '青苹果', header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', children: [{ name: "洗发水", header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', children: [{ name: '北方米饭', header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', }, { name: '南方米饭', header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', }] }, { name: "沐浴露", header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', }] }, { name: '红苹果', header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', children: [{ name: "锄头", header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', }, { name: "锤子", header: 'https://img0.baidu.com/it/u=1348709467,3751255405&fm=253&fmt=auto&app=138&f=JPEG?w=200&h=200', comment: '听说今天要使用递归实现评论列表', }] }] } } } </script> ``` 在父组件中使用v-for来遍历整个树形结构的根节点,并将根节点作为递归组件的props传递下去。 这样就可以使用递归组件来实现树形结构的渲染了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值