02 2024 档案
摘要:单层请求 exports.main = async (event, context) => { const {from,to,date,message} = event;await db.collection('chatRoom') .where({ chat:_.all([from,to]) })
阅读全文
摘要:容器为块元素 css样式添加: text-overflow:ellipsis; word-wrap:break-word; 实现效果: 代码: <view class="message-box"> <image class="avatar" /> <view class='text-box'> <t
阅读全文
摘要:onLoad(options) { let {limit,index} = options index = Number(index); limit = Number(limit) console.log(options); //获取视频页面数据 wx.cloud.callFunction({ na
阅读全文