*引入组件
"usingComponents": {
"mz-advertFullScreen-component":"plugin://mz-plugin/mz-advertFullScreen-component",
}
*示例代码
<!-- wxml代码 -->
<!-- 暖场图广告组件 -->
<mz-advertFullScreen-component
wx:if="{{isShowFullScreenComponent}}"
hidden="{{!isShowFullScreenComponent}}"
ticketId="{{pageInfo.ticketId}}"
bind:advertFullScreenFinish="advertFullScreenEnd"
bind:advertFullScreenClick="advertFullScreenTap"
>
</mz-advertFullScreen-component>
*组件属性列表
属性 |
类型 |
默认值 |
必填 |
说明 |
ticketId |
String |
|
是 |
活动编号 |
isOnlySlot |
Boolean |
false |
否 |
是否启用自定义slot,如果启用,就会放弃本组件的所有内容,完全自定义显示的内容 |