Bläddra i källkod

文章详情添加提示语

喻文俊 3 år sedan
förälder
incheckning
cfc6cfb695
1 ändrade filer med 6 tillägg och 3 borttagningar
  1. 6 3
      src/main/resources/templates/article/detail.html

+ 6 - 3
src/main/resources/templates/article/detail.html

@@ -14,9 +14,12 @@
 <div class="cm-modal"></div>
 <!--导航栏-->
 <template th:replace="article/components/article-header"></template>
-<!--面包屑-->
-<div class="bar">
-    <a href="/" target="_blank">首页</a> &gt; <a  th:each="type: *{articleType}" th:if="${typeId}==${type.id}" th:text="${type.name}" href="javascript:void(0);" class="title newTitle"></a>&gt; 正文
+<div class="tip-bar">
+    <div class="tip">提示:产品详情请到采美商城搜索</div>
+    <!--面包屑-->
+    <div class="bar">
+        <a href="/" target="_blank">首页</a> &gt; <a  th:each="type: *{articleType}" th:if="${typeId}==${type.id}" th:text="${type.name}" href="javascript:void(0);" class="title newTitle"></a>&gt; 正文
+    </div>
 </div>
 <!--主体内容-->
 <div class="content clearfix" th:object="${article}">