Commit 085f71861437ed747c62c688e34f424a9d5854e6

Authored by teemitop
1 parent 231ea3e7

配置

... ... @@ -182,7 +182,7 @@
});
//监听行双击事件
table.on('rowDouble(list)', function(obj){
/*table.on('rowDouble(list)', function(obj){
//table.on('row(list)', function(obj){ 双击事件
//console.log(obj.tr) //得到当前行元素对象
console.log(obj.data) //得到当前行数据
... ... @@ -193,12 +193,12 @@
shade: 0.8,
area: ['90%', '90%'],
content: '{:url("sellerdetail")}?sid='+obj.data.id //iframe的url
/*success:function(dom){
success:function(dom){
let $iframeDom=$(dom[0]).find("iframe").eq(0).contents();
$iframeDom.find("#test").html("我是从父级传来的值哟……")
}*/
}
});
});
});*/
//搜索
$('#search').on('click', function() {
... ...