# ActBarcodeDialog 核销码弹窗
# 引入
import PressActBarcodeDialog from '@tencent/press-plus/press-act-barcode-dialog/press-act-barcode-dialog';
export default {
components: {
PressActBarcodeDialog,
}
}
# 代码演示
# 基础用法
<PressActBarcodeDialog
:show.sync="show"
:url="url"
/>
export default {
data() {
return {
show: true,
url: 'https://www.qq.com',
}
}
}
# API
# Props
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
show | 是否展示 | boolean | false |
url | 条形码 url | String | - |
use-tip-class | 是否使用 tip-comp 为前缀的类名 | boolean | false |
hide-tip-style | 是否隐藏 @TIP_STYLE_NAME 关键词编译时加的样式 | boolean | false |
# Inject
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
globalHideTipStyle | 是否隐藏关键词编译的样式,对应 hide-tip-style 属性 | boolean | false |
# 自定义样式
外链地址:
样式内容: