/** * 加载药品搜索窗口 */ function initDrugSearchList() { var settings = { placement: 'bottom-right',//值: auto,top,right,bottom,left,top-right,top-left,bottom-right,bottom-left 要显示的位置 trigger: 'click', //值:click,hover 触发方式 content: '',//内容,内容可以是函数 width: '600', //arrow:false,//是否显示箭头 multi: true,//在页面允许其他弹出层 closeable: true,//显示关闭按钮 style: '', //值:'',inverse delay: 300,//延迟时间, 悬浮属性才执行 padding: true,//内容填充 height: '200', //offsetTop:10, cache: true,//如果缓存设置为false,则popover将销毁并重新创建 }; //药品弹窗 settings.content = '