分享按钮点击穿透后转发后,接收者收到的消息卡片是空白的
wxml代码 <text style="font-size:66px">占行测试</text> <text style="font-size:66px">占行测试</text> <text style="font-size:66px">占行测试</text> [代码]<[代码][代码]form[代码] [代码]bindsubmit[代码][代码]=[代码][代码]"formsubmit"[代码] [代码]report-submit[代码][代码]=[代码][代码]"{{true}}"[代码][代码]>[代码] [代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]button[代码] [代码]formType[代码][代码]=[代码][代码]"submit"[代码] [代码]open-type[代码][代码]=[代码][代码]"share"[代码] [代码]class[代码][代码]=[代码][代码]'btncss'[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]'share-btn'[代码][代码]>转发</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]button[代码][代码]>[代码][代码]</[代码][代码]form[代码][代码]>[代码]css代码 [代码]form button{[代码][代码] [代码][代码]padding[代码][代码]: [代码][代码]0[代码][代码];[代码][代码]}[代码] [代码]form button::after{[代码][代码] [代码][代码]content[代码][代码]: [代码][代码]''[代码][代码];[代码][代码] [代码][代码]display[代码][代码]: [代码][代码]none[代码][代码];[代码][代码]}[代码] [代码].share-btn{[代码][代码] [代码][代码]position[代码][代码]: [代码][代码]fixed[代码][代码];[代码][代码] [代码][代码]bottom[代码][代码]: [代码][代码]50[代码][代码]rpx;[代码][代码] [代码][代码]left[代码][代码]: [代码][代码]50%[代码][代码];[代码][代码] [代码][代码]transform: translateX([代码][代码]-50%[代码][代码]);[代码][代码] [代码][代码]width[代码][代码]: [代码][代码]698[代码][代码]rpx;[代码][代码] [代码][代码]line-height[代码][代码]: [代码][代码]90[代码][代码]rpx;[代码][代码] [代码][代码]border-radius: [代码][代码]4[代码][代码]rpx;[代码][代码] [代码][代码]background[代码][代码]: [代码][代码]#1a1a1a[代码][代码];[代码][代码] [代码][代码]font-size[代码][代码]: [代码][代码]38[代码][代码]rpx;[代码][代码] [代码][代码]font-weight[代码][代码]: [代码][代码]bolder[代码][代码];[代码][代码] [代码][代码]color[代码][代码]: [代码][代码]#fff[代码][代码];[代码][代码]}[代码]js代码 [代码]formSubmit: [代码][代码]function[代码] [代码](e) {[代码][代码] [代码][代码]if[代码] [代码](e.detail.formId != [代码][代码]'the formId is a mock one'[代码][代码]) {[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]formIdString: e.detail.formId + [代码][代码]","[代码] [代码]+ [代码][代码]this[代码][代码].data.formIdString[代码][代码] [代码][代码]})[代码][代码] [代码][代码]}[代码][代码] [代码][代码]console.log(e.detail, [代码][代码]this[代码][代码].data.formIdString)[代码][代码] [代码][代码]}[代码]上述代码从log可以看出实现了批量formid获取,但是真机测试时转发页面后,收到消息卡片的用户得到的小程序卡片是空白的