Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -182,7 +182,7 @@ | @@ -182,7 +182,7 @@ | ||
| 182 | }); | 182 | }); |
| 183 | 183 | ||
| 184 | //监听行双击事件 | 184 | //监听行双击事件 |
| 185 | - table.on('rowDouble(list)', function(obj){ | 185 | + /*table.on('rowDouble(list)', function(obj){ |
| 186 | //table.on('row(list)', function(obj){ 双击事件 | 186 | //table.on('row(list)', function(obj){ 双击事件 |
| 187 | //console.log(obj.tr) //得到当前行元素对象 | 187 | //console.log(obj.tr) //得到当前行元素对象 |
| 188 | console.log(obj.data) //得到当前行数据 | 188 | console.log(obj.data) //得到当前行数据 |
| @@ -193,12 +193,12 @@ | @@ -193,12 +193,12 @@ | ||
| 193 | shade: 0.8, | 193 | shade: 0.8, |
| 194 | area: ['90%', '90%'], | 194 | area: ['90%', '90%'], |
| 195 | content: '{:url("sellerdetail")}?sid='+obj.data.id //iframe的url | 195 | content: '{:url("sellerdetail")}?sid='+obj.data.id //iframe的url |
| 196 | - /*success:function(dom){ | 196 | + success:function(dom){ |
| 197 | let $iframeDom=$(dom[0]).find("iframe").eq(0).contents(); | 197 | let $iframeDom=$(dom[0]).find("iframe").eq(0).contents(); |
| 198 | $iframeDom.find("#test").html("我是从父级传来的值哟……") | 198 | $iframeDom.find("#test").html("我是从父级传来的值哟……") |
| 199 | - }*/ | 199 | + } |
| 200 | }); | 200 | }); |
| 201 | - }); | 201 | + });*/ |
| 202 | 202 | ||
| 203 | //搜索 | 203 | //搜索 |
| 204 | $('#search').on('click', function() { | 204 | $('#search').on('click', function() { |
-
Please register or login to post a comment