12 2024 档案
摘要:实现直播间消息评论滚动,顶部消失 竟然一句代码就解决了 -webkit-mask-image: linear-gradient(to bottom,rgba(255,255,255,0) 0,rgba(255,255,255,.6) 15%,rgba(255,255,255,1) 100%); <!
阅读全文
摘要:直播间点赞动画 https://blog.csdn.net/weixin_50450473/article/details/129185936 https://blog.csdn.net/weixin_46837985/article/details/105852711 https://blog.c
阅读全文
摘要:css 从中间向两边颜色渐变到透明 background: linear-gradient(to right, rgba(27,201,145,.1) 0%, rgba(27,201,145,.8) 50%, rgba(27,201,145,.1) 100%); https://juejin.cn/
阅读全文
摘要:解决办法: 在自定义组件内获取必须用SelectorQuery.in() Component({ lifetimes: { ready() { const query = wx.createSelectorQuery().in(this) const num = Math.ceil(this.dat
阅读全文
摘要:小程序自定义组件之间的值-优先级 (不一定正确,仅做自己纪录) 1.自定义组件标签,如果写属性,那怕是空,也传空。 2.如果没有写属性值,则使用组件里面proertises定义的默认值,如果练propertises中变量都没有的话,就用data中同名变量值。 3.在自定义组件中使用,this.dat
阅读全文
摘要:腾讯即时通讯简单1 IM即时通讯 1. 快速跑通https://cloud.tencent.com/document/product/269/68376#.E6.AD.A5.E9.AA.A41.EF.BC.9A.E5.88.9B.E5.BB.BA.E9.A1.B9.E7.9B.AE 2. 无UI继承
阅读全文