如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '内容区域', content: $('#DIV_EditUserInfo'), // 设置跳转的div,跳转到对应的页面 area: ["920px ...
如果content取的的事当前页面元素内容时,type类型应该为 layer.open type: , title: 数据选择器 , content: select pe content .html , area: px , px , 如果content取的的路径,或者某个页面,type类型应该为 layer.open type: , title: 添加商品信息 , content: :url ...
2020-07-17 14:57 0 5791 推荐指数:
如果content取的的事当前页面元素内容时,type类型应该为1 layer.open({ type: 1, title: '内容区域', content: $('#DIV_EditUserInfo'), // 设置跳转的div,跳转到对应的页面 area: ["920px ...
解决方法:content使用的dom元素样式自己设置为隐藏 style="display: none;" 1 定义弹出层content使用的dom元素 弹出层使用的dom元素id为“sku_search-div”,这里的关键点是样式设置为隐藏 style="display ...
1、定义一个静态页,里面存放需要的HTML,如FlightBookChildInsur.html 在这个页面定义执行函数,用来返回数据; function callbackdata() { ...
https://blog.csdn.net/yzw675628706/article/details/115347180 其他没有试,这个是对我目前的使用有效 layui.layer.open({ type: 2, title:'百度页面', area ...
一句话, 把 content参数的 html() 去掉就好, 即 content: $('.add_html') ! 如果用 val() 还获取不到值,尝试用 $('input[name=user_name]').attr("value") 或者 $('input[name ...