var shortNameList = "<select><option value='1'>1</option><option value='2'>2</option></select>"; top.dialog({ title: "修改账单的客户简称", 400, content: '<div class="layui-form-item" style="margin-top:15px;"><label class= "layui-form-label" style="15% !important;" > 客户简称:</label>' + shortNameList+'</div>', ok: function () { var newShortName = this._$("content").find("select").val(); //获取content中的select的选中值 return false; //返回false时,点击按钮不会关闭模态对话窗 } }).showModal();