基于javaweb+SpringBoot+MyBatis在线购物商城shop系统(仅前台购物)
开发工具:eclipse/idea/myeclipse/sts等均可配置运行
适用
课程设计,大作业,毕业设计,项目练习,学习演示等
<img th:src="${productCategory.bannerImg}" width="1200" />
</div>
<div class="i_t mar_10">
<span class="floor_num" th:text="${productCategory.name}"></span> <span class="fl" th:text="${productCategory.name}">笔记本</span>
</div>
<div class="content">
<div class="fresh_left">
<div class="fre_ban">
<div id="imgPlay1" class="imgPlay1">
<ul class="imgs" id="actor1">
<li><img th:src="${productCategory.topImg}" width="211"/></li>
</ul>
</div>
</div>
</div>
<div class="fresh_mid">
<ul>
<li th:each="productVO:${productCategory.productVOList}">
<div class="name">
<a th:href="'/product/findById/'+${productVO.id}" th:text="${productVO.name}"></a>
</div>
<div class="price">
<font>¥<span th:text="${productVO.price}">206</span></font>
</div>
<div class="img">
import com.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpSession;
@Controller