- invalid url domain?
项目是小程序webview中wx.config注册失败,返回invalid url domain,但是我的域名已经加到业务域名中
06-12 - wx.onLocationChange、wx.startLocationUpdate为什么审核不过
因当前业务涉及景区景点播报功能,当用户打开听导游页面,获取用户当前实时地理位置以便根据定位判断在哪个景点内,提供所在景点的讲解,故申请 wx. onLocationChange 接口,用于根据用户实时运动位置播报景点讲解。 另外提供了小程序截图和视频,还不够明确吗? 作为一名开发,我会不清楚这几个接口的区别吗?如果wx.getLocation可以满足需求,我还会一遍一遍的申请? 接口一直审核不过,也不给明确不过的理由。
06-06 - 用的是哪个组件?
“酷狗音乐”小程序关闭以后会小窗显示,还可以正常播放音乐,如图用的是哪个组件? [图片]
2023-08-15 - 小程序获取位置无权限?
[图片][图片] 类目符合要求,但是相关接口暂无权限
2023-08-01 - 小程序插件中addGroundOverlay、includePoints、marker点击事件失效
小程序插件中addGroundOverlay、includePoints、marker点击事件失效,在常规小程序中没有问题。详见代码片段,请帮忙解决,谢谢! [图片][图片]
2023-05-11 - marker点击事件bindmarkertap不触发
在开发者工具中可以触发bindmarkertap点击事件,真机调试不触发,iphone11,iphone13,三星手机都不行 index.wxml: <view class="pages"> <view id="searchBox"> <view data-keyword="卫生间" bindtap="search">卫生间</view> </view> <map id="mapId" class="map" latitude="{{latitude}}" longitude="{{longitude}}" bindtap="mapclick" bindmarkertap="onMarkerTap" bindcallouttap="onCalloutTap" markers="{{currentMarkers}}" scale="{{scale}}" setting="{{setting}}" min-scale="{{minScale}}" max-scale="{{maxScale}}" enable-poi="{{enablePoi}}"> <cover-view slot="callout"> <block wx:if="false" wx:for="{{currentMarkers}}" wx:for-item="item" wx:key="index"> <cover-view class="customCallout" marker-id="{{item.id}}" bindtap="tapCustomCallout" > <cover-view> {{item.content}} </cover-view> </cover-view> </block> </cover-view> <view class="floorBtns" style="bottom:{{bottom}}"> <view class="ul"> <block wx:for="{{floorData}}" wx:for-item="floor" wx:key="index"> <view class="li {{floor.flindex == currFlIndex ? 'active' : ''}}" data-flid="{{floor.flid}}" data-floorname="{{floor.flname}}" data-rect="{{floor.rect}}" data-flindex="{{floor.flindex}}" bindtap="changeFloor">{{floor.flname}}</view> </block> </view> </view> <view class="main_zoom zoom_wrapper" style="bottom:{{bottom}}"> <view class="main_zoomin zoom_btn" id="main_zoomin" bindtap="zoomout"> <view class="icon_map-jia"></view> </view> <view class="main_zoomout zoom_btn" id="main_zoomout" bindtap="zoomin"> <view class="icon_map-jian"></view> </view> </view> </map> <view class="bottomView" wx:if="{{showBottomView}}"> <view class="ul"> <view class="li myposition"> <icon></icon> <text class="positon">当前位置</text> </view> <view class="li target"> <icon></icon> <text class="positon">{{targetName}}</text> <text class="distance">距此{{targetDistance}}米</text> </view> <view class="btn btn_default openMap" data-targetname="{{targetName}}" data-targetfloorid="{{targetfloorId}}" data-targetlat="{{targetLat}}" data-targetlon="{{targetLon}}" data-method="{{method}}">路线</view> </view> </view> </view> index.js: creatMaker(poiInfo){ poiInfo.markerType = poiInfo.markerType || 1; let normalCallout = { id: poiInfo.index, latitude: poiInfo.lat, longitude: poiInfo.lon, iconPath: "", floorId:poiInfo.floorId, method:poiInfo.method, distance:poiInfo.distance, startPos:poiInfo.startPos, customCallout:true, content:poiInfo.text, zIndex:999, customCallout: { display: 'BYCLICK', anchorX:0, anchorY:90 }, callout: { content: poiInfo.text, color: '#000', fontSize: 14, borderWidth: 1, borderRadius: 5, borderColor: '#ccc', bgColor: '#fff', padding: 5, display: 'ALWAYS', textAlign: 'center', } } //点击搜索进入 if(!poiInfo.startPos){ normalCallout.startPos = { startFloorId: this.data.currFlId, startFloorName: "", startLat: this.data.latitude, startLon: this.data.longitude, startbdid: this.data.bdid, } normalCallout.iconPath = poiInfo.iconPath; } //扫码进入、大头针marker if(poiInfo.targetPos){ normalCallout.targetbdid = poiInfo.targetPos.targetbdid; normalCallout.iconPath = iconPath + "icontype" + poiInfo.markerType + ".png"; } return normalCallout },
2023-04-21 - JS-SDK wx.startRecord 在页面改变hash时失效
JS-SDK 1.6.0 小程序中定时器1秒更新一次webview src中的hash,h5页面中的wx.startRecord会失效。
2022-04-28