楼主问题解决了吗
view如何自适应高度?我有一组数组需要在小程序页面上显示,如何让 view自适应高度呢 <swiper bindchange="bindchange" current="{{navState}}" class="contshow"> <view> <swiper-item> <view class="style-roll"> <view wx:for="{{ggother}}" wx:key="index" class="showneirong"> <view>录入时间:{{item.ggtime}}</view> <view>标题:{{item.ggtitle}}</view> <text>内容:{{item.ggneirong}}</text> </view> </view> </swiper-item> </view> 小白求教,我现在设置contshow我的高度为固定值,for数据库内容一旦多了,超出部分就不显示了,求大神教育,该如何设置自适应高度,感谢
2022-04-28楼主你是后面是怎么引入,怎么用的直播组件啊
kbone 怎么引入直播live-player-plugin呢 ?在miniprogram.config.js中的generate中这样引入没效果[图片]
2022-04-12额,所以有人试过吗
用视频号直播可以搞到小程序内吗?问一下用视频号直播可以同步到小程序内吗?就像用“小程序直播”实现在直播同步到自己的小程序内
2022-04-11请问这个接口怎么用才有反应啊
为什么 wx.onLocationChange 无法在调试工具中无法调用?代码片段: https://developers.weixin.qq.com/s/ekVlUbmq70pX 微信官方希望我们多用“wx.onLocationChange”以提高用户体验,于是我们正在从 "wx.getLocation" 向 “wx.onLocationChange”迁移,但是发现这个接口在调试工具中没有反应,这给开发带来了一定的不便,请官方尽快适配。
2021-06-18请问怎么解决?还是还没有解决?
通过设置地图组件的circles的radius值,实现涟漪效果,但是报错?alertIcon(n) { let that = this; setInterval(() => { for (let i in that.data.circles) { if (that.data.circles[i].radius < 500) { that.data.circles[i].radius += 50; } else { that.data.circles[i].radius = 0; }; }; that.setData({ markers: that.data.mapData, circles: that.data.circles }) }, n); }, //Console: /* *[渲染层错误] MultiPolyline.styles: 样式id *[渲染层错误] MultiCircle.geometries: 希望传入CircleGeometry数组,实际第0元素的radius属性无效! *[渲染层错误] MultiCircle.geometries: 希望传入CircleGeometry数组,实际第1元素的radius属性无效! *[渲染层错误] MultiCircle.geometries: 希望传入CircleGeometry数组,实际第2元素的radius属性无效! *[渲染层错误] MultiPolyline.geometries: 希望传入PolylineGeometry数组,实际第0元素的paths属性无效! *[渲染层错误] MultiPolyline.geometries: 希望传入PolylineGeometry数组,实际第1元素的paths属性无效! *[渲染层错误] MultiPolyline.geometries: 希望传入PolylineGeometry数组,实际第2元素的paths属性无效! *[/__pageframe__/pages/mapalert/mapalert] width and heigth of marker id 0 are required *[/__pageframe__/pages/mapalert/mapalert] width and heigth of marker id 1 are required *[/__pageframe__/pages/mapalert/mapalert] width and heigth of marker id 2 are required */ //打算在每一个markers下增加一个涟漪效果,作为警告标志。但是出现上诉错误和警告,请教大神如何解决?
2021-04-12请问现在解决了吗
提示 [渲染层错误] 实际第0元素的paths属性无效! 如何解决?请教下: 我远程获取的polygon数组数据为: {"q":1,"quyu":{"num":1,"latitude":"","longitude":"","detail":[{"points":[{"longitude":"114.343762","latitude":"30.627291","iconPath":"/image/t.png"},{"longitude":"114.352724","latitude":"30.621428","iconPath":"/image/t.png"},{"longitude":"114.354015","latitude":"30.620495","iconPath":"/image/t.png"},{"longitude":"114.356798","latitude":"30.618246","iconPath":"/image/t.png"},{"longitude":"114.358169","latitude":"30.616849","iconPath":"/image/t.png"},{"longitude":"114.359453","latitude":"30.615395","iconPath":"/image/t.png"},{"longitude":"114.360087","latitude":"30.614641","iconPath":"/image/t.png"},{"longitude":"114.360398","latitude":"30.614254","iconPath":"/image/t.png"},{"longitude":"114.362214","latitude":"30.611208","iconPath":"/image/t.png"},{"longitude":"114.363289","latitude":"30.607686","iconPath":"/image/t.png"},{"longitude":"114.320397","latitude":"30.596999","iconPath":"/image/t.png"},{"longitude":"114.32164","latitude":"30.598607","iconPath":"/image/t.png"},{"longitude":"114.32333","latitude":"30.600793","iconPath":"/image/t.png"},{"longitude":"114.325175","latitude":"30.603178","iconPath":"/image/t.png"},{"longitude":"114.327687","latitude":"30.606425","iconPath":"/image/t.png"},{"longitude":"114.338095","latitude":"30.619879","iconPath":"/image/t.png"},{"longitude":"114.340878","latitude":"30.623476","iconPath":"/image/t.png"},{"longitude":"114.343762","latitude":"30.627291","iconPath":"/image/t.png"}],"fillColor":"#FF0000AA","strokeWidth":3,"strokeColor":"#000000AA"}]}} 然后我输出数据绘制多边形: that.setData({'polygons': res.data.quyu.detail }); 但是没有正确绘制出图形,控制台报错如下: [图片] 请教各位朋友指点下这是哪里的问题,百思不得解。。。感谢。
2021-04-12