forked from p96170835/amis
31 lines
830 B
JavaScript
31 lines
830 B
JavaScript
export default {
|
|
"$schema": "https://houtai.baidu.com/v2/schemas/page.json#",
|
|
"title": "IFrame 可以用来嵌入其他网站",
|
|
"body": [
|
|
{
|
|
type: 'form',
|
|
mode: 'inline',
|
|
target: 'window',
|
|
title: '',
|
|
controls: [
|
|
{
|
|
type: 'text',
|
|
name: 'keywords',
|
|
addOn: {
|
|
type: 'submit',
|
|
label: '搜索',
|
|
level: 'info',
|
|
icon: 'fa fa-search pull-left'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
type: 'iframe',
|
|
className: 'b-a',
|
|
src: "https://www.baidu.com/s?wd=${keywords|url_encode}",
|
|
height: 500
|
|
}
|
|
]
|
|
} |