function convert(obj){ var _select = ''; layui.use(['form','element'], function(){ var $ = layui.jquery ,form =layui.form(),element = layui.element(); form.on('select(test)', function(data){ _select = data.value; }); }); layer.open({ type: 1 , title:'兑换流量' , content:$('#convert') , btn: ['兑换', '点错了'] , btnAlign: 'c' //按钮居中 , shade: 0 //不显示遮罩 , yes: function(index){ $.ajax({ url: '', data: 'ap='+_select + '&id=' + obj.getAttribute('flow-id'), type: "p
layui弹框下拉搜索
最新推荐文章于 2024-06-28 15:08:59 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)