利用SUI Mobile的模板来进行拼装 http://m.sui.taobao.org/components/#searchbar 搜索栏、栅栏和按钮组合 卡片 无限滚动 shoplist.html shoplist.js shoplist.css commons.js ...
分类:
其他好文 时间:
2018-05-12 02:59:08
阅读次数:
202
dao层 service层 impl controller层 ...
分类:
其他好文 时间:
2018-04-24 23:19:39
阅读次数:
213
shop--8.商品类别--批量操作(后端) productcategorymanegement.html productcategorymanegement.js ...
分类:
其他好文 时间:
2018-04-23 15:42:27
阅读次数:
207
1.批量添加 dao层 在编写mapper时,因为传入的是List,所以要写的parameterType=“java.util.List” 然后需要使用<foreach来进行批量插入 service层 impl Controller层 ...
分类:
其他好文 时间:
2018-04-23 12:13:50
阅读次数:
195
shoplist.html 在其中需要嵌入的shoplist.js用来进行店铺信息查询与显示 还有shoplist.css 路由 ...
分类:
其他好文 时间:
2018-04-21 19:25:43
阅读次数:
107
1.引入jar包 https://mvnrepository.com/中搜索com.github.penggle 找到kaptcha,将其dependency拷贝到pom.xml下 2.在web.xml中编写servlet,用于生成验证码 3.然后在页面中生成验证码 其中 <img id="kapt ...
分类:
其他好文 时间:
2018-04-19 20:48:47
阅读次数:
201
首先要有初始化的url,一加载此js,就执行此url,进行初始化 initUrl中的getshopinitinfo 是获取店铺分类和区域信息,进行前端的店铺分类和所属区域的下拉菜单的初始化 registerShopUrl 是进行店铺的注册,即在前面的WEB-INF/html/shop/shopope ...
分类:
Web程序 时间:
2018-04-19 12:02:33
阅读次数:
562
数据库中数据表类型Innodb controller 层文件 $m = M(); $m->startTrans(); $shop = $m->query('SELECT * FROM `think_shop` WHERE id='.$custom['shop_id'].' FOR UPDATE'); ...
分类:
Web程序 时间:
2018-04-19 11:53:32
阅读次数:
216
http://m.sui.taobao.org/ 网站中有很多示例,然后找到想用的示例,右键显示源码,就可以复制到自己的项目中去 1.本例中使用的是http://m.sui.taobao.org/demos/form/layout 粘贴到自己的index.html中 2.学习如何引入相关的静态资源 ...
分类:
其他好文 时间:
2018-04-18 22:29:56
阅读次数:
214
在https://mvnrepository.com/search?q=thumbnailator找到依赖相关的版本,然后加到pom.xml中 ...
分类:
其他好文 时间:
2018-04-18 01:01:21
阅读次数:
164