Skip to content

页面弹窗 ​

以底部或居中模式显示一张可点击图片。

完整信封 ​

ts
{
    component: 'v2.popup', text: '弹窗', type: '4-2', active: true,
    props: { image: 'https://example.com/popup.png', link: { httpType: 11, http: 'https://example.com' }, popupMode: 'center' }
}

Props ​

字段类型默认值说明
imagestring''弹窗图片
linkCmsV2Link空内链图片点击链接
popupMode'bottom' | 'center''bottom'弹出位置

用户可关闭弹窗;点击图片依赖 link service。

为 uni-app 商城与 CMS 场景设计