四、广告模块(二)
2018-05-07 本文已影响0人
半数的年
目标:加入相关广告模块的jsp页面,实现交互
先添加adList.jsp
![](https://img.haomeiwen.com/i11033765/32ca8dbe708e1003.png)
添加对应的css、js
adList.js封装了表单提交,默认对应后台AdController的search 。
![](https://img.haomeiwen.com/i11033765/f4cae5993bc5f040.png)
![](https://img.haomeiwen.com/i11033765/aacbf57fbc2013d2.png)
添加广告,对应后台AdController的addInit。
接下来是添加adAdd.jsp
![](https://img.haomeiwen.com/i11033765/e28b5f4599698452.png)
添加对应的adAdd.js
![](https://img.haomeiwen.com/i11033765/2c8fdb821b23b804.png)
![](https://img.haomeiwen.com/i11033765/4064757d76bd5e75.png)
接下来是加入addMotify.jsp
![](https://img.haomeiwen.com/i11033765/2a43f1d6abbf6c57.png)
加入相应的css js文件,完成。
![](https://img.haomeiwen.com/i11033765/d59078f563d7f316.png)
目标:加入相关广告模块的jsp页面,实现交互
先添加adList.jsp
添加对应的css、js
adList.js封装了表单提交,默认对应后台AdController的search 。
添加广告,对应后台AdController的addInit。
接下来是添加adAdd.jsp
添加对应的adAdd.js
接下来是加入addMotify.jsp
加入相应的css js文件,完成。