The js code in the iframe to get the value of the parent document element of the iframe
Parent page element
<input type="text" class="layui-input" id="txtCateName" placeholder="图册名称" autocomplete="off" lay-verify="required">
js code in iframe
$(parent.document).find("#txtCateName").val();