
使用layui点击弹出表单:
点击个人信息弹出表单:

1、首先是页面的点击弹出事件。
$(function () { var studentId=""; if ('${zyTb.sudentId}' != null &&'${zyTb.sudentId}' != '') {
studentId='${zyTb.sudentId}';
} if ('${univcollection.studentId}' != null &&'${univcollection.studentId}' != '') {
studentId='${univcollection.studentId}';
} var studentName = '';
studentName = '${gkzyUser.name}';
$("#personaLinfoButton").click(function(){
layer.open({
type: 2,
//title: '收藏管理 (考生姓名:张无忌)',
title: '个人信息',
shadeClose: true,
//弹出框之外的地方是否可以点击
offset: '10%',
area: ['60%', '80%'],
content: '/gkzytb/franchiser/personaLinfo?gkzyUserId='+studentId
// content: '/gkzytb/franchiser/rigthColumnJsonList'
});
});
});
bee餐饮点餐外卖小程序是针对餐饮行业推出的一套完整的餐饮解决方案,实现了用户在线点餐下单、外卖、叫号排队、支付、配送等功能,完美的使餐饮行业更高效便捷!功能演示:1、桌号管理登录后台,左侧菜单 “桌号管理”,添加并管理你的桌号信息,添加以后在列表你将可以看到 ID 和 密钥,这两个数据用来生成桌子的二维码2、生成桌子二维码例如上面的ID为 308,密钥为 d3PiIY,那么现在去左侧菜单微信设置
2、当点击弹出窗口之后,请求controller来渲染form表单数据。同时跳转到包含form表单的jsp页面
@RequestMapping("personaLinfo")
public String personaLinfo(Student student,Model model){
Area area = new Area();
area.setParent(new Area("0"));
List areaList1 = areaService.findList(area);
area.setParent(areaList1.get(0));
List areaList2 = areaService.findList(area);
area.setParent(areaList2.get(0));
List areaList3 = areaService.findList(area);
List studentList = studentService.findList(student);
if (studentList.size()>0) {
model.addAttribute("student",studentList.get(0));
model.addAttribute("gkzyUser",gkzyUserService.get(studentList.get(0).getGkzyUserId()));
}
model.addAttribute("areaList1",areaList1);
model.addAttribute("areaList2",areaList2);
model.addAttribute("areaList3",areaList3);
model.addAttribute("table","1"); return "modules/gkzytb/personal/personaLinfo";
} 3、通过controller跳转到persionaLinfo的jsp页面。
<%@ page contentType="text/html;charset=UTF-8" %><%@ include file="/WEB-INF/views/include/taglib.jsp" %>
内蒙古高考志愿规划-鄂尔多斯市微联网络科技有限责任公司
推荐:layui框架教程









