How does layui pass a value to the layer pop-up layer?

when using the layui framework, when the button in the table is clicked, the information of the current row is displayed to the layer pop-up layer.

clipboard.png


layui

clipboard.png

iframe

clipboard.png

now I need to display each information of the line I clicked on in the pop-up window, which involves passing parameters

I have read the documents of layui before, but the method of layer.getChildFrame (selector, index) has been useful, but the effect has not come out. I also checked the relevant materials and found that they were all the same, and I don"t know what went wrong. I hope God will give me an answer.
this is how official documents are handled:

layer.open({
  type: 2,
  content: "test/iframe.html",
  success: function(layero, index){
    var body = layer.getChildFrame("body", index);
    var iframeWin = window[layero.find("iframe")[0]["name"]]; //iframeiframe:iframeWin.method();
    console.log(body.html()) //iframebody
    body.find("input").val("Hi")
  }
});

I wrote the following:

layui.use(["layer", "form"], function(){ //layer
    var $ = layui.jquery, layer = layui.layer, form = layui.form; //layer
        layer.open({
            type: 2
            ,title: [""] //
            ,closeBtn: 1
            ,area: ["400px", "500px"]
            ,shade: 0.4
            ,id: "LAY_layuipro7" //id
            ,btn: [""]
            ,btnAlign: "c"
            ,moveType: 1 //01
            ,content:"../../../html/iframes/company/check-layer.html"
            ,success:function(layero, index){
            var body = layer.getChildFrame("body", index);
            var iframeWin = window[layero.find("iframe")[0]["name"]]; 
            body.find(".personId").val(data.id)
            body.find(".personName").val(data.name)
            body.find(".sex").val(data.sex)
            body.find(".city").val(data.city)
            body.find(".sign").val(data.sign)
            body.find(".score").val(data.score)
        }
    })
})
Apr.16,2021

pass parameters through url, spell the required parameters to the end of the iframe link, and then remove the page from the pop-up window.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2c337-3be78.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2c337-3be78.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?