页面效果:


  1. <!DOCTYPE html>
  2. <html lang="en" xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
  8. <title>Bootstrap 101 Template</title>
  9. <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
  10. <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
  11. <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  12. <meta name="viewport" content="width=device-width, initial-scale=1">
  13. <!-- Bootstrap -->
  14. <link href="bootstrap.css" rel="stylesheet">
  15. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  16. <script src="jquery-1.11.3.min.js"></script>
  17. <!-- Include all compiled plugins (below), or include individual files as needed -->
  18. <script src="bootstrap.min.js"></script>
  19. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  20. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  21. <!--[if lt IE 9]>
  22. <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  23. <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
  24. <![endif]-->
  25. </head>
  26. <body style="background-color: aliceblue">
  27. <!--最外层的布局容器-->
  28. <div class="container">
  29. <!--导航栏部分-->
  30. <nav class="navbar navbar-inverse" style="background-color: aliceblue">
  31. <div class="container-fluid">
  32. <!-- Brand and toggle get grouped for better mobile display -->
  33. <div class="navbar-header">
  34. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
  35. <span class="sr-only">Toggle navigation</span>
  36. <span class="icon-bar"></span>
  37. <span class="icon-bar"></span>
  38. <span class="icon-bar"></span>
  39. </button>
  40. <a class="navbar-brand" href="#">首页</a>
  41. </div>
  42. <!-- Collect the nav links, forms, and other content for toggling -->
  43. <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
  44. <ul class="nav navbar-nav">
  45. <li>
  46. <a th:href="@{/logout}">注销<span class="sr-only">(current)</span></a>
  47. </li>
  48. <li>
  49. <a th:href="@{/shop/status}">订单状态</a>
  50. </li>
  51. <li>
  52. <a th:href="@{/book/bookList}">书籍商城</a>
  53. </li>
  54. <li class="dropdown">
  55. <a href="#" class="dropdown-toggle" data-toggle="dropdown" >钱包管理 <span class="caret"></span></a>
  56. <ul class="dropdown-menu" role="menu">
  57. <li >
  58. <a th:href="@{/customer/wallet}">余额查询</a>
  59. </li>
  60. <li >
  61. <a th:href="@{/customer/torecharge}">充值</a>
  62. </li>
  63. <li >
  64. <a th:href="@{/customer/paylog}">充值记录</a>
  65. </li>
  66. </ul>
  67. </li>
  68. </ul>
  69. </div>
  70. <!-- /.navbar-collapse -->
  71. </div>
  72. <!-- /.container-fluid -->
  73. </nav>
  74. <div class="row" >
  75. <div class="col-md-1"></div>
  76. <div class="col-sm-6 col-md-4" >
  77. <div class="thumbnail" style="background-color: aliceblue">
  78. <img src="../img/info/people.jpg" alt="...">
  79. <div class="caption" >
  80. <h3 >个人信息展示</h3>
  81. <p>
  82. <a class="btn btn-default" role="button" th:href="@{/customer/info}">信息查询</a>
  83. <a th:href="@{/customer/paylog}" class="btn btn-default" role="button">充值记录</a>
  84. <a th:href="@{/cusomer/toUpdatePwd}" class="btn btn-default" role="button">修改密码</a>
  85. </p>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="col-md-1"></div>
  90. <div class="col-sm-6 col-md-4" style="background-color: aliceblue">
  91. <div class="thumbnail" style="background-color: aliceblue">
  92. <img src="../img/info/cart.jpg" alt="...">
  93. <div class="caption" style="align-content: center">
  94. <h3 >管理购物车</h3>
  95. <p>
  96. <a th:href="@{/shop/shopList}"class="btn btn-default" role="button" >购物车</a>
  97. <a th:href="@{/shop/buylog}" class="btn btn-default" role="button" >购买记录</a>
  98. <a th:href="@{/shop/goodsList}" class="btn btn-default" role="button" >当前订单</a></p>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. <div class="row" style="background-color: aliceblue">
  104. <div class="col-sm-6 col-md-4">
  105. <div class="thumbnail" style="background-color: aliceblue">
  106. <img src="../img/info/money.jpg" alt="...">
  107. <div class="caption" style="align-content: center">
  108. <h3 >钱包管理</h3>
  109. <p>
  110. <a th:href="@{/customer/wallet}" class="btn btn-default" role="button">余额查询</a>
  111. <a th:href="@{/customer/torecharge}" class="btn btn-default" role="button">充值</a>
  112. <a th:href="@{/customer/paylog}" class="btn btn-default" role="button">充值记录</a>
  113. </div>
  114. </div>
  115. </div>
  116. <div class="col-md-3"></div>
  117. <div class="col-sm-6 col-md-4">
  118. <div class="thumbnail" style="background-color: aliceblue">
  119. <img src="../img/info/address.jpg" alt="...">
  120. <div class="caption" style="align-content: center">
  121. <h3 >地址管理</h3>
  122. <p>
  123. <a th:href="@{/customer/address}" class="btn btn-default" role="button">收货地址</a>
  124. <a th:href="@{/customer/toAddAddress}" class="btn btn-default" role="button">新增地址</a>
  125. <a th:href="@{/shop/status}" class="btn btn-default">订单状态</a>
  126. </div>
  127. </div>
  128. </div>
  129. </div>
  130. </div>
  131. </body>
  132. </html>

这里是图片
从淘宝上找的图片–又使用美图秀秀压缩尺寸。直接把原图放在前台就大的离谱。


springboot+thymeleaf+bootstrap 超级无敌简洁的页面展示 商城管理页面的更多相关文章

  1. python:页面布局 后台管理页面之常用布局

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/ ...

  2. 使用Vue写一个登陆页面并在管理页面查看和修改

    注册页面代码如下html <!DOCTYPE html> <html lang="en"> <head> <meta charset=&q ...

  3. SpringBoot thymeleaf模板页面没提示,SpringBoot thymeleaf模板插件安装

    SpringBoot thymeleaf模板插件安装 SpringBoot thymeleaf模板Html页面没提示 SpringBoot  thymeleaf模板页面没提示 SpringBoot t ...

  4. 【SpringBoot】转载 springboot使用thymeleaf完成数据的页面展示

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明.本文链接:https://blog.csdn.net/weixin_36380516/artic ...

  5. SpringBoot页面展示Thymeleaf

    https://www.jianshu.com/p/a842e5b5012e 开发传统Java WEB工程时,我们可以使用JSP页面模板语言,但是在SpringBoot中已经不推荐使用了.Spring ...

  6. springboot+thymeleaf简单使用

    关于springboot想必很多人都在使用,由于公司项目一直使用的是SpringMVC,所以自己抽空体验了一下springboot的简单使用. 环境搭建 springbooot的环境搭建可以说很灵活, ...

  7. 基于Metronic的Bootstrap开发框架经验总结(9)--实现Web页面内容的打印预览和保存操作

    在前面介绍了很多篇相关的<Bootstrap开发框架>的系列文章,这些内容基本上覆盖到了我这个Bootstrap框架的各个主要方面的内容,总体来说基本达到了一个稳定的状态,随着时间的推移可 ...

  8. springboot 与 shiro 整合 (简洁版)

    前言: 网上有很多springboot 与 shiro 整合的资料,有些确实写得很好, 对学习shiro和springboot 都有很大的帮助. 有些朋友比较省事, 直接转发或者复制粘贴.但是没有经过 ...

  9. org.springframework.expression.spel.SpelEvaluationException: EL1004E: Method call: Method service() cannot be found on com.my.blog.springboot.thymeleaf.util.MethodTest type

    前言 本文中提到的解决方案,源码地址在:springboot-thymeleaf,希望可以帮你解决问题. 至于为什么已经写了一篇文章thymeleaf模板引擎调用java类中的方法,又多此一举的单独整 ...

随机推荐

  1. ABP 6.0.0-rc.1的新特性

      2022-07-26官方发布ABP 6.0.0-rc.1版本,本文挑选了几个新特性进行了介绍,主要包括LeptonX Lite默认主题.OpenIddict模块,以及如何将Identity Ser ...

  2. MySQL 启停过程了解一二

    GreatSQL社区原创内容未经授权不得随意使用,转载请联系小编并注明来源. GreatSQL是MySQL的国产分支版本,使用上与MySQL一致. 前言 你知道MySQL启停都做了些什么吗? 启动的时 ...

  3. Maven 配置文件如何读取pom.xml的内容

    编写配置文件 配置文件读取pom文件内容用@@的方式 logging: level: cn.sail: @logging.level@ org.springframework: warn config ...

  4. 【建议收藏】Mac VMWare NAT模式安装 CentOS 7-操作教程

    学习大数据离不开 Linux 系统,网络上大部分文章都是在 Windows 系统下使用 VMWare Workstation 安装 CentOS ,并使用 NAT 模式配置网络.本文基于 Mac OS ...

  5. Affinity broken due to vector space exhaustion 问题

    dmesg 中异常打印: kernel: irq 632: Affinity broken due to vector space exhaustion. kernel: irq 633: Affin ...

  6. 「雅礼集训 2017 Day2」水箱 (数据结构+dp ,一个log)

    题面 题解 在网上看到有些做法,有什么平衡树.启发式合并等等总之复杂度O(Tnlog^2(n))的不优做法,这里我就用一个O(Tnlogn)的做法好了 其实大体上推导的思路都是一样的. 我们很容易发现 ...

  7. XXL-JOB最佳实践与升级指南

    前言: xxl-job是国内一款使用者比较多的分布式任务调度平台,我们内部从19年开始使用该款开源软件,使用的是2.0.1版本,并在此基础上做了二次开发,添加了一些定制化的功能.随着使用该定时器的业务 ...

  8. for--else大坑问题

    这是一次偶然发现的问题,做一下记录 a = [{'w0', 'b0', 'v0'}, {'w1', 'b1', 'v1'}, {'w2', 'b2', 'v2'}] for i in a: for j ...

  9. flex常用布局

    公共样式: <style> * { margin: 0; padding: 0; } .has-flex { display: flex; } </style> 垂直居中 子元 ...

  10. zookeeper_mac安装总结

    Zookeeper mac安装总结 1. 执行 brew install zookeeper 可能遇到报错 Error: The following directories are not writa ...